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_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6553 PyObject
*resultobj
= 0;
6556 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6558 if (!wxPyCheckForApp()) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (bool)wxColourDisplay();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6573 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6574 PyObject
*resultobj
= 0;
6577 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6579 if (!wxPyCheckForApp()) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (int)wxDisplayDepth();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_From_int(static_cast< int >(result
));
6592 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6593 PyObject
*resultobj
= 0;
6596 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6598 if (!wxPyCheckForApp()) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (int)wxGetDisplayDepth();
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= SWIG_From_int(static_cast< int >(result
));
6611 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6612 PyObject
*resultobj
= 0;
6613 int *arg1
= (int *) 0 ;
6614 int *arg2
= (int *) 0 ;
6616 int res1
= SWIG_TMPOBJ
;
6618 int res2
= SWIG_TMPOBJ
;
6622 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6624 if (!wxPyCheckForApp()) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 wxDisplaySize(arg1
,arg2
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_Py_Void();
6631 if (SWIG_IsTmpObj(res1
)) {
6632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6634 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6637 if (SWIG_IsTmpObj(res2
)) {
6638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6640 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6649 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6650 PyObject
*resultobj
= 0;
6653 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6655 if (!wxPyCheckForApp()) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= wxGetDisplaySize();
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6668 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6669 PyObject
*resultobj
= 0;
6670 int *arg1
= (int *) 0 ;
6671 int *arg2
= (int *) 0 ;
6673 int res1
= SWIG_TMPOBJ
;
6675 int res2
= SWIG_TMPOBJ
;
6679 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6681 if (!wxPyCheckForApp()) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 wxDisplaySizeMM(arg1
,arg2
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_Py_Void();
6688 if (SWIG_IsTmpObj(res1
)) {
6689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6691 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6694 if (SWIG_IsTmpObj(res2
)) {
6695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6697 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6706 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6707 PyObject
*resultobj
= 0;
6710 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6712 if (!wxPyCheckForApp()) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= wxGetDisplaySizeMM();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6725 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6726 PyObject
*resultobj
= 0;
6727 int *arg1
= (int *) 0 ;
6728 int *arg2
= (int *) 0 ;
6729 int *arg3
= (int *) 0 ;
6730 int *arg4
= (int *) 0 ;
6732 int res1
= SWIG_TMPOBJ
;
6734 int res2
= SWIG_TMPOBJ
;
6736 int res3
= SWIG_TMPOBJ
;
6738 int res4
= SWIG_TMPOBJ
;
6744 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6746 if (!wxPyCheckForApp()) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
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
));
6765 if (SWIG_IsTmpObj(res3
)) {
6766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6768 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6771 if (SWIG_IsTmpObj(res4
)) {
6772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6774 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6783 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6784 PyObject
*resultobj
= 0;
6787 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6789 if (!wxPyCheckForApp()) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 result
= wxGetClientDisplayRect();
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6802 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxCursor
*arg1
= 0 ;
6807 PyObject
* obj0
= 0 ;
6808 char * kwnames
[] = {
6809 (char *) "cursor", NULL
6812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6813 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6814 if (!SWIG_IsOK(res1
)) {
6815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6820 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6822 if (!wxPyCheckForApp()) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= SWIG_Py_Void();
6835 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6836 PyObject
*resultobj
= 0;
6839 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6841 if (!wxPyCheckForApp()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (void *)wxGetXDisplay();
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6854 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6859 PyObject
* obj0
= 0 ;
6860 char * kwnames
[] = {
6861 (char *) "cursor", NULL
6864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6867 if (!SWIG_IsOK(res1
)) {
6868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6870 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6873 if (!wxPyCheckForApp()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 wxBeginBusyCursor(arg1
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_Py_Void();
6886 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6887 PyObject
*resultobj
= 0;
6890 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= wxGetMousePosition();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6905 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6906 PyObject
*resultobj
= 0;
6907 wxWindow
*result
= 0 ;
6909 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6911 if (!wxPyCheckForApp()) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (wxWindow
*)FindWindowAtPointer();
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= wxPyMake_wxObject(result
, 0);
6926 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6927 PyObject
*resultobj
= 0;
6928 wxWindow
*result
= 0 ;
6930 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6932 if (!wxPyCheckForApp()) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (wxWindow
*)wxGetActiveWindow();
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= wxPyMake_wxObject(result
, 0);
6947 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
= 0;
6950 wxWindow
*result
= 0 ;
6952 PyObject
* obj0
= 0 ;
6953 char * kwnames
[] = {
6957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6960 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6963 if (!wxPyCheckForApp()) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= wxPyMake_wxObject(result
, 0);
6978 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
= 0;
6981 wxWindow
*result
= 0 ;
6983 PyObject
* obj0
= 0 ;
6984 char * kwnames
[] = {
6988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6991 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6994 if (!wxPyCheckForApp()) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= wxPyMake_wxObject(result
, 0);
7009 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
= 0;
7011 wxWindow
*arg1
= (wxWindow
*) 0 ;
7012 wxWindow
*result
= 0 ;
7015 PyObject
* obj0
= 0 ;
7016 char * kwnames
[] = {
7017 (char *) "win", NULL
7020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7022 if (!SWIG_IsOK(res1
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7027 if (!wxPyCheckForApp()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= wxPyMake_wxObject(result
, 0);
7042 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= 0;
7044 wxString
*arg1
= 0 ;
7046 bool temp1
= false ;
7047 PyObject
* obj0
= 0 ;
7048 char * kwnames
[] = {
7049 (char *) "url", NULL
7052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7054 arg1
= wxString_in_helper(obj0
);
7055 if (arg1
== NULL
) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7081 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
= 0;
7087 PyObject
* obj0
= 0 ;
7088 char * kwnames
[] = {
7089 (char *) "key", NULL
7092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7094 if (!SWIG_IsOK(ecode1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7097 arg1
= static_cast< wxKeyCode
>(val1
);
7099 if (!wxPyCheckForApp()) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 result
= (bool)wxGetKeyState(arg1
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7114 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7115 PyObject
*resultobj
= 0;
7116 wxMouseState
*result
= 0 ;
7118 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= (wxMouseState
*)new wxMouseState();
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7132 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7133 PyObject
*resultobj
= 0;
7134 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7137 PyObject
*swig_obj
[1] ;
7139 if (!args
) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7145 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_Py_Void();
7160 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7161 PyObject
*resultobj
= 0;
7162 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7166 PyObject
*swig_obj
[1] ;
7168 if (!args
) SWIG_fail
;
7170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7171 if (!SWIG_IsOK(res1
)) {
7172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7174 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (int)(arg1
)->GetX();
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= SWIG_From_int(static_cast< int >(result
));
7188 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7189 PyObject
*resultobj
= 0;
7190 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7194 PyObject
*swig_obj
[1] ;
7196 if (!args
) SWIG_fail
;
7198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7199 if (!SWIG_IsOK(res1
)) {
7200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7202 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (int)(arg1
)->GetY();
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_From_int(static_cast< int >(result
));
7216 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7217 PyObject
*resultobj
= 0;
7218 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7222 PyObject
*swig_obj
[1] ;
7224 if (!args
) SWIG_fail
;
7226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7227 if (!SWIG_IsOK(res1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7230 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (bool)(arg1
)->LeftDown();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7246 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7247 PyObject
*resultobj
= 0;
7248 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7252 PyObject
*swig_obj
[1] ;
7254 if (!args
) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7260 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (bool)(arg1
)->MiddleDown();
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7276 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7277 PyObject
*resultobj
= 0;
7278 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7282 PyObject
*swig_obj
[1] ;
7284 if (!args
) SWIG_fail
;
7286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7287 if (!SWIG_IsOK(res1
)) {
7288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7290 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= (bool)(arg1
)->RightDown();
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7306 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7307 PyObject
*resultobj
= 0;
7308 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7312 PyObject
*swig_obj
[1] ;
7314 if (!args
) SWIG_fail
;
7316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7317 if (!SWIG_IsOK(res1
)) {
7318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7320 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (bool)(arg1
)->ControlDown();
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7336 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7337 PyObject
*resultobj
= 0;
7338 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7342 PyObject
*swig_obj
[1] ;
7344 if (!args
) SWIG_fail
;
7346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7347 if (!SWIG_IsOK(res1
)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7350 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= (bool)(arg1
)->ShiftDown();
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7366 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 PyObject
*resultobj
= 0;
7368 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7372 PyObject
*swig_obj
[1] ;
7374 if (!args
) SWIG_fail
;
7376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7377 if (!SWIG_IsOK(res1
)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7380 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (bool)(arg1
)->AltDown();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7396 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7397 PyObject
*resultobj
= 0;
7398 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7402 PyObject
*swig_obj
[1] ;
7404 if (!args
) SWIG_fail
;
7406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7407 if (!SWIG_IsOK(res1
)) {
7408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7410 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (bool)(arg1
)->MetaDown();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7426 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7427 PyObject
*resultobj
= 0;
7428 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7432 PyObject
*swig_obj
[1] ;
7434 if (!args
) SWIG_fail
;
7436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7437 if (!SWIG_IsOK(res1
)) {
7438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7440 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (bool)(arg1
)->CmdDown();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7456 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
= 0;
7458 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7466 char * kwnames
[] = {
7467 (char *) "self",(char *) "x", NULL
7470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7472 if (!SWIG_IsOK(res1
)) {
7473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7475 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7477 if (!SWIG_IsOK(ecode2
)) {
7478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7480 arg2
= static_cast< int >(val2
);
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_Py_Void();
7494 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
= 0;
7496 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7504 char * kwnames
[] = {
7505 (char *) "self",(char *) "y", NULL
7508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7513 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7515 if (!SWIG_IsOK(ecode2
)) {
7516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7518 arg2
= static_cast< int >(val2
);
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_Py_Void();
7532 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
= 0;
7534 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7542 char * kwnames
[] = {
7543 (char *) "self",(char *) "down", NULL
7546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7548 if (!SWIG_IsOK(res1
)) {
7549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7551 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7552 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7553 if (!SWIG_IsOK(ecode2
)) {
7554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7556 arg2
= static_cast< bool >(val2
);
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 (arg1
)->SetLeftDown(arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= SWIG_Py_Void();
7570 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= 0;
7572 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7579 PyObject
* obj1
= 0 ;
7580 char * kwnames
[] = {
7581 (char *) "self",(char *) "down", NULL
7584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7586 if (!SWIG_IsOK(res1
)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7589 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7591 if (!SWIG_IsOK(ecode2
)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7594 arg2
= static_cast< bool >(val2
);
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 (arg1
)->SetMiddleDown(arg2
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_Py_Void();
7608 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
= 0;
7610 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 char * kwnames
[] = {
7619 (char *) "self",(char *) "down", NULL
7622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7624 if (!SWIG_IsOK(res1
)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7627 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7629 if (!SWIG_IsOK(ecode2
)) {
7630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7632 arg2
= static_cast< bool >(val2
);
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 (arg1
)->SetRightDown(arg2
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_Py_Void();
7646 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
= 0;
7648 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7656 char * kwnames
[] = {
7657 (char *) "self",(char *) "down", NULL
7660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7665 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7666 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7667 if (!SWIG_IsOK(ecode2
)) {
7668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7670 arg2
= static_cast< bool >(val2
);
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 (arg1
)->SetControlDown(arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_Py_Void();
7684 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
= 0;
7686 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7692 PyObject
* obj0
= 0 ;
7693 PyObject
* obj1
= 0 ;
7694 char * kwnames
[] = {
7695 (char *) "self",(char *) "down", NULL
7698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7700 if (!SWIG_IsOK(res1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7703 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7704 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7705 if (!SWIG_IsOK(ecode2
)) {
7706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7708 arg2
= static_cast< bool >(val2
);
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 (arg1
)->SetShiftDown(arg2
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 resultobj
= SWIG_Py_Void();
7722 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
= 0;
7724 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7732 char * kwnames
[] = {
7733 (char *) "self",(char *) "down", NULL
7736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7738 if (!SWIG_IsOK(res1
)) {
7739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7741 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7742 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7743 if (!SWIG_IsOK(ecode2
)) {
7744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7746 arg2
= static_cast< bool >(val2
);
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 (arg1
)->SetAltDown(arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= SWIG_Py_Void();
7760 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
= 0;
7762 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7770 char * kwnames
[] = {
7771 (char *) "self",(char *) "down", NULL
7774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7776 if (!SWIG_IsOK(res1
)) {
7777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7779 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7780 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7781 if (!SWIG_IsOK(ecode2
)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7784 arg2
= static_cast< bool >(val2
);
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 (arg1
)->SetMetaDown(arg2
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_Py_Void();
7798 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7801 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7802 return SWIG_Py_Void();
7805 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7806 return SWIG_Python_InitShadowInstance(args
);
7809 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7810 PyObject
*resultobj
= 0;
7811 wxMouseState result
;
7813 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= wxGetMouseState();
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7827 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7828 PyObject
*resultobj
= 0;
7830 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7832 if (!wxPyCheckForApp()) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 wxWakeUpMainThread();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_Py_Void();
7845 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7846 PyObject
*resultobj
= 0;
7848 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7850 if (!wxPyCheckForApp()) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_Py_Void();
7863 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7864 PyObject
*resultobj
= 0;
7866 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7868 if (!wxPyCheckForApp()) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_Py_Void();
7881 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7882 PyObject
*resultobj
= 0;
7883 wxMutexGuiLocker
*result
= 0 ;
7885 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7887 if (!wxPyCheckForApp()) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7900 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7901 PyObject
*resultobj
= 0;
7902 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7905 PyObject
*swig_obj
[1] ;
7907 if (!args
) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7913 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_Py_Void();
7928 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7931 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7932 return SWIG_Py_Void();
7935 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7936 return SWIG_Python_InitShadowInstance(args
);
7939 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7940 PyObject
*resultobj
= 0;
7943 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (bool)wxThread_IsMain();
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7959 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
= 0;
7961 wxString
*arg1
= 0 ;
7962 wxToolTip
*result
= 0 ;
7963 bool temp1
= false ;
7964 PyObject
* obj0
= 0 ;
7965 char * kwnames
[] = {
7966 (char *) "tip", NULL
7969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7971 arg1
= wxString_in_helper(obj0
);
7972 if (arg1
== NULL
) SWIG_fail
;
7976 if (!wxPyCheckForApp()) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
7997 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7998 PyObject
*resultobj
= 0;
7999 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8002 PyObject
*swig_obj
[1] ;
8004 if (!args
) SWIG_fail
;
8006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8007 if (!SWIG_IsOK(res1
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8010 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= SWIG_Py_Void();
8025 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
= 0;
8027 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8028 wxString
*arg2
= 0 ;
8031 bool temp2
= false ;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8034 char * kwnames
[] = {
8035 (char *) "self",(char *) "tip", NULL
8038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8040 if (!SWIG_IsOK(res1
)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8043 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8045 arg2
= wxString_in_helper(obj1
);
8046 if (arg2
== NULL
) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 (arg1
)->SetTip((wxString
const &)*arg2
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_Py_Void();
8070 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8071 PyObject
*resultobj
= 0;
8072 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8076 PyObject
*swig_obj
[1] ;
8078 if (!args
) SWIG_fail
;
8080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8081 if (!SWIG_IsOK(res1
)) {
8082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8084 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (arg1
)->GetTip();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8104 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8105 PyObject
*resultobj
= 0;
8106 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8107 wxWindow
*result
= 0 ;
8110 PyObject
*swig_obj
[1] ;
8112 if (!args
) SWIG_fail
;
8114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8115 if (!SWIG_IsOK(res1
)) {
8116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8118 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (wxWindow
*)(arg1
)->GetWindow();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= wxPyMake_wxObject(result
, 0);
8134 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
= 0;
8139 PyObject
* obj0
= 0 ;
8140 char * kwnames
[] = {
8141 (char *) "flag", NULL
8144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8145 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8146 if (!SWIG_IsOK(ecode1
)) {
8147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8149 arg1
= static_cast< bool >(val1
);
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 wxToolTip::Enable(arg1
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_Py_Void();
8163 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
= 0;
8168 PyObject
* obj0
= 0 ;
8169 char * kwnames
[] = {
8170 (char *) "milliseconds", NULL
8173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8174 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8175 if (!SWIG_IsOK(ecode1
)) {
8176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8178 arg1
= static_cast< long >(val1
);
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 wxToolTip::SetDelay(arg1
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_Py_Void();
8192 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8195 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8196 return SWIG_Py_Void();
8199 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8200 return SWIG_Python_InitShadowInstance(args
);
8203 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
= 0;
8205 wxWindow
*arg1
= (wxWindow
*) 0 ;
8207 wxCaret
*result
= 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 char * kwnames
[] = {
8214 (char *) "window",(char *) "size", NULL
8217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8219 if (!SWIG_IsOK(res1
)) {
8220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8228 if (!wxPyCheckForApp()) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8241 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8242 PyObject
*resultobj
= 0;
8243 wxCaret
*arg1
= (wxCaret
*) 0 ;
8246 PyObject
*swig_obj
[1] ;
8248 if (!args
) SWIG_fail
;
8250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8251 if (!SWIG_IsOK(res1
)) {
8252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8254 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_Py_Void();
8269 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8270 PyObject
*resultobj
= 0;
8271 wxCaret
*arg1
= (wxCaret
*) 0 ;
8274 PyObject
*swig_obj
[1] ;
8276 if (!args
) SWIG_fail
;
8278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8279 if (!SWIG_IsOK(res1
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8282 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 wxCaret_Destroy(arg1
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_Py_Void();
8296 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8297 PyObject
*resultobj
= 0;
8298 wxCaret
*arg1
= (wxCaret
*) 0 ;
8302 PyObject
*swig_obj
[1] ;
8304 if (!args
) SWIG_fail
;
8306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8307 if (!SWIG_IsOK(res1
)) {
8308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8310 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (bool)(arg1
)->IsOk();
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8326 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8327 PyObject
*resultobj
= 0;
8328 wxCaret
*arg1
= (wxCaret
*) 0 ;
8332 PyObject
*swig_obj
[1] ;
8334 if (!args
) SWIG_fail
;
8336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8337 if (!SWIG_IsOK(res1
)) {
8338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8340 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (bool)(arg1
)->IsVisible();
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8356 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8357 PyObject
*resultobj
= 0;
8358 wxCaret
*arg1
= (wxCaret
*) 0 ;
8362 PyObject
*swig_obj
[1] ;
8364 if (!args
) SWIG_fail
;
8366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8367 if (!SWIG_IsOK(res1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8370 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (arg1
)->GetPosition();
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8384 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 PyObject
*resultobj
= 0;
8386 wxCaret
*arg1
= (wxCaret
*) 0 ;
8387 int *arg2
= (int *) 0 ;
8388 int *arg3
= (int *) 0 ;
8392 int res2
= SWIG_TMPOBJ
;
8394 int res3
= SWIG_TMPOBJ
;
8395 PyObject
*swig_obj
[1] ;
8399 if (!args
) SWIG_fail
;
8401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8402 if (!SWIG_IsOK(res1
)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8405 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 (arg1
)->GetPosition(arg2
,arg3
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_Py_Void();
8413 if (SWIG_IsTmpObj(res2
)) {
8414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8416 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8419 if (SWIG_IsTmpObj(res3
)) {
8420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8422 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8431 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 PyObject
*resultobj
= 0;
8433 wxCaret
*arg1
= (wxCaret
*) 0 ;
8437 PyObject
*swig_obj
[1] ;
8439 if (!args
) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8445 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (arg1
)->GetSize();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8459 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8460 PyObject
*resultobj
= 0;
8461 wxCaret
*arg1
= (wxCaret
*) 0 ;
8462 int *arg2
= (int *) 0 ;
8463 int *arg3
= (int *) 0 ;
8467 int res2
= SWIG_TMPOBJ
;
8469 int res3
= SWIG_TMPOBJ
;
8470 PyObject
*swig_obj
[1] ;
8474 if (!args
) SWIG_fail
;
8476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8477 if (!SWIG_IsOK(res1
)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8480 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 (arg1
)->GetSize(arg2
,arg3
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_Py_Void();
8488 if (SWIG_IsTmpObj(res2
)) {
8489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8491 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8494 if (SWIG_IsTmpObj(res3
)) {
8495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8497 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8506 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8507 PyObject
*resultobj
= 0;
8508 wxCaret
*arg1
= (wxCaret
*) 0 ;
8509 wxWindow
*result
= 0 ;
8512 PyObject
*swig_obj
[1] ;
8514 if (!args
) SWIG_fail
;
8516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8517 if (!SWIG_IsOK(res1
)) {
8518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8520 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= (wxWindow
*)(arg1
)->GetWindow();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= wxPyMake_wxObject(result
, 0);
8536 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
= 0;
8538 wxCaret
*arg1
= (wxCaret
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8549 PyObject
* obj2
= 0 ;
8550 char * kwnames
[] = {
8551 (char *) "self",(char *) "x",(char *) "y", NULL
8554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8559 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8561 if (!SWIG_IsOK(ecode2
)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8564 arg2
= static_cast< int >(val2
);
8565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8566 if (!SWIG_IsOK(ecode3
)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8569 arg3
= static_cast< int >(val3
);
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 (arg1
)->Move(arg2
,arg3
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_Py_Void();
8583 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
= 0;
8585 wxCaret
*arg1
= (wxCaret
*) 0 ;
8590 PyObject
* obj0
= 0 ;
8591 PyObject
* obj1
= 0 ;
8592 char * kwnames
[] = {
8593 (char *) "self",(char *) "pt", NULL
8596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8598 if (!SWIG_IsOK(res1
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8601 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8604 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 (arg1
)->Move((wxPoint
const &)*arg2
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= SWIG_Py_Void();
8619 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
= 0;
8621 wxCaret
*arg1
= (wxCaret
*) 0 ;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 PyObject
* obj2
= 0 ;
8633 char * kwnames
[] = {
8634 (char *) "self",(char *) "width",(char *) "height", NULL
8637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8639 if (!SWIG_IsOK(res1
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8642 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8644 if (!SWIG_IsOK(ecode2
)) {
8645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8647 arg2
= static_cast< int >(val2
);
8648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8649 if (!SWIG_IsOK(ecode3
)) {
8650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8652 arg3
= static_cast< int >(val3
);
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 (arg1
)->SetSize(arg2
,arg3
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_Py_Void();
8666 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
= 0;
8668 wxCaret
*arg1
= (wxCaret
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 char * kwnames
[] = {
8676 (char *) "self",(char *) "size", NULL
8679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8684 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8687 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 (arg1
)->SetSize((wxSize
const &)*arg2
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= SWIG_Py_Void();
8702 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
= 0;
8704 wxCaret
*arg1
= (wxCaret
*) 0 ;
8705 int arg2
= (int) true ;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8712 char * kwnames
[] = {
8713 (char *) "self",(char *) "show", NULL
8716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8718 if (!SWIG_IsOK(res1
)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8721 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8724 if (!SWIG_IsOK(ecode2
)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8727 arg2
= static_cast< int >(val2
);
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= SWIG_Py_Void();
8742 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8743 PyObject
*resultobj
= 0;
8744 wxCaret
*arg1
= (wxCaret
*) 0 ;
8747 PyObject
*swig_obj
[1] ;
8749 if (!args
) SWIG_fail
;
8751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8752 if (!SWIG_IsOK(res1
)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8755 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= SWIG_Py_Void();
8769 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8770 PyObject
*resultobj
= 0;
8773 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 result
= (int)wxCaret::GetBlinkTime();
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_From_int(static_cast< int >(result
));
8787 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
= 0;
8792 PyObject
* obj0
= 0 ;
8793 char * kwnames
[] = {
8794 (char *) "milliseconds", NULL
8797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8798 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8799 if (!SWIG_IsOK(ecode1
)) {
8800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8802 arg1
= static_cast< int >(val1
);
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 wxCaret::SetBlinkTime(arg1
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 resultobj
= SWIG_Py_Void();
8816 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8819 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8820 return SWIG_Py_Void();
8823 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8824 return SWIG_Python_InitShadowInstance(args
);
8827 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
= 0;
8829 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8830 wxBusyCursor
*result
= 0 ;
8833 PyObject
* obj0
= 0 ;
8834 char * kwnames
[] = {
8835 (char *) "cursor", NULL
8838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8841 if (!SWIG_IsOK(res1
)) {
8842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8844 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8847 if (!wxPyCheckForApp()) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8860 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8861 PyObject
*resultobj
= 0;
8862 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8865 PyObject
*swig_obj
[1] ;
8867 if (!args
) SWIG_fail
;
8869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8870 if (!SWIG_IsOK(res1
)) {
8871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8873 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_Py_Void();
8888 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8891 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8892 return SWIG_Py_Void();
8895 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8896 return SWIG_Python_InitShadowInstance(args
);
8899 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
= 0;
8901 wxWindow
*arg1
= (wxWindow
*) NULL
;
8902 wxWindowDisabler
*result
= 0 ;
8905 PyObject
* obj0
= 0 ;
8906 char * kwnames
[] = {
8907 (char *) "winToSkip", NULL
8910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8913 if (!SWIG_IsOK(res1
)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8916 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8919 if (!wxPyCheckForApp()) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8932 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8933 PyObject
*resultobj
= 0;
8934 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8937 PyObject
*swig_obj
[1] ;
8939 if (!args
) SWIG_fail
;
8941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8942 if (!SWIG_IsOK(res1
)) {
8943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8945 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= SWIG_Py_Void();
8960 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8963 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8964 return SWIG_Py_Void();
8967 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8968 return SWIG_Python_InitShadowInstance(args
);
8971 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
= 0;
8973 wxString
*arg1
= 0 ;
8974 wxBusyInfo
*result
= 0 ;
8975 bool temp1
= false ;
8976 PyObject
* obj0
= 0 ;
8977 char * kwnames
[] = {
8978 (char *) "message", NULL
8981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8983 arg1
= wxString_in_helper(obj0
);
8984 if (arg1
== NULL
) SWIG_fail
;
8988 if (!wxPyCheckForApp()) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9009 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9010 PyObject
*resultobj
= 0;
9011 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9014 PyObject
*swig_obj
[1] ;
9016 if (!args
) SWIG_fail
;
9018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9019 if (!SWIG_IsOK(res1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9022 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= SWIG_Py_Void();
9037 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9040 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9041 return SWIG_Py_Void();
9044 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9045 return SWIG_Python_InitShadowInstance(args
);
9048 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9049 PyObject
*resultobj
= 0;
9050 wxStopWatch
*result
= 0 ;
9052 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (wxStopWatch
*)new wxStopWatch();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9066 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= 0;
9068 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9069 long arg2
= (long) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 char * kwnames
[] = {
9077 (char *) "self",(char *) "t0", NULL
9080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9085 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9087 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9088 if (!SWIG_IsOK(ecode2
)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9091 arg2
= static_cast< long >(val2
);
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 (arg1
)->Start(arg2
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_Py_Void();
9106 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9107 PyObject
*resultobj
= 0;
9108 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9111 PyObject
*swig_obj
[1] ;
9113 if (!args
) SWIG_fail
;
9115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9116 if (!SWIG_IsOK(res1
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9119 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_Py_Void();
9133 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9134 PyObject
*resultobj
= 0;
9135 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9138 PyObject
*swig_obj
[1] ;
9140 if (!args
) SWIG_fail
;
9142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9143 if (!SWIG_IsOK(res1
)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9146 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_Py_Void();
9160 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9161 PyObject
*resultobj
= 0;
9162 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9166 PyObject
*swig_obj
[1] ;
9168 if (!args
) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9174 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_From_long(static_cast< long >(result
));
9188 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9191 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9192 return SWIG_Py_Void();
9195 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9196 return SWIG_Python_InitShadowInstance(args
);
9199 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
= 0;
9201 int arg1
= (int) 9 ;
9202 int arg2
= (int) wxID_FILE1
;
9203 wxFileHistory
*result
= 0 ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9210 char * kwnames
[] = {
9211 (char *) "maxFiles",(char *) "idBase", NULL
9214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9216 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9217 if (!SWIG_IsOK(ecode1
)) {
9218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9220 arg1
= static_cast< int >(val1
);
9223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9224 if (!SWIG_IsOK(ecode2
)) {
9225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9227 arg2
= static_cast< int >(val2
);
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9242 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9243 PyObject
*resultobj
= 0;
9244 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9247 PyObject
*swig_obj
[1] ;
9249 if (!args
) SWIG_fail
;
9251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9252 if (!SWIG_IsOK(res1
)) {
9253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9255 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_Py_Void();
9270 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
= 0;
9272 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9273 wxString
*arg2
= 0 ;
9276 bool temp2
= false ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 char * kwnames
[] = {
9280 (char *) "self",(char *) "file", NULL
9283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9288 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9290 arg2
= wxString_in_helper(obj1
);
9291 if (arg2
== NULL
) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_Py_Void();
9315 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
= 0;
9317 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 char * kwnames
[] = {
9326 (char *) "self",(char *) "i", NULL
9329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9331 if (!SWIG_IsOK(res1
)) {
9332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9334 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9336 if (!SWIG_IsOK(ecode2
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9339 arg2
= static_cast< int >(val2
);
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 (arg1
)->RemoveFileFromHistory(arg2
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_Py_Void();
9353 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9354 PyObject
*resultobj
= 0;
9355 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9359 PyObject
*swig_obj
[1] ;
9361 if (!args
) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9367 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_From_int(static_cast< int >(result
));
9381 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9384 wxMenu
*arg2
= (wxMenu
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 char * kwnames
[] = {
9392 (char *) "self",(char *) "menu", NULL
9395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9400 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9402 if (!SWIG_IsOK(res2
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9405 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->UseMenu(arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9422 wxMenu
*arg2
= (wxMenu
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "menu", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9438 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9440 if (!SWIG_IsOK(res2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9443 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->RemoveMenu(arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_Py_Void();
9457 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9460 wxConfigBase
*arg2
= 0 ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 char * kwnames
[] = {
9468 (char *) "self",(char *) "config", NULL
9471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9476 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9478 if (!SWIG_IsOK(res2
)) {
9479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9484 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 (arg1
)->Load(*arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_Py_Void();
9498 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9501 wxConfigBase
*arg2
= 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 char * kwnames
[] = {
9509 (char *) "self",(char *) "config", NULL
9512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9514 if (!SWIG_IsOK(res1
)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9517 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9519 if (!SWIG_IsOK(res2
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9525 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->Save(*arg2
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_Py_Void();
9539 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9540 PyObject
*resultobj
= 0;
9541 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9544 PyObject
*swig_obj
[1] ;
9546 if (!args
) SWIG_fail
;
9548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9549 if (!SWIG_IsOK(res1
)) {
9550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9552 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 (arg1
)->AddFilesToMenu();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_Py_Void();
9566 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
= 0;
9568 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9569 wxMenu
*arg2
= (wxMenu
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9576 char * kwnames
[] = {
9577 (char *) "self",(char *) "menu", NULL
9580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9582 if (!SWIG_IsOK(res1
)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9585 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9587 if (!SWIG_IsOK(res2
)) {
9588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9590 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 (arg1
)->AddFilesToMenu(arg2
);
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= SWIG_Py_Void();
9604 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
= 0;
9606 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9615 char * kwnames
[] = {
9616 (char *) "self",(char *) "i", NULL
9619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9621 if (!SWIG_IsOK(res1
)) {
9622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9624 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9626 if (!SWIG_IsOK(ecode2
)) {
9627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9629 arg2
= static_cast< int >(val2
);
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9649 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9650 PyObject
*resultobj
= 0;
9651 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9655 PyObject
*swig_obj
[1] ;
9657 if (!args
) SWIG_fail
;
9659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9660 if (!SWIG_IsOK(res1
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9663 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= SWIG_From_int(static_cast< int >(result
));
9677 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9680 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9681 return SWIG_Py_Void();
9684 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9685 return SWIG_Python_InitShadowInstance(args
);
9688 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
= 0;
9690 wxString
*arg1
= 0 ;
9691 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9692 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9693 wxSingleInstanceChecker
*result
= 0 ;
9694 bool temp1
= false ;
9695 bool temp2
= false ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 char * kwnames
[] = {
9699 (char *) "name",(char *) "path", NULL
9702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9704 arg1
= wxString_in_helper(obj0
);
9705 if (arg1
== NULL
) SWIG_fail
;
9710 arg2
= wxString_in_helper(obj1
);
9711 if (arg2
== NULL
) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9744 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxSingleInstanceChecker
*result
= 0 ;
9748 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9762 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9763 PyObject
*resultobj
= 0;
9764 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9767 PyObject
*swig_obj
[1] ;
9769 if (!args
) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9775 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_Py_Void();
9790 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
= 0;
9792 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9793 wxString
*arg2
= 0 ;
9794 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9795 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9799 bool temp2
= false ;
9800 bool temp3
= false ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "name",(char *) "path", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9813 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9815 arg2
= wxString_in_helper(obj1
);
9816 if (arg2
== NULL
) SWIG_fail
;
9821 arg3
= wxString_in_helper(obj2
);
9822 if (arg3
== NULL
) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9857 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9858 PyObject
*resultobj
= 0;
9859 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9863 PyObject
*swig_obj
[1] ;
9865 if (!args
) SWIG_fail
;
9867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9868 if (!SWIG_IsOK(res1
)) {
9869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9871 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9887 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9890 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9891 return SWIG_Py_Void();
9894 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9895 return SWIG_Python_InitShadowInstance(args
);
9898 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
= 0;
9900 wxWindow
*arg1
= (wxWindow
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9908 PyObject
* obj1
= 0 ;
9909 char * kwnames
[] = {
9910 (char *) "window",(char *) "dc", NULL
9913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9915 if (!SWIG_IsOK(res1
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9918 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9920 if (!SWIG_IsOK(res2
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9926 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9942 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9943 PyObject
*resultobj
= 0;
9944 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9947 PyObject
*swig_obj
[1] ;
9949 if (!args
) SWIG_fail
;
9951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9952 if (!SWIG_IsOK(res1
)) {
9953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9955 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_Py_Void();
9970 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 PyObject
*resultobj
= 0;
9972 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9976 PyObject
*swig_obj
[1] ;
9978 if (!args
) SWIG_fail
;
9980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9981 if (!SWIG_IsOK(res1
)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9984 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (arg1
)->GetTip();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10004 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10005 PyObject
*resultobj
= 0;
10006 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10010 PyObject
*swig_obj
[1] ;
10012 if (!args
) SWIG_fail
;
10013 swig_obj
[0] = args
;
10014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10015 if (!SWIG_IsOK(res1
)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10018 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (size_t)(arg1
)->GetCurrentTip();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10032 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
= 0;
10034 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10035 wxString
*arg2
= 0 ;
10039 bool temp2
= false ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 char * kwnames
[] = {
10043 (char *) "self",(char *) "tip", NULL
10046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10048 if (!SWIG_IsOK(res1
)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10051 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10053 arg2
= wxString_in_helper(obj1
);
10054 if (arg2
== NULL
) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10084 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10087 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10088 return SWIG_Py_Void();
10091 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
= 0;
10094 wxPyTipProvider
*result
= 0 ;
10097 PyObject
* obj0
= 0 ;
10098 char * kwnames
[] = {
10099 (char *) "currentTip", NULL
10102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10103 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10104 if (!SWIG_IsOK(ecode1
)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10107 arg1
= static_cast< size_t >(val1
);
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10121 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
= 0;
10123 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10124 PyObject
*arg2
= (PyObject
*) 0 ;
10125 PyObject
*arg3
= (PyObject
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10131 char * kwnames
[] = {
10132 (char *) "self",(char *) "self",(char *) "_class", NULL
10135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10137 if (!SWIG_IsOK(res1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10140 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_Py_Void();
10156 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10159 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10160 return SWIG_Py_Void();
10163 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10164 return SWIG_Python_InitShadowInstance(args
);
10167 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
= 0;
10169 wxWindow
*arg1
= (wxWindow
*) 0 ;
10170 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10171 bool arg3
= (bool) true ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 PyObject
* obj2
= 0 ;
10182 char * kwnames
[] = {
10183 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10188 if (!SWIG_IsOK(res1
)) {
10189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10193 if (!SWIG_IsOK(res2
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10196 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10198 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10199 if (!SWIG_IsOK(ecode3
)) {
10200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10202 arg3
= static_cast< bool >(val3
);
10205 if (!wxPyCheckForApp()) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10220 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= 0;
10222 wxString
*arg1
= 0 ;
10224 wxTipProvider
*result
= 0 ;
10225 bool temp1
= false ;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "filename",(char *) "currentTip", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10236 arg1
= wxString_in_helper(obj0
);
10237 if (arg1
== NULL
) SWIG_fail
;
10240 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10244 arg2
= static_cast< size_t >(val2
);
10246 if (!wxPyCheckForApp()) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10267 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
= 0;
10269 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10270 int arg2
= (int) wxID_ANY
;
10271 wxPyTimer
*result
= 0 ;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 char * kwnames
[] = {
10279 (char *) "owner",(char *) "id", NULL
10282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10285 if (!SWIG_IsOK(res1
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10288 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10292 if (!SWIG_IsOK(ecode2
)) {
10293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10295 arg2
= static_cast< int >(val2
);
10298 if (!wxPyCheckForApp()) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10311 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10312 PyObject
*resultobj
= 0;
10313 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10316 PyObject
*swig_obj
[1] ;
10318 if (!args
) SWIG_fail
;
10319 swig_obj
[0] = args
;
10320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10321 if (!SWIG_IsOK(res1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10324 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= SWIG_Py_Void();
10339 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
= 0;
10341 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10342 PyObject
*arg2
= (PyObject
*) 0 ;
10343 PyObject
*arg3
= (PyObject
*) 0 ;
10344 int arg4
= (int) 1 ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 PyObject
* obj2
= 0 ;
10352 PyObject
* obj3
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10359 if (!SWIG_IsOK(res1
)) {
10360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10362 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10367 if (!SWIG_IsOK(ecode4
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10370 arg4
= static_cast< int >(val4
);
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_Py_Void();
10385 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
= 0;
10387 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10388 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10389 int arg3
= (int) wxID_ANY
;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 PyObject
* obj2
= 0 ;
10399 char * kwnames
[] = {
10400 (char *) "self",(char *) "owner",(char *) "id", NULL
10403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10405 if (!SWIG_IsOK(res1
)) {
10406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10408 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10410 if (!SWIG_IsOK(res2
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10413 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10416 if (!SWIG_IsOK(ecode3
)) {
10417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10419 arg3
= static_cast< int >(val3
);
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 (arg1
)->SetOwner(arg2
,arg3
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= SWIG_Py_Void();
10434 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10435 PyObject
*resultobj
= 0;
10436 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10437 wxEvtHandler
*result
= 0 ;
10440 PyObject
*swig_obj
[1] ;
10442 if (!args
) SWIG_fail
;
10443 swig_obj
[0] = args
;
10444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10445 if (!SWIG_IsOK(res1
)) {
10446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10448 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= wxPyMake_wxObject(result
, 0);
10464 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
= 0;
10466 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10467 int arg2
= (int) -1 ;
10468 bool arg3
= (bool) false ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 PyObject
* obj2
= 0 ;
10479 char * kwnames
[] = {
10480 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10485 if (!SWIG_IsOK(res1
)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10488 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10491 if (!SWIG_IsOK(ecode2
)) {
10492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10494 arg2
= static_cast< int >(val2
);
10497 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10498 if (!SWIG_IsOK(ecode3
)) {
10499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10501 arg3
= static_cast< bool >(val3
);
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10519 PyObject
*resultobj
= 0;
10520 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10531 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_Py_Void();
10545 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10558 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_Py_Void();
10572 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10573 PyObject
*resultobj
= 0;
10574 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10578 PyObject
*swig_obj
[1] ;
10580 if (!args
) SWIG_fail
;
10581 swig_obj
[0] = args
;
10582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10583 if (!SWIG_IsOK(res1
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10586 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10602 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10603 PyObject
*resultobj
= 0;
10604 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10608 PyObject
*swig_obj
[1] ;
10610 if (!args
) SWIG_fail
;
10611 swig_obj
[0] = args
;
10612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10613 if (!SWIG_IsOK(res1
)) {
10614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10616 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_From_int(static_cast< int >(result
));
10630 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10631 PyObject
*resultobj
= 0;
10632 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10636 PyObject
*swig_obj
[1] ;
10638 if (!args
) SWIG_fail
;
10639 swig_obj
[0] = args
;
10640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10641 if (!SWIG_IsOK(res1
)) {
10642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10644 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= SWIG_From_int(static_cast< int >(result
));
10658 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10659 PyObject
*resultobj
= 0;
10660 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10664 PyObject
*swig_obj
[1] ;
10666 if (!args
) SWIG_fail
;
10667 swig_obj
[0] = args
;
10668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10669 if (!SWIG_IsOK(res1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10672 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10688 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10692 return SWIG_Py_Void();
10695 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10696 return SWIG_Python_InitShadowInstance(args
);
10699 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
= 0;
10701 int arg1
= (int) 0 ;
10702 int arg2
= (int) 0 ;
10703 wxTimerEvent
*result
= 0 ;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 char * kwnames
[] = {
10711 (char *) "timerid",(char *) "interval", NULL
10714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10717 if (!SWIG_IsOK(ecode1
)) {
10718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10720 arg1
= static_cast< int >(val1
);
10723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10724 if (!SWIG_IsOK(ecode2
)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10727 arg2
= static_cast< int >(val2
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10742 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10743 PyObject
*resultobj
= 0;
10744 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10748 PyObject
*swig_obj
[1] ;
10750 if (!args
) SWIG_fail
;
10751 swig_obj
[0] = args
;
10752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10756 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_From_int(static_cast< int >(result
));
10770 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10773 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10774 return SWIG_Py_Void();
10777 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10778 return SWIG_Python_InitShadowInstance(args
);
10781 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10782 PyObject
*resultobj
= 0;
10783 wxTimer
*arg1
= 0 ;
10784 wxTimerRunner
*result
= 0 ;
10788 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10790 if (!SWIG_IsOK(res1
)) {
10791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10796 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10798 if (!wxPyCheckForApp()) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10811 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10812 PyObject
*resultobj
= 0;
10813 wxTimer
*arg1
= 0 ;
10815 bool arg3
= (bool) false ;
10816 wxTimerRunner
*result
= 0 ;
10824 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10826 if (!SWIG_IsOK(res1
)) {
10827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10832 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10833 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10834 if (!SWIG_IsOK(ecode2
)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10837 arg2
= static_cast< int >(val2
);
10839 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10840 if (!SWIG_IsOK(ecode3
)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10843 arg3
= static_cast< bool >(val3
);
10846 if (!wxPyCheckForApp()) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10859 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10863 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10866 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10868 if ((argc
>= 2) && (argc
<= 3)) {
10869 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10873 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10878 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10879 PyObject
*resultobj
= 0;
10880 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10883 PyObject
*swig_obj
[1] ;
10885 if (!args
) SWIG_fail
;
10886 swig_obj
[0] = args
;
10887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10891 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_Py_Void();
10906 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= 0;
10908 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10910 bool arg3
= (bool) false ;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 PyObject
* obj2
= 0 ;
10920 char * kwnames
[] = {
10921 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10926 if (!SWIG_IsOK(res1
)) {
10927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10929 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10931 if (!SWIG_IsOK(ecode2
)) {
10932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10934 arg2
= static_cast< int >(val2
);
10936 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10937 if (!SWIG_IsOK(ecode3
)) {
10938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10940 arg3
= static_cast< bool >(val3
);
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->Start(arg2
,arg3
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_Py_Void();
10955 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10958 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10959 return SWIG_Py_Void();
10962 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 return SWIG_Python_InitShadowInstance(args
);
10966 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10967 PyObject
*resultobj
= 0;
10968 wxLog
*result
= 0 ;
10970 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (wxLog
*)new wxLog();
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10984 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10985 PyObject
*resultobj
= 0;
10986 wxLog
*arg1
= (wxLog
*) 0 ;
10989 PyObject
*swig_obj
[1] ;
10991 if (!args
) SWIG_fail
;
10992 swig_obj
[0] = args
;
10993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
10997 arg1
= reinterpret_cast< wxLog
* >(argp1
);
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= SWIG_Py_Void();
11012 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11013 PyObject
*resultobj
= 0;
11016 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (bool)wxLog::IsEnabled();
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11032 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= 0;
11034 bool arg1
= (bool) true ;
11038 PyObject
* obj0
= 0 ;
11039 char * kwnames
[] = {
11040 (char *) "doIt", NULL
11043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11045 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11046 if (!SWIG_IsOK(ecode1
)) {
11047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11049 arg1
= static_cast< bool >(val1
);
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)wxLog::EnableLogging(arg1
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11066 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
= 0;
11069 wxChar
*arg2
= (wxChar
*) 0 ;
11071 unsigned long val1
;
11075 unsigned int val3
;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 PyObject
* obj2
= 0 ;
11080 char * kwnames
[] = {
11081 (char *) "level",(char *) "szString",(char *) "t", NULL
11084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11085 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11086 if (!SWIG_IsOK(ecode1
)) {
11087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11089 arg1
= static_cast< wxLogLevel
>(val1
);
11090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11091 if (!SWIG_IsOK(res2
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11094 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11095 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11096 if (!SWIG_IsOK(ecode3
)) {
11097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11099 arg3
= static_cast< time_t >(val3
);
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= SWIG_Py_Void();
11113 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxLog
*arg1
= (wxLog
*) 0 ;
11118 PyObject
*swig_obj
[1] ;
11120 if (!args
) SWIG_fail
;
11121 swig_obj
[0] = args
;
11122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11126 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= SWIG_Py_Void();
11140 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11141 PyObject
*resultobj
= 0;
11143 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 wxLog::FlushActive();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= SWIG_Py_Void();
11157 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11158 PyObject
*resultobj
= 0;
11159 wxLog
*result
= 0 ;
11161 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (wxLog
*)wxLog::GetActiveTarget();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11175 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
= 0;
11177 wxLog
*arg1
= (wxLog
*) 0 ;
11178 wxLog
*result
= 0 ;
11180 PyObject
* obj0
= 0 ;
11181 char * kwnames
[] = {
11182 (char *) "pLogger", NULL
11185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11186 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11187 if (!SWIG_IsOK(res1
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11203 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11204 PyObject
*resultobj
= 0;
11206 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= SWIG_Py_Void();
11220 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11221 PyObject
*resultobj
= 0;
11223 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 resultobj
= SWIG_Py_Void();
11237 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
= 0;
11239 bool arg1
= (bool) true ;
11242 PyObject
* obj0
= 0 ;
11243 char * kwnames
[] = {
11244 (char *) "bVerbose", NULL
11247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11249 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11250 if (!SWIG_IsOK(ecode1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11253 arg1
= static_cast< bool >(val1
);
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 wxLog::SetVerbose(arg1
);
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_Py_Void();
11268 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
= 0;
11271 unsigned long val1
;
11273 PyObject
* obj0
= 0 ;
11274 char * kwnames
[] = {
11275 (char *) "logLevel", NULL
11278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11279 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11280 if (!SWIG_IsOK(ecode1
)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11283 arg1
= static_cast< wxLogLevel
>(val1
);
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxLog::SetLogLevel(arg1
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_Py_Void();
11297 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11298 PyObject
*resultobj
= 0;
11300 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 wxLog::DontCreateOnDemand();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_Py_Void();
11314 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
= 0;
11317 unsigned long val1
;
11319 PyObject
* obj0
= 0 ;
11320 char * kwnames
[] = {
11321 (char *) "ulMask", NULL
11324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11325 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11326 if (!SWIG_IsOK(ecode1
)) {
11327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11329 arg1
= static_cast< wxTraceMask
>(val1
);
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 wxLog::SetTraceMask(arg1
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_Py_Void();
11343 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
= 0;
11345 wxString
*arg1
= 0 ;
11346 bool temp1
= false ;
11347 PyObject
* obj0
= 0 ;
11348 char * kwnames
[] = {
11349 (char *) "str", NULL
11352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11354 arg1
= wxString_in_helper(obj0
);
11355 if (arg1
== NULL
) SWIG_fail
;
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 wxLog::AddTraceMask((wxString
const &)*arg1
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_Py_Void();
11379 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
= 0;
11381 wxString
*arg1
= 0 ;
11382 bool temp1
= false ;
11383 PyObject
* obj0
= 0 ;
11384 char * kwnames
[] = {
11385 (char *) "str", NULL
11388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11390 arg1
= wxString_in_helper(obj0
);
11391 if (arg1
== NULL
) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= SWIG_Py_Void();
11415 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11416 PyObject
*resultobj
= 0;
11418 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 wxLog::ClearTraceMasks();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_Py_Void();
11432 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11433 PyObject
*resultobj
= 0;
11434 wxArrayString
*result
= 0 ;
11436 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11441 result
= (wxArrayString
*) &_result_ref
;
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= wxArrayString2PyList_helper(*result
);
11455 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
= 0;
11457 wxChar
*arg1
= (wxChar
*) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 char * kwnames
[] = {
11462 (char *) "ts", NULL
11465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11470 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 wxLog::SetTimestamp((wxChar
const *)arg1
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_Py_Void();
11484 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11485 PyObject
*resultobj
= 0;
11488 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (bool)wxLog::GetVerbose();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11504 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11505 PyObject
*resultobj
= 0;
11506 wxTraceMask result
;
11508 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= (wxTraceMask
)wxLog::GetTraceMask();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11522 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
= 0;
11524 wxChar
*arg1
= (wxChar
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 char * kwnames
[] = {
11530 (char *) "mask", NULL
11533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11535 if (!SWIG_IsOK(res1
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11538 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11554 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11555 PyObject
*resultobj
= 0;
11558 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (wxLogLevel
)wxLog::GetLogLevel();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11572 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11573 PyObject
*resultobj
= 0;
11574 wxChar
*result
= 0 ;
11576 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (wxChar
*)wxLog::GetTimestamp();
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11590 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11591 PyObject
*resultobj
= 0;
11594 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= wxLog_TimeStamp();
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11614 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 PyObject
*resultobj
= 0;
11616 wxLog
*arg1
= (wxLog
*) 0 ;
11619 PyObject
*swig_obj
[1] ;
11621 if (!args
) SWIG_fail
;
11622 swig_obj
[0] = args
;
11623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11627 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 wxLog_Destroy(arg1
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= SWIG_Py_Void();
11641 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11644 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11645 return SWIG_Py_Void();
11648 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11649 return SWIG_Python_InitShadowInstance(args
);
11652 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11653 PyObject
*resultobj
= 0;
11654 wxLogStderr
*result
= 0 ;
11656 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxLogStderr
*)new wxLogStderr();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11670 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11673 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11674 return SWIG_Py_Void();
11677 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11678 return SWIG_Python_InitShadowInstance(args
);
11681 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
= 0;
11683 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11684 wxLogTextCtrl
*result
= 0 ;
11687 PyObject
* obj0
= 0 ;
11688 char * kwnames
[] = {
11689 (char *) "pTextCtrl", NULL
11692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11694 if (!SWIG_IsOK(res1
)) {
11695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11697 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11711 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11714 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11715 return SWIG_Py_Void();
11718 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11719 return SWIG_Python_InitShadowInstance(args
);
11722 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 PyObject
*resultobj
= 0;
11724 wxLogGui
*result
= 0 ;
11726 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (wxLogGui
*)new wxLogGui();
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11740 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11743 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11744 return SWIG_Py_Void();
11747 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11748 return SWIG_Python_InitShadowInstance(args
);
11751 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
= 0;
11753 wxFrame
*arg1
= (wxFrame
*) 0 ;
11754 wxString
*arg2
= 0 ;
11755 bool arg3
= (bool) true ;
11756 bool arg4
= (bool) true ;
11757 wxLogWindow
*result
= 0 ;
11760 bool temp2
= false ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 PyObject
* obj2
= 0 ;
11768 PyObject
* obj3
= 0 ;
11769 char * kwnames
[] = {
11770 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11775 if (!SWIG_IsOK(res1
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11778 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11780 arg2
= wxString_in_helper(obj1
);
11781 if (arg2
== NULL
) SWIG_fail
;
11785 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11786 if (!SWIG_IsOK(ecode3
)) {
11787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11789 arg3
= static_cast< bool >(val3
);
11792 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11793 if (!SWIG_IsOK(ecode4
)) {
11794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11796 arg4
= static_cast< bool >(val4
);
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11819 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
= 0;
11821 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11822 bool arg2
= (bool) true ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char * kwnames
[] = {
11830 (char *) "self",(char *) "bShow", NULL
11833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11835 if (!SWIG_IsOK(res1
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11838 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11840 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11841 if (!SWIG_IsOK(ecode2
)) {
11842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11844 arg2
= static_cast< bool >(val2
);
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 (arg1
)->Show(arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_Py_Void();
11859 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11860 PyObject
*resultobj
= 0;
11861 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11862 wxFrame
*result
= 0 ;
11865 PyObject
*swig_obj
[1] ;
11867 if (!args
) SWIG_fail
;
11868 swig_obj
[0] = args
;
11869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11870 if (!SWIG_IsOK(res1
)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11873 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11889 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11890 PyObject
*resultobj
= 0;
11891 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11892 wxLog
*result
= 0 ;
11895 PyObject
*swig_obj
[1] ;
11897 if (!args
) SWIG_fail
;
11898 swig_obj
[0] = args
;
11899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11900 if (!SWIG_IsOK(res1
)) {
11901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11903 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11917 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11918 PyObject
*resultobj
= 0;
11919 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11923 PyObject
*swig_obj
[1] ;
11925 if (!args
) SWIG_fail
;
11926 swig_obj
[0] = args
;
11927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11928 if (!SWIG_IsOK(res1
)) {
11929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11931 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11947 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
= 0;
11949 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char * kwnames
[] = {
11958 (char *) "self",(char *) "bDoPass", NULL
11961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11963 if (!SWIG_IsOK(res1
)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11966 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11967 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11968 if (!SWIG_IsOK(ecode2
)) {
11969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11971 arg2
= static_cast< bool >(val2
);
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 (arg1
)->PassMessages(arg2
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_Py_Void();
11985 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11988 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11989 return SWIG_Py_Void();
11992 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11993 return SWIG_Python_InitShadowInstance(args
);
11996 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
= 0;
11998 wxLog
*arg1
= (wxLog
*) 0 ;
11999 wxLogChain
*result
= 0 ;
12002 PyObject
* obj0
= 0 ;
12003 char * kwnames
[] = {
12004 (char *) "logger", NULL
12007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
12008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12009 if (!SWIG_IsOK(res1
)) {
12010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12012 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (wxLogChain
*)new wxLogChain(arg1
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12026 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
= 0;
12028 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12029 wxLog
*arg2
= (wxLog
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 PyObject
* obj1
= 0 ;
12036 char * kwnames
[] = {
12037 (char *) "self",(char *) "logger", NULL
12040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12045 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12047 if (!SWIG_IsOK(res2
)) {
12048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12050 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 (arg1
)->SetLog(arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_Py_Void();
12064 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
= 0;
12066 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 char * kwnames
[] = {
12075 (char *) "self",(char *) "bDoPass", NULL
12078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12080 if (!SWIG_IsOK(res1
)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12083 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12084 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12085 if (!SWIG_IsOK(ecode2
)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12088 arg2
= static_cast< bool >(val2
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->PassMessages(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12116 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (bool)(arg1
)->IsPassingMessages();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12132 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12133 PyObject
*resultobj
= 0;
12134 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12135 wxLog
*result
= 0 ;
12138 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12146 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (wxLog
*)(arg1
)->GetOldLog();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12160 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12163 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12164 return SWIG_Py_Void();
12167 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12168 return SWIG_Python_InitShadowInstance(args
);
12171 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12172 PyObject
*resultobj
= 0;
12173 wxLogBuffer
*result
= 0 ;
12175 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (wxLogBuffer
*)new wxLogBuffer();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12189 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12190 PyObject
*resultobj
= 0;
12191 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12192 wxString
*result
= 0 ;
12195 PyObject
*swig_obj
[1] ;
12197 if (!args
) SWIG_fail
;
12198 swig_obj
[0] = args
;
12199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12200 if (!SWIG_IsOK(res1
)) {
12201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12203 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12208 result
= (wxString
*) &_result_ref
;
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12217 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12226 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12229 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12230 return SWIG_Py_Void();
12233 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12234 return SWIG_Python_InitShadowInstance(args
);
12237 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12238 PyObject
*resultobj
= 0;
12239 unsigned long result
;
12241 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (unsigned long)wxSysErrorCode();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12255 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
= 0;
12257 unsigned long arg1
= (unsigned long) 0 ;
12259 unsigned long val1
;
12261 PyObject
* obj0
= 0 ;
12262 char * kwnames
[] = {
12263 (char *) "nErrCode", NULL
12266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12268 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12269 if (!SWIG_IsOK(ecode1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12272 arg1
= static_cast< unsigned long >(val1
);
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= wxSysErrorMsg(arg1
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12293 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
= 0;
12295 wxString
*arg1
= 0 ;
12296 bool temp1
= false ;
12297 PyObject
* obj0
= 0 ;
12298 char * kwnames
[] = {
12299 (char *) "msg", NULL
12302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12304 arg1
= wxString_in_helper(obj0
);
12305 if (arg1
== NULL
) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 wxPyLogFatalError((wxString
const &)*arg1
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_Py_Void();
12329 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
= 0;
12331 wxString
*arg1
= 0 ;
12332 bool temp1
= false ;
12333 PyObject
* obj0
= 0 ;
12334 char * kwnames
[] = {
12335 (char *) "msg", NULL
12338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12340 arg1
= wxString_in_helper(obj0
);
12341 if (arg1
== NULL
) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 wxPyLogError((wxString
const &)*arg1
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_Py_Void();
12365 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
= 0;
12367 wxString
*arg1
= 0 ;
12368 bool temp1
= false ;
12369 PyObject
* obj0
= 0 ;
12370 char * kwnames
[] = {
12371 (char *) "msg", NULL
12374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12376 arg1
= wxString_in_helper(obj0
);
12377 if (arg1
== NULL
) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 wxPyLogWarning((wxString
const &)*arg1
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_Py_Void();
12401 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
= 0;
12403 wxString
*arg1
= 0 ;
12404 bool temp1
= false ;
12405 PyObject
* obj0
= 0 ;
12406 char * kwnames
[] = {
12407 (char *) "msg", NULL
12410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12412 arg1
= wxString_in_helper(obj0
);
12413 if (arg1
== NULL
) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 wxPyLogMessage((wxString
const &)*arg1
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= SWIG_Py_Void();
12437 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxString
*arg1
= 0 ;
12440 bool temp1
= false ;
12441 PyObject
* obj0
= 0 ;
12442 char * kwnames
[] = {
12443 (char *) "msg", NULL
12446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12448 arg1
= wxString_in_helper(obj0
);
12449 if (arg1
== NULL
) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 wxPyLogInfo((wxString
const &)*arg1
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_Py_Void();
12473 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
= 0;
12475 wxString
*arg1
= 0 ;
12476 bool temp1
= false ;
12477 PyObject
* obj0
= 0 ;
12478 char * kwnames
[] = {
12479 (char *) "msg", NULL
12482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12484 arg1
= wxString_in_helper(obj0
);
12485 if (arg1
== NULL
) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 wxPyLogDebug((wxString
const &)*arg1
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_Py_Void();
12509 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
= 0;
12511 wxString
*arg1
= 0 ;
12512 bool temp1
= false ;
12513 PyObject
* obj0
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "msg", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12520 arg1
= wxString_in_helper(obj0
);
12521 if (arg1
== NULL
) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 wxPyLogVerbose((wxString
const &)*arg1
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_Py_Void();
12545 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
= 0;
12547 wxString
*arg1
= 0 ;
12548 bool temp1
= false ;
12549 PyObject
* obj0
= 0 ;
12550 char * kwnames
[] = {
12551 (char *) "msg", NULL
12554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12556 arg1
= wxString_in_helper(obj0
);
12557 if (arg1
== NULL
) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 wxPyLogStatus((wxString
const &)*arg1
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_Py_Void();
12581 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
= 0;
12583 wxFrame
*arg1
= (wxFrame
*) 0 ;
12584 wxString
*arg2
= 0 ;
12587 bool temp2
= false ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 char * kwnames
[] = {
12591 (char *) "pFrame",(char *) "msg", NULL
12594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12599 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12601 arg2
= wxString_in_helper(obj1
);
12602 if (arg2
== NULL
) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= SWIG_Py_Void();
12626 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
= 0;
12628 wxString
*arg1
= 0 ;
12629 bool temp1
= false ;
12630 PyObject
* obj0
= 0 ;
12631 char * kwnames
[] = {
12632 (char *) "msg", NULL
12635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12637 arg1
= wxString_in_helper(obj0
);
12638 if (arg1
== NULL
) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 wxPyLogSysError((wxString
const &)*arg1
);
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12647 resultobj
= SWIG_Py_Void();
12662 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
= 0;
12664 unsigned long arg1
;
12665 wxString
*arg2
= 0 ;
12666 unsigned long val1
;
12668 bool temp2
= false ;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 char * kwnames
[] = {
12672 (char *) "level",(char *) "msg", NULL
12675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12676 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12677 if (!SWIG_IsOK(ecode1
)) {
12678 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12680 arg1
= static_cast< unsigned long >(val1
);
12682 arg2
= wxString_in_helper(obj1
);
12683 if (arg2
== NULL
) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_Py_Void();
12707 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12708 PyObject
*resultobj
= 0;
12709 unsigned long arg1
;
12710 wxString
*arg2
= 0 ;
12711 unsigned long val1
;
12713 bool temp2
= false ;
12715 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12716 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12717 if (!SWIG_IsOK(ecode1
)) {
12718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12720 arg1
= static_cast< unsigned long >(val1
);
12722 arg2
= wxString_in_helper(swig_obj
[1]);
12723 if (arg2
== NULL
) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_Py_Void();
12747 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12748 PyObject
*resultobj
= 0;
12749 wxString
*arg1
= 0 ;
12750 wxString
*arg2
= 0 ;
12751 bool temp1
= false ;
12752 bool temp2
= false ;
12754 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12756 arg1
= wxString_in_helper(swig_obj
[0]);
12757 if (arg1
== NULL
) SWIG_fail
;
12761 arg2
= wxString_in_helper(swig_obj
[1]);
12762 if (arg2
== NULL
) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= SWIG_Py_Void();
12794 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12798 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12804 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12807 if (!_v
) goto check_1
;
12808 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12813 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12817 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12822 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= 0;
12824 wxString
*arg1
= 0 ;
12825 wxString
*arg2
= 0 ;
12826 bool temp1
= false ;
12827 bool temp2
= false ;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 char * kwnames
[] = {
12831 (char *) "title",(char *) "text", NULL
12834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12836 arg1
= wxString_in_helper(obj0
);
12837 if (arg1
== NULL
) SWIG_fail
;
12841 arg2
= wxString_in_helper(obj1
);
12842 if (arg2
== NULL
) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_Py_Void();
12874 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12875 PyObject
*resultobj
= 0;
12876 wxLogNull
*result
= 0 ;
12878 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 result
= (wxLogNull
*)new wxLogNull();
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12892 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 PyObject
*resultobj
= 0;
12894 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12897 PyObject
*swig_obj
[1] ;
12899 if (!args
) SWIG_fail
;
12900 swig_obj
[0] = args
;
12901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12905 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_Py_Void();
12920 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12923 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12924 return SWIG_Py_Void();
12927 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12928 return SWIG_Python_InitShadowInstance(args
);
12931 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12932 PyObject
*resultobj
= 0;
12933 wxPyLog
*result
= 0 ;
12935 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxPyLog
*)new wxPyLog();
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12949 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
= 0;
12951 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12952 PyObject
*arg2
= (PyObject
*) 0 ;
12953 PyObject
*arg3
= (PyObject
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 PyObject
* obj2
= 0 ;
12959 char * kwnames
[] = {
12960 (char *) "self",(char *) "self",(char *) "_class", NULL
12963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12965 if (!SWIG_IsOK(res1
)) {
12966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12968 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_Py_Void();
12984 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12987 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12988 return SWIG_Py_Void();
12991 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12992 return SWIG_Python_InitShadowInstance(args
);
12995 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
= 0;
12998 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12999 int arg3
= (int) wxKILL_NOCHILDREN
;
13000 wxKillError result
;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 char * kwnames
[] = {
13011 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13016 if (!SWIG_IsOK(ecode1
)) {
13017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13019 arg1
= static_cast< int >(val1
);
13021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13022 if (!SWIG_IsOK(ecode2
)) {
13023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13025 arg2
= static_cast< wxSignal
>(val2
);
13028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13029 if (!SWIG_IsOK(ecode3
)) {
13030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13032 arg3
= static_cast< int >(val3
);
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= SWIG_From_int(static_cast< int >(result
));
13047 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
= 0;
13053 PyObject
* obj0
= 0 ;
13054 char * kwnames
[] = {
13055 (char *) "pid", NULL
13058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13059 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13060 if (!SWIG_IsOK(ecode1
)) {
13061 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13063 arg1
= static_cast< int >(val1
);
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (bool)wxPyProcess::Exists(arg1
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13079 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= 0;
13081 wxString
*arg1
= 0 ;
13082 int arg2
= (int) wxEXEC_ASYNC
;
13083 wxPyProcess
*result
= 0 ;
13084 bool temp1
= false ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char * kwnames
[] = {
13090 (char *) "cmd",(char *) "flags", NULL
13093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13095 arg1
= wxString_in_helper(obj0
);
13096 if (arg1
== NULL
) SWIG_fail
;
13100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13101 if (!SWIG_IsOK(ecode2
)) {
13102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13104 arg2
= static_cast< int >(val2
);
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13127 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13130 int arg2
= (int) -1 ;
13131 wxPyProcess
*result
= 0 ;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 char * kwnames
[] = {
13139 (char *) "parent",(char *) "id", NULL
13142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13145 if (!SWIG_IsOK(res1
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13148 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13152 if (!SWIG_IsOK(ecode2
)) {
13153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13155 arg2
= static_cast< int >(val2
);
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13170 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
= 0;
13172 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13173 PyObject
*arg2
= (PyObject
*) 0 ;
13174 PyObject
*arg3
= (PyObject
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 PyObject
* obj2
= 0 ;
13180 char * kwnames
[] = {
13181 (char *) "self",(char *) "self",(char *) "_class", NULL
13184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13186 if (!SWIG_IsOK(res1
)) {
13187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13189 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= SWIG_Py_Void();
13205 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
= 0;
13207 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 PyObject
* obj2
= 0 ;
13219 char * kwnames
[] = {
13220 (char *) "self",(char *) "pid",(char *) "status", NULL
13223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13225 if (!SWIG_IsOK(res1
)) {
13226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13228 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13230 if (!SWIG_IsOK(ecode2
)) {
13231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13233 arg2
= static_cast< int >(val2
);
13234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13235 if (!SWIG_IsOK(ecode3
)) {
13236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13238 arg3
= static_cast< int >(val3
);
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->OnTerminate(arg2
,arg3
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= SWIG_Py_Void();
13252 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13253 PyObject
*resultobj
= 0;
13254 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13257 PyObject
*swig_obj
[1] ;
13259 if (!args
) SWIG_fail
;
13260 swig_obj
[0] = args
;
13261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13262 if (!SWIG_IsOK(res1
)) {
13263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13265 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->Redirect();
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_Py_Void();
13279 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13280 PyObject
*resultobj
= 0;
13281 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13285 PyObject
*swig_obj
[1] ;
13287 if (!args
) SWIG_fail
;
13288 swig_obj
[0] = args
;
13289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13290 if (!SWIG_IsOK(res1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13293 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (bool)(arg1
)->IsRedirected();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13309 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13310 PyObject
*resultobj
= 0;
13311 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13314 PyObject
*swig_obj
[1] ;
13316 if (!args
) SWIG_fail
;
13317 swig_obj
[0] = args
;
13318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13319 if (!SWIG_IsOK(res1
)) {
13320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13322 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_Py_Void();
13336 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13337 PyObject
*resultobj
= 0;
13338 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13339 wxInputStream
*result
= 0 ;
13342 PyObject
*swig_obj
[1] ;
13344 if (!args
) SWIG_fail
;
13345 swig_obj
[0] = args
;
13346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13350 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13358 wxPyInputStream
* _ptr
= NULL
;
13361 _ptr
= new wxPyInputStream(result
);
13363 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13371 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13372 PyObject
*resultobj
= 0;
13373 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13374 wxInputStream
*result
= 0 ;
13377 PyObject
*swig_obj
[1] ;
13379 if (!args
) SWIG_fail
;
13380 swig_obj
[0] = args
;
13381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13382 if (!SWIG_IsOK(res1
)) {
13383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13385 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13393 wxPyInputStream
* _ptr
= NULL
;
13396 _ptr
= new wxPyInputStream(result
);
13398 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13406 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13407 PyObject
*resultobj
= 0;
13408 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13409 wxOutputStream
*result
= 0 ;
13412 PyObject
*swig_obj
[1] ;
13414 if (!args
) SWIG_fail
;
13415 swig_obj
[0] = args
;
13416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13417 if (!SWIG_IsOK(res1
)) {
13418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13420 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13434 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13435 PyObject
*resultobj
= 0;
13436 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13439 PyObject
*swig_obj
[1] ;
13441 if (!args
) SWIG_fail
;
13442 swig_obj
[0] = args
;
13443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13444 if (!SWIG_IsOK(res1
)) {
13445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13447 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 (arg1
)->CloseOutput();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= SWIG_Py_Void();
13461 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13462 PyObject
*resultobj
= 0;
13463 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13467 PyObject
*swig_obj
[1] ;
13469 if (!args
) SWIG_fail
;
13470 swig_obj
[0] = args
;
13471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13472 if (!SWIG_IsOK(res1
)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13475 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13491 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13492 PyObject
*resultobj
= 0;
13493 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13497 PyObject
*swig_obj
[1] ;
13499 if (!args
) SWIG_fail
;
13500 swig_obj
[0] = args
;
13501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13502 if (!SWIG_IsOK(res1
)) {
13503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13505 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13521 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13522 PyObject
*resultobj
= 0;
13523 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13527 PyObject
*swig_obj
[1] ;
13529 if (!args
) SWIG_fail
;
13530 swig_obj
[0] = args
;
13531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13532 if (!SWIG_IsOK(res1
)) {
13533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13535 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13551 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13554 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13555 return SWIG_Py_Void();
13558 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13559 return SWIG_Python_InitShadowInstance(args
);
13562 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
= 0;
13564 int arg1
= (int) 0 ;
13565 int arg2
= (int) 0 ;
13566 int arg3
= (int) 0 ;
13567 wxProcessEvent
*result
= 0 ;
13574 PyObject
* obj0
= 0 ;
13575 PyObject
* obj1
= 0 ;
13576 PyObject
* obj2
= 0 ;
13577 char * kwnames
[] = {
13578 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13583 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13584 if (!SWIG_IsOK(ecode1
)) {
13585 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13587 arg1
= static_cast< int >(val1
);
13590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13591 if (!SWIG_IsOK(ecode2
)) {
13592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13594 arg2
= static_cast< int >(val2
);
13597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13598 if (!SWIG_IsOK(ecode3
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13601 arg3
= static_cast< int >(val3
);
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13616 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13617 PyObject
*resultobj
= 0;
13618 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13622 PyObject
*swig_obj
[1] ;
13624 if (!args
) SWIG_fail
;
13625 swig_obj
[0] = args
;
13626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13627 if (!SWIG_IsOK(res1
)) {
13628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13630 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (int)(arg1
)->GetPid();
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= SWIG_From_int(static_cast< int >(result
));
13644 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13645 PyObject
*resultobj
= 0;
13646 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13650 PyObject
*swig_obj
[1] ;
13652 if (!args
) SWIG_fail
;
13653 swig_obj
[0] = args
;
13654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13655 if (!SWIG_IsOK(res1
)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13658 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (int)(arg1
)->GetExitCode();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_From_int(static_cast< int >(result
));
13672 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13673 PyObject
*resultobj
= 0;
13674 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13680 PyObject
*swig_obj
[2] ;
13682 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13684 if (!SWIG_IsOK(res1
)) {
13685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13687 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13688 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13689 if (!SWIG_IsOK(ecode2
)) {
13690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13692 arg2
= static_cast< int >(val2
);
13693 if (arg1
) (arg1
)->m_pid
= arg2
;
13695 resultobj
= SWIG_Py_Void();
13702 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13703 PyObject
*resultobj
= 0;
13704 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13708 PyObject
*swig_obj
[1] ;
13710 if (!args
) SWIG_fail
;
13711 swig_obj
[0] = args
;
13712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13713 if (!SWIG_IsOK(res1
)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13716 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13717 result
= (int) ((arg1
)->m_pid
);
13718 resultobj
= SWIG_From_int(static_cast< int >(result
));
13725 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13726 PyObject
*resultobj
= 0;
13727 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13733 PyObject
*swig_obj
[2] ;
13735 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13740 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13741 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13742 if (!SWIG_IsOK(ecode2
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13745 arg2
= static_cast< int >(val2
);
13746 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13748 resultobj
= SWIG_Py_Void();
13755 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13756 PyObject
*resultobj
= 0;
13757 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13761 PyObject
*swig_obj
[1] ;
13763 if (!args
) SWIG_fail
;
13764 swig_obj
[0] = args
;
13765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13766 if (!SWIG_IsOK(res1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13769 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13770 result
= (int) ((arg1
)->m_exitcode
);
13771 resultobj
= SWIG_From_int(static_cast< int >(result
));
13778 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13781 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13782 return SWIG_Py_Void();
13785 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13786 return SWIG_Python_InitShadowInstance(args
);
13789 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
= 0;
13791 wxString
*arg1
= 0 ;
13792 int arg2
= (int) wxEXEC_ASYNC
;
13793 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13795 bool temp1
= false ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 PyObject
* obj2
= 0 ;
13803 char * kwnames
[] = {
13804 (char *) "command",(char *) "flags",(char *) "process", NULL
13807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13809 arg1
= wxString_in_helper(obj0
);
13810 if (arg1
== NULL
) SWIG_fail
;
13814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13815 if (!SWIG_IsOK(ecode2
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13818 arg2
= static_cast< int >(val2
);
13821 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13822 if (!SWIG_IsOK(res3
)) {
13823 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13825 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13828 if (!wxPyCheckForApp()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= SWIG_From_long(static_cast< long >(result
));
13849 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
= 0;
13852 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13853 wxKillError
*arg3
= (wxKillError
*) 0 ;
13854 int arg4
= (int) wxKILL_NOCHILDREN
;
13860 wxKillError temp3
;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 PyObject
* obj2
= 0 ;
13866 char * kwnames
[] = {
13867 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13874 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13875 if (!SWIG_IsOK(ecode1
)) {
13876 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13878 arg1
= static_cast< long >(val1
);
13880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13881 if (!SWIG_IsOK(ecode2
)) {
13882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13884 arg2
= static_cast< wxSignal
>(val2
);
13887 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13888 if (!SWIG_IsOK(ecode4
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13891 arg4
= static_cast< int >(val4
);
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= SWIG_From_int(static_cast< int >(result
));
13902 o
= PyInt_FromLong((long) (*arg3
));
13906 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13915 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
= 0;
13917 int arg1
= (int) wxJOYSTICK1
;
13918 wxJoystick
*result
= 0 ;
13921 PyObject
* obj0
= 0 ;
13922 char * kwnames
[] = {
13923 (char *) "joystick", NULL
13926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13929 if (!SWIG_IsOK(ecode1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13932 arg1
= static_cast< int >(val1
);
13935 if (!wxPyCheckForApp()) SWIG_fail
;
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 result
= (wxJoystick
*)new wxJoystick(arg1
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13948 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13949 PyObject
*resultobj
= 0;
13950 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13953 PyObject
*swig_obj
[1] ;
13955 if (!args
) SWIG_fail
;
13956 swig_obj
[0] = args
;
13957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13958 if (!SWIG_IsOK(res1
)) {
13959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13961 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= SWIG_Py_Void();
13976 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13977 PyObject
*resultobj
= 0;
13978 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13982 PyObject
*swig_obj
[1] ;
13984 if (!args
) SWIG_fail
;
13985 swig_obj
[0] = args
;
13986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13987 if (!SWIG_IsOK(res1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13990 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (arg1
)->GetPosition();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14004 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14005 PyObject
*resultobj
= 0;
14006 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14010 PyObject
*swig_obj
[1] ;
14012 if (!args
) SWIG_fail
;
14013 swig_obj
[0] = args
;
14014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14015 if (!SWIG_IsOK(res1
)) {
14016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14018 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (int)(arg1
)->GetZPosition();
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_From_int(static_cast< int >(result
));
14032 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14033 PyObject
*resultobj
= 0;
14034 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14038 PyObject
*swig_obj
[1] ;
14040 if (!args
) SWIG_fail
;
14041 swig_obj
[0] = args
;
14042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14043 if (!SWIG_IsOK(res1
)) {
14044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14046 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (int)(arg1
)->GetButtonState();
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= SWIG_From_int(static_cast< int >(result
));
14060 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14061 PyObject
*resultobj
= 0;
14062 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14066 PyObject
*swig_obj
[1] ;
14068 if (!args
) SWIG_fail
;
14069 swig_obj
[0] = args
;
14070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14071 if (!SWIG_IsOK(res1
)) {
14072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14074 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (int)(arg1
)->GetPOVPosition();
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_From_int(static_cast< int >(result
));
14088 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14089 PyObject
*resultobj
= 0;
14090 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14094 PyObject
*swig_obj
[1] ;
14096 if (!args
) SWIG_fail
;
14097 swig_obj
[0] = args
;
14098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14099 if (!SWIG_IsOK(res1
)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14102 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 result
= (int)(arg1
)->GetPOVCTSPosition();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= SWIG_From_int(static_cast< int >(result
));
14116 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14117 PyObject
*resultobj
= 0;
14118 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14122 PyObject
*swig_obj
[1] ;
14124 if (!args
) SWIG_fail
;
14125 swig_obj
[0] = args
;
14126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14127 if (!SWIG_IsOK(res1
)) {
14128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14130 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 result
= (int)(arg1
)->GetRudderPosition();
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= SWIG_From_int(static_cast< int >(result
));
14144 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14145 PyObject
*resultobj
= 0;
14146 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14150 PyObject
*swig_obj
[1] ;
14152 if (!args
) SWIG_fail
;
14153 swig_obj
[0] = args
;
14154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14155 if (!SWIG_IsOK(res1
)) {
14156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14158 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= (int)(arg1
)->GetUPosition();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_From_int(static_cast< int >(result
));
14172 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14173 PyObject
*resultobj
= 0;
14174 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14178 PyObject
*swig_obj
[1] ;
14180 if (!args
) SWIG_fail
;
14181 swig_obj
[0] = args
;
14182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14183 if (!SWIG_IsOK(res1
)) {
14184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14186 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (int)(arg1
)->GetVPosition();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= SWIG_From_int(static_cast< int >(result
));
14200 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14201 PyObject
*resultobj
= 0;
14202 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14206 PyObject
*swig_obj
[1] ;
14208 if (!args
) SWIG_fail
;
14209 swig_obj
[0] = args
;
14210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14211 if (!SWIG_IsOK(res1
)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14214 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= (int)(arg1
)->GetMovementThreshold();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= SWIG_From_int(static_cast< int >(result
));
14228 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
= 0;
14230 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 char * kwnames
[] = {
14239 (char *) "self",(char *) "threshold", NULL
14242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14244 if (!SWIG_IsOK(res1
)) {
14245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14247 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14249 if (!SWIG_IsOK(ecode2
)) {
14250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14252 arg2
= static_cast< int >(val2
);
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 (arg1
)->SetMovementThreshold(arg2
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_Py_Void();
14266 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(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_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14280 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (bool)(arg1
)->IsOk();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14296 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14297 PyObject
*resultobj
= 0;
14298 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14302 PyObject
*swig_obj
[1] ;
14304 if (!args
) SWIG_fail
;
14305 swig_obj
[0] = args
;
14306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14307 if (!SWIG_IsOK(res1
)) {
14308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14310 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= (int)(arg1
)->GetNumberJoysticks();
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= SWIG_From_int(static_cast< int >(result
));
14324 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14325 PyObject
*resultobj
= 0;
14326 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14330 PyObject
*swig_obj
[1] ;
14332 if (!args
) SWIG_fail
;
14333 swig_obj
[0] = args
;
14334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14335 if (!SWIG_IsOK(res1
)) {
14336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14338 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (int)(arg1
)->GetManufacturerId();
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= SWIG_From_int(static_cast< int >(result
));
14352 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14353 PyObject
*resultobj
= 0;
14354 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14358 PyObject
*swig_obj
[1] ;
14360 if (!args
) SWIG_fail
;
14361 swig_obj
[0] = args
;
14362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14363 if (!SWIG_IsOK(res1
)) {
14364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14366 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= (int)(arg1
)->GetProductId();
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= SWIG_From_int(static_cast< int >(result
));
14380 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14381 PyObject
*resultobj
= 0;
14382 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14386 PyObject
*swig_obj
[1] ;
14388 if (!args
) SWIG_fail
;
14389 swig_obj
[0] = args
;
14390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14391 if (!SWIG_IsOK(res1
)) {
14392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14394 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (arg1
)->GetProductName();
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14414 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14415 PyObject
*resultobj
= 0;
14416 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14420 PyObject
*swig_obj
[1] ;
14422 if (!args
) SWIG_fail
;
14423 swig_obj
[0] = args
;
14424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14425 if (!SWIG_IsOK(res1
)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14428 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (int)(arg1
)->GetXMin();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_From_int(static_cast< int >(result
));
14442 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14443 PyObject
*resultobj
= 0;
14444 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14448 PyObject
*swig_obj
[1] ;
14450 if (!args
) SWIG_fail
;
14451 swig_obj
[0] = args
;
14452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14453 if (!SWIG_IsOK(res1
)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14456 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (int)(arg1
)->GetYMin();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= SWIG_From_int(static_cast< int >(result
));
14470 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14471 PyObject
*resultobj
= 0;
14472 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14476 PyObject
*swig_obj
[1] ;
14478 if (!args
) SWIG_fail
;
14479 swig_obj
[0] = args
;
14480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14481 if (!SWIG_IsOK(res1
)) {
14482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14484 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (int)(arg1
)->GetZMin();
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= SWIG_From_int(static_cast< int >(result
));
14498 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14499 PyObject
*resultobj
= 0;
14500 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14504 PyObject
*swig_obj
[1] ;
14506 if (!args
) SWIG_fail
;
14507 swig_obj
[0] = args
;
14508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14509 if (!SWIG_IsOK(res1
)) {
14510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14512 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (int)(arg1
)->GetXMax();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_From_int(static_cast< int >(result
));
14526 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14527 PyObject
*resultobj
= 0;
14528 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14532 PyObject
*swig_obj
[1] ;
14534 if (!args
) SWIG_fail
;
14535 swig_obj
[0] = args
;
14536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14540 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (int)(arg1
)->GetYMax();
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= SWIG_From_int(static_cast< int >(result
));
14554 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14555 PyObject
*resultobj
= 0;
14556 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14560 PyObject
*swig_obj
[1] ;
14562 if (!args
) SWIG_fail
;
14563 swig_obj
[0] = args
;
14564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14565 if (!SWIG_IsOK(res1
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14568 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (int)(arg1
)->GetZMax();
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_From_int(static_cast< int >(result
));
14582 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14583 PyObject
*resultobj
= 0;
14584 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14588 PyObject
*swig_obj
[1] ;
14590 if (!args
) SWIG_fail
;
14591 swig_obj
[0] = args
;
14592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14593 if (!SWIG_IsOK(res1
)) {
14594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14596 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (int)(arg1
)->GetNumberButtons();
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= SWIG_From_int(static_cast< int >(result
));
14610 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14611 PyObject
*resultobj
= 0;
14612 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14616 PyObject
*swig_obj
[1] ;
14618 if (!args
) SWIG_fail
;
14619 swig_obj
[0] = args
;
14620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14621 if (!SWIG_IsOK(res1
)) {
14622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14624 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (int)(arg1
)->GetNumberAxes();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_From_int(static_cast< int >(result
));
14638 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14639 PyObject
*resultobj
= 0;
14640 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14644 PyObject
*swig_obj
[1] ;
14646 if (!args
) SWIG_fail
;
14647 swig_obj
[0] = args
;
14648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14649 if (!SWIG_IsOK(res1
)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14652 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 result
= (int)(arg1
)->GetMaxButtons();
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= SWIG_From_int(static_cast< int >(result
));
14666 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14667 PyObject
*resultobj
= 0;
14668 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14672 PyObject
*swig_obj
[1] ;
14674 if (!args
) SWIG_fail
;
14675 swig_obj
[0] = args
;
14676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14677 if (!SWIG_IsOK(res1
)) {
14678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14680 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (int)(arg1
)->GetMaxAxes();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= SWIG_From_int(static_cast< int >(result
));
14694 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14695 PyObject
*resultobj
= 0;
14696 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14700 PyObject
*swig_obj
[1] ;
14702 if (!args
) SWIG_fail
;
14703 swig_obj
[0] = args
;
14704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14705 if (!SWIG_IsOK(res1
)) {
14706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14708 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (int)(arg1
)->GetPollingMin();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= SWIG_From_int(static_cast< int >(result
));
14722 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14723 PyObject
*resultobj
= 0;
14724 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14728 PyObject
*swig_obj
[1] ;
14730 if (!args
) SWIG_fail
;
14731 swig_obj
[0] = args
;
14732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14733 if (!SWIG_IsOK(res1
)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14736 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (int)(arg1
)->GetPollingMax();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= SWIG_From_int(static_cast< int >(result
));
14750 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14751 PyObject
*resultobj
= 0;
14752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14756 PyObject
*swig_obj
[1] ;
14758 if (!args
) SWIG_fail
;
14759 swig_obj
[0] = args
;
14760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14761 if (!SWIG_IsOK(res1
)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14764 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (int)(arg1
)->GetRudderMin();
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= SWIG_From_int(static_cast< int >(result
));
14778 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14779 PyObject
*resultobj
= 0;
14780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14784 PyObject
*swig_obj
[1] ;
14786 if (!args
) SWIG_fail
;
14787 swig_obj
[0] = args
;
14788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14789 if (!SWIG_IsOK(res1
)) {
14790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14792 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (int)(arg1
)->GetRudderMax();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_From_int(static_cast< int >(result
));
14806 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14807 PyObject
*resultobj
= 0;
14808 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14812 PyObject
*swig_obj
[1] ;
14814 if (!args
) SWIG_fail
;
14815 swig_obj
[0] = args
;
14816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14817 if (!SWIG_IsOK(res1
)) {
14818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14820 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (int)(arg1
)->GetUMin();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= SWIG_From_int(static_cast< int >(result
));
14834 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14835 PyObject
*resultobj
= 0;
14836 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14840 PyObject
*swig_obj
[1] ;
14842 if (!args
) SWIG_fail
;
14843 swig_obj
[0] = args
;
14844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14848 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (int)(arg1
)->GetUMax();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_From_int(static_cast< int >(result
));
14862 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14863 PyObject
*resultobj
= 0;
14864 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14868 PyObject
*swig_obj
[1] ;
14870 if (!args
) SWIG_fail
;
14871 swig_obj
[0] = args
;
14872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14873 if (!SWIG_IsOK(res1
)) {
14874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14876 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 result
= (int)(arg1
)->GetVMin();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= SWIG_From_int(static_cast< int >(result
));
14890 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14891 PyObject
*resultobj
= 0;
14892 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14896 PyObject
*swig_obj
[1] ;
14898 if (!args
) SWIG_fail
;
14899 swig_obj
[0] = args
;
14900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14904 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (int)(arg1
)->GetVMax();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= SWIG_From_int(static_cast< int >(result
));
14918 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14919 PyObject
*resultobj
= 0;
14920 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14924 PyObject
*swig_obj
[1] ;
14926 if (!args
) SWIG_fail
;
14927 swig_obj
[0] = args
;
14928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14929 if (!SWIG_IsOK(res1
)) {
14930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14932 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (bool)(arg1
)->HasRudder();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14948 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14949 PyObject
*resultobj
= 0;
14950 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14954 PyObject
*swig_obj
[1] ;
14956 if (!args
) SWIG_fail
;
14957 swig_obj
[0] = args
;
14958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14959 if (!SWIG_IsOK(res1
)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14962 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (bool)(arg1
)->HasZ();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14978 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14979 PyObject
*resultobj
= 0;
14980 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14984 PyObject
*swig_obj
[1] ;
14986 if (!args
) SWIG_fail
;
14987 swig_obj
[0] = args
;
14988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14989 if (!SWIG_IsOK(res1
)) {
14990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14992 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (bool)(arg1
)->HasU();
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15008 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15009 PyObject
*resultobj
= 0;
15010 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15014 PyObject
*swig_obj
[1] ;
15016 if (!args
) SWIG_fail
;
15017 swig_obj
[0] = args
;
15018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15022 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= (bool)(arg1
)->HasV();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15038 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 PyObject
*resultobj
= 0;
15040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15044 PyObject
*swig_obj
[1] ;
15046 if (!args
) SWIG_fail
;
15047 swig_obj
[0] = args
;
15048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15052 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (bool)(arg1
)->HasPOV();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15068 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15069 PyObject
*resultobj
= 0;
15070 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15074 PyObject
*swig_obj
[1] ;
15076 if (!args
) SWIG_fail
;
15077 swig_obj
[0] = args
;
15078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15079 if (!SWIG_IsOK(res1
)) {
15080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15082 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (bool)(arg1
)->HasPOV4Dir();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15098 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15099 PyObject
*resultobj
= 0;
15100 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15104 PyObject
*swig_obj
[1] ;
15106 if (!args
) SWIG_fail
;
15107 swig_obj
[0] = args
;
15108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15109 if (!SWIG_IsOK(res1
)) {
15110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15112 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (bool)(arg1
)->HasPOVCTS();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15128 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
= 0;
15130 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15131 wxWindow
*arg2
= (wxWindow
*) 0 ;
15132 int arg3
= (int) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 PyObject
* obj2
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15152 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15154 if (!SWIG_IsOK(res2
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15157 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15160 if (!SWIG_IsOK(ecode3
)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15163 arg3
= static_cast< int >(val3
);
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15180 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15181 PyObject
*resultobj
= 0;
15182 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15186 PyObject
*swig_obj
[1] ;
15188 if (!args
) SWIG_fail
;
15189 swig_obj
[0] = args
;
15190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15191 if (!SWIG_IsOK(res1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15194 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (bool)(arg1
)->ReleaseCapture();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15210 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15213 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15214 return SWIG_Py_Void();
15217 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15218 return SWIG_Python_InitShadowInstance(args
);
15221 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
= 0;
15223 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15224 int arg2
= (int) 0 ;
15225 int arg3
= (int) wxJOYSTICK1
;
15226 int arg4
= (int) 0 ;
15227 wxJoystickEvent
*result
= 0 ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 PyObject
* obj2
= 0 ;
15239 PyObject
* obj3
= 0 ;
15240 char * kwnames
[] = {
15241 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15246 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15247 if (!SWIG_IsOK(ecode1
)) {
15248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15250 arg1
= static_cast< wxEventType
>(val1
);
15253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15254 if (!SWIG_IsOK(ecode2
)) {
15255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15257 arg2
= static_cast< int >(val2
);
15260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15261 if (!SWIG_IsOK(ecode3
)) {
15262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15264 arg3
= static_cast< int >(val3
);
15267 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15268 if (!SWIG_IsOK(ecode4
)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15271 arg4
= static_cast< int >(val4
);
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15286 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15287 PyObject
*resultobj
= 0;
15288 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15292 PyObject
*swig_obj
[1] ;
15294 if (!args
) SWIG_fail
;
15295 swig_obj
[0] = args
;
15296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15297 if (!SWIG_IsOK(res1
)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15300 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15314 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15315 PyObject
*resultobj
= 0;
15316 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15320 PyObject
*swig_obj
[1] ;
15322 if (!args
) SWIG_fail
;
15323 swig_obj
[0] = args
;
15324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15325 if (!SWIG_IsOK(res1
)) {
15326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15328 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= SWIG_From_int(static_cast< int >(result
));
15342 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15343 PyObject
*resultobj
= 0;
15344 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15348 PyObject
*swig_obj
[1] ;
15350 if (!args
) SWIG_fail
;
15351 swig_obj
[0] = args
;
15352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15353 if (!SWIG_IsOK(res1
)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15356 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_From_int(static_cast< int >(result
));
15370 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15371 PyObject
*resultobj
= 0;
15372 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15376 PyObject
*swig_obj
[1] ;
15378 if (!args
) SWIG_fail
;
15379 swig_obj
[0] = args
;
15380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15381 if (!SWIG_IsOK(res1
)) {
15382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15384 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= SWIG_From_int(static_cast< int >(result
));
15398 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15399 PyObject
*resultobj
= 0;
15400 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15404 PyObject
*swig_obj
[1] ;
15406 if (!args
) SWIG_fail
;
15407 swig_obj
[0] = args
;
15408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15409 if (!SWIG_IsOK(res1
)) {
15410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15412 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 resultobj
= SWIG_From_int(static_cast< int >(result
));
15426 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
= 0;
15428 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char * kwnames
[] = {
15437 (char *) "self",(char *) "stick", NULL
15440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15442 if (!SWIG_IsOK(res1
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15445 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15447 if (!SWIG_IsOK(ecode2
)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15450 arg2
= static_cast< int >(val2
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->SetJoystick(arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_Py_Void();
15464 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
= 0;
15466 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "state", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15483 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15485 if (!SWIG_IsOK(ecode2
)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15488 arg2
= static_cast< int >(val2
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetButtonState(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_Py_Void();
15502 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char * kwnames
[] = {
15513 (char *) "self",(char *) "change", NULL
15516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15518 if (!SWIG_IsOK(res1
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15521 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15523 if (!SWIG_IsOK(ecode2
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15526 arg2
= static_cast< int >(val2
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->SetButtonChange(arg2
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_Py_Void();
15540 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
= 0;
15542 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15543 wxPoint
*arg2
= 0 ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 char * kwnames
[] = {
15550 (char *) "self",(char *) "pos", NULL
15553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15555 if (!SWIG_IsOK(res1
)) {
15556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15558 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= SWIG_Py_Void();
15576 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
= 0;
15578 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 char * kwnames
[] = {
15587 (char *) "self",(char *) "zPos", NULL
15590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15592 if (!SWIG_IsOK(res1
)) {
15593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15595 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15597 if (!SWIG_IsOK(ecode2
)) {
15598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15600 arg2
= static_cast< int >(val2
);
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 (arg1
)->SetZPosition(arg2
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= SWIG_Py_Void();
15614 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15615 PyObject
*resultobj
= 0;
15616 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15620 PyObject
*swig_obj
[1] ;
15622 if (!args
) SWIG_fail
;
15623 swig_obj
[0] = args
;
15624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15625 if (!SWIG_IsOK(res1
)) {
15626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15628 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15644 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15645 PyObject
*resultobj
= 0;
15646 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15650 PyObject
*swig_obj
[1] ;
15652 if (!args
) SWIG_fail
;
15653 swig_obj
[0] = args
;
15654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15655 if (!SWIG_IsOK(res1
)) {
15656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15658 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15674 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15675 PyObject
*resultobj
= 0;
15676 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15680 PyObject
*swig_obj
[1] ;
15682 if (!args
) SWIG_fail
;
15683 swig_obj
[0] = args
;
15684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15685 if (!SWIG_IsOK(res1
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15688 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15704 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
= 0;
15706 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15707 int arg2
= (int) wxJOY_BUTTON_ANY
;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 char * kwnames
[] = {
15716 (char *) "self",(char *) "but", NULL
15719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15724 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15727 if (!SWIG_IsOK(ecode2
)) {
15728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15730 arg2
= static_cast< int >(val2
);
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15747 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
= 0;
15749 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15750 int arg2
= (int) wxJOY_BUTTON_ANY
;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 char * kwnames
[] = {
15759 (char *) "self",(char *) "but", NULL
15762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15764 if (!SWIG_IsOK(res1
)) {
15765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15767 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15770 if (!SWIG_IsOK(ecode2
)) {
15771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15773 arg2
= static_cast< int >(val2
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15790 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
= 0;
15792 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15793 int arg2
= (int) wxJOY_BUTTON_ANY
;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char * kwnames
[] = {
15802 (char *) "self",(char *) "but", NULL
15805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15810 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15813 if (!SWIG_IsOK(ecode2
)) {
15814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15816 arg2
= static_cast< int >(val2
);
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15833 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15836 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15837 return SWIG_Py_Void();
15840 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15841 return SWIG_Python_InitShadowInstance(args
);
15844 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
= 0;
15846 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15847 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15848 wxSound
*result
= 0 ;
15849 bool temp1
= false ;
15850 PyObject
* obj0
= 0 ;
15851 char * kwnames
[] = {
15852 (char *) "fileName", NULL
15855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15858 arg1
= wxString_in_helper(obj0
);
15859 if (arg1
== NULL
) SWIG_fail
;
15864 if (!wxPyCheckForApp()) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15885 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
= 0;
15887 PyObject
*arg1
= (PyObject
*) 0 ;
15888 wxSound
*result
= 0 ;
15889 PyObject
* obj0
= 0 ;
15890 char * kwnames
[] = {
15891 (char *) "data", NULL
15894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15897 if (!wxPyCheckForApp()) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (wxSound
*)new_wxSound(arg1
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15910 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15911 PyObject
*resultobj
= 0;
15912 wxSound
*arg1
= (wxSound
*) 0 ;
15915 PyObject
*swig_obj
[1] ;
15917 if (!args
) SWIG_fail
;
15918 swig_obj
[0] = args
;
15919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15920 if (!SWIG_IsOK(res1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15923 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= SWIG_Py_Void();
15938 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
= 0;
15940 wxSound
*arg1
= (wxSound
*) 0 ;
15941 wxString
*arg2
= 0 ;
15945 bool temp2
= false ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char * kwnames
[] = {
15949 (char *) "self",(char *) "fileName", NULL
15952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15954 if (!SWIG_IsOK(res1
)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15957 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15959 arg2
= wxString_in_helper(obj1
);
15960 if (arg2
== NULL
) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15986 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
= 0;
15988 wxSound
*arg1
= (wxSound
*) 0 ;
15989 PyObject
*arg2
= (PyObject
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 char * kwnames
[] = {
15996 (char *) "self",(char *) "data", NULL
15999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16001 if (!SWIG_IsOK(res1
)) {
16002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
16004 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16021 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16022 PyObject
*resultobj
= 0;
16023 wxSound
*arg1
= (wxSound
*) 0 ;
16027 PyObject
*swig_obj
[1] ;
16029 if (!args
) SWIG_fail
;
16030 swig_obj
[0] = args
;
16031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16035 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (bool)(arg1
)->IsOk();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16051 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
= 0;
16053 wxSound
*arg1
= (wxSound
*) 0 ;
16054 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16058 unsigned int val2
;
16060 PyObject
* obj0
= 0 ;
16061 PyObject
* obj1
= 0 ;
16062 char * kwnames
[] = {
16063 (char *) "self",(char *) "flags", NULL
16066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16068 if (!SWIG_IsOK(res1
)) {
16069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16071 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16073 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16074 if (!SWIG_IsOK(ecode2
)) {
16075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16077 arg2
= static_cast< unsigned int >(val2
);
16080 if (!wxPyCheckForApp()) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16095 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
= 0;
16097 wxString
*arg1
= 0 ;
16098 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16100 bool temp1
= false ;
16101 unsigned int val2
;
16103 PyObject
* obj0
= 0 ;
16104 PyObject
* obj1
= 0 ;
16105 char * kwnames
[] = {
16106 (char *) "filename",(char *) "flags", NULL
16109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16111 arg1
= wxString_in_helper(obj0
);
16112 if (arg1
== NULL
) SWIG_fail
;
16116 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16117 if (!SWIG_IsOK(ecode2
)) {
16118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16120 arg2
= static_cast< unsigned int >(val2
);
16123 if (!wxPyCheckForApp()) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16146 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16147 PyObject
*resultobj
= 0;
16149 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16151 if (!wxPyCheckForApp()) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= SWIG_Py_Void();
16164 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16167 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16168 return SWIG_Py_Void();
16171 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16172 return SWIG_Python_InitShadowInstance(args
);
16175 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
= 0;
16177 wxString
*arg1
= 0 ;
16178 wxString
*arg2
= 0 ;
16179 wxString
*arg3
= 0 ;
16180 wxString
*arg4
= 0 ;
16181 wxFileTypeInfo
*result
= 0 ;
16182 bool temp1
= false ;
16183 bool temp2
= false ;
16184 bool temp3
= false ;
16185 bool temp4
= false ;
16186 PyObject
* obj0
= 0 ;
16187 PyObject
* obj1
= 0 ;
16188 PyObject
* obj2
= 0 ;
16189 PyObject
* obj3
= 0 ;
16190 char * kwnames
[] = {
16191 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16196 arg1
= wxString_in_helper(obj0
);
16197 if (arg1
== NULL
) SWIG_fail
;
16201 arg2
= wxString_in_helper(obj1
);
16202 if (arg2
== NULL
) SWIG_fail
;
16206 arg3
= wxString_in_helper(obj2
);
16207 if (arg3
== NULL
) SWIG_fail
;
16211 arg4
= wxString_in_helper(obj3
);
16212 if (arg4
== NULL
) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16260 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
= 0;
16262 wxArrayString
*arg1
= 0 ;
16263 wxFileTypeInfo
*result
= 0 ;
16264 bool temp1
= false ;
16265 PyObject
* obj0
= 0 ;
16266 char * kwnames
[] = {
16267 (char *) "sArray", NULL
16270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16272 if (! PySequence_Check(obj0
)) {
16273 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16276 arg1
= new wxArrayString
;
16278 int i
, len
=PySequence_Length(obj0
);
16279 for (i
=0; i
<len
; i
++) {
16280 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16281 wxString
* s
= wxString_in_helper(item
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16296 if (temp1
) delete arg1
;
16301 if (temp1
) delete arg1
;
16307 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16308 PyObject
*resultobj
= 0;
16309 wxFileTypeInfo
*result
= 0 ;
16311 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16325 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16326 PyObject
*resultobj
= 0;
16327 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16331 PyObject
*swig_obj
[1] ;
16333 if (!args
) SWIG_fail
;
16334 swig_obj
[0] = args
;
16335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16336 if (!SWIG_IsOK(res1
)) {
16337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16339 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16355 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
= 0;
16357 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16358 wxString
*arg2
= 0 ;
16359 int arg3
= (int) 0 ;
16362 bool temp2
= false ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 PyObject
* obj2
= 0 ;
16368 char * kwnames
[] = {
16369 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16374 if (!SWIG_IsOK(res1
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16377 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16379 arg2
= wxString_in_helper(obj1
);
16380 if (arg2
== NULL
) SWIG_fail
;
16384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16385 if (!SWIG_IsOK(ecode3
)) {
16386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16388 arg3
= static_cast< int >(val3
);
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_Py_Void();
16411 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
= 0;
16413 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16414 wxString
*arg2
= 0 ;
16417 bool temp2
= false ;
16418 PyObject
* obj0
= 0 ;
16419 PyObject
* obj1
= 0 ;
16420 char * kwnames
[] = {
16421 (char *) "self",(char *) "shortDesc", NULL
16424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16426 if (!SWIG_IsOK(res1
)) {
16427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16429 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16431 arg2
= wxString_in_helper(obj1
);
16432 if (arg2
== NULL
) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_Py_Void();
16456 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16457 PyObject
*resultobj
= 0;
16458 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16459 wxString
*result
= 0 ;
16462 PyObject
*swig_obj
[1] ;
16464 if (!args
) SWIG_fail
;
16465 swig_obj
[0] = args
;
16466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16467 if (!SWIG_IsOK(res1
)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16470 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16475 result
= (wxString
*) &_result_ref
;
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16484 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16493 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16494 PyObject
*resultobj
= 0;
16495 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16496 wxString
*result
= 0 ;
16499 PyObject
*swig_obj
[1] ;
16501 if (!args
) SWIG_fail
;
16502 swig_obj
[0] = args
;
16503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16507 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16512 result
= (wxString
*) &_result_ref
;
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16521 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16530 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16531 PyObject
*resultobj
= 0;
16532 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16533 wxString
*result
= 0 ;
16536 PyObject
*swig_obj
[1] ;
16538 if (!args
) SWIG_fail
;
16539 swig_obj
[0] = args
;
16540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16541 if (!SWIG_IsOK(res1
)) {
16542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16544 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16549 result
= (wxString
*) &_result_ref
;
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16558 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16567 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16568 PyObject
*resultobj
= 0;
16569 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16570 wxString
*result
= 0 ;
16573 PyObject
*swig_obj
[1] ;
16575 if (!args
) SWIG_fail
;
16576 swig_obj
[0] = args
;
16577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16578 if (!SWIG_IsOK(res1
)) {
16579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16581 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16586 result
= (wxString
*) &_result_ref
;
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16595 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16604 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16605 PyObject
*resultobj
= 0;
16606 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16607 wxString
*result
= 0 ;
16610 PyObject
*swig_obj
[1] ;
16612 if (!args
) SWIG_fail
;
16613 swig_obj
[0] = args
;
16614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16615 if (!SWIG_IsOK(res1
)) {
16616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16618 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16623 result
= (wxString
*) &_result_ref
;
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16641 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16642 PyObject
*resultobj
= 0;
16643 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16644 wxArrayString
*result
= 0 ;
16647 PyObject
*swig_obj
[1] ;
16649 if (!args
) SWIG_fail
;
16650 swig_obj
[0] = args
;
16651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16652 if (!SWIG_IsOK(res1
)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16655 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16660 result
= (wxArrayString
*) &_result_ref
;
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= wxArrayString2PyList_helper(*result
);
16674 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16675 PyObject
*resultobj
= 0;
16676 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16680 PyObject
*swig_obj
[1] ;
16682 if (!args
) SWIG_fail
;
16683 swig_obj
[0] = args
;
16684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16685 if (!SWIG_IsOK(res1
)) {
16686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16688 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16702 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16703 PyObject
*resultobj
= 0;
16704 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16705 wxString
*result
= 0 ;
16708 PyObject
*swig_obj
[1] ;
16710 if (!args
) SWIG_fail
;
16711 swig_obj
[0] = args
;
16712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16713 if (!SWIG_IsOK(res1
)) {
16714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16716 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16721 result
= (wxString
*) &_result_ref
;
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16730 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16739 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16740 PyObject
*resultobj
= 0;
16741 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16745 PyObject
*swig_obj
[1] ;
16747 if (!args
) SWIG_fail
;
16748 swig_obj
[0] = args
;
16749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16750 if (!SWIG_IsOK(res1
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16753 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_From_int(static_cast< int >(result
));
16767 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16770 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16771 return SWIG_Py_Void();
16774 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16775 return SWIG_Python_InitShadowInstance(args
);
16778 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
= 0;
16780 wxFileTypeInfo
*arg1
= 0 ;
16781 wxFileType
*result
= 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char * kwnames
[] = {
16786 (char *) "ftInfo", NULL
16789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16790 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16791 if (!SWIG_IsOK(res1
)) {
16792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16797 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16811 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16812 PyObject
*resultobj
= 0;
16813 wxFileType
*arg1
= (wxFileType
*) 0 ;
16816 PyObject
*swig_obj
[1] ;
16818 if (!args
) SWIG_fail
;
16819 swig_obj
[0] = args
;
16820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16821 if (!SWIG_IsOK(res1
)) {
16822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16824 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_Py_Void();
16839 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16840 PyObject
*resultobj
= 0;
16841 wxFileType
*arg1
= (wxFileType
*) 0 ;
16842 PyObject
*result
= 0 ;
16845 PyObject
*swig_obj
[1] ;
16847 if (!args
) SWIG_fail
;
16848 swig_obj
[0] = args
;
16849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16850 if (!SWIG_IsOK(res1
)) {
16851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16853 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= result
;
16867 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16868 PyObject
*resultobj
= 0;
16869 wxFileType
*arg1
= (wxFileType
*) 0 ;
16870 PyObject
*result
= 0 ;
16873 PyObject
*swig_obj
[1] ;
16875 if (!args
) SWIG_fail
;
16876 swig_obj
[0] = args
;
16877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16881 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= result
;
16895 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16896 PyObject
*resultobj
= 0;
16897 wxFileType
*arg1
= (wxFileType
*) 0 ;
16898 PyObject
*result
= 0 ;
16901 PyObject
*swig_obj
[1] ;
16903 if (!args
) SWIG_fail
;
16904 swig_obj
[0] = args
;
16905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16906 if (!SWIG_IsOK(res1
)) {
16907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16909 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= result
;
16923 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16924 PyObject
*resultobj
= 0;
16925 wxFileType
*arg1
= (wxFileType
*) 0 ;
16926 wxIcon
*result
= 0 ;
16929 PyObject
*swig_obj
[1] ;
16931 if (!args
) SWIG_fail
;
16932 swig_obj
[0] = args
;
16933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16934 if (!SWIG_IsOK(res1
)) {
16935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16937 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16951 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16952 PyObject
*resultobj
= 0;
16953 wxFileType
*arg1
= (wxFileType
*) 0 ;
16954 PyObject
*result
= 0 ;
16957 PyObject
*swig_obj
[1] ;
16959 if (!args
) SWIG_fail
;
16960 swig_obj
[0] = args
;
16961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16962 if (!SWIG_IsOK(res1
)) {
16963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16965 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= result
;
16979 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16980 PyObject
*resultobj
= 0;
16981 wxFileType
*arg1
= (wxFileType
*) 0 ;
16982 PyObject
*result
= 0 ;
16985 PyObject
*swig_obj
[1] ;
16987 if (!args
) SWIG_fail
;
16988 swig_obj
[0] = args
;
16989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16990 if (!SWIG_IsOK(res1
)) {
16991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
16993 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 resultobj
= result
;
17007 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
= 0;
17009 wxFileType
*arg1
= (wxFileType
*) 0 ;
17010 wxString
*arg2
= 0 ;
17011 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17012 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17013 PyObject
*result
= 0 ;
17016 bool temp2
= false ;
17017 bool temp3
= false ;
17018 PyObject
* obj0
= 0 ;
17019 PyObject
* obj1
= 0 ;
17020 PyObject
* obj2
= 0 ;
17021 char * kwnames
[] = {
17022 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17027 if (!SWIG_IsOK(res1
)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17030 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17032 arg2
= wxString_in_helper(obj1
);
17033 if (arg2
== NULL
) SWIG_fail
;
17038 arg3
= wxString_in_helper(obj2
);
17039 if (arg3
== NULL
) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= result
;
17072 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
= 0;
17074 wxFileType
*arg1
= (wxFileType
*) 0 ;
17075 wxString
*arg2
= 0 ;
17076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17078 PyObject
*result
= 0 ;
17081 bool temp2
= false ;
17082 bool temp3
= false ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 PyObject
* obj2
= 0 ;
17086 char * kwnames
[] = {
17087 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17092 if (!SWIG_IsOK(res1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17095 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17097 arg2
= wxString_in_helper(obj1
);
17098 if (arg2
== NULL
) SWIG_fail
;
17103 arg3
= wxString_in_helper(obj2
);
17104 if (arg3
== NULL
) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= result
;
17137 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
= 0;
17139 wxFileType
*arg1
= (wxFileType
*) 0 ;
17140 wxString
*arg2
= 0 ;
17141 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17143 PyObject
*result
= 0 ;
17146 bool temp2
= false ;
17147 bool temp3
= false ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 PyObject
* obj2
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17160 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17162 arg2
= wxString_in_helper(obj1
);
17163 if (arg2
== NULL
) SWIG_fail
;
17168 arg3
= wxString_in_helper(obj2
);
17169 if (arg3
== NULL
) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= result
;
17202 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
= 0;
17204 wxFileType
*arg1
= (wxFileType
*) 0 ;
17205 wxString
*arg2
= 0 ;
17206 wxString
*arg3
= 0 ;
17207 bool arg4
= (bool) true ;
17211 bool temp2
= false ;
17212 bool temp3
= false ;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 PyObject
* obj3
= 0 ;
17219 char * kwnames
[] = {
17220 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17225 if (!SWIG_IsOK(res1
)) {
17226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17228 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17230 arg2
= wxString_in_helper(obj1
);
17231 if (arg2
== NULL
) SWIG_fail
;
17235 arg3
= wxString_in_helper(obj2
);
17236 if (arg3
== NULL
) SWIG_fail
;
17240 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17241 if (!SWIG_IsOK(ecode4
)) {
17242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17244 arg4
= static_cast< bool >(val4
);
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17277 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
= 0;
17279 wxFileType
*arg1
= (wxFileType
*) 0 ;
17280 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17281 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17282 int arg3
= (int) 0 ;
17286 bool temp2
= false ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 PyObject
* obj2
= 0 ;
17292 char * kwnames
[] = {
17293 (char *) "self",(char *) "cmd",(char *) "index", NULL
17296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17298 if (!SWIG_IsOK(res1
)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17301 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17304 arg2
= wxString_in_helper(obj1
);
17305 if (arg2
== NULL
) SWIG_fail
;
17310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17311 if (!SWIG_IsOK(ecode3
)) {
17312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17314 arg3
= static_cast< int >(val3
);
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17339 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17340 PyObject
*resultobj
= 0;
17341 wxFileType
*arg1
= (wxFileType
*) 0 ;
17345 PyObject
*swig_obj
[1] ;
17347 if (!args
) SWIG_fail
;
17348 swig_obj
[0] = args
;
17349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17350 if (!SWIG_IsOK(res1
)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17353 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= (bool)(arg1
)->Unassociate();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17369 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
= 0;
17371 wxString
*arg1
= 0 ;
17372 wxString
*arg2
= 0 ;
17373 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17374 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17376 bool temp1
= false ;
17377 bool temp2
= false ;
17378 bool temp3
= false ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 PyObject
* obj2
= 0 ;
17382 char * kwnames
[] = {
17383 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17388 arg1
= wxString_in_helper(obj0
);
17389 if (arg1
== NULL
) SWIG_fail
;
17393 arg2
= wxString_in_helper(obj1
);
17394 if (arg2
== NULL
) SWIG_fail
;
17399 arg3
= wxString_in_helper(obj2
);
17400 if (arg3
== NULL
) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17447 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17450 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17451 return SWIG_Py_Void();
17454 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17455 return SWIG_Python_InitShadowInstance(args
);
17458 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17459 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17464 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17465 PyObject
*pyobj
= 0;
17467 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17472 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
= 0;
17474 wxString
*arg1
= 0 ;
17475 wxString
*arg2
= 0 ;
17477 bool temp1
= false ;
17478 bool temp2
= false ;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char * kwnames
[] = {
17482 (char *) "mimeType",(char *) "wildcard", NULL
17485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17487 arg1
= wxString_in_helper(obj0
);
17488 if (arg1
== NULL
) SWIG_fail
;
17492 arg2
= wxString_in_helper(obj1
);
17493 if (arg2
== NULL
) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17527 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17528 PyObject
*resultobj
= 0;
17529 wxMimeTypesManager
*result
= 0 ;
17531 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17545 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
= 0;
17547 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17548 int arg2
= (int) wxMAILCAP_ALL
;
17549 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17550 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17555 bool temp3
= false ;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 PyObject
* obj2
= 0 ;
17559 char * kwnames
[] = {
17560 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17565 if (!SWIG_IsOK(res1
)) {
17566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17568 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17571 if (!SWIG_IsOK(ecode2
)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17574 arg2
= static_cast< int >(val2
);
17578 arg3
= wxString_in_helper(obj2
);
17579 if (arg3
== NULL
) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= SWIG_Py_Void();
17604 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17605 PyObject
*resultobj
= 0;
17606 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17609 PyObject
*swig_obj
[1] ;
17611 if (!args
) SWIG_fail
;
17612 swig_obj
[0] = args
;
17613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17617 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->ClearData();
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= SWIG_Py_Void();
17631 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
= 0;
17633 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17634 wxString
*arg2
= 0 ;
17635 wxFileType
*result
= 0 ;
17638 bool temp2
= false ;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 char * kwnames
[] = {
17642 (char *) "self",(char *) "ext", NULL
17645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17647 if (!SWIG_IsOK(res1
)) {
17648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17650 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17652 arg2
= wxString_in_helper(obj1
);
17653 if (arg2
== NULL
) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17677 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
= 0;
17679 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17680 wxString
*arg2
= 0 ;
17681 wxFileType
*result
= 0 ;
17684 bool temp2
= false ;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 char * kwnames
[] = {
17688 (char *) "self",(char *) "mimeType", NULL
17691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17693 if (!SWIG_IsOK(res1
)) {
17694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17696 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17698 arg2
= wxString_in_helper(obj1
);
17699 if (arg2
== NULL
) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17723 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
= 0;
17725 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17726 wxString
*arg2
= 0 ;
17727 bool arg3
= (bool) false ;
17731 bool temp2
= false ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 PyObject
* obj2
= 0 ;
17737 char * kwnames
[] = {
17738 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17743 if (!SWIG_IsOK(res1
)) {
17744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17746 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17748 arg2
= wxString_in_helper(obj1
);
17749 if (arg2
== NULL
) SWIG_fail
;
17753 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17754 if (!SWIG_IsOK(ecode3
)) {
17755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17757 arg3
= static_cast< bool >(val3
);
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17782 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
= 0;
17784 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17785 wxString
*arg2
= 0 ;
17789 bool temp2
= false ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char * kwnames
[] = {
17793 (char *) "self",(char *) "filename", NULL
17796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17798 if (!SWIG_IsOK(res1
)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17801 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17803 arg2
= wxString_in_helper(obj1
);
17804 if (arg2
== NULL
) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17830 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17831 PyObject
*resultobj
= 0;
17832 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17833 PyObject
*result
= 0 ;
17836 PyObject
*swig_obj
[1] ;
17838 if (!args
) SWIG_fail
;
17839 swig_obj
[0] = args
;
17840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17841 if (!SWIG_IsOK(res1
)) {
17842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17844 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= result
;
17858 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
= 0;
17860 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17861 wxFileTypeInfo
*arg2
= 0 ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 char * kwnames
[] = {
17869 (char *) "self",(char *) "ft", NULL
17872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17877 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17879 if (!SWIG_IsOK(res2
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17885 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_Py_Void();
17899 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
= 0;
17901 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17902 wxFileTypeInfo
*arg2
= 0 ;
17903 wxFileType
*result
= 0 ;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 char * kwnames
[] = {
17911 (char *) "self",(char *) "ftInfo", NULL
17914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17916 if (!SWIG_IsOK(res1
)) {
17917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17919 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17921 if (!SWIG_IsOK(res2
)) {
17922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17927 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17941 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
= 0;
17943 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17944 wxFileType
*arg2
= (wxFileType
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 char * kwnames
[] = {
17953 (char *) "self",(char *) "ft", NULL
17956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17961 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17963 if (!SWIG_IsOK(res2
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17966 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (bool)(arg1
)->Unassociate(arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17982 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17983 PyObject
*resultobj
= 0;
17984 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17987 PyObject
*swig_obj
[1] ;
17989 if (!args
) SWIG_fail
;
17990 swig_obj
[0] = args
;
17991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17992 if (!SWIG_IsOK(res1
)) {
17993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17995 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= SWIG_Py_Void();
18010 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18013 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18014 return SWIG_Py_Void();
18017 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18018 return SWIG_Python_InitShadowInstance(args
);
18021 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18022 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18027 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18028 PyObject
*pyobj
= 0;
18032 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18034 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18041 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18042 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18047 SWIGINTERN PyObject
*ART_MENU_get(void) {
18048 PyObject
*pyobj
= 0;
18052 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18054 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18061 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18062 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18067 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18068 PyObject
*pyobj
= 0;
18072 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18074 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18081 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18082 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18087 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18088 PyObject
*pyobj
= 0;
18092 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18094 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18101 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18102 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18107 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18108 PyObject
*pyobj
= 0;
18112 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18114 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18121 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18122 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18127 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18128 PyObject
*pyobj
= 0;
18132 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18134 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18141 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18142 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18147 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18148 PyObject
*pyobj
= 0;
18152 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18154 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18161 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18162 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18167 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18168 PyObject
*pyobj
= 0;
18172 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18174 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18181 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18182 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18187 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18188 PyObject
*pyobj
= 0;
18192 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18194 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18201 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18202 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18207 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18208 PyObject
*pyobj
= 0;
18212 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18214 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18221 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18222 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18227 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18228 PyObject
*pyobj
= 0;
18232 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18234 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18241 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18242 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18247 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18248 PyObject
*pyobj
= 0;
18252 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18254 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18261 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18262 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18267 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18268 PyObject
*pyobj
= 0;
18272 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18274 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18281 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18282 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18287 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18288 PyObject
*pyobj
= 0;
18292 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18294 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18301 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18302 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18307 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18308 PyObject
*pyobj
= 0;
18312 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18314 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18321 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18322 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18327 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18328 PyObject
*pyobj
= 0;
18332 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18334 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18341 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18342 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18347 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18348 PyObject
*pyobj
= 0;
18352 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18354 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18361 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18362 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18367 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18368 PyObject
*pyobj
= 0;
18372 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18374 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18381 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18382 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18387 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18388 PyObject
*pyobj
= 0;
18392 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18394 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18401 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18402 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18407 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18408 PyObject
*pyobj
= 0;
18412 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18414 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18421 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18422 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18427 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18428 PyObject
*pyobj
= 0;
18432 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18434 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18441 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18442 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18447 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18448 PyObject
*pyobj
= 0;
18452 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18454 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18461 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18462 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18467 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18468 PyObject
*pyobj
= 0;
18472 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18474 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18481 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18482 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18487 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18488 PyObject
*pyobj
= 0;
18492 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18494 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18501 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18502 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18507 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18508 PyObject
*pyobj
= 0;
18512 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18514 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18521 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18522 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18527 SWIGINTERN PyObject
*ART_HELP_get(void) {
18528 PyObject
*pyobj
= 0;
18532 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18534 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18541 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18542 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18547 SWIGINTERN PyObject
*ART_TIP_get(void) {
18548 PyObject
*pyobj
= 0;
18552 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18554 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18561 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18562 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18567 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18568 PyObject
*pyobj
= 0;
18572 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18574 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18581 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18582 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18587 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18588 PyObject
*pyobj
= 0;
18592 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18594 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18601 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18602 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18607 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18608 PyObject
*pyobj
= 0;
18612 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18614 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18621 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18622 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18627 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18628 PyObject
*pyobj
= 0;
18632 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18634 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18641 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18642 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18647 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18648 PyObject
*pyobj
= 0;
18652 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18654 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18661 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18662 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18667 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18668 PyObject
*pyobj
= 0;
18672 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18674 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18681 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18682 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18687 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18688 PyObject
*pyobj
= 0;
18692 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18694 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18701 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18702 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18707 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18708 PyObject
*pyobj
= 0;
18712 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18714 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18721 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18722 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18727 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18728 PyObject
*pyobj
= 0;
18732 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18734 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18741 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18742 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18747 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18748 PyObject
*pyobj
= 0;
18752 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18754 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18761 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18762 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18767 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18768 PyObject
*pyobj
= 0;
18772 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18774 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18781 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18782 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18787 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18788 PyObject
*pyobj
= 0;
18792 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18794 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18801 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18802 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18807 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18808 PyObject
*pyobj
= 0;
18812 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18814 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18821 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18822 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18827 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18828 PyObject
*pyobj
= 0;
18832 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18834 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18841 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18842 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18847 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18848 PyObject
*pyobj
= 0;
18852 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18854 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18861 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18862 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18867 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18868 PyObject
*pyobj
= 0;
18872 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18874 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18881 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18882 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18887 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18888 PyObject
*pyobj
= 0;
18892 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18894 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18901 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18902 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18907 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18908 PyObject
*pyobj
= 0;
18912 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18914 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18921 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18922 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18927 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18928 PyObject
*pyobj
= 0;
18932 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18934 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18941 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18942 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18947 SWIGINTERN PyObject
*ART_COPY_get(void) {
18948 PyObject
*pyobj
= 0;
18952 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18954 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18961 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18962 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18967 SWIGINTERN PyObject
*ART_CUT_get(void) {
18968 PyObject
*pyobj
= 0;
18972 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18974 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18981 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18982 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18987 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18988 PyObject
*pyobj
= 0;
18992 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18994 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19001 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
19002 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
19007 SWIGINTERN PyObject
*ART_DELETE_get(void) {
19008 PyObject
*pyobj
= 0;
19012 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19014 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19021 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19022 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19027 SWIGINTERN PyObject
*ART_NEW_get(void) {
19028 PyObject
*pyobj
= 0;
19032 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19034 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19041 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19042 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19047 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19048 PyObject
*pyobj
= 0;
19052 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19054 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19061 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19062 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19067 SWIGINTERN PyObject
*ART_REDO_get(void) {
19068 PyObject
*pyobj
= 0;
19072 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19074 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19081 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19082 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19087 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19088 PyObject
*pyobj
= 0;
19092 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19094 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19101 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19102 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19107 SWIGINTERN PyObject
*ART_FIND_get(void) {
19108 PyObject
*pyobj
= 0;
19112 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19114 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19121 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19122 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19127 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19128 PyObject
*pyobj
= 0;
19132 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19134 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19141 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19142 PyObject
*resultobj
= 0;
19143 wxPyArtProvider
*result
= 0 ;
19145 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19147 if (!wxPyCheckForApp()) SWIG_fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19160 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19161 PyObject
*resultobj
= 0;
19162 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19165 PyObject
*swig_obj
[1] ;
19167 if (!args
) SWIG_fail
;
19168 swig_obj
[0] = args
;
19169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19170 if (!SWIG_IsOK(res1
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19173 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_Py_Void();
19188 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
= 0;
19190 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19191 PyObject
*arg2
= (PyObject
*) 0 ;
19192 PyObject
*arg3
= (PyObject
*) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 PyObject
* obj2
= 0 ;
19198 char * kwnames
[] = {
19199 (char *) "self",(char *) "self",(char *) "_class", NULL
19202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19204 if (!SWIG_IsOK(res1
)) {
19205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19207 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_Py_Void();
19223 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 char * kwnames
[] = {
19229 (char *) "provider", NULL
19232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19233 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19234 if (!SWIG_IsOK(res1
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 wxPyArtProvider::PushProvider(arg1
);
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= SWIG_Py_Void();
19250 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19251 PyObject
*resultobj
= 0;
19254 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 result
= (bool)wxPyArtProvider::PopProvider();
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19270 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char * kwnames
[] = {
19278 (char *) "provider", NULL
19281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19283 if (!SWIG_IsOK(res1
)) {
19284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19286 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19302 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
= 0;
19304 wxString
*arg1
= 0 ;
19305 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19306 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19307 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19308 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19310 bool temp1
= false ;
19311 bool temp2
= false ;
19313 PyObject
* obj0
= 0 ;
19314 PyObject
* obj1
= 0 ;
19315 PyObject
* obj2
= 0 ;
19316 char * kwnames
[] = {
19317 (char *) "id",(char *) "client",(char *) "size", NULL
19320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19322 arg1
= wxString_in_helper(obj0
);
19323 if (arg1
== NULL
) SWIG_fail
;
19328 arg2
= wxString_in_helper(obj1
);
19329 if (arg2
== NULL
) SWIG_fail
;
19336 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19340 if (!wxPyCheckForApp()) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19369 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
= 0;
19371 wxString
*arg1
= 0 ;
19372 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19373 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19374 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19375 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19377 bool temp1
= false ;
19378 bool temp2
= false ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 PyObject
* obj2
= 0 ;
19383 char * kwnames
[] = {
19384 (char *) "id",(char *) "client",(char *) "size", NULL
19387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19389 arg1
= wxString_in_helper(obj0
);
19390 if (arg1
== NULL
) SWIG_fail
;
19395 arg2
= wxString_in_helper(obj1
);
19396 if (arg2
== NULL
) SWIG_fail
;
19403 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19407 if (!wxPyCheckForApp()) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19436 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
= 0;
19438 wxString
*arg1
= 0 ;
19439 bool arg2
= (bool) false ;
19441 bool temp1
= false ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char * kwnames
[] = {
19447 (char *) "client",(char *) "platform_dependent", NULL
19450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19452 arg1
= wxString_in_helper(obj0
);
19453 if (arg1
== NULL
) SWIG_fail
;
19457 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19458 if (!SWIG_IsOK(ecode2
)) {
19459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19461 arg2
= static_cast< bool >(val2
);
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19484 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19485 PyObject
*resultobj
= 0;
19486 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19489 PyObject
*swig_obj
[1] ;
19491 if (!args
) SWIG_fail
;
19492 swig_obj
[0] = args
;
19493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19494 if (!SWIG_IsOK(res1
)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19497 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 wxPyArtProvider_Destroy(arg1
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 resultobj
= SWIG_Py_Void();
19511 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19515 return SWIG_Py_Void();
19518 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19519 return SWIG_Python_InitShadowInstance(args
);
19522 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19523 PyObject
*resultobj
= 0;
19524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19527 PyObject
*swig_obj
[1] ;
19529 if (!args
) SWIG_fail
;
19530 swig_obj
[0] = args
;
19531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19532 if (!SWIG_IsOK(res1
)) {
19533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19535 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= SWIG_Py_Void();
19550 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
= 0;
19552 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19553 wxConfigBase
*result
= 0 ;
19555 PyObject
* obj0
= 0 ;
19556 char * kwnames
[] = {
19557 (char *) "config", NULL
19560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19561 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19562 if (!SWIG_IsOK(res1
)) {
19563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19578 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
= 0;
19580 bool arg1
= (bool) true ;
19581 wxConfigBase
*result
= 0 ;
19584 PyObject
* obj0
= 0 ;
19585 char * kwnames
[] = {
19586 (char *) "createOnDemand", NULL
19589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19591 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19592 if (!SWIG_IsOK(ecode1
)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19595 arg1
= static_cast< bool >(val1
);
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19610 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19611 PyObject
*resultobj
= 0;
19612 wxConfigBase
*result
= 0 ;
19614 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= (wxConfigBase
*)wxConfigBase::Create();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19628 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19629 PyObject
*resultobj
= 0;
19631 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 wxConfigBase::DontCreateOnDemand();
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= SWIG_Py_Void();
19645 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
= 0;
19647 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19648 wxString
*arg2
= 0 ;
19651 bool temp2
= false ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char * kwnames
[] = {
19655 (char *) "self",(char *) "path", NULL
19658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19660 if (!SWIG_IsOK(res1
)) {
19661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19663 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19665 arg2
= wxString_in_helper(obj1
);
19666 if (arg2
== NULL
) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 (arg1
)->SetPath((wxString
const &)*arg2
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_Py_Void();
19690 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19691 PyObject
*resultobj
= 0;
19692 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19693 wxString
*result
= 0 ;
19696 PyObject
*swig_obj
[1] ;
19698 if (!args
) SWIG_fail
;
19699 swig_obj
[0] = args
;
19700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19704 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19709 result
= (wxString
*) &_result_ref
;
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19718 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19727 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19728 PyObject
*resultobj
= 0;
19729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19730 PyObject
*result
= 0 ;
19733 PyObject
*swig_obj
[1] ;
19735 if (!args
) SWIG_fail
;
19736 swig_obj
[0] = args
;
19737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19738 if (!SWIG_IsOK(res1
)) {
19739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19741 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= result
;
19755 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
= 0;
19757 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19759 PyObject
*result
= 0 ;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 char * kwnames
[] = {
19767 (char *) "self",(char *) "index", NULL
19770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19772 if (!SWIG_IsOK(res1
)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19775 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19776 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19777 if (!SWIG_IsOK(ecode2
)) {
19778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19780 arg2
= static_cast< long >(val2
);
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= result
;
19794 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19795 PyObject
*resultobj
= 0;
19796 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19797 PyObject
*result
= 0 ;
19800 PyObject
*swig_obj
[1] ;
19802 if (!args
) SWIG_fail
;
19803 swig_obj
[0] = args
;
19804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19805 if (!SWIG_IsOK(res1
)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19808 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= result
;
19822 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
= 0;
19824 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19826 PyObject
*result
= 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 char * kwnames
[] = {
19834 (char *) "self",(char *) "index", NULL
19837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19839 if (!SWIG_IsOK(res1
)) {
19840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19842 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19843 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19844 if (!SWIG_IsOK(ecode2
)) {
19845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19847 arg2
= static_cast< long >(val2
);
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= result
;
19861 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
= 0;
19863 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19864 bool arg2
= (bool) false ;
19870 PyObject
* obj0
= 0 ;
19871 PyObject
* obj1
= 0 ;
19872 char * kwnames
[] = {
19873 (char *) "self",(char *) "recursive", NULL
19876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19878 if (!SWIG_IsOK(res1
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19881 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19883 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19884 if (!SWIG_IsOK(ecode2
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19887 arg2
= static_cast< bool >(val2
);
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19902 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
= 0;
19904 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19905 bool arg2
= (bool) false ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "recursive", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19922 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19924 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19925 if (!SWIG_IsOK(ecode2
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19928 arg2
= static_cast< bool >(val2
);
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19943 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
= 0;
19945 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19946 wxString
*arg2
= 0 ;
19950 bool temp2
= false ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char * kwnames
[] = {
19954 (char *) "self",(char *) "name", NULL
19957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19959 if (!SWIG_IsOK(res1
)) {
19960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19962 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19964 arg2
= wxString_in_helper(obj1
);
19965 if (arg2
== NULL
) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19991 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
= 0;
19993 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19994 wxString
*arg2
= 0 ;
19998 bool temp2
= false ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char * kwnames
[] = {
20002 (char *) "self",(char *) "name", NULL
20005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20007 if (!SWIG_IsOK(res1
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20010 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20012 arg2
= wxString_in_helper(obj1
);
20013 if (arg2
== NULL
) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20039 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
= 0;
20041 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20042 wxString
*arg2
= 0 ;
20046 bool temp2
= false ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 char * kwnames
[] = {
20050 (char *) "self",(char *) "name", NULL
20053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20058 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20060 arg2
= wxString_in_helper(obj1
);
20061 if (arg2
== NULL
) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20087 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
= 0;
20089 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20090 wxString
*arg2
= 0 ;
20091 wxConfigBase::EntryType result
;
20094 bool temp2
= false ;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 char * kwnames
[] = {
20098 (char *) "self",(char *) "name", NULL
20101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20103 if (!SWIG_IsOK(res1
)) {
20104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20106 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20108 arg2
= wxString_in_helper(obj1
);
20109 if (arg2
== NULL
) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_From_int(static_cast< int >(result
));
20133 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
= 0;
20135 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20136 wxString
*arg2
= 0 ;
20137 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20138 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20142 bool temp2
= false ;
20143 bool temp3
= false ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 PyObject
* obj2
= 0 ;
20147 char * kwnames
[] = {
20148 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20153 if (!SWIG_IsOK(res1
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20156 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20158 arg2
= wxString_in_helper(obj1
);
20159 if (arg2
== NULL
) SWIG_fail
;
20164 arg3
= wxString_in_helper(obj2
);
20165 if (arg3
== NULL
) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20204 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
= 0;
20206 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20207 wxString
*arg2
= 0 ;
20208 long arg3
= (long) 0 ;
20212 bool temp2
= false ;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 PyObject
* obj2
= 0 ;
20218 char * kwnames
[] = {
20219 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20224 if (!SWIG_IsOK(res1
)) {
20225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20227 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20229 arg2
= wxString_in_helper(obj1
);
20230 if (arg2
== NULL
) SWIG_fail
;
20234 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20235 if (!SWIG_IsOK(ecode3
)) {
20236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20238 arg3
= static_cast< long >(val3
);
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_From_long(static_cast< long >(result
));
20261 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
= 0;
20263 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20264 wxString
*arg2
= 0 ;
20265 double arg3
= (double) 0.0 ;
20269 bool temp2
= false ;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 PyObject
* obj2
= 0 ;
20275 char * kwnames
[] = {
20276 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20281 if (!SWIG_IsOK(res1
)) {
20282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20284 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20286 arg2
= wxString_in_helper(obj1
);
20287 if (arg2
== NULL
) SWIG_fail
;
20291 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20292 if (!SWIG_IsOK(ecode3
)) {
20293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20295 arg3
= static_cast< double >(val3
);
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_From_double(static_cast< double >(result
));
20318 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
= 0;
20320 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20321 wxString
*arg2
= 0 ;
20322 bool arg3
= (bool) false ;
20326 bool temp2
= false ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 PyObject
* obj2
= 0 ;
20332 char * kwnames
[] = {
20333 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20338 if (!SWIG_IsOK(res1
)) {
20339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20341 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20343 arg2
= wxString_in_helper(obj1
);
20344 if (arg2
== NULL
) SWIG_fail
;
20348 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20349 if (!SWIG_IsOK(ecode3
)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20352 arg3
= static_cast< bool >(val3
);
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20377 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
= 0;
20379 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20380 wxString
*arg2
= 0 ;
20381 wxString
*arg3
= 0 ;
20385 bool temp2
= false ;
20386 bool temp3
= false ;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 PyObject
* obj2
= 0 ;
20390 char * kwnames
[] = {
20391 (char *) "self",(char *) "key",(char *) "value", NULL
20394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20396 if (!SWIG_IsOK(res1
)) {
20397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20399 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20401 arg2
= wxString_in_helper(obj1
);
20402 if (arg2
== NULL
) SWIG_fail
;
20406 arg3
= wxString_in_helper(obj2
);
20407 if (arg3
== NULL
) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20441 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
= 0;
20443 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20444 wxString
*arg2
= 0 ;
20449 bool temp2
= false ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 PyObject
* obj2
= 0 ;
20455 char * kwnames
[] = {
20456 (char *) "self",(char *) "key",(char *) "value", NULL
20459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20461 if (!SWIG_IsOK(res1
)) {
20462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20464 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20466 arg2
= wxString_in_helper(obj1
);
20467 if (arg2
== NULL
) SWIG_fail
;
20470 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20471 if (!SWIG_IsOK(ecode3
)) {
20472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20474 arg3
= static_cast< long >(val3
);
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20498 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
= 0;
20500 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20501 wxString
*arg2
= 0 ;
20506 bool temp2
= 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_WriteFloat",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_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20521 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20523 arg2
= wxString_in_helper(obj1
);
20524 if (arg2
== NULL
) SWIG_fail
;
20527 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20528 if (!SWIG_IsOK(ecode3
)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20531 arg3
= static_cast< double >(val3
);
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20555 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
= 0;
20557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20558 wxString
*arg2
= 0 ;
20563 bool temp2
= false ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 PyObject
* obj2
= 0 ;
20569 char * kwnames
[] = {
20570 (char *) "self",(char *) "key",(char *) "value", NULL
20573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20575 if (!SWIG_IsOK(res1
)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20578 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20580 arg2
= wxString_in_helper(obj1
);
20581 if (arg2
== NULL
) SWIG_fail
;
20584 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20585 if (!SWIG_IsOK(ecode3
)) {
20586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20588 arg3
= static_cast< bool >(val3
);
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20612 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= 0;
20614 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20615 bool arg2
= (bool) false ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char * kwnames
[] = {
20624 (char *) "self",(char *) "currentOnly", NULL
20627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20632 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20634 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20635 if (!SWIG_IsOK(ecode2
)) {
20636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20638 arg2
= static_cast< bool >(val2
);
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (bool)(arg1
)->Flush(arg2
);
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20655 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
= 0;
20657 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20658 wxString
*arg2
= 0 ;
20659 wxString
*arg3
= 0 ;
20663 bool temp2
= false ;
20664 bool temp3
= false ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 PyObject
* obj2
= 0 ;
20668 char * kwnames
[] = {
20669 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20677 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20679 arg2
= wxString_in_helper(obj1
);
20680 if (arg2
== NULL
) SWIG_fail
;
20684 arg3
= wxString_in_helper(obj2
);
20685 if (arg3
== NULL
) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20719 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= 0;
20721 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20722 wxString
*arg2
= 0 ;
20723 wxString
*arg3
= 0 ;
20727 bool temp2
= false ;
20728 bool temp3
= false ;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 PyObject
* obj2
= 0 ;
20732 char * kwnames
[] = {
20733 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20738 if (!SWIG_IsOK(res1
)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20741 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20743 arg2
= wxString_in_helper(obj1
);
20744 if (arg2
== NULL
) SWIG_fail
;
20748 arg3
= wxString_in_helper(obj2
);
20749 if (arg3
== NULL
) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20783 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
= 0;
20785 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20786 wxString
*arg2
= 0 ;
20787 bool arg3
= (bool) true ;
20791 bool temp2
= false ;
20794 PyObject
* obj0
= 0 ;
20795 PyObject
* obj1
= 0 ;
20796 PyObject
* obj2
= 0 ;
20797 char * kwnames
[] = {
20798 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20803 if (!SWIG_IsOK(res1
)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20806 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20808 arg2
= wxString_in_helper(obj1
);
20809 if (arg2
== NULL
) SWIG_fail
;
20813 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20814 if (!SWIG_IsOK(ecode3
)) {
20815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20817 arg3
= static_cast< bool >(val3
);
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20842 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
= 0;
20844 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20845 wxString
*arg2
= 0 ;
20849 bool temp2
= false ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char * kwnames
[] = {
20853 (char *) "self",(char *) "key", NULL
20856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20861 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20863 arg2
= wxString_in_helper(obj1
);
20864 if (arg2
== NULL
) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20890 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20891 PyObject
*resultobj
= 0;
20892 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20896 PyObject
*swig_obj
[1] ;
20898 if (!args
) SWIG_fail
;
20899 swig_obj
[0] = args
;
20900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20901 if (!SWIG_IsOK(res1
)) {
20902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20904 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (bool)(arg1
)->DeleteAll();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20920 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
= 0;
20922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20923 bool arg2
= (bool) true ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char * kwnames
[] = {
20931 (char *) "self",(char *) "doIt", NULL
20934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20936 if (!SWIG_IsOK(res1
)) {
20937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20939 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20941 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20942 if (!SWIG_IsOK(ecode2
)) {
20943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20945 arg2
= static_cast< bool >(val2
);
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 (arg1
)->SetExpandEnvVars(arg2
);
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_Py_Void();
20960 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20961 PyObject
*resultobj
= 0;
20962 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20966 PyObject
*swig_obj
[1] ;
20968 if (!args
) SWIG_fail
;
20969 swig_obj
[0] = args
;
20970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20971 if (!SWIG_IsOK(res1
)) {
20972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20974 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20990 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
= 0;
20992 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20993 bool arg2
= (bool) true ;
20998 PyObject
* obj0
= 0 ;
20999 PyObject
* obj1
= 0 ;
21000 char * kwnames
[] = {
21001 (char *) "self",(char *) "doIt", NULL
21004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21006 if (!SWIG_IsOK(res1
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21009 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21011 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21012 if (!SWIG_IsOK(ecode2
)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21015 arg2
= static_cast< bool >(val2
);
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 (arg1
)->SetRecordDefaults(arg2
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_Py_Void();
21030 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21031 PyObject
*resultobj
= 0;
21032 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21036 PyObject
*swig_obj
[1] ;
21038 if (!args
) SWIG_fail
;
21039 swig_obj
[0] = args
;
21040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21041 if (!SWIG_IsOK(res1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21044 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21060 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
= 0;
21062 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21063 wxString
*arg2
= 0 ;
21067 bool temp2
= false ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 char * kwnames
[] = {
21071 (char *) "self",(char *) "str", NULL
21074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21076 if (!SWIG_IsOK(res1
)) {
21077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21079 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21081 arg2
= wxString_in_helper(obj1
);
21082 if (arg2
== NULL
) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21112 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21113 PyObject
*resultobj
= 0;
21114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21118 PyObject
*swig_obj
[1] ;
21120 if (!args
) SWIG_fail
;
21121 swig_obj
[0] = args
;
21122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21126 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21146 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21147 PyObject
*resultobj
= 0;
21148 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21152 PyObject
*swig_obj
[1] ;
21154 if (!args
) SWIG_fail
;
21155 swig_obj
[0] = args
;
21156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21157 if (!SWIG_IsOK(res1
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21160 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21180 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
= 0;
21182 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21183 wxString
*arg2
= 0 ;
21186 bool temp2
= false ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char * kwnames
[] = {
21190 (char *) "self",(char *) "appName", NULL
21193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21195 if (!SWIG_IsOK(res1
)) {
21196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21198 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21200 arg2
= wxString_in_helper(obj1
);
21201 if (arg2
== NULL
) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 (arg1
)->SetAppName((wxString
const &)*arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_Py_Void();
21225 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= 0;
21227 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21228 wxString
*arg2
= 0 ;
21231 bool temp2
= false ;
21232 PyObject
* obj0
= 0 ;
21233 PyObject
* obj1
= 0 ;
21234 char * kwnames
[] = {
21235 (char *) "self",(char *) "vendorName", NULL
21238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21240 if (!SWIG_IsOK(res1
)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21243 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21245 arg2
= wxString_in_helper(obj1
);
21246 if (arg2
== NULL
) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_Py_Void();
21270 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
= 0;
21272 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 char * kwnames
[] = {
21281 (char *) "self",(char *) "style", NULL
21284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21286 if (!SWIG_IsOK(res1
)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21289 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21290 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21291 if (!SWIG_IsOK(ecode2
)) {
21292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21294 arg2
= static_cast< long >(val2
);
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 (arg1
)->SetStyle(arg2
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= SWIG_Py_Void();
21308 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21309 PyObject
*resultobj
= 0;
21310 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21314 PyObject
*swig_obj
[1] ;
21316 if (!args
) SWIG_fail
;
21317 swig_obj
[0] = args
;
21318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21319 if (!SWIG_IsOK(res1
)) {
21320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21322 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_From_long(static_cast< long >(result
));
21336 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21339 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21340 return SWIG_Py_Void();
21343 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
= 0;
21345 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21346 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21347 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21348 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21349 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21350 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21351 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21352 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21353 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21354 wxConfig
*result
= 0 ;
21355 bool temp1
= false ;
21356 bool temp2
= false ;
21357 bool temp3
= false ;
21358 bool temp4
= false ;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 PyObject
* obj2
= 0 ;
21364 PyObject
* obj3
= 0 ;
21365 PyObject
* obj4
= 0 ;
21366 char * kwnames
[] = {
21367 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21373 arg1
= wxString_in_helper(obj0
);
21374 if (arg1
== NULL
) SWIG_fail
;
21380 arg2
= wxString_in_helper(obj1
);
21381 if (arg2
== NULL
) SWIG_fail
;
21387 arg3
= wxString_in_helper(obj2
);
21388 if (arg3
== NULL
) SWIG_fail
;
21394 arg4
= wxString_in_helper(obj3
);
21395 if (arg4
== NULL
) SWIG_fail
;
21400 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21401 if (!SWIG_IsOK(ecode5
)) {
21402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21404 arg5
= static_cast< long >(val5
);
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21451 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21452 PyObject
*resultobj
= 0;
21453 wxConfig
*arg1
= (wxConfig
*) 0 ;
21456 PyObject
*swig_obj
[1] ;
21458 if (!args
) SWIG_fail
;
21459 swig_obj
[0] = args
;
21460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21464 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= SWIG_Py_Void();
21479 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21482 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21483 return SWIG_Py_Void();
21486 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21487 return SWIG_Python_InitShadowInstance(args
);
21490 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
= 0;
21492 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21493 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21494 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21495 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21496 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21498 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21499 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21500 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21501 wxFileConfig
*result
= 0 ;
21502 bool temp1
= false ;
21503 bool temp2
= false ;
21504 bool temp3
= false ;
21505 bool temp4
= false ;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 PyObject
* obj2
= 0 ;
21511 PyObject
* obj3
= 0 ;
21512 PyObject
* obj4
= 0 ;
21513 char * kwnames
[] = {
21514 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21520 arg1
= wxString_in_helper(obj0
);
21521 if (arg1
== NULL
) SWIG_fail
;
21527 arg2
= wxString_in_helper(obj1
);
21528 if (arg2
== NULL
) SWIG_fail
;
21534 arg3
= wxString_in_helper(obj2
);
21535 if (arg3
== NULL
) SWIG_fail
;
21541 arg4
= wxString_in_helper(obj3
);
21542 if (arg4
== NULL
) SWIG_fail
;
21547 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21548 if (!SWIG_IsOK(ecode5
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21551 arg5
= static_cast< long >(val5
);
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21598 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21599 PyObject
*resultobj
= 0;
21600 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21603 PyObject
*swig_obj
[1] ;
21605 if (!args
) SWIG_fail
;
21606 swig_obj
[0] = args
;
21607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21608 if (!SWIG_IsOK(res1
)) {
21609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21611 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= SWIG_Py_Void();
21626 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21629 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21630 return SWIG_Py_Void();
21633 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21634 return SWIG_Python_InitShadowInstance(args
);
21637 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
= 0;
21639 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21640 wxString
*arg2
= 0 ;
21641 wxConfigPathChanger
*result
= 0 ;
21644 bool temp2
= false ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char * kwnames
[] = {
21648 (char *) "config",(char *) "entry", NULL
21651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21656 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21658 arg2
= wxString_in_helper(obj1
);
21659 if (arg2
== NULL
) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21683 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21684 PyObject
*resultobj
= 0;
21685 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21688 PyObject
*swig_obj
[1] ;
21690 if (!args
) SWIG_fail
;
21691 swig_obj
[0] = args
;
21692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21693 if (!SWIG_IsOK(res1
)) {
21694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21696 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= SWIG_Py_Void();
21711 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21712 PyObject
*resultobj
= 0;
21713 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21714 wxString
*result
= 0 ;
21717 PyObject
*swig_obj
[1] ;
21719 if (!args
) SWIG_fail
;
21720 swig_obj
[0] = args
;
21721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21722 if (!SWIG_IsOK(res1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21725 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21730 result
= (wxString
*) &_result_ref
;
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21739 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21748 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21751 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21752 return SWIG_Py_Void();
21755 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21756 return SWIG_Python_InitShadowInstance(args
);
21759 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
= 0;
21761 wxString
*arg1
= 0 ;
21763 bool temp1
= false ;
21764 PyObject
* obj0
= 0 ;
21765 char * kwnames
[] = {
21766 (char *) "sz", NULL
21769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21771 arg1
= wxString_in_helper(obj0
);
21772 if (arg1
== NULL
) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21802 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21803 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21808 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21809 PyObject
*pyobj
= 0;
21813 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21815 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21822 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21823 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21828 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21829 PyObject
*pyobj
= 0;
21833 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21835 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21842 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
= 0;
21844 wxDateTime::Country arg1
;
21847 PyObject
* obj0
= 0 ;
21848 char * kwnames
[] = {
21849 (char *) "country", NULL
21852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21853 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21854 if (!SWIG_IsOK(ecode1
)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21857 arg1
= static_cast< wxDateTime::Country
>(val1
);
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 wxDateTime::SetCountry(arg1
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_Py_Void();
21871 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21872 PyObject
*resultobj
= 0;
21873 wxDateTime::Country result
;
21875 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_From_int(static_cast< int >(result
));
21889 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= 0;
21891 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21895 PyObject
* obj0
= 0 ;
21896 char * kwnames
[] = {
21897 (char *) "country", NULL
21900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21902 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21903 if (!SWIG_IsOK(ecode1
)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21906 arg1
= static_cast< wxDateTime::Country
>(val1
);
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21923 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
= 0;
21925 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21929 PyObject
* obj0
= 0 ;
21930 char * kwnames
[] = {
21931 (char *) "cal", NULL
21934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21936 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21937 if (!SWIG_IsOK(ecode1
)) {
21938 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21940 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= SWIG_From_int(static_cast< int >(result
));
21955 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
= 0;
21961 PyObject
* obj0
= 0 ;
21962 char * kwnames
[] = {
21963 (char *) "year", NULL
21966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21968 if (!SWIG_IsOK(ecode1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21971 arg1
= static_cast< int >(val1
);
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= SWIG_From_int(static_cast< int >(result
));
21985 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
= 0;
21987 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21988 wxDateTime::Month result
;
21991 PyObject
* obj0
= 0 ;
21992 char * kwnames
[] = {
21993 (char *) "cal", NULL
21996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
21998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21999 if (!SWIG_IsOK(ecode1
)) {
22000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22002 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= SWIG_From_int(static_cast< int >(result
));
22017 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
= 0;
22019 int arg1
= (int) wxDateTime::Inv_Year
;
22020 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char * kwnames
[] = {
22029 (char *) "year",(char *) "cal", NULL
22032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22035 if (!SWIG_IsOK(ecode1
)) {
22036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22038 arg1
= static_cast< int >(val1
);
22041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22042 if (!SWIG_IsOK(ecode2
)) {
22043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22045 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22062 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
= 0;
22064 int arg1
= (int) wxDateTime::Inv_Year
;
22068 PyObject
* obj0
= 0 ;
22069 char * kwnames
[] = {
22070 (char *) "year", NULL
22073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22076 if (!SWIG_IsOK(ecode1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22079 arg1
= static_cast< int >(val1
);
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (int)wxDateTime::GetCentury(arg1
);
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= SWIG_From_int(static_cast< int >(result
));
22094 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
= 0;
22097 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 char * kwnames
[] = {
22106 (char *) "year",(char *) "cal", NULL
22109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22110 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22111 if (!SWIG_IsOK(ecode1
)) {
22112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22114 arg1
= static_cast< int >(val1
);
22116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22117 if (!SWIG_IsOK(ecode2
)) {
22118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22120 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_From_int(static_cast< int >(result
));
22135 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= 0;
22137 wxDateTime::Month arg1
;
22138 int arg2
= (int) wxDateTime::Inv_Year
;
22139 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 PyObject
* obj2
= 0 ;
22150 char * kwnames
[] = {
22151 (char *) "month",(char *) "year",(char *) "cal", NULL
22154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22155 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22156 if (!SWIG_IsOK(ecode1
)) {
22157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22159 arg1
= static_cast< wxDateTime::Month
>(val1
);
22161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22162 if (!SWIG_IsOK(ecode2
)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22165 arg2
= static_cast< int >(val2
);
22168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22169 if (!SWIG_IsOK(ecode3
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22172 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_From_int(static_cast< int >(result
));
22187 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
= 0;
22189 wxDateTime::Month arg1
;
22190 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22196 PyObject
* obj0
= 0 ;
22197 PyObject
* obj1
= 0 ;
22198 char * kwnames
[] = {
22199 (char *) "month",(char *) "flags", NULL
22202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22204 if (!SWIG_IsOK(ecode1
)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22207 arg1
= static_cast< wxDateTime::Month
>(val1
);
22209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22210 if (!SWIG_IsOK(ecode2
)) {
22211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22213 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22234 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
= 0;
22236 wxDateTime::WeekDay arg1
;
22237 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22243 PyObject
* obj0
= 0 ;
22244 PyObject
* obj1
= 0 ;
22245 char * kwnames
[] = {
22246 (char *) "weekday",(char *) "flags", NULL
22249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22251 if (!SWIG_IsOK(ecode1
)) {
22252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22254 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22257 if (!SWIG_IsOK(ecode2
)) {
22258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22260 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22281 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22282 PyObject
*resultobj
= 0;
22283 PyObject
*result
= 0 ;
22285 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= result
;
22299 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
= 0;
22301 int arg1
= (int) wxDateTime::Inv_Year
;
22302 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 char * kwnames
[] = {
22311 (char *) "year",(char *) "country", NULL
22314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22317 if (!SWIG_IsOK(ecode1
)) {
22318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22320 arg1
= static_cast< int >(val1
);
22323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22324 if (!SWIG_IsOK(ecode2
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22327 arg2
= static_cast< wxDateTime::Country
>(val2
);
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22344 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
= 0;
22346 int arg1
= (int) wxDateTime::Inv_Year
;
22347 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 char * kwnames
[] = {
22356 (char *) "year",(char *) "country", NULL
22359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22361 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22362 if (!SWIG_IsOK(ecode1
)) {
22363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22365 arg1
= static_cast< int >(val1
);
22368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22369 if (!SWIG_IsOK(ecode2
)) {
22370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22372 arg2
= static_cast< wxDateTime::Country
>(val2
);
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22387 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
= 0;
22389 int arg1
= (int) wxDateTime::Inv_Year
;
22390 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 char * kwnames
[] = {
22399 (char *) "year",(char *) "country", NULL
22402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22405 if (!SWIG_IsOK(ecode1
)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22408 arg1
= static_cast< int >(val1
);
22411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22412 if (!SWIG_IsOK(ecode2
)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22415 arg2
= static_cast< wxDateTime::Country
>(val2
);
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22430 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22431 PyObject
*resultobj
= 0;
22434 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= wxDateTime::Now();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22448 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22449 PyObject
*resultobj
= 0;
22452 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 result
= wxDateTime::UNow();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22466 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22467 PyObject
*resultobj
= 0;
22470 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= wxDateTime::Today();
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22484 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22485 PyObject
*resultobj
= 0;
22486 wxDateTime
*result
= 0 ;
22488 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (wxDateTime
*)new wxDateTime();
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22502 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22503 PyObject
*resultobj
= 0;
22505 wxDateTime
*result
= 0 ;
22506 unsigned int val1
;
22508 PyObject
* obj0
= 0 ;
22509 char * kwnames
[] = {
22510 (char *) "timet", NULL
22513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22514 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22515 if (!SWIG_IsOK(ecode1
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22518 arg1
= static_cast< time_t >(val1
);
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 result
= (wxDateTime
*)new wxDateTime(arg1
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22532 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
= 0;
22535 wxDateTime
*result
= 0 ;
22538 PyObject
* obj0
= 0 ;
22539 char * kwnames
[] = {
22540 (char *) "jdn", NULL
22543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22544 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22545 if (!SWIG_IsOK(ecode1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22548 arg1
= static_cast< double >(val1
);
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (wxDateTime
*)new wxDateTime(arg1
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22562 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
= 0;
22565 int arg2
= (int) 0 ;
22566 int arg3
= (int) 0 ;
22567 int arg4
= (int) 0 ;
22568 wxDateTime
*result
= 0 ;
22577 PyObject
* obj0
= 0 ;
22578 PyObject
* obj1
= 0 ;
22579 PyObject
* obj2
= 0 ;
22580 PyObject
* obj3
= 0 ;
22581 char * kwnames
[] = {
22582 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22586 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22587 if (!SWIG_IsOK(ecode1
)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22590 arg1
= static_cast< int >(val1
);
22592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22593 if (!SWIG_IsOK(ecode2
)) {
22594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22596 arg2
= static_cast< int >(val2
);
22599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22600 if (!SWIG_IsOK(ecode3
)) {
22601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22603 arg3
= static_cast< int >(val3
);
22606 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22607 if (!SWIG_IsOK(ecode4
)) {
22608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22610 arg4
= static_cast< int >(val4
);
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22625 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
= 0;
22628 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22629 int arg3
= (int) wxDateTime::Inv_Year
;
22630 int arg4
= (int) 0 ;
22631 int arg5
= (int) 0 ;
22632 int arg6
= (int) 0 ;
22633 int arg7
= (int) 0 ;
22634 wxDateTime
*result
= 0 ;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 PyObject
* obj2
= 0 ;
22652 PyObject
* obj3
= 0 ;
22653 PyObject
* obj4
= 0 ;
22654 PyObject
* obj5
= 0 ;
22655 PyObject
* obj6
= 0 ;
22656 char * kwnames
[] = {
22657 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22661 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22662 if (!SWIG_IsOK(ecode1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22665 arg1
= static_cast< int >(val1
);
22667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22668 if (!SWIG_IsOK(ecode2
)) {
22669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22671 arg2
= static_cast< wxDateTime::Month
>(val2
);
22674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22675 if (!SWIG_IsOK(ecode3
)) {
22676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22678 arg3
= static_cast< int >(val3
);
22681 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22682 if (!SWIG_IsOK(ecode4
)) {
22683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22685 arg4
= static_cast< int >(val4
);
22688 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22689 if (!SWIG_IsOK(ecode5
)) {
22690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22692 arg5
= static_cast< int >(val5
);
22695 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22696 if (!SWIG_IsOK(ecode6
)) {
22697 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22699 arg6
= static_cast< int >(val6
);
22702 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22703 if (!SWIG_IsOK(ecode7
)) {
22704 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22706 arg7
= static_cast< int >(val7
);
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22721 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
= 0;
22723 wxDateTime
*arg1
= 0 ;
22724 wxDateTime
*result
= 0 ;
22727 PyObject
* obj0
= 0 ;
22728 char * kwnames
[] = {
22729 (char *) "date", NULL
22732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22733 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22734 if (!SWIG_IsOK(res1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22740 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22754 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22755 PyObject
*resultobj
= 0;
22756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22759 PyObject
*swig_obj
[1] ;
22761 if (!args
) SWIG_fail
;
22762 swig_obj
[0] = args
;
22763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22764 if (!SWIG_IsOK(res1
)) {
22765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22767 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_Py_Void();
22782 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 PyObject
*resultobj
= 0;
22784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22785 wxDateTime
*result
= 0 ;
22788 PyObject
*swig_obj
[1] ;
22790 if (!args
) SWIG_fail
;
22791 swig_obj
[0] = args
;
22792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22793 if (!SWIG_IsOK(res1
)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22796 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22801 result
= (wxDateTime
*) &_result_ref
;
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22813 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
= 0;
22815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22817 wxDateTime
*result
= 0 ;
22820 unsigned int val2
;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 char * kwnames
[] = {
22825 (char *) "self",(char *) "timet", NULL
22828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22830 if (!SWIG_IsOK(res1
)) {
22831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22833 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22834 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22835 if (!SWIG_IsOK(ecode2
)) {
22836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22838 arg2
= static_cast< time_t >(val2
);
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22843 result
= (wxDateTime
*) &_result_ref
;
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22855 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
= 0;
22857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22859 wxDateTime
*result
= 0 ;
22864 PyObject
* obj0
= 0 ;
22865 PyObject
* obj1
= 0 ;
22866 char * kwnames
[] = {
22867 (char *) "self",(char *) "jdn", NULL
22870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22875 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22876 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22877 if (!SWIG_IsOK(ecode2
)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22880 arg2
= static_cast< double >(val2
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22885 result
= (wxDateTime
*) &_result_ref
;
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22897 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
= 0;
22899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22901 int arg3
= (int) 0 ;
22902 int arg4
= (int) 0 ;
22903 int arg5
= (int) 0 ;
22904 wxDateTime
*result
= 0 ;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 PyObject
* obj2
= 0 ;
22918 PyObject
* obj3
= 0 ;
22919 PyObject
* obj4
= 0 ;
22920 char * kwnames
[] = {
22921 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22929 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22931 if (!SWIG_IsOK(ecode2
)) {
22932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22934 arg2
= static_cast< int >(val2
);
22936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22937 if (!SWIG_IsOK(ecode3
)) {
22938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22940 arg3
= static_cast< int >(val3
);
22943 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22944 if (!SWIG_IsOK(ecode4
)) {
22945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22947 arg4
= static_cast< int >(val4
);
22950 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22951 if (!SWIG_IsOK(ecode5
)) {
22952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22954 arg5
= static_cast< int >(val5
);
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22960 result
= (wxDateTime
*) &_result_ref
;
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22972 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
= 0;
22974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22976 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22977 int arg4
= (int) wxDateTime::Inv_Year
;
22978 int arg5
= (int) 0 ;
22979 int arg6
= (int) 0 ;
22980 int arg7
= (int) 0 ;
22981 int arg8
= (int) 0 ;
22982 wxDateTime
*result
= 0 ;
22999 PyObject
* obj0
= 0 ;
23000 PyObject
* obj1
= 0 ;
23001 PyObject
* obj2
= 0 ;
23002 PyObject
* obj3
= 0 ;
23003 PyObject
* obj4
= 0 ;
23004 PyObject
* obj5
= 0 ;
23005 PyObject
* obj6
= 0 ;
23006 PyObject
* obj7
= 0 ;
23007 char * kwnames
[] = {
23008 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23013 if (!SWIG_IsOK(res1
)) {
23014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23016 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23018 if (!SWIG_IsOK(ecode2
)) {
23019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23021 arg2
= static_cast< int >(val2
);
23023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23024 if (!SWIG_IsOK(ecode3
)) {
23025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23027 arg3
= static_cast< wxDateTime::Month
>(val3
);
23030 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23031 if (!SWIG_IsOK(ecode4
)) {
23032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23034 arg4
= static_cast< int >(val4
);
23037 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23038 if (!SWIG_IsOK(ecode5
)) {
23039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23041 arg5
= static_cast< int >(val5
);
23044 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23045 if (!SWIG_IsOK(ecode6
)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23048 arg6
= static_cast< int >(val6
);
23051 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23052 if (!SWIG_IsOK(ecode7
)) {
23053 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23055 arg7
= static_cast< int >(val7
);
23058 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23059 if (!SWIG_IsOK(ecode8
)) {
23060 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23062 arg8
= static_cast< int >(val8
);
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23068 result
= (wxDateTime
*) &_result_ref
;
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23080 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23081 PyObject
*resultobj
= 0;
23082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23083 wxDateTime
*result
= 0 ;
23086 PyObject
*swig_obj
[1] ;
23088 if (!args
) SWIG_fail
;
23089 swig_obj
[0] = args
;
23090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23091 if (!SWIG_IsOK(res1
)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23094 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23099 result
= (wxDateTime
*) &_result_ref
;
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23111 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
= 0;
23113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23115 wxDateTime
*result
= 0 ;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 char * kwnames
[] = {
23123 (char *) "self",(char *) "year", NULL
23126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23131 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23133 if (!SWIG_IsOK(ecode2
)) {
23134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23136 arg2
= static_cast< int >(val2
);
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23141 result
= (wxDateTime
*) &_result_ref
;
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23153 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23154 PyObject
*resultobj
= 0;
23155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23156 wxDateTime::Month arg2
;
23157 wxDateTime
*result
= 0 ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 char * kwnames
[] = {
23165 (char *) "self",(char *) "month", NULL
23168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23170 if (!SWIG_IsOK(res1
)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23173 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23175 if (!SWIG_IsOK(ecode2
)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23178 arg2
= static_cast< wxDateTime::Month
>(val2
);
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23183 result
= (wxDateTime
*) &_result_ref
;
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23195 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
= 0;
23197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23199 wxDateTime
*result
= 0 ;
23204 PyObject
* obj0
= 0 ;
23205 PyObject
* obj1
= 0 ;
23206 char * kwnames
[] = {
23207 (char *) "self",(char *) "day", NULL
23210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23212 if (!SWIG_IsOK(res1
)) {
23213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23215 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23217 if (!SWIG_IsOK(ecode2
)) {
23218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23220 arg2
= static_cast< int >(val2
);
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23225 result
= (wxDateTime
*) &_result_ref
;
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23237 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
= 0;
23239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23241 wxDateTime
*result
= 0 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 char * kwnames
[] = {
23249 (char *) "self",(char *) "hour", NULL
23252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23254 if (!SWIG_IsOK(res1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23257 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23259 if (!SWIG_IsOK(ecode2
)) {
23260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23262 arg2
= static_cast< int >(val2
);
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23267 result
= (wxDateTime
*) &_result_ref
;
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23279 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
= 0;
23281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23283 wxDateTime
*result
= 0 ;
23288 PyObject
* obj0
= 0 ;
23289 PyObject
* obj1
= 0 ;
23290 char * kwnames
[] = {
23291 (char *) "self",(char *) "minute", NULL
23294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23296 if (!SWIG_IsOK(res1
)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23299 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23301 if (!SWIG_IsOK(ecode2
)) {
23302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23304 arg2
= static_cast< int >(val2
);
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23309 result
= (wxDateTime
*) &_result_ref
;
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23321 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
= 0;
23323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23325 wxDateTime
*result
= 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 char * kwnames
[] = {
23333 (char *) "self",(char *) "second", NULL
23336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23338 if (!SWIG_IsOK(res1
)) {
23339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23341 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23343 if (!SWIG_IsOK(ecode2
)) {
23344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23346 arg2
= static_cast< int >(val2
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23351 result
= (wxDateTime
*) &_result_ref
;
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23363 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
= 0;
23365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23367 wxDateTime
*result
= 0 ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 char * kwnames
[] = {
23375 (char *) "self",(char *) "millisecond", NULL
23378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23383 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23385 if (!SWIG_IsOK(ecode2
)) {
23386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23388 arg2
= static_cast< int >(val2
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23393 result
= (wxDateTime
*) &_result_ref
;
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23405 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
= 0;
23407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23408 wxDateTime::WeekDay arg2
;
23409 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23410 wxDateTime
*result
= 0 ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 PyObject
* obj2
= 0 ;
23420 char * kwnames
[] = {
23421 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23426 if (!SWIG_IsOK(res1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23429 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23431 if (!SWIG_IsOK(ecode2
)) {
23432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23434 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23437 if (!SWIG_IsOK(ecode3
)) {
23438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23440 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23446 result
= (wxDateTime
*) &_result_ref
;
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23458 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23461 wxDateTime::WeekDay arg2
;
23462 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 PyObject
* obj2
= 0 ;
23473 char * kwnames
[] = {
23474 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23479 if (!SWIG_IsOK(res1
)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23482 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23484 if (!SWIG_IsOK(ecode2
)) {
23485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23487 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23490 if (!SWIG_IsOK(ecode3
)) {
23491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23493 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23508 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
= 0;
23510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23511 wxDateTime::WeekDay arg2
;
23512 wxDateTime
*result
= 0 ;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 char * kwnames
[] = {
23520 (char *) "self",(char *) "weekday", NULL
23523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23528 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23530 if (!SWIG_IsOK(ecode2
)) {
23531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23533 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23538 result
= (wxDateTime
*) &_result_ref
;
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23550 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
= 0;
23552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23553 wxDateTime::WeekDay arg2
;
23559 PyObject
* obj0
= 0 ;
23560 PyObject
* obj1
= 0 ;
23561 char * kwnames
[] = {
23562 (char *) "self",(char *) "weekday", NULL
23565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23567 if (!SWIG_IsOK(res1
)) {
23568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23570 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23572 if (!SWIG_IsOK(ecode2
)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23575 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (arg1
)->GetNextWeekDay(arg2
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23589 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
= 0;
23591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23592 wxDateTime::WeekDay arg2
;
23593 wxDateTime
*result
= 0 ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 char * kwnames
[] = {
23601 (char *) "self",(char *) "weekday", NULL
23604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23606 if (!SWIG_IsOK(res1
)) {
23607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23609 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23611 if (!SWIG_IsOK(ecode2
)) {
23612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23614 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23619 result
= (wxDateTime
*) &_result_ref
;
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23631 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
= 0;
23633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23634 wxDateTime::WeekDay arg2
;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 char * kwnames
[] = {
23643 (char *) "self",(char *) "weekday", NULL
23646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23648 if (!SWIG_IsOK(res1
)) {
23649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23651 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23653 if (!SWIG_IsOK(ecode2
)) {
23654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23656 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= (arg1
)->GetPrevWeekDay(arg2
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23670 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
= 0;
23672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23673 wxDateTime::WeekDay arg2
;
23674 int arg3
= (int) 1 ;
23675 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23676 int arg5
= (int) wxDateTime::Inv_Year
;
23688 PyObject
* obj0
= 0 ;
23689 PyObject
* obj1
= 0 ;
23690 PyObject
* obj2
= 0 ;
23691 PyObject
* obj3
= 0 ;
23692 PyObject
* obj4
= 0 ;
23693 char * kwnames
[] = {
23694 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23699 if (!SWIG_IsOK(res1
)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23702 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23704 if (!SWIG_IsOK(ecode2
)) {
23705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23707 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23710 if (!SWIG_IsOK(ecode3
)) {
23711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23713 arg3
= static_cast< int >(val3
);
23716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23717 if (!SWIG_IsOK(ecode4
)) {
23718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23720 arg4
= static_cast< wxDateTime::Month
>(val4
);
23723 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23724 if (!SWIG_IsOK(ecode5
)) {
23725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23727 arg5
= static_cast< int >(val5
);
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23744 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
= 0;
23746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23747 wxDateTime::WeekDay arg2
;
23748 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23749 int arg4
= (int) wxDateTime::Inv_Year
;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 PyObject
* obj2
= 0 ;
23762 PyObject
* obj3
= 0 ;
23763 char * kwnames
[] = {
23764 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23769 if (!SWIG_IsOK(res1
)) {
23770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23772 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23774 if (!SWIG_IsOK(ecode2
)) {
23775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23777 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23780 if (!SWIG_IsOK(ecode3
)) {
23781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23783 arg3
= static_cast< wxDateTime::Month
>(val3
);
23786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23787 if (!SWIG_IsOK(ecode4
)) {
23788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23790 arg4
= static_cast< int >(val4
);
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23807 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
= 0;
23809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23810 wxDateTime::WeekDay arg2
;
23811 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23812 int arg4
= (int) wxDateTime::Inv_Year
;
23822 PyObject
* obj0
= 0 ;
23823 PyObject
* obj1
= 0 ;
23824 PyObject
* obj2
= 0 ;
23825 PyObject
* obj3
= 0 ;
23826 char * kwnames
[] = {
23827 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23832 if (!SWIG_IsOK(res1
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23835 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23837 if (!SWIG_IsOK(ecode2
)) {
23838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23840 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23843 if (!SWIG_IsOK(ecode3
)) {
23844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23846 arg3
= static_cast< wxDateTime::Month
>(val3
);
23849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23850 if (!SWIG_IsOK(ecode4
)) {
23851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23853 arg4
= static_cast< int >(val4
);
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23868 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
= 0;
23870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23872 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23873 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23883 PyObject
* obj0
= 0 ;
23884 PyObject
* obj1
= 0 ;
23885 PyObject
* obj2
= 0 ;
23886 PyObject
* obj3
= 0 ;
23887 char * kwnames
[] = {
23888 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23893 if (!SWIG_IsOK(res1
)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23896 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23898 if (!SWIG_IsOK(ecode2
)) {
23899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23901 arg2
= static_cast< int >(val2
);
23903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23904 if (!SWIG_IsOK(ecode3
)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23907 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23911 if (!SWIG_IsOK(ecode4
)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23914 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23931 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
= 0;
23933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23935 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23936 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 PyObject
* obj2
= 0 ;
23949 PyObject
* obj3
= 0 ;
23950 char * kwnames
[] = {
23951 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23956 if (!SWIG_IsOK(res1
)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23959 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23961 if (!SWIG_IsOK(ecode2
)) {
23962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23964 arg2
= static_cast< int >(val2
);
23966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23967 if (!SWIG_IsOK(ecode3
)) {
23968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23970 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23973 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23974 if (!SWIG_IsOK(ecode4
)) {
23975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23977 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23992 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
= 0;
23996 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 PyObject
* obj2
= 0 ;
24007 char * kwnames
[] = {
24008 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24013 if (!SWIG_IsOK(ecode1
)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24016 arg1
= static_cast< int >(val1
);
24017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24018 if (!SWIG_IsOK(ecode2
)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24021 arg2
= static_cast< int >(val2
);
24023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24024 if (!SWIG_IsOK(ecode3
)) {
24025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24027 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24042 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
= 0;
24044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24045 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24046 int arg3
= (int) wxDateTime::Inv_Year
;
24047 wxDateTime
*result
= 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 PyObject
* obj2
= 0 ;
24057 char * kwnames
[] = {
24058 (char *) "self",(char *) "month",(char *) "year", NULL
24061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24063 if (!SWIG_IsOK(res1
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24066 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24069 if (!SWIG_IsOK(ecode2
)) {
24070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24072 arg2
= static_cast< wxDateTime::Month
>(val2
);
24075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24076 if (!SWIG_IsOK(ecode3
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24079 arg3
= static_cast< int >(val3
);
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24085 result
= (wxDateTime
*) &_result_ref
;
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24097 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24100 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24101 int arg3
= (int) wxDateTime::Inv_Year
;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 PyObject
* obj2
= 0 ;
24112 char * kwnames
[] = {
24113 (char *) "self",(char *) "month",(char *) "year", NULL
24116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24121 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24124 if (!SWIG_IsOK(ecode2
)) {
24125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24127 arg2
= static_cast< wxDateTime::Month
>(val2
);
24130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24131 if (!SWIG_IsOK(ecode3
)) {
24132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24134 arg3
= static_cast< int >(val3
);
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24149 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
= 0;
24151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24153 wxDateTime
*result
= 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char * kwnames
[] = {
24161 (char *) "self",(char *) "yday", NULL
24164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24166 if (!SWIG_IsOK(res1
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24169 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24171 if (!SWIG_IsOK(ecode2
)) {
24172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24174 arg2
= static_cast< int >(val2
);
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24179 result
= (wxDateTime
*) &_result_ref
;
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24191 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
= 0;
24193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char * kwnames
[] = {
24203 (char *) "self",(char *) "yday", NULL
24206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24208 if (!SWIG_IsOK(res1
)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24211 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24213 if (!SWIG_IsOK(ecode2
)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24216 arg2
= static_cast< int >(val2
);
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (arg1
)->GetYearDay(arg2
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24230 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24231 PyObject
*resultobj
= 0;
24232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24236 PyObject
*swig_obj
[1] ;
24238 if (!args
) SWIG_fail
;
24239 swig_obj
[0] = args
;
24240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24244 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (double)(arg1
)->GetJulianDayNumber();
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_From_double(static_cast< double >(result
));
24258 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24259 PyObject
*resultobj
= 0;
24260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24264 PyObject
*swig_obj
[1] ;
24266 if (!args
) SWIG_fail
;
24267 swig_obj
[0] = args
;
24268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24269 if (!SWIG_IsOK(res1
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24272 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (double)(arg1
)->GetJDN();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_From_double(static_cast< double >(result
));
24286 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24287 PyObject
*resultobj
= 0;
24288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24292 PyObject
*swig_obj
[1] ;
24294 if (!args
) SWIG_fail
;
24295 swig_obj
[0] = args
;
24296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24297 if (!SWIG_IsOK(res1
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24300 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= SWIG_From_double(static_cast< double >(result
));
24314 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24315 PyObject
*resultobj
= 0;
24316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24320 PyObject
*swig_obj
[1] ;
24322 if (!args
) SWIG_fail
;
24323 swig_obj
[0] = args
;
24324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24328 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= (double)(arg1
)->GetMJD();
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_From_double(static_cast< double >(result
));
24342 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24343 PyObject
*resultobj
= 0;
24344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24348 PyObject
*swig_obj
[1] ;
24350 if (!args
) SWIG_fail
;
24351 swig_obj
[0] = args
;
24352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24353 if (!SWIG_IsOK(res1
)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24356 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (double)(arg1
)->GetRataDie();
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_From_double(static_cast< double >(result
));
24370 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
= 0;
24372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24373 wxDateTime::TimeZone
*arg2
= 0 ;
24374 bool arg3
= (bool) false ;
24378 bool temp2
= false ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 PyObject
* obj2
= 0 ;
24384 char * kwnames
[] = {
24385 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24390 if (!SWIG_IsOK(res1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24393 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24395 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24399 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24400 if (!SWIG_IsOK(ecode3
)) {
24401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24403 arg3
= static_cast< bool >(val3
);
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24413 if (temp2
) delete arg2
;
24418 if (temp2
) delete arg2
;
24424 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
= 0;
24426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24427 wxDateTime::TimeZone
*arg2
= 0 ;
24428 bool arg3
= (bool) false ;
24429 wxDateTime
*result
= 0 ;
24432 bool temp2
= false ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 PyObject
* obj2
= 0 ;
24438 char * kwnames
[] = {
24439 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24444 if (!SWIG_IsOK(res1
)) {
24445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24447 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24449 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24453 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24454 if (!SWIG_IsOK(ecode3
)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24457 arg3
= static_cast< bool >(val3
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24463 result
= (wxDateTime
*) &_result_ref
;
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24470 if (temp2
) delete arg2
;
24475 if (temp2
) delete arg2
;
24481 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
= 0;
24483 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24484 wxDateTime::TimeZone
*arg2
= 0 ;
24485 bool arg3
= (bool) false ;
24489 bool temp2
= false ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 PyObject
* obj2
= 0 ;
24495 char * kwnames
[] = {
24496 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24501 if (!SWIG_IsOK(res1
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24504 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24506 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24510 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24511 if (!SWIG_IsOK(ecode3
)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24514 arg3
= static_cast< bool >(val3
);
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24524 if (temp2
) delete arg2
;
24529 if (temp2
) delete arg2
;
24535 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= 0;
24537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24538 wxDateTime::TimeZone
*arg2
= 0 ;
24539 bool arg3
= (bool) false ;
24540 wxDateTime
*result
= 0 ;
24543 bool temp2
= false ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 PyObject
* obj2
= 0 ;
24549 char * kwnames
[] = {
24550 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24555 if (!SWIG_IsOK(res1
)) {
24556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24558 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24560 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24564 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24565 if (!SWIG_IsOK(ecode3
)) {
24566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24568 arg3
= static_cast< bool >(val3
);
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24574 result
= (wxDateTime
*) &_result_ref
;
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24581 if (temp2
) delete arg2
;
24586 if (temp2
) delete arg2
;
24592 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
= 0;
24594 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24595 bool arg2
= (bool) false ;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 char * kwnames
[] = {
24604 (char *) "self",(char *) "noDST", NULL
24607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24612 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24614 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24615 if (!SWIG_IsOK(ecode2
)) {
24616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24618 arg2
= static_cast< bool >(val2
);
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24633 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
= 0;
24635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24636 bool arg2
= (bool) false ;
24637 wxDateTime
*result
= 0 ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24644 char * kwnames
[] = {
24645 (char *) "self",(char *) "noDST", NULL
24648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24650 if (!SWIG_IsOK(res1
)) {
24651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24653 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24655 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24656 if (!SWIG_IsOK(ecode2
)) {
24657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24659 arg2
= static_cast< bool >(val2
);
24662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24665 result
= (wxDateTime
*) &_result_ref
;
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24677 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24680 bool arg2
= (bool) false ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char * kwnames
[] = {
24689 (char *) "self",(char *) "noDST", NULL
24692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24694 if (!SWIG_IsOK(res1
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24697 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24700 if (!SWIG_IsOK(ecode2
)) {
24701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24703 arg2
= static_cast< bool >(val2
);
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24718 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
= 0;
24720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24721 bool arg2
= (bool) false ;
24722 wxDateTime
*result
= 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char * kwnames
[] = {
24730 (char *) "self",(char *) "noDST", NULL
24733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24735 if (!SWIG_IsOK(res1
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24738 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24740 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24741 if (!SWIG_IsOK(ecode2
)) {
24742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24744 arg2
= static_cast< bool >(val2
);
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24750 result
= (wxDateTime
*) &_result_ref
;
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24762 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
= 0;
24764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24765 bool arg2
= (bool) false ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 char * kwnames
[] = {
24774 (char *) "self",(char *) "noDST", NULL
24777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24779 if (!SWIG_IsOK(res1
)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24782 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24784 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24785 if (!SWIG_IsOK(ecode2
)) {
24786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24788 arg2
= static_cast< bool >(val2
);
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24803 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
= 0;
24805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24806 bool arg2
= (bool) false ;
24807 wxDateTime
*result
= 0 ;
24812 PyObject
* obj0
= 0 ;
24813 PyObject
* obj1
= 0 ;
24814 char * kwnames
[] = {
24815 (char *) "self",(char *) "noDST", NULL
24818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24820 if (!SWIG_IsOK(res1
)) {
24821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24823 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24825 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24826 if (!SWIG_IsOK(ecode2
)) {
24827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24829 arg2
= static_cast< bool >(val2
);
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24835 result
= (wxDateTime
*) &_result_ref
;
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24847 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
= 0;
24849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24850 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 char * kwnames
[] = {
24859 (char *) "self",(char *) "country", NULL
24862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24864 if (!SWIG_IsOK(res1
)) {
24865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24867 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24870 if (!SWIG_IsOK(ecode2
)) {
24871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24873 arg2
= static_cast< wxDateTime::Country
>(val2
);
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 result
= (int)(arg1
)->IsDST(arg2
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_From_int(static_cast< int >(result
));
24888 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24889 PyObject
*resultobj
= 0;
24890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24894 PyObject
*swig_obj
[1] ;
24896 if (!args
) SWIG_fail
;
24897 swig_obj
[0] = args
;
24898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24899 if (!SWIG_IsOK(res1
)) {
24900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24902 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24918 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24919 PyObject
*resultobj
= 0;
24920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24924 PyObject
*swig_obj
[1] ;
24926 if (!args
) SWIG_fail
;
24927 swig_obj
[0] = args
;
24928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24929 if (!SWIG_IsOK(res1
)) {
24930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24932 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24946 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
= 0;
24948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24949 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24950 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24954 bool temp2
= false ;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 char * kwnames
[] = {
24958 (char *) "self",(char *) "tz", NULL
24961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24963 if (!SWIG_IsOK(res1
)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24966 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24969 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= SWIG_From_int(static_cast< int >(result
));
24981 if (temp2
) delete arg2
;
24986 if (temp2
) delete arg2
;
24992 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
= 0;
24994 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24995 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24996 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24997 wxDateTime::Month result
;
25000 bool temp2
= false ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char * kwnames
[] = {
25004 (char *) "self",(char *) "tz", NULL
25007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25009 if (!SWIG_IsOK(res1
)) {
25010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25012 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25015 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_From_int(static_cast< int >(result
));
25027 if (temp2
) delete arg2
;
25032 if (temp2
) delete arg2
;
25038 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
= 0;
25040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25041 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25042 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25046 bool temp2
= false ;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 char * kwnames
[] = {
25050 (char *) "self",(char *) "tz", NULL
25053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25055 if (!SWIG_IsOK(res1
)) {
25056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25058 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25061 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= SWIG_From_int(static_cast< int >(result
));
25073 if (temp2
) delete arg2
;
25078 if (temp2
) delete arg2
;
25084 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
= 0;
25086 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25087 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25088 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25089 wxDateTime::WeekDay result
;
25092 bool temp2
= false ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char * kwnames
[] = {
25096 (char *) "self",(char *) "tz", NULL
25099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25101 if (!SWIG_IsOK(res1
)) {
25102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25104 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25107 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_From_int(static_cast< int >(result
));
25119 if (temp2
) delete arg2
;
25124 if (temp2
) delete arg2
;
25130 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
= 0;
25132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25133 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25134 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25138 bool temp2
= false ;
25139 PyObject
* obj0
= 0 ;
25140 PyObject
* obj1
= 0 ;
25141 char * kwnames
[] = {
25142 (char *) "self",(char *) "tz", NULL
25145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25150 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25153 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_From_int(static_cast< int >(result
));
25165 if (temp2
) delete arg2
;
25170 if (temp2
) delete arg2
;
25176 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
= 0;
25178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25179 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25180 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25184 bool temp2
= false ;
25185 PyObject
* obj0
= 0 ;
25186 PyObject
* obj1
= 0 ;
25187 char * kwnames
[] = {
25188 (char *) "self",(char *) "tz", NULL
25191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25193 if (!SWIG_IsOK(res1
)) {
25194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25196 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25199 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_From_int(static_cast< int >(result
));
25211 if (temp2
) delete arg2
;
25216 if (temp2
) delete arg2
;
25222 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25223 PyObject
*resultobj
= 0;
25224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25225 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25226 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25230 bool temp2
= false ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char * kwnames
[] = {
25234 (char *) "self",(char *) "tz", NULL
25237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25239 if (!SWIG_IsOK(res1
)) {
25240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25242 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25245 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_From_int(static_cast< int >(result
));
25257 if (temp2
) delete arg2
;
25262 if (temp2
) delete arg2
;
25268 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
= 0;
25270 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25271 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25272 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25276 bool temp2
= false ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 char * kwnames
[] = {
25280 (char *) "self",(char *) "tz", NULL
25283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25285 if (!SWIG_IsOK(res1
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25288 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25291 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_From_int(static_cast< int >(result
));
25303 if (temp2
) delete arg2
;
25308 if (temp2
) delete arg2
;
25314 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
= 0;
25316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25317 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25318 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25322 bool temp2
= false ;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 char * kwnames
[] = {
25326 (char *) "self",(char *) "tz", NULL
25329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25334 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25337 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_From_int(static_cast< int >(result
));
25349 if (temp2
) delete arg2
;
25354 if (temp2
) delete arg2
;
25360 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
= 0;
25362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25363 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25364 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25365 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25371 bool temp3
= false ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 PyObject
* obj2
= 0 ;
25375 char * kwnames
[] = {
25376 (char *) "self",(char *) "flags",(char *) "tz", NULL
25379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25381 if (!SWIG_IsOK(res1
)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25384 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25387 if (!SWIG_IsOK(ecode2
)) {
25388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25390 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25394 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_From_int(static_cast< int >(result
));
25406 if (temp3
) delete arg3
;
25411 if (temp3
) delete arg3
;
25417 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25420 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25421 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25422 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25428 bool temp3
= false ;
25429 PyObject
* obj0
= 0 ;
25430 PyObject
* obj1
= 0 ;
25431 PyObject
* obj2
= 0 ;
25432 char * kwnames
[] = {
25433 (char *) "self",(char *) "flags",(char *) "tz", NULL
25436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25438 if (!SWIG_IsOK(res1
)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25441 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25444 if (!SWIG_IsOK(ecode2
)) {
25445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25447 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25451 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= SWIG_From_int(static_cast< int >(result
));
25463 if (temp3
) delete arg3
;
25468 if (temp3
) delete arg3
;
25474 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
= 0;
25476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25477 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "self",(char *) "country", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25494 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25497 if (!SWIG_IsOK(ecode2
)) {
25498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25500 arg2
= static_cast< wxDateTime::Country
>(val2
);
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25517 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
= 0;
25519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25520 wxDateTime
*arg2
= 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char * kwnames
[] = {
25529 (char *) "self",(char *) "datetime", NULL
25532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25537 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25539 if (!SWIG_IsOK(res2
)) {
25540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25545 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25561 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
= 0;
25563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25564 wxDateTime
*arg2
= 0 ;
25570 PyObject
* obj0
= 0 ;
25571 PyObject
* obj1
= 0 ;
25572 char * kwnames
[] = {
25573 (char *) "self",(char *) "datetime", NULL
25576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25578 if (!SWIG_IsOK(res1
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25581 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25583 if (!SWIG_IsOK(res2
)) {
25584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25589 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25605 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
= 0;
25607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25608 wxDateTime
*arg2
= 0 ;
25614 PyObject
* obj0
= 0 ;
25615 PyObject
* obj1
= 0 ;
25616 char * kwnames
[] = {
25617 (char *) "self",(char *) "datetime", NULL
25620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25622 if (!SWIG_IsOK(res1
)) {
25623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25625 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25627 if (!SWIG_IsOK(res2
)) {
25628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25633 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25649 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
= 0;
25651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25652 wxDateTime
*arg2
= 0 ;
25653 wxDateTime
*arg3
= 0 ;
25661 PyObject
* obj0
= 0 ;
25662 PyObject
* obj1
= 0 ;
25663 PyObject
* obj2
= 0 ;
25664 char * kwnames
[] = {
25665 (char *) "self",(char *) "t1",(char *) "t2", NULL
25668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25670 if (!SWIG_IsOK(res1
)) {
25671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25673 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25675 if (!SWIG_IsOK(res2
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25681 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25682 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25683 if (!SWIG_IsOK(res3
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25689 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25705 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25708 wxDateTime
*arg2
= 0 ;
25709 wxDateTime
*arg3
= 0 ;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 PyObject
* obj2
= 0 ;
25720 char * kwnames
[] = {
25721 (char *) "self",(char *) "t1",(char *) "t2", NULL
25724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25726 if (!SWIG_IsOK(res1
)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25729 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25731 if (!SWIG_IsOK(res2
)) {
25732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25737 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25738 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25739 if (!SWIG_IsOK(res3
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25745 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25761 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
= 0;
25763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25764 wxDateTime
*arg2
= 0 ;
25770 PyObject
* obj0
= 0 ;
25771 PyObject
* obj1
= 0 ;
25772 char * kwnames
[] = {
25773 (char *) "self",(char *) "dt", NULL
25776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25778 if (!SWIG_IsOK(res1
)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25781 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25783 if (!SWIG_IsOK(res2
)) {
25784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25789 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25805 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
= 0;
25807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25808 wxDateTime
*arg2
= 0 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 char * kwnames
[] = {
25817 (char *) "self",(char *) "dt", NULL
25820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25822 if (!SWIG_IsOK(res1
)) {
25823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25825 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25827 if (!SWIG_IsOK(res2
)) {
25828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25833 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25849 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
= 0;
25851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25852 wxDateTime
*arg2
= 0 ;
25853 wxTimeSpan
*arg3
= 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 PyObject
* obj2
= 0 ;
25864 char * kwnames
[] = {
25865 (char *) "self",(char *) "dt",(char *) "ts", NULL
25868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25870 if (!SWIG_IsOK(res1
)) {
25871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25873 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25875 if (!SWIG_IsOK(res2
)) {
25876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25881 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25882 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25883 if (!SWIG_IsOK(res3
)) {
25884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25889 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25905 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
= 0;
25907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25908 wxTimeSpan
*arg2
= 0 ;
25909 wxDateTime
*result
= 0 ;
25914 PyObject
* obj0
= 0 ;
25915 PyObject
* obj1
= 0 ;
25916 char * kwnames
[] = {
25917 (char *) "self",(char *) "diff", NULL
25920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25922 if (!SWIG_IsOK(res1
)) {
25923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25925 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25927 if (!SWIG_IsOK(res2
)) {
25928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25933 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25938 result
= (wxDateTime
*) &_result_ref
;
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25950 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
= 0;
25952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25953 wxDateSpan
*arg2
= 0 ;
25954 wxDateTime
*result
= 0 ;
25959 PyObject
* obj0
= 0 ;
25960 PyObject
* obj1
= 0 ;
25961 char * kwnames
[] = {
25962 (char *) "self",(char *) "diff", NULL
25965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25967 if (!SWIG_IsOK(res1
)) {
25968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25970 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25971 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25972 if (!SWIG_IsOK(res2
)) {
25973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25978 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25983 result
= (wxDateTime
*) &_result_ref
;
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25995 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
= 0;
25997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25998 wxTimeSpan
*arg2
= 0 ;
25999 wxDateTime
*result
= 0 ;
26004 PyObject
* obj0
= 0 ;
26005 PyObject
* obj1
= 0 ;
26006 char * kwnames
[] = {
26007 (char *) "self",(char *) "diff", NULL
26010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26012 if (!SWIG_IsOK(res1
)) {
26013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26015 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26017 if (!SWIG_IsOK(res2
)) {
26018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26023 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26028 result
= (wxDateTime
*) &_result_ref
;
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26040 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
= 0;
26042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26043 wxDateSpan
*arg2
= 0 ;
26044 wxDateTime
*result
= 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 char * kwnames
[] = {
26052 (char *) "self",(char *) "diff", NULL
26055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26057 if (!SWIG_IsOK(res1
)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26060 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26062 if (!SWIG_IsOK(res2
)) {
26063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26068 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26073 result
= (wxDateTime
*) &_result_ref
;
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26085 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
= 0;
26087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26088 wxDateTime
*arg2
= 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 char * kwnames
[] = {
26097 (char *) "self",(char *) "dt", NULL
26100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26102 if (!SWIG_IsOK(res1
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26105 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26107 if (!SWIG_IsOK(res2
)) {
26108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26113 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26127 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26128 PyObject
*resultobj
= 0;
26129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26130 wxTimeSpan
*arg2
= 0 ;
26131 wxDateTime
*result
= 0 ;
26137 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26139 if (!SWIG_IsOK(res1
)) {
26140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26142 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26143 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26144 if (!SWIG_IsOK(res2
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26150 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26155 result
= (wxDateTime
*) &_result_ref
;
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26167 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26168 PyObject
*resultobj
= 0;
26169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26170 wxDateSpan
*arg2
= 0 ;
26171 wxDateTime
*result
= 0 ;
26177 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26179 if (!SWIG_IsOK(res1
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26182 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26183 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26184 if (!SWIG_IsOK(res2
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26190 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 wxDateTime
&_result_ref
= (arg1
)->operator +=((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
, SWIG_POINTER_OWN
| 0 );
26207 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26211 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26216 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26217 _v
= SWIG_CheckState(res
);
26219 if (!_v
) goto check_1
;
26220 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26225 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26229 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26234 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26235 PyObject
*resultobj
= 0;
26236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26237 wxTimeSpan
*arg2
= 0 ;
26238 wxDateTime
*result
= 0 ;
26244 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26249 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26250 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26251 if (!SWIG_IsOK(res2
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26257 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26262 result
= (wxDateTime
*) &_result_ref
;
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26274 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26275 PyObject
*resultobj
= 0;
26276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26277 wxDateSpan
*arg2
= 0 ;
26278 wxDateTime
*result
= 0 ;
26284 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26286 if (!SWIG_IsOK(res1
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26289 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26290 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26291 if (!SWIG_IsOK(res2
)) {
26292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26297 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26302 result
= (wxDateTime
*) &_result_ref
;
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26314 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26318 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26323 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26324 _v
= SWIG_CheckState(res
);
26326 if (!_v
) goto check_1
;
26327 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26332 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26336 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26341 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26342 PyObject
*resultobj
= 0;
26343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26344 wxTimeSpan
*arg2
= 0 ;
26351 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26353 if (!SWIG_IsOK(res1
)) {
26354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26356 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26357 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26358 if (!SWIG_IsOK(res2
)) {
26359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26364 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26378 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26379 PyObject
*resultobj
= 0;
26380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26381 wxDateSpan
*arg2
= 0 ;
26388 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26393 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26394 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26395 if (!SWIG_IsOK(res2
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26401 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26415 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26419 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26424 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26425 _v
= SWIG_CheckState(res
);
26427 if (!_v
) goto check_1
;
26428 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26433 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26437 Py_INCREF(Py_NotImplemented
);
26438 return Py_NotImplemented
;
26442 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26443 PyObject
*resultobj
= 0;
26444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26445 wxDateTime
*arg2
= 0 ;
26452 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26457 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26458 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26459 if (!SWIG_IsOK(res2
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26465 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26479 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26480 PyObject
*resultobj
= 0;
26481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26482 wxTimeSpan
*arg2
= 0 ;
26489 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26494 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26495 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26496 if (!SWIG_IsOK(res2
)) {
26497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26502 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26509 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26516 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26517 PyObject
*resultobj
= 0;
26518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26519 wxDateSpan
*arg2
= 0 ;
26526 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26528 if (!SWIG_IsOK(res1
)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26531 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26532 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26533 if (!SWIG_IsOK(res2
)) {
26534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26539 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26553 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26557 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26562 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26563 _v
= SWIG_CheckState(res
);
26565 if (!_v
) goto check_1
;
26566 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26573 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26574 _v
= SWIG_CheckState(res
);
26576 if (!_v
) goto check_2
;
26577 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26582 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26586 Py_INCREF(Py_NotImplemented
);
26587 return Py_NotImplemented
;
26591 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
= 0;
26593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26594 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26600 PyObject
* obj0
= 0 ;
26601 PyObject
* obj1
= 0 ;
26602 char * kwnames
[] = {
26603 (char *) "self",(char *) "other", NULL
26606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26608 if (!SWIG_IsOK(res1
)) {
26609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26611 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26613 if (!SWIG_IsOK(res2
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26616 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26632 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
= 0;
26634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26635 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char * kwnames
[] = {
26644 (char *) "self",(char *) "other", NULL
26647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26652 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26654 if (!SWIG_IsOK(res2
)) {
26655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26657 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26673 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
= 0;
26675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26676 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "other", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26693 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26695 if (!SWIG_IsOK(res2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26698 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26714 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
= 0;
26716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26717 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26723 PyObject
* obj0
= 0 ;
26724 PyObject
* obj1
= 0 ;
26725 char * kwnames
[] = {
26726 (char *) "self",(char *) "other", NULL
26729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26731 if (!SWIG_IsOK(res1
)) {
26732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26734 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26736 if (!SWIG_IsOK(res2
)) {
26737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26739 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26755 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
= 0;
26757 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26758 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26764 PyObject
* obj0
= 0 ;
26765 PyObject
* obj1
= 0 ;
26766 char * kwnames
[] = {
26767 (char *) "self",(char *) "other", NULL
26770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26772 if (!SWIG_IsOK(res1
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26775 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26777 if (!SWIG_IsOK(res2
)) {
26778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26780 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26796 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
= 0;
26798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26799 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 char * kwnames
[] = {
26808 (char *) "self",(char *) "other", NULL
26811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26813 if (!SWIG_IsOK(res1
)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26816 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26818 if (!SWIG_IsOK(res2
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26821 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26837 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
= 0;
26839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26840 wxString
*arg2
= 0 ;
26844 bool temp2
= false ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char * kwnames
[] = {
26848 (char *) "self",(char *) "date", NULL
26851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",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_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26856 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26858 arg2
= wxString_in_helper(obj1
);
26859 if (arg2
== NULL
) SWIG_fail
;
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_From_int(static_cast< int >(result
));
26883 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
= 0;
26885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26886 wxString
*arg2
= 0 ;
26887 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26888 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26889 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26890 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26894 bool temp2
= false ;
26895 bool temp3
= false ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 PyObject
* obj2
= 0 ;
26901 PyObject
* obj3
= 0 ;
26902 char * kwnames
[] = {
26903 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26908 if (!SWIG_IsOK(res1
)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26911 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26913 arg2
= wxString_in_helper(obj1
);
26914 if (arg2
== NULL
) SWIG_fail
;
26919 arg3
= wxString_in_helper(obj2
);
26920 if (arg3
== NULL
) SWIG_fail
;
26925 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26926 if (!SWIG_IsOK(res4
)) {
26927 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26932 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= SWIG_From_int(static_cast< int >(result
));
26963 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26964 PyObject
*resultobj
= 0;
26965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26966 wxString
*arg2
= 0 ;
26970 bool temp2
= false ;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 char * kwnames
[] = {
26974 (char *) "self",(char *) "datetime", NULL
26977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26979 if (!SWIG_IsOK(res1
)) {
26980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26982 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26984 arg2
= wxString_in_helper(obj1
);
26985 if (arg2
== NULL
) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_From_int(static_cast< int >(result
));
27009 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
= 0;
27011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27012 wxString
*arg2
= 0 ;
27016 bool temp2
= false ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 char * kwnames
[] = {
27020 (char *) "self",(char *) "date", NULL
27023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27025 if (!SWIG_IsOK(res1
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27028 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27030 arg2
= wxString_in_helper(obj1
);
27031 if (arg2
== NULL
) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= SWIG_From_int(static_cast< int >(result
));
27055 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
= 0;
27057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27058 wxString
*arg2
= 0 ;
27062 bool temp2
= false ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char * kwnames
[] = {
27066 (char *) "self",(char *) "time", NULL
27069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27071 if (!SWIG_IsOK(res1
)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27074 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27076 arg2
= wxString_in_helper(obj1
);
27077 if (arg2
== NULL
) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_From_int(static_cast< int >(result
));
27101 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
= 0;
27103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27104 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27105 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27106 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27107 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27111 bool temp2
= false ;
27112 bool temp3
= false ;
27113 PyObject
* obj0
= 0 ;
27114 PyObject
* obj1
= 0 ;
27115 PyObject
* obj2
= 0 ;
27116 char * kwnames
[] = {
27117 (char *) "self",(char *) "format",(char *) "tz", NULL
27120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27122 if (!SWIG_IsOK(res1
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27125 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27128 arg2
= wxString_in_helper(obj1
);
27129 if (arg2
== NULL
) SWIG_fail
;
27135 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27157 if (temp3
) delete arg3
;
27166 if (temp3
) delete arg3
;
27172 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27173 PyObject
*resultobj
= 0;
27174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27178 PyObject
*swig_obj
[1] ;
27180 if (!args
) SWIG_fail
;
27181 swig_obj
[0] = args
;
27182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27183 if (!SWIG_IsOK(res1
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27186 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27206 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27207 PyObject
*resultobj
= 0;
27208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27212 PyObject
*swig_obj
[1] ;
27214 if (!args
) SWIG_fail
;
27215 swig_obj
[0] = args
;
27216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27220 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27240 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27241 PyObject
*resultobj
= 0;
27242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27246 PyObject
*swig_obj
[1] ;
27248 if (!args
) SWIG_fail
;
27249 swig_obj
[0] = args
;
27250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27254 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27274 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27275 PyObject
*resultobj
= 0;
27276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27280 PyObject
*swig_obj
[1] ;
27282 if (!args
) SWIG_fail
;
27283 swig_obj
[0] = args
;
27284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27288 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27308 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27311 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27312 return SWIG_Py_Void();
27315 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27316 return SWIG_Python_InitShadowInstance(args
);
27319 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
= 0;
27325 PyObject
* obj0
= 0 ;
27326 char * kwnames
[] = {
27327 (char *) "ms", NULL
27330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27331 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27332 if (!SWIG_IsOK(ecode1
)) {
27333 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27335 arg1
= static_cast< long >(val1
);
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 result
= wxTimeSpan::Milliseconds(arg1
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27349 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27350 PyObject
*resultobj
= 0;
27353 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= wxTimeSpan::Millisecond();
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27367 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
= 0;
27373 PyObject
* obj0
= 0 ;
27374 char * kwnames
[] = {
27375 (char *) "sec", NULL
27378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27379 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27380 if (!SWIG_IsOK(ecode1
)) {
27381 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27383 arg1
= static_cast< long >(val1
);
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 result
= wxTimeSpan::Seconds(arg1
);
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27397 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27398 PyObject
*resultobj
= 0;
27401 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 result
= wxTimeSpan::Second();
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27415 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
= 0;
27421 PyObject
* obj0
= 0 ;
27422 char * kwnames
[] = {
27423 (char *) "min", NULL
27426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27427 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27428 if (!SWIG_IsOK(ecode1
)) {
27429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27431 arg1
= static_cast< long >(val1
);
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= wxTimeSpan::Minutes(arg1
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27445 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 PyObject
*resultobj
= 0;
27449 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= wxTimeSpan::Minute();
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27463 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
= 0;
27469 PyObject
* obj0
= 0 ;
27470 char * kwnames
[] = {
27471 (char *) "hours", NULL
27474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27475 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27476 if (!SWIG_IsOK(ecode1
)) {
27477 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27479 arg1
= static_cast< long >(val1
);
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 result
= wxTimeSpan::Hours(arg1
);
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27486 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27493 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27494 PyObject
*resultobj
= 0;
27497 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= wxTimeSpan::Hour();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27511 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
= 0;
27517 PyObject
* obj0
= 0 ;
27518 char * kwnames
[] = {
27519 (char *) "days", NULL
27522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27523 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27524 if (!SWIG_IsOK(ecode1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27527 arg1
= static_cast< long >(val1
);
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 result
= wxTimeSpan::Days(arg1
);
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27534 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27541 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27542 PyObject
*resultobj
= 0;
27545 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 result
= wxTimeSpan::Day();
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27559 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
= 0;
27565 PyObject
* obj0
= 0 ;
27566 char * kwnames
[] = {
27567 (char *) "days", NULL
27570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27571 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27572 if (!SWIG_IsOK(ecode1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27575 arg1
= static_cast< long >(val1
);
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= wxTimeSpan::Weeks(arg1
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27589 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27590 PyObject
*resultobj
= 0;
27593 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 result
= wxTimeSpan::Week();
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27607 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
= 0;
27609 long arg1
= (long) 0 ;
27610 long arg2
= (long) 0 ;
27611 long arg3
= (long) 0 ;
27612 long arg4
= (long) 0 ;
27613 wxTimeSpan
*result
= 0 ;
27622 PyObject
* obj0
= 0 ;
27623 PyObject
* obj1
= 0 ;
27624 PyObject
* obj2
= 0 ;
27625 PyObject
* obj3
= 0 ;
27626 char * kwnames
[] = {
27627 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27632 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27633 if (!SWIG_IsOK(ecode1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27636 arg1
= static_cast< long >(val1
);
27639 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27640 if (!SWIG_IsOK(ecode2
)) {
27641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27643 arg2
= static_cast< long >(val2
);
27646 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27647 if (!SWIG_IsOK(ecode3
)) {
27648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27650 arg3
= static_cast< long >(val3
);
27653 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27654 if (!SWIG_IsOK(ecode4
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27657 arg4
= static_cast< long >(val4
);
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27672 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27677 PyObject
*swig_obj
[1] ;
27679 if (!args
) SWIG_fail
;
27680 swig_obj
[0] = args
;
27681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27685 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 resultobj
= SWIG_Py_Void();
27700 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
= 0;
27702 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27703 wxTimeSpan
*arg2
= 0 ;
27704 wxTimeSpan
*result
= 0 ;
27709 PyObject
* obj0
= 0 ;
27710 PyObject
* obj1
= 0 ;
27711 char * kwnames
[] = {
27712 (char *) "self",(char *) "diff", NULL
27715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27717 if (!SWIG_IsOK(res1
)) {
27718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27720 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27722 if (!SWIG_IsOK(res2
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27728 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27732 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27733 result
= (wxTimeSpan
*) &_result_ref
;
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27745 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
= 0;
27747 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27748 wxTimeSpan
*arg2
= 0 ;
27749 wxTimeSpan
*result
= 0 ;
27754 PyObject
* obj0
= 0 ;
27755 PyObject
* obj1
= 0 ;
27756 char * kwnames
[] = {
27757 (char *) "self",(char *) "diff", NULL
27760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27762 if (!SWIG_IsOK(res1
)) {
27763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27765 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27767 if (!SWIG_IsOK(res2
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27773 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27778 result
= (wxTimeSpan
*) &_result_ref
;
27780 wxPyEndAllowThreads(__tstate
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27790 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
= 0;
27792 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27794 wxTimeSpan
*result
= 0 ;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 char * kwnames
[] = {
27802 (char *) "self",(char *) "n", NULL
27805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27807 if (!SWIG_IsOK(res1
)) {
27808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27810 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27812 if (!SWIG_IsOK(ecode2
)) {
27813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27815 arg2
= static_cast< int >(val2
);
27817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27820 result
= (wxTimeSpan
*) &_result_ref
;
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27832 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27835 wxTimeSpan
*result
= 0 ;
27838 PyObject
*swig_obj
[1] ;
27840 if (!args
) SWIG_fail
;
27841 swig_obj
[0] = args
;
27842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27843 if (!SWIG_IsOK(res1
)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27846 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27851 result
= (wxTimeSpan
*) &_result_ref
;
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27863 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27864 PyObject
*resultobj
= 0;
27865 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27869 PyObject
*swig_obj
[1] ;
27871 if (!args
) SWIG_fail
;
27872 swig_obj
[0] = args
;
27873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27874 if (!SWIG_IsOK(res1
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27877 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27891 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27892 PyObject
*resultobj
= 0;
27893 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27894 wxTimeSpan
*arg2
= 0 ;
27895 wxTimeSpan
*result
= 0 ;
27900 PyObject
* obj0
= 0 ;
27901 PyObject
* obj1
= 0 ;
27902 char * kwnames
[] = {
27903 (char *) "self",(char *) "diff", NULL
27906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27911 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27913 if (!SWIG_IsOK(res2
)) {
27914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27919 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27924 result
= (wxTimeSpan
*) &_result_ref
;
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27936 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
= 0;
27938 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27939 wxTimeSpan
*arg2
= 0 ;
27940 wxTimeSpan
*result
= 0 ;
27945 PyObject
* obj0
= 0 ;
27946 PyObject
* obj1
= 0 ;
27947 char * kwnames
[] = {
27948 (char *) "self",(char *) "diff", NULL
27951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27953 if (!SWIG_IsOK(res1
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27956 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27958 if (!SWIG_IsOK(res2
)) {
27959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27964 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27969 result
= (wxTimeSpan
*) &_result_ref
;
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27981 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
= 0;
27983 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27985 wxTimeSpan
*result
= 0 ;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 char * kwnames
[] = {
27993 (char *) "self",(char *) "n", NULL
27996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28001 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28003 if (!SWIG_IsOK(ecode2
)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
28006 arg2
= static_cast< int >(val2
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
28011 result
= (wxTimeSpan
*) &_result_ref
;
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28023 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28024 PyObject
*resultobj
= 0;
28025 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28026 wxTimeSpan
*result
= 0 ;
28029 PyObject
*swig_obj
[1] ;
28031 if (!args
) SWIG_fail
;
28032 swig_obj
[0] = args
;
28033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28034 if (!SWIG_IsOK(res1
)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28037 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28042 result
= (wxTimeSpan
*) &_result_ref
;
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28054 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
= 0;
28056 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28057 wxTimeSpan
*arg2
= 0 ;
28063 PyObject
* obj0
= 0 ;
28064 PyObject
* obj1
= 0 ;
28065 char * kwnames
[] = {
28066 (char *) "self",(char *) "other", NULL
28069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28071 if (!SWIG_IsOK(res1
)) {
28072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28074 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28076 if (!SWIG_IsOK(res2
)) {
28077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28082 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28096 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28097 PyObject
*resultobj
= 0;
28098 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28099 wxTimeSpan
*arg2
= 0 ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 char * kwnames
[] = {
28108 (char *) "self",(char *) "other", NULL
28111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28116 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28118 if (!SWIG_IsOK(res2
)) {
28119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28124 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28131 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28138 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28139 PyObject
*resultobj
= 0;
28140 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char * kwnames
[] = {
28150 (char *) "self",(char *) "n", NULL
28153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28155 if (!SWIG_IsOK(res1
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28158 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28160 if (!SWIG_IsOK(ecode2
)) {
28161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28163 arg2
= static_cast< int >(val2
);
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 result
= wxTimeSpan___mul__(arg1
,arg2
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28177 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
= 0;
28179 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28186 PyObject
* obj0
= 0 ;
28187 PyObject
* obj1
= 0 ;
28188 char * kwnames
[] = {
28189 (char *) "self",(char *) "n", NULL
28192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28194 if (!SWIG_IsOK(res1
)) {
28195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28197 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28199 if (!SWIG_IsOK(ecode2
)) {
28200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28202 arg2
= static_cast< int >(val2
);
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28209 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28216 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
= 0;
28218 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28219 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28225 PyObject
* obj0
= 0 ;
28226 PyObject
* obj1
= 0 ;
28227 char * kwnames
[] = {
28228 (char *) "self",(char *) "other", NULL
28231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28233 if (!SWIG_IsOK(res1
)) {
28234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28236 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28238 if (!SWIG_IsOK(res2
)) {
28239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28241 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28257 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
= 0;
28259 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28260 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char * kwnames
[] = {
28269 (char *) "self",(char *) "other", NULL
28272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28277 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28279 if (!SWIG_IsOK(res2
)) {
28280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28282 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28298 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
= 0;
28300 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28301 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 char * kwnames
[] = {
28310 (char *) "self",(char *) "other", NULL
28313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28315 if (!SWIG_IsOK(res1
)) {
28316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28318 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28320 if (!SWIG_IsOK(res2
)) {
28321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28323 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28339 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
= 0;
28341 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28342 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28348 PyObject
* obj0
= 0 ;
28349 PyObject
* obj1
= 0 ;
28350 char * kwnames
[] = {
28351 (char *) "self",(char *) "other", NULL
28354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28356 if (!SWIG_IsOK(res1
)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28359 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28361 if (!SWIG_IsOK(res2
)) {
28362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28364 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28380 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
= 0;
28382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28383 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28389 PyObject
* obj0
= 0 ;
28390 PyObject
* obj1
= 0 ;
28391 char * kwnames
[] = {
28392 (char *) "self",(char *) "other", NULL
28395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28397 if (!SWIG_IsOK(res1
)) {
28398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28400 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28402 if (!SWIG_IsOK(res2
)) {
28403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28405 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28421 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28422 PyObject
*resultobj
= 0;
28423 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28424 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "self",(char *) "other", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28441 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28442 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28443 if (!SWIG_IsOK(res2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28446 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28462 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28463 PyObject
*resultobj
= 0;
28464 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28468 PyObject
*swig_obj
[1] ;
28470 if (!args
) SWIG_fail
;
28471 swig_obj
[0] = args
;
28472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28473 if (!SWIG_IsOK(res1
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28476 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28492 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28493 PyObject
*resultobj
= 0;
28494 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28498 PyObject
*swig_obj
[1] ;
28500 if (!args
) SWIG_fail
;
28501 swig_obj
[0] = args
;
28502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28506 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28522 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28523 PyObject
*resultobj
= 0;
28524 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28528 PyObject
*swig_obj
[1] ;
28530 if (!args
) SWIG_fail
;
28531 swig_obj
[0] = args
;
28532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28533 if (!SWIG_IsOK(res1
)) {
28534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28536 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28552 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
= 0;
28554 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28555 wxTimeSpan
*arg2
= 0 ;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 char * kwnames
[] = {
28564 (char *) "self",(char *) "ts", NULL
28567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28569 if (!SWIG_IsOK(res1
)) {
28570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28572 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28574 if (!SWIG_IsOK(res2
)) {
28575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28580 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28596 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
= 0;
28598 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28599 wxTimeSpan
*arg2
= 0 ;
28605 PyObject
* obj0
= 0 ;
28606 PyObject
* obj1
= 0 ;
28607 char * kwnames
[] = {
28608 (char *) "self",(char *) "ts", NULL
28611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28613 if (!SWIG_IsOK(res1
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28616 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28618 if (!SWIG_IsOK(res2
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28624 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28640 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
= 0;
28642 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28643 wxTimeSpan
*arg2
= 0 ;
28649 PyObject
* obj0
= 0 ;
28650 PyObject
* obj1
= 0 ;
28651 char * kwnames
[] = {
28652 (char *) "self",(char *) "t", NULL
28655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28660 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28662 if (!SWIG_IsOK(res2
)) {
28663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28668 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28684 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28685 PyObject
*resultobj
= 0;
28686 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28690 PyObject
*swig_obj
[1] ;
28692 if (!args
) SWIG_fail
;
28693 swig_obj
[0] = args
;
28694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28695 if (!SWIG_IsOK(res1
)) {
28696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28698 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= SWIG_From_int(static_cast< int >(result
));
28712 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28713 PyObject
*resultobj
= 0;
28714 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28718 PyObject
*swig_obj
[1] ;
28720 if (!args
) SWIG_fail
;
28721 swig_obj
[0] = args
;
28722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28723 if (!SWIG_IsOK(res1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28726 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= SWIG_From_int(static_cast< int >(result
));
28740 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28741 PyObject
*resultobj
= 0;
28742 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28746 PyObject
*swig_obj
[1] ;
28748 if (!args
) SWIG_fail
;
28749 swig_obj
[0] = args
;
28750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28751 if (!SWIG_IsOK(res1
)) {
28752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28754 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= SWIG_From_int(static_cast< int >(result
));
28768 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28769 PyObject
*resultobj
= 0;
28770 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28774 PyObject
*swig_obj
[1] ;
28776 if (!args
) SWIG_fail
;
28777 swig_obj
[0] = args
;
28778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28779 if (!SWIG_IsOK(res1
)) {
28780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28782 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_From_int(static_cast< int >(result
));
28796 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28797 PyObject
*resultobj
= 0;
28798 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28802 PyObject
*swig_obj
[1] ;
28804 if (!args
) SWIG_fail
;
28805 swig_obj
[0] = args
;
28806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28807 if (!SWIG_IsOK(res1
)) {
28808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28810 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28818 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28819 hi
= PyLong_FromLong( (&result
)->GetHi() );
28820 lo
= PyLong_FromLong( (&result
)->GetLo() );
28821 shifter
= PyLong_FromLong(32);
28822 shifted
= PyNumber_Lshift(hi
, shifter
);
28823 resultobj
= PyNumber_Or(shifted
, lo
);
28826 Py_DECREF(shifter
);
28827 Py_DECREF(shifted
);
28835 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28836 PyObject
*resultobj
= 0;
28837 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28841 PyObject
*swig_obj
[1] ;
28843 if (!args
) SWIG_fail
;
28844 swig_obj
[0] = args
;
28845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28846 if (!SWIG_IsOK(res1
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28849 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28853 wxPyEndAllowThreads(__tstate
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28857 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28858 hi
= PyLong_FromLong( (&result
)->GetHi() );
28859 lo
= PyLong_FromLong( (&result
)->GetLo() );
28860 shifter
= PyLong_FromLong(32);
28861 shifted
= PyNumber_Lshift(hi
, shifter
);
28862 resultobj
= PyNumber_Or(shifted
, lo
);
28865 Py_DECREF(shifter
);
28866 Py_DECREF(shifted
);
28874 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
= 0;
28876 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28877 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28878 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28882 bool temp2
= false ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 char * kwnames
[] = {
28886 (char *) "self",(char *) "format", NULL
28889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28891 if (!SWIG_IsOK(res1
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28894 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28897 arg2
= wxString_in_helper(obj1
);
28898 if (arg2
== NULL
) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28929 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28932 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28933 return SWIG_Py_Void();
28936 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28937 return SWIG_Python_InitShadowInstance(args
);
28940 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
= 0;
28942 int arg1
= (int) 0 ;
28943 int arg2
= (int) 0 ;
28944 int arg3
= (int) 0 ;
28945 int arg4
= (int) 0 ;
28946 wxDateSpan
*result
= 0 ;
28955 PyObject
* obj0
= 0 ;
28956 PyObject
* obj1
= 0 ;
28957 PyObject
* obj2
= 0 ;
28958 PyObject
* obj3
= 0 ;
28959 char * kwnames
[] = {
28960 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28966 if (!SWIG_IsOK(ecode1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28969 arg1
= static_cast< int >(val1
);
28972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28973 if (!SWIG_IsOK(ecode2
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28976 arg2
= static_cast< int >(val2
);
28979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28980 if (!SWIG_IsOK(ecode3
)) {
28981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28983 arg3
= static_cast< int >(val3
);
28986 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28987 if (!SWIG_IsOK(ecode4
)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28990 arg4
= static_cast< int >(val4
);
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
29005 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29006 PyObject
*resultobj
= 0;
29007 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29010 PyObject
*swig_obj
[1] ;
29012 if (!args
) SWIG_fail
;
29013 swig_obj
[0] = args
;
29014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29015 if (!SWIG_IsOK(res1
)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29018 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_Py_Void();
29033 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
= 0;
29039 PyObject
* obj0
= 0 ;
29040 char * kwnames
[] = {
29041 (char *) "days", NULL
29044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29046 if (!SWIG_IsOK(ecode1
)) {
29047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29049 arg1
= static_cast< int >(val1
);
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 result
= wxDateSpan::Days(arg1
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29063 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29064 PyObject
*resultobj
= 0;
29067 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= wxDateSpan::Day();
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29074 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29081 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29082 PyObject
*resultobj
= 0;
29087 PyObject
* obj0
= 0 ;
29088 char * kwnames
[] = {
29089 (char *) "weeks", NULL
29092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29094 if (!SWIG_IsOK(ecode1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29097 arg1
= static_cast< int >(val1
);
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 result
= wxDateSpan::Weeks(arg1
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29111 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29112 PyObject
*resultobj
= 0;
29115 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= wxDateSpan::Week();
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29129 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
= 0;
29135 PyObject
* obj0
= 0 ;
29136 char * kwnames
[] = {
29137 (char *) "mon", NULL
29140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29141 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29142 if (!SWIG_IsOK(ecode1
)) {
29143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29145 arg1
= static_cast< int >(val1
);
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 result
= wxDateSpan::Months(arg1
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29159 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29160 PyObject
*resultobj
= 0;
29163 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 result
= wxDateSpan::Month();
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29177 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
= 0;
29183 PyObject
* obj0
= 0 ;
29184 char * kwnames
[] = {
29185 (char *) "years", NULL
29188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29190 if (!SWIG_IsOK(ecode1
)) {
29191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29193 arg1
= static_cast< int >(val1
);
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= wxDateSpan::Years(arg1
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29207 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29208 PyObject
*resultobj
= 0;
29211 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 result
= wxDateSpan::Year();
29215 wxPyEndAllowThreads(__tstate
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29225 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29226 PyObject
*resultobj
= 0;
29227 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29229 wxDateSpan
*result
= 0 ;
29234 PyObject
* obj0
= 0 ;
29235 PyObject
* obj1
= 0 ;
29236 char * kwnames
[] = {
29237 (char *) "self",(char *) "n", NULL
29240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29242 if (!SWIG_IsOK(res1
)) {
29243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29245 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29247 if (!SWIG_IsOK(ecode2
)) {
29248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29250 arg2
= static_cast< int >(val2
);
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29255 result
= (wxDateSpan
*) &_result_ref
;
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29267 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
= 0;
29269 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29271 wxDateSpan
*result
= 0 ;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 char * kwnames
[] = {
29279 (char *) "self",(char *) "n", NULL
29282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29284 if (!SWIG_IsOK(res1
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29287 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29289 if (!SWIG_IsOK(ecode2
)) {
29290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29292 arg2
= static_cast< int >(val2
);
29294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29297 result
= (wxDateSpan
*) &_result_ref
;
29299 wxPyEndAllowThreads(__tstate
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29309 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
= 0;
29311 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29313 wxDateSpan
*result
= 0 ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 char * kwnames
[] = {
29321 (char *) "self",(char *) "n", NULL
29324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29326 if (!SWIG_IsOK(res1
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29329 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29331 if (!SWIG_IsOK(ecode2
)) {
29332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29334 arg2
= static_cast< int >(val2
);
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29339 result
= (wxDateSpan
*) &_result_ref
;
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29351 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29355 wxDateSpan
*result
= 0 ;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "self",(char *) "n", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29368 if (!SWIG_IsOK(res1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29371 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29373 if (!SWIG_IsOK(ecode2
)) {
29374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29376 arg2
= static_cast< int >(val2
);
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29381 result
= (wxDateSpan
*) &_result_ref
;
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29393 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29394 PyObject
*resultobj
= 0;
29395 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29399 PyObject
*swig_obj
[1] ;
29401 if (!args
) SWIG_fail
;
29402 swig_obj
[0] = args
;
29403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29404 if (!SWIG_IsOK(res1
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29407 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29414 resultobj
= SWIG_From_int(static_cast< int >(result
));
29421 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29422 PyObject
*resultobj
= 0;
29423 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29427 PyObject
*swig_obj
[1] ;
29429 if (!args
) SWIG_fail
;
29430 swig_obj
[0] = args
;
29431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29432 if (!SWIG_IsOK(res1
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29435 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= SWIG_From_int(static_cast< int >(result
));
29449 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29450 PyObject
*resultobj
= 0;
29451 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29455 PyObject
*swig_obj
[1] ;
29457 if (!args
) SWIG_fail
;
29458 swig_obj
[0] = args
;
29459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29460 if (!SWIG_IsOK(res1
)) {
29461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29463 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= SWIG_From_int(static_cast< int >(result
));
29477 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29478 PyObject
*resultobj
= 0;
29479 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29483 PyObject
*swig_obj
[1] ;
29485 if (!args
) SWIG_fail
;
29486 swig_obj
[0] = args
;
29487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29488 if (!SWIG_IsOK(res1
)) {
29489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29491 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= SWIG_From_int(static_cast< int >(result
));
29505 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29506 PyObject
*resultobj
= 0;
29507 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29511 PyObject
*swig_obj
[1] ;
29513 if (!args
) SWIG_fail
;
29514 swig_obj
[0] = args
;
29515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29516 if (!SWIG_IsOK(res1
)) {
29517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29519 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29526 resultobj
= SWIG_From_int(static_cast< int >(result
));
29533 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29534 PyObject
*resultobj
= 0;
29535 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29536 wxDateSpan
*arg2
= 0 ;
29537 wxDateSpan
*result
= 0 ;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 char * kwnames
[] = {
29545 (char *) "self",(char *) "other", NULL
29548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29550 if (!SWIG_IsOK(res1
)) {
29551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29553 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29555 if (!SWIG_IsOK(res2
)) {
29556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29561 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29566 result
= (wxDateSpan
*) &_result_ref
;
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29578 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29579 PyObject
*resultobj
= 0;
29580 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29581 wxDateSpan
*arg2
= 0 ;
29582 wxDateSpan
*result
= 0 ;
29587 PyObject
* obj0
= 0 ;
29588 PyObject
* obj1
= 0 ;
29589 char * kwnames
[] = {
29590 (char *) "self",(char *) "other", NULL
29593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29595 if (!SWIG_IsOK(res1
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29598 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29600 if (!SWIG_IsOK(res2
)) {
29601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29606 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29611 result
= (wxDateSpan
*) &_result_ref
;
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29623 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29624 PyObject
*resultobj
= 0;
29625 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29626 wxDateSpan
*result
= 0 ;
29629 PyObject
*swig_obj
[1] ;
29631 if (!args
) SWIG_fail
;
29632 swig_obj
[0] = args
;
29633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29634 if (!SWIG_IsOK(res1
)) {
29635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29637 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29641 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29642 result
= (wxDateSpan
*) &_result_ref
;
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29654 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
= 0;
29656 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29658 wxDateSpan
*result
= 0 ;
29663 PyObject
* obj0
= 0 ;
29664 PyObject
* obj1
= 0 ;
29665 char * kwnames
[] = {
29666 (char *) "self",(char *) "factor", NULL
29669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29674 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29676 if (!SWIG_IsOK(ecode2
)) {
29677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29679 arg2
= static_cast< int >(val2
);
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29684 result
= (wxDateSpan
*) &_result_ref
;
29686 wxPyEndAllowThreads(__tstate
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29696 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
= 0;
29698 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29699 wxDateSpan
*arg2
= 0 ;
29700 wxDateSpan
*result
= 0 ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 char * kwnames
[] = {
29708 (char *) "self",(char *) "other", NULL
29711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29713 if (!SWIG_IsOK(res1
)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29716 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29718 if (!SWIG_IsOK(res2
)) {
29719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29724 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29729 result
= (wxDateSpan
*) &_result_ref
;
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29741 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
= 0;
29743 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29744 wxDateSpan
*arg2
= 0 ;
29745 wxDateSpan
*result
= 0 ;
29750 PyObject
* obj0
= 0 ;
29751 PyObject
* obj1
= 0 ;
29752 char * kwnames
[] = {
29753 (char *) "self",(char *) "other", NULL
29756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29758 if (!SWIG_IsOK(res1
)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29761 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29763 if (!SWIG_IsOK(res2
)) {
29764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29769 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29774 result
= (wxDateSpan
*) &_result_ref
;
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29786 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29787 PyObject
*resultobj
= 0;
29788 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29789 wxDateSpan
*result
= 0 ;
29792 PyObject
*swig_obj
[1] ;
29794 if (!args
) SWIG_fail
;
29795 swig_obj
[0] = args
;
29796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29797 if (!SWIG_IsOK(res1
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29800 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29805 result
= (wxDateSpan
*) &_result_ref
;
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29817 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
= 0;
29819 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29821 wxDateSpan
*result
= 0 ;
29826 PyObject
* obj0
= 0 ;
29827 PyObject
* obj1
= 0 ;
29828 char * kwnames
[] = {
29829 (char *) "self",(char *) "factor", NULL
29832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29834 if (!SWIG_IsOK(res1
)) {
29835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29837 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29839 if (!SWIG_IsOK(ecode2
)) {
29840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29842 arg2
= static_cast< int >(val2
);
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29847 result
= (wxDateSpan
*) &_result_ref
;
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29859 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
= 0;
29861 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29862 wxDateSpan
*arg2
= 0 ;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 char * kwnames
[] = {
29871 (char *) "self",(char *) "other", NULL
29874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29876 if (!SWIG_IsOK(res1
)) {
29877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29879 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29881 if (!SWIG_IsOK(res2
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29887 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29890 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29891 wxPyEndAllowThreads(__tstate
);
29892 if (PyErr_Occurred()) SWIG_fail
;
29894 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29901 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29902 PyObject
*resultobj
= 0;
29903 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29904 wxDateSpan
*arg2
= 0 ;
29910 PyObject
* obj0
= 0 ;
29911 PyObject
* obj1
= 0 ;
29912 char * kwnames
[] = {
29913 (char *) "self",(char *) "other", NULL
29916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29918 if (!SWIG_IsOK(res1
)) {
29919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29921 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29923 if (!SWIG_IsOK(res2
)) {
29924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29929 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29943 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
= 0;
29945 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29952 PyObject
* obj0
= 0 ;
29953 PyObject
* obj1
= 0 ;
29954 char * kwnames
[] = {
29955 (char *) "self",(char *) "n", NULL
29958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29960 if (!SWIG_IsOK(res1
)) {
29961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29963 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29965 if (!SWIG_IsOK(ecode2
)) {
29966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29968 arg2
= static_cast< int >(val2
);
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= wxDateSpan___mul__(arg1
,arg2
);
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29982 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
= 0;
29984 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29991 PyObject
* obj0
= 0 ;
29992 PyObject
* obj1
= 0 ;
29993 char * kwnames
[] = {
29994 (char *) "self",(char *) "n", NULL
29997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29999 if (!SWIG_IsOK(res1
)) {
30000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30002 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30004 if (!SWIG_IsOK(ecode2
)) {
30005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
30007 arg2
= static_cast< int >(val2
);
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= wxDateSpan___rmul__(arg1
,arg2
);
30011 wxPyEndAllowThreads(__tstate
);
30012 if (PyErr_Occurred()) SWIG_fail
;
30014 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30021 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30022 PyObject
*resultobj
= 0;
30023 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30024 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 char * kwnames
[] = {
30033 (char *) "self",(char *) "other", NULL
30036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30038 if (!SWIG_IsOK(res1
)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30041 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30042 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30043 if (!SWIG_IsOK(res2
)) {
30044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30046 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30062 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
= 0;
30064 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30065 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30071 PyObject
* obj0
= 0 ;
30072 PyObject
* obj1
= 0 ;
30073 char * kwnames
[] = {
30074 (char *) "self",(char *) "other", NULL
30077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30082 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30084 if (!SWIG_IsOK(res2
)) {
30085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30087 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30103 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30106 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30107 return SWIG_Py_Void();
30110 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30111 return SWIG_Python_InitShadowInstance(args
);
30114 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30115 PyObject
*resultobj
= 0;
30118 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 result
= (long)wxGetLocalTime();
30122 wxPyEndAllowThreads(__tstate
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30125 resultobj
= SWIG_From_long(static_cast< long >(result
));
30132 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30133 PyObject
*resultobj
= 0;
30136 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 result
= (long)wxGetUTCTime();
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 resultobj
= SWIG_From_long(static_cast< long >(result
));
30150 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30151 PyObject
*resultobj
= 0;
30154 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 result
= (long)wxGetCurrentTime();
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= SWIG_From_long(static_cast< long >(result
));
30168 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30169 PyObject
*resultobj
= 0;
30172 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30175 result
= wxGetLocalTimeMillis();
30176 wxPyEndAllowThreads(__tstate
);
30177 if (PyErr_Occurred()) SWIG_fail
;
30180 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30181 hi
= PyLong_FromLong( (&result
)->GetHi() );
30182 lo
= PyLong_FromLong( (&result
)->GetLo() );
30183 shifter
= PyLong_FromLong(32);
30184 shifted
= PyNumber_Lshift(hi
, shifter
);
30185 resultobj
= PyNumber_Or(shifted
, lo
);
30188 Py_DECREF(shifter
);
30189 Py_DECREF(shifted
);
30197 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30198 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30203 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30204 PyObject
*pyobj
= 0;
30206 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30211 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
= 0;
30213 wxDataFormatId arg1
;
30214 wxDataFormat
*result
= 0 ;
30217 PyObject
* obj0
= 0 ;
30218 char * kwnames
[] = {
30219 (char *) "type", NULL
30222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30224 if (!SWIG_IsOK(ecode1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30227 arg1
= static_cast< wxDataFormatId
>(val1
);
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30241 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
= 0;
30243 wxString
*arg1
= 0 ;
30244 wxDataFormat
*result
= 0 ;
30245 bool temp1
= false ;
30246 PyObject
* obj0
= 0 ;
30247 char * kwnames
[] = {
30248 (char *) "format", NULL
30251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30253 arg1
= wxString_in_helper(obj0
);
30254 if (arg1
== NULL
) SWIG_fail
;
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30278 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30279 PyObject
*resultobj
= 0;
30280 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30283 PyObject
*swig_obj
[1] ;
30285 if (!args
) SWIG_fail
;
30286 swig_obj
[0] = args
;
30287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30288 if (!SWIG_IsOK(res1
)) {
30289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30291 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= SWIG_Py_Void();
30306 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30307 PyObject
*resultobj
= 0;
30308 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30309 wxDataFormatId arg2
;
30316 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30318 if (!SWIG_IsOK(res1
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30321 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30322 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30323 if (!SWIG_IsOK(ecode2
)) {
30324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30326 arg2
= static_cast< wxDataFormatId
>(val2
);
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30342 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30343 PyObject
*resultobj
= 0;
30344 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30345 wxDataFormatId arg2
;
30352 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30357 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30358 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30359 if (!SWIG_IsOK(ecode2
)) {
30360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30362 arg2
= static_cast< wxDataFormatId
>(val2
);
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30378 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30379 PyObject
*resultobj
= 0;
30380 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30381 wxDataFormat
*arg2
= 0 ;
30388 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30393 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30394 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30395 if (!SWIG_IsOK(res2
)) {
30396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30401 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30417 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30421 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30426 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30427 _v
= SWIG_CheckState(res
);
30429 if (!_v
) goto check_1
;
30430 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30435 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30439 Py_INCREF(Py_NotImplemented
);
30440 return Py_NotImplemented
;
30444 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30445 PyObject
*resultobj
= 0;
30446 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30447 wxDataFormat
*arg2
= 0 ;
30454 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30456 if (!SWIG_IsOK(res1
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30459 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30460 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30461 if (!SWIG_IsOK(res2
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30467 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30471 wxPyEndAllowThreads(__tstate
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30483 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30487 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30492 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30493 _v
= SWIG_CheckState(res
);
30495 if (!_v
) goto check_1
;
30496 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30501 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30505 Py_INCREF(Py_NotImplemented
);
30506 return Py_NotImplemented
;
30510 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
= 0;
30512 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30513 wxDataFormatId arg2
;
30518 PyObject
* obj0
= 0 ;
30519 PyObject
* obj1
= 0 ;
30520 char * kwnames
[] = {
30521 (char *) "self",(char *) "format", NULL
30524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30529 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30531 if (!SWIG_IsOK(ecode2
)) {
30532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30534 arg2
= static_cast< wxDataFormatId
>(val2
);
30536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 (arg1
)->SetType(arg2
);
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= SWIG_Py_Void();
30548 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30549 PyObject
*resultobj
= 0;
30550 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30551 wxDataFormatId result
;
30554 PyObject
*swig_obj
[1] ;
30556 if (!args
) SWIG_fail
;
30557 swig_obj
[0] = args
;
30558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30562 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= SWIG_From_int(static_cast< int >(result
));
30576 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30577 PyObject
*resultobj
= 0;
30578 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30582 PyObject
*swig_obj
[1] ;
30584 if (!args
) SWIG_fail
;
30585 swig_obj
[0] = args
;
30586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30587 if (!SWIG_IsOK(res1
)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30590 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= ((wxDataFormat
const *)arg1
)->GetId();
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30610 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
= 0;
30612 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30613 wxString
*arg2
= 0 ;
30616 bool temp2
= false ;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 char * kwnames
[] = {
30620 (char *) "self",(char *) "format", NULL
30623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30625 if (!SWIG_IsOK(res1
)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30628 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30630 arg2
= wxString_in_helper(obj1
);
30631 if (arg2
== NULL
) SWIG_fail
;
30635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30636 (arg1
)->SetId((wxString
const &)*arg2
);
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= SWIG_Py_Void();
30655 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30658 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30659 return SWIG_Py_Void();
30662 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30663 return SWIG_Python_InitShadowInstance(args
);
30666 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30667 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30672 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30673 PyObject
*pyobj
= 0;
30675 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30680 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30681 PyObject
*resultobj
= 0;
30682 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30685 PyObject
*swig_obj
[1] ;
30687 if (!args
) SWIG_fail
;
30688 swig_obj
[0] = args
;
30689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30690 if (!SWIG_IsOK(res1
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30693 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= SWIG_Py_Void();
30708 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
= 0;
30710 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30711 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30712 SwigValueWrapper
<wxDataFormat
> result
;
30717 PyObject
* obj0
= 0 ;
30718 PyObject
* obj1
= 0 ;
30719 char * kwnames
[] = {
30720 (char *) "self",(char *) "dir", NULL
30723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30725 if (!SWIG_IsOK(res1
)) {
30726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30728 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30731 if (!SWIG_IsOK(ecode2
)) {
30732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30734 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30749 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
= 0;
30751 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30752 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30758 PyObject
* obj0
= 0 ;
30759 PyObject
* obj1
= 0 ;
30760 char * kwnames
[] = {
30761 (char *) "self",(char *) "dir", NULL
30764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30766 if (!SWIG_IsOK(res1
)) {
30767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30769 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30772 if (!SWIG_IsOK(ecode2
)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30775 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30790 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
= 0;
30792 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30793 wxDataFormat
*arg2
= 0 ;
30794 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30802 PyObject
* obj0
= 0 ;
30803 PyObject
* obj1
= 0 ;
30804 PyObject
* obj2
= 0 ;
30805 char * kwnames
[] = {
30806 (char *) "self",(char *) "format",(char *) "dir", NULL
30809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30811 if (!SWIG_IsOK(res1
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30814 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30816 if (!SWIG_IsOK(res2
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30822 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30825 if (!SWIG_IsOK(ecode3
)) {
30826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30828 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30845 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
= 0;
30847 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30848 wxDataFormat
*arg2
= 0 ;
30854 PyObject
* obj0
= 0 ;
30855 PyObject
* obj1
= 0 ;
30856 char * kwnames
[] = {
30857 (char *) "self",(char *) "format", NULL
30860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30862 if (!SWIG_IsOK(res1
)) {
30863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30865 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30867 if (!SWIG_IsOK(res2
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30873 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30880 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30887 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
= 0;
30889 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30890 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30891 PyObject
*result
= 0 ;
30896 PyObject
* obj0
= 0 ;
30897 PyObject
* obj1
= 0 ;
30898 char * kwnames
[] = {
30899 (char *) "self",(char *) "dir", NULL
30902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30904 if (!SWIG_IsOK(res1
)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30907 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30910 if (!SWIG_IsOK(ecode2
)) {
30911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30913 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= result
;
30928 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
= 0;
30930 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30931 wxDataFormat
*arg2
= 0 ;
30932 PyObject
*result
= 0 ;
30937 PyObject
* obj0
= 0 ;
30938 PyObject
* obj1
= 0 ;
30939 char * kwnames
[] = {
30940 (char *) "self",(char *) "format", NULL
30943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30945 if (!SWIG_IsOK(res1
)) {
30946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30948 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30950 if (!SWIG_IsOK(res2
)) {
30951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30956 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= result
;
30970 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30971 PyObject
*resultobj
= 0;
30972 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30973 wxDataFormat
*arg2
= 0 ;
30974 PyObject
*arg3
= (PyObject
*) 0 ;
30980 PyObject
* obj0
= 0 ;
30981 PyObject
* obj1
= 0 ;
30982 PyObject
* obj2
= 0 ;
30983 char * kwnames
[] = {
30984 (char *) "self",(char *) "format",(char *) "data", NULL
30987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30989 if (!SWIG_IsOK(res1
)) {
30990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30992 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30994 if (!SWIG_IsOK(res2
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31000 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31017 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31020 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31021 return SWIG_Py_Void();
31024 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
= 0;
31026 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31027 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31028 wxDataObjectSimple
*result
= 0 ;
31031 PyObject
* obj0
= 0 ;
31032 char * kwnames
[] = {
31033 (char *) "format", NULL
31036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31038 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31039 if (!SWIG_IsOK(res1
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31045 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31060 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31061 PyObject
*resultobj
= 0;
31062 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31063 wxDataFormat
*result
= 0 ;
31066 PyObject
*swig_obj
[1] ;
31068 if (!args
) SWIG_fail
;
31069 swig_obj
[0] = args
;
31070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31071 if (!SWIG_IsOK(res1
)) {
31072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31074 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31079 result
= (wxDataFormat
*) &_result_ref
;
31081 wxPyEndAllowThreads(__tstate
);
31082 if (PyErr_Occurred()) SWIG_fail
;
31084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31091 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31092 PyObject
*resultobj
= 0;
31093 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31094 wxDataFormat
*arg2
= 0 ;
31099 PyObject
* obj0
= 0 ;
31100 PyObject
* obj1
= 0 ;
31101 char * kwnames
[] = {
31102 (char *) "self",(char *) "format", NULL
31105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31107 if (!SWIG_IsOK(res1
)) {
31108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31110 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31112 if (!SWIG_IsOK(res2
)) {
31113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31118 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31121 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31122 wxPyEndAllowThreads(__tstate
);
31123 if (PyErr_Occurred()) SWIG_fail
;
31125 resultobj
= SWIG_Py_Void();
31132 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31133 PyObject
*resultobj
= 0;
31134 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31138 PyObject
*swig_obj
[1] ;
31140 if (!args
) SWIG_fail
;
31141 swig_obj
[0] = args
;
31142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31143 if (!SWIG_IsOK(res1
)) {
31144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31146 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31160 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31161 PyObject
*resultobj
= 0;
31162 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31163 PyObject
*result
= 0 ;
31166 PyObject
*swig_obj
[1] ;
31168 if (!args
) SWIG_fail
;
31169 swig_obj
[0] = args
;
31170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31171 if (!SWIG_IsOK(res1
)) {
31172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31174 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31177 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31178 wxPyEndAllowThreads(__tstate
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 resultobj
= result
;
31188 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31189 PyObject
*resultobj
= 0;
31190 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31191 PyObject
*arg2
= (PyObject
*) 0 ;
31195 PyObject
* obj0
= 0 ;
31196 PyObject
* obj1
= 0 ;
31197 char * kwnames
[] = {
31198 (char *) "self",(char *) "data", NULL
31201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31203 if (!SWIG_IsOK(res1
)) {
31204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31206 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31210 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31211 wxPyEndAllowThreads(__tstate
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31223 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31226 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31227 return SWIG_Py_Void();
31230 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31231 return SWIG_Python_InitShadowInstance(args
);
31234 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
= 0;
31236 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31237 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31238 wxPyDataObjectSimple
*result
= 0 ;
31241 PyObject
* obj0
= 0 ;
31242 char * kwnames
[] = {
31243 (char *) "format", NULL
31246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31248 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31249 if (!SWIG_IsOK(res1
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31255 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31270 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
= 0;
31272 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31273 PyObject
*arg2
= (PyObject
*) 0 ;
31274 PyObject
*arg3
= (PyObject
*) 0 ;
31277 PyObject
* obj0
= 0 ;
31278 PyObject
* obj1
= 0 ;
31279 PyObject
* obj2
= 0 ;
31280 char * kwnames
[] = {
31281 (char *) "self",(char *) "self",(char *) "_class", NULL
31284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31286 if (!SWIG_IsOK(res1
)) {
31287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31289 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= SWIG_Py_Void();
31305 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31309 return SWIG_Py_Void();
31312 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31313 return SWIG_Python_InitShadowInstance(args
);
31316 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31317 PyObject
*resultobj
= 0;
31318 wxDataObjectComposite
*result
= 0 ;
31320 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31334 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31335 PyObject
*resultobj
= 0;
31336 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31337 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31338 bool arg3
= (bool) false ;
31344 PyObject
* obj0
= 0 ;
31345 PyObject
* obj1
= 0 ;
31346 PyObject
* obj2
= 0 ;
31347 char * kwnames
[] = {
31348 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31353 if (!SWIG_IsOK(res1
)) {
31354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31356 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31357 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31358 if (!SWIG_IsOK(res2
)) {
31359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31362 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31363 if (!SWIG_IsOK(ecode3
)) {
31364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31366 arg3
= static_cast< bool >(val3
);
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 (arg1
)->Add(arg2
,arg3
);
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= SWIG_Py_Void();
31381 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31382 PyObject
*resultobj
= 0;
31383 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31384 SwigValueWrapper
<wxDataFormat
> result
;
31387 PyObject
*swig_obj
[1] ;
31389 if (!args
) SWIG_fail
;
31390 swig_obj
[0] = args
;
31391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31392 if (!SWIG_IsOK(res1
)) {
31393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31395 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31409 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31412 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31413 return SWIG_Py_Void();
31416 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31417 return SWIG_Python_InitShadowInstance(args
);
31420 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31423 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31424 wxTextDataObject
*result
= 0 ;
31425 bool temp1
= false ;
31426 PyObject
* obj0
= 0 ;
31427 char * kwnames
[] = {
31428 (char *) "text", NULL
31431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31434 arg1
= wxString_in_helper(obj0
);
31435 if (arg1
== NULL
) SWIG_fail
;
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31460 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31461 PyObject
*resultobj
= 0;
31462 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31466 PyObject
*swig_obj
[1] ;
31468 if (!args
) SWIG_fail
;
31469 swig_obj
[0] = args
;
31470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31471 if (!SWIG_IsOK(res1
)) {
31472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31474 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= (size_t)(arg1
)->GetTextLength();
31478 wxPyEndAllowThreads(__tstate
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31488 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31489 PyObject
*resultobj
= 0;
31490 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31494 PyObject
*swig_obj
[1] ;
31496 if (!args
) SWIG_fail
;
31497 swig_obj
[0] = args
;
31498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31499 if (!SWIG_IsOK(res1
)) {
31500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31502 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 result
= (arg1
)->GetText();
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31522 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= 0;
31524 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31525 wxString
*arg2
= 0 ;
31528 bool temp2
= false ;
31529 PyObject
* obj0
= 0 ;
31530 PyObject
* obj1
= 0 ;
31531 char * kwnames
[] = {
31532 (char *) "self",(char *) "text", NULL
31535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31537 if (!SWIG_IsOK(res1
)) {
31538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31540 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31542 arg2
= wxString_in_helper(obj1
);
31543 if (arg2
== NULL
) SWIG_fail
;
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 (arg1
)->SetText((wxString
const &)*arg2
);
31549 wxPyEndAllowThreads(__tstate
);
31550 if (PyErr_Occurred()) SWIG_fail
;
31552 resultobj
= SWIG_Py_Void();
31567 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31570 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31571 return SWIG_Py_Void();
31574 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31575 return SWIG_Python_InitShadowInstance(args
);
31578 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31579 PyObject
*resultobj
= 0;
31580 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31581 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31582 wxPyTextDataObject
*result
= 0 ;
31583 bool temp1
= false ;
31584 PyObject
* obj0
= 0 ;
31585 char * kwnames
[] = {
31586 (char *) "text", NULL
31589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31592 arg1
= wxString_in_helper(obj0
);
31593 if (arg1
== NULL
) SWIG_fail
;
31598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31618 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31619 PyObject
*resultobj
= 0;
31620 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31621 PyObject
*arg2
= (PyObject
*) 0 ;
31622 PyObject
*arg3
= (PyObject
*) 0 ;
31625 PyObject
* obj0
= 0 ;
31626 PyObject
* obj1
= 0 ;
31627 PyObject
* obj2
= 0 ;
31628 char * kwnames
[] = {
31629 (char *) "self",(char *) "self",(char *) "_class", NULL
31632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31634 if (!SWIG_IsOK(res1
)) {
31635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31637 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31643 wxPyEndAllowThreads(__tstate
);
31644 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= SWIG_Py_Void();
31653 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31656 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31657 return SWIG_Py_Void();
31660 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31661 return SWIG_Python_InitShadowInstance(args
);
31664 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31665 PyObject
*resultobj
= 0;
31666 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31667 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31668 wxBitmapDataObject
*result
= 0 ;
31671 PyObject
* obj0
= 0 ;
31672 char * kwnames
[] = {
31673 (char *) "bitmap", NULL
31676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31678 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31679 if (!SWIG_IsOK(res1
)) {
31680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31685 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31689 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31690 wxPyEndAllowThreads(__tstate
);
31691 if (PyErr_Occurred()) SWIG_fail
;
31693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31700 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31701 PyObject
*resultobj
= 0;
31702 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31706 PyObject
*swig_obj
[1] ;
31708 if (!args
) SWIG_fail
;
31709 swig_obj
[0] = args
;
31710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31711 if (!SWIG_IsOK(res1
)) {
31712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31714 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31717 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31721 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31728 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31729 PyObject
*resultobj
= 0;
31730 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31731 wxBitmap
*arg2
= 0 ;
31736 PyObject
* obj0
= 0 ;
31737 PyObject
* obj1
= 0 ;
31738 char * kwnames
[] = {
31739 (char *) "self",(char *) "bitmap", NULL
31742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31744 if (!SWIG_IsOK(res1
)) {
31745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31747 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31749 if (!SWIG_IsOK(res2
)) {
31750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31755 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_Py_Void();
31769 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31772 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31773 return SWIG_Py_Void();
31776 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31777 return SWIG_Python_InitShadowInstance(args
);
31780 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
= 0;
31782 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31783 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31784 wxPyBitmapDataObject
*result
= 0 ;
31787 PyObject
* obj0
= 0 ;
31788 char * kwnames
[] = {
31789 (char *) "bitmap", NULL
31792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31794 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31795 if (!SWIG_IsOK(res1
)) {
31796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31801 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31816 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
= 0;
31818 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31819 PyObject
*arg2
= (PyObject
*) 0 ;
31820 PyObject
*arg3
= (PyObject
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 PyObject
* obj1
= 0 ;
31825 PyObject
* obj2
= 0 ;
31826 char * kwnames
[] = {
31827 (char *) "self",(char *) "self",(char *) "_class", NULL
31830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31832 if (!SWIG_IsOK(res1
)) {
31833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31835 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_Py_Void();
31851 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31854 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31855 return SWIG_Py_Void();
31858 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31859 return SWIG_Python_InitShadowInstance(args
);
31862 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31863 PyObject
*resultobj
= 0;
31864 wxFileDataObject
*result
= 0 ;
31866 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31869 result
= (wxFileDataObject
*)new wxFileDataObject();
31870 wxPyEndAllowThreads(__tstate
);
31871 if (PyErr_Occurred()) SWIG_fail
;
31873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31880 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31881 PyObject
*resultobj
= 0;
31882 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31883 wxArrayString
*result
= 0 ;
31886 PyObject
*swig_obj
[1] ;
31888 if (!args
) SWIG_fail
;
31889 swig_obj
[0] = args
;
31890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31891 if (!SWIG_IsOK(res1
)) {
31892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31894 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31898 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31899 result
= (wxArrayString
*) &_result_ref
;
31901 wxPyEndAllowThreads(__tstate
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31905 resultobj
= wxArrayString2PyList_helper(*result
);
31913 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
= 0;
31915 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31916 wxString
*arg2
= 0 ;
31919 bool temp2
= false ;
31920 PyObject
* obj0
= 0 ;
31921 PyObject
* obj1
= 0 ;
31922 char * kwnames
[] = {
31923 (char *) "self",(char *) "filename", NULL
31926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31928 if (!SWIG_IsOK(res1
)) {
31929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31931 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31933 arg2
= wxString_in_helper(obj1
);
31934 if (arg2
== NULL
) SWIG_fail
;
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 (arg1
)->AddFile((wxString
const &)*arg2
);
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31943 resultobj
= SWIG_Py_Void();
31958 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31961 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31962 return SWIG_Py_Void();
31965 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31966 return SWIG_Python_InitShadowInstance(args
);
31969 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31970 PyObject
*resultobj
= 0;
31971 wxDataFormat
*arg1
= 0 ;
31972 wxCustomDataObject
*result
= 0 ;
31976 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31978 if (!SWIG_IsOK(res1
)) {
31979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31984 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31998 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31999 PyObject
*resultobj
= 0;
32000 wxString
*arg1
= 0 ;
32001 wxCustomDataObject
*result
= 0 ;
32002 bool temp1
= false ;
32004 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32006 arg1
= wxString_in_helper(swig_obj
[0]);
32007 if (arg1
== NULL
) SWIG_fail
;
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
32013 wxPyEndAllowThreads(__tstate
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32031 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32032 PyObject
*resultobj
= 0;
32033 wxCustomDataObject
*result
= 0 ;
32035 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32038 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32039 wxPyEndAllowThreads(__tstate
);
32040 if (PyErr_Occurred()) SWIG_fail
;
32042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32049 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32053 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32056 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32062 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32065 if (!_v
) goto check_2
;
32066 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32071 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32075 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32080 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32081 PyObject
*resultobj
= 0;
32082 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32083 PyObject
*arg2
= (PyObject
*) 0 ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 char * kwnames
[] = {
32090 (char *) "self",(char *) "data", NULL
32093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32095 if (!SWIG_IsOK(res1
)) {
32096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32098 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32102 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32103 wxPyEndAllowThreads(__tstate
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32115 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32116 PyObject
*resultobj
= 0;
32117 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32121 PyObject
*swig_obj
[1] ;
32123 if (!args
) SWIG_fail
;
32124 swig_obj
[0] = args
;
32125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32126 if (!SWIG_IsOK(res1
)) {
32127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32129 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 result
= (size_t)(arg1
)->GetSize();
32133 wxPyEndAllowThreads(__tstate
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32136 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32143 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32144 PyObject
*resultobj
= 0;
32145 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32146 PyObject
*result
= 0 ;
32149 PyObject
*swig_obj
[1] ;
32151 if (!args
) SWIG_fail
;
32152 swig_obj
[0] = args
;
32153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32154 if (!SWIG_IsOK(res1
)) {
32155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32157 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= result
;
32171 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32174 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32175 return SWIG_Py_Void();
32178 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32179 return SWIG_Python_InitShadowInstance(args
);
32182 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32183 PyObject
*resultobj
= 0;
32184 wxURLDataObject
*result
= 0 ;
32186 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 result
= (wxURLDataObject
*)new wxURLDataObject();
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32200 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32201 PyObject
*resultobj
= 0;
32202 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32206 PyObject
*swig_obj
[1] ;
32208 if (!args
) SWIG_fail
;
32209 swig_obj
[0] = args
;
32210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32211 if (!SWIG_IsOK(res1
)) {
32212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32214 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32217 result
= (arg1
)->GetURL();
32218 wxPyEndAllowThreads(__tstate
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32234 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32235 PyObject
*resultobj
= 0;
32236 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32237 wxString
*arg2
= 0 ;
32240 bool temp2
= false ;
32241 PyObject
* obj0
= 0 ;
32242 PyObject
* obj1
= 0 ;
32243 char * kwnames
[] = {
32244 (char *) "self",(char *) "url", NULL
32247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32249 if (!SWIG_IsOK(res1
)) {
32250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32252 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32254 arg2
= wxString_in_helper(obj1
);
32255 if (arg2
== NULL
) SWIG_fail
;
32259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32260 (arg1
)->SetURL((wxString
const &)*arg2
);
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32264 resultobj
= SWIG_Py_Void();
32279 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32282 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32283 return SWIG_Py_Void();
32286 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32287 return SWIG_Python_InitShadowInstance(args
);
32290 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32291 PyObject
*resultobj
= 0;
32292 wxMetafileDataObject
*result
= 0 ;
32294 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32297 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32298 wxPyEndAllowThreads(__tstate
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32308 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
= 0;
32310 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32311 wxMetafile
*arg2
= 0 ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 char * kwnames
[] = {
32319 (char *) "self",(char *) "metafile", NULL
32322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32324 if (!SWIG_IsOK(res1
)) {
32325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32327 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32329 if (!SWIG_IsOK(res2
)) {
32330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32335 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_Py_Void();
32349 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32350 PyObject
*resultobj
= 0;
32351 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32355 PyObject
*swig_obj
[1] ;
32357 if (!args
) SWIG_fail
;
32358 swig_obj
[0] = args
;
32359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32360 if (!SWIG_IsOK(res1
)) {
32361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32363 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32377 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32380 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32381 return SWIG_Py_Void();
32384 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32385 return SWIG_Python_InitShadowInstance(args
);
32388 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32389 PyObject
*resultobj
= 0;
32390 wxDragResult arg1
;
32394 PyObject
* obj0
= 0 ;
32395 char * kwnames
[] = {
32396 (char *) "res", NULL
32399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32401 if (!SWIG_IsOK(ecode1
)) {
32402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32404 arg1
= static_cast< wxDragResult
>(val1
);
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 result
= (bool)wxIsDragResultOk(arg1
);
32408 wxPyEndAllowThreads(__tstate
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32420 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
= 0;
32422 wxWindow
*arg1
= (wxWindow
*) 0 ;
32423 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32424 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32425 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32426 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32427 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32428 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32429 wxPyDropSource
*result
= 0 ;
32438 PyObject
* obj0
= 0 ;
32439 PyObject
* obj1
= 0 ;
32440 PyObject
* obj2
= 0 ;
32441 PyObject
* obj3
= 0 ;
32442 char * kwnames
[] = {
32443 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32448 if (!SWIG_IsOK(res1
)) {
32449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32454 if (!SWIG_IsOK(res2
)) {
32455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32460 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32464 if (!SWIG_IsOK(res3
)) {
32465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32470 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32473 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32474 if (!SWIG_IsOK(res4
)) {
32475 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32480 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32495 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32496 PyObject
*resultobj
= 0;
32497 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32498 PyObject
*arg2
= (PyObject
*) 0 ;
32499 PyObject
*arg3
= (PyObject
*) 0 ;
32505 PyObject
* obj0
= 0 ;
32506 PyObject
* obj1
= 0 ;
32507 PyObject
* obj2
= 0 ;
32508 PyObject
* obj3
= 0 ;
32509 char * kwnames
[] = {
32510 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32515 if (!SWIG_IsOK(res1
)) {
32516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32518 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32522 if (!SWIG_IsOK(ecode4
)) {
32523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32525 arg4
= static_cast< int >(val4
);
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32529 wxPyEndAllowThreads(__tstate
);
32530 if (PyErr_Occurred()) SWIG_fail
;
32532 resultobj
= SWIG_Py_Void();
32539 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32540 PyObject
*resultobj
= 0;
32541 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32544 PyObject
*swig_obj
[1] ;
32546 if (!args
) SWIG_fail
;
32547 swig_obj
[0] = args
;
32548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32549 if (!SWIG_IsOK(res1
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32552 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 resultobj
= SWIG_Py_Void();
32567 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
= 0;
32569 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32570 wxDataObject
*arg2
= 0 ;
32575 PyObject
* obj0
= 0 ;
32576 PyObject
* obj1
= 0 ;
32577 char * kwnames
[] = {
32578 (char *) "self",(char *) "data", NULL
32581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32583 if (!SWIG_IsOK(res1
)) {
32584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32586 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32588 if (!SWIG_IsOK(res2
)) {
32589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32594 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32597 (arg1
)->SetData(*arg2
);
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32601 resultobj
= SWIG_Py_Void();
32608 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32609 PyObject
*resultobj
= 0;
32610 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32611 wxDataObject
*result
= 0 ;
32614 PyObject
*swig_obj
[1] ;
32616 if (!args
) SWIG_fail
;
32617 swig_obj
[0] = args
;
32618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32622 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32636 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32637 PyObject
*resultobj
= 0;
32638 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32639 wxDragResult arg2
;
32640 wxCursor
*arg3
= 0 ;
32647 PyObject
* obj0
= 0 ;
32648 PyObject
* obj1
= 0 ;
32649 PyObject
* obj2
= 0 ;
32650 char * kwnames
[] = {
32651 (char *) "self",(char *) "res",(char *) "cursor", NULL
32654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32656 if (!SWIG_IsOK(res1
)) {
32657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32659 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32661 if (!SWIG_IsOK(ecode2
)) {
32662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32664 arg2
= static_cast< wxDragResult
>(val2
);
32665 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32666 if (!SWIG_IsOK(res3
)) {
32667 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32672 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32675 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32679 resultobj
= SWIG_Py_Void();
32686 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
= 0;
32688 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32689 int arg2
= (int) wxDrag_CopyOnly
;
32690 wxDragResult result
;
32695 PyObject
* obj0
= 0 ;
32696 PyObject
* obj1
= 0 ;
32697 char * kwnames
[] = {
32698 (char *) "self",(char *) "flags", NULL
32701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32703 if (!SWIG_IsOK(res1
)) {
32704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32706 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32709 if (!SWIG_IsOK(ecode2
)) {
32710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32712 arg2
= static_cast< int >(val2
);
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= SWIG_From_int(static_cast< int >(result
));
32727 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
= 0;
32729 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32730 wxDragResult arg2
;
32736 PyObject
* obj0
= 0 ;
32737 PyObject
* obj1
= 0 ;
32738 char * kwnames
[] = {
32739 (char *) "self",(char *) "effect", NULL
32742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32744 if (!SWIG_IsOK(res1
)) {
32745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32747 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32749 if (!SWIG_IsOK(ecode2
)) {
32750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32752 arg2
= static_cast< wxDragResult
>(val2
);
32754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32755 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32756 wxPyEndAllowThreads(__tstate
);
32757 if (PyErr_Occurred()) SWIG_fail
;
32760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32768 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32772 return SWIG_Py_Void();
32775 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32776 return SWIG_Python_InitShadowInstance(args
);
32779 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32780 PyObject
*resultobj
= 0;
32781 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32782 wxPyDropTarget
*result
= 0 ;
32784 PyObject
* obj0
= 0 ;
32785 char * kwnames
[] = {
32786 (char *) "dataObject", NULL
32789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32791 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32792 if (!SWIG_IsOK(res1
)) {
32793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32799 wxPyEndAllowThreads(__tstate
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32809 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32810 PyObject
*resultobj
= 0;
32811 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32812 PyObject
*arg2
= (PyObject
*) 0 ;
32813 PyObject
*arg3
= (PyObject
*) 0 ;
32816 PyObject
* obj0
= 0 ;
32817 PyObject
* obj1
= 0 ;
32818 PyObject
* obj2
= 0 ;
32819 char * kwnames
[] = {
32820 (char *) "self",(char *) "self",(char *) "_class", NULL
32823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32825 if (!SWIG_IsOK(res1
)) {
32826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32828 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32837 resultobj
= SWIG_Py_Void();
32844 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32845 PyObject
*resultobj
= 0;
32846 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32849 PyObject
*swig_obj
[1] ;
32851 if (!args
) SWIG_fail
;
32852 swig_obj
[0] = args
;
32853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32854 if (!SWIG_IsOK(res1
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32857 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= SWIG_Py_Void();
32872 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32873 PyObject
*resultobj
= 0;
32874 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32875 wxDataObject
*result
= 0 ;
32878 PyObject
*swig_obj
[1] ;
32880 if (!args
) SWIG_fail
;
32881 swig_obj
[0] = args
;
32882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32883 if (!SWIG_IsOK(res1
)) {
32884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32886 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32900 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
= 0;
32902 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32903 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32907 PyObject
* obj0
= 0 ;
32908 PyObject
* obj1
= 0 ;
32909 char * kwnames
[] = {
32910 (char *) "self",(char *) "dataObject", NULL
32913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32915 if (!SWIG_IsOK(res1
)) {
32916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32918 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32919 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32920 if (!SWIG_IsOK(res2
)) {
32921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 (arg1
)->SetDataObject(arg2
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32929 resultobj
= SWIG_Py_Void();
32936 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32937 PyObject
*resultobj
= 0;
32938 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32941 wxDragResult arg4
;
32942 wxDragResult result
;
32951 PyObject
* obj0
= 0 ;
32952 PyObject
* obj1
= 0 ;
32953 PyObject
* obj2
= 0 ;
32954 PyObject
* obj3
= 0 ;
32955 char * kwnames
[] = {
32956 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32961 if (!SWIG_IsOK(res1
)) {
32962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32964 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32966 if (!SWIG_IsOK(ecode2
)) {
32967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32969 arg2
= static_cast< int >(val2
);
32970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32971 if (!SWIG_IsOK(ecode3
)) {
32972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32974 arg3
= static_cast< int >(val3
);
32975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32976 if (!SWIG_IsOK(ecode4
)) {
32977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32979 arg4
= static_cast< wxDragResult
>(val4
);
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32983 wxPyEndAllowThreads(__tstate
);
32984 if (PyErr_Occurred()) SWIG_fail
;
32986 resultobj
= SWIG_From_int(static_cast< int >(result
));
32993 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32994 PyObject
*resultobj
= 0;
32995 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32998 wxDragResult arg4
;
32999 wxDragResult result
;
33008 PyObject
* obj0
= 0 ;
33009 PyObject
* obj1
= 0 ;
33010 PyObject
* obj2
= 0 ;
33011 PyObject
* obj3
= 0 ;
33012 char * kwnames
[] = {
33013 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33018 if (!SWIG_IsOK(res1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33021 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33023 if (!SWIG_IsOK(ecode2
)) {
33024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33026 arg2
= static_cast< int >(val2
);
33027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33028 if (!SWIG_IsOK(ecode3
)) {
33029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33031 arg3
= static_cast< int >(val3
);
33032 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33033 if (!SWIG_IsOK(ecode4
)) {
33034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33036 arg4
= static_cast< wxDragResult
>(val4
);
33038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= SWIG_From_int(static_cast< int >(result
));
33050 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33051 PyObject
*resultobj
= 0;
33052 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33055 PyObject
*swig_obj
[1] ;
33057 if (!args
) SWIG_fail
;
33058 swig_obj
[0] = args
;
33059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33060 if (!SWIG_IsOK(res1
)) {
33061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33063 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_Py_Void();
33077 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
= 0;
33079 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33089 PyObject
* obj0
= 0 ;
33090 PyObject
* obj1
= 0 ;
33091 PyObject
* obj2
= 0 ;
33092 char * kwnames
[] = {
33093 (char *) "self",(char *) "x",(char *) "y", NULL
33096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33098 if (!SWIG_IsOK(res1
)) {
33099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33101 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33103 if (!SWIG_IsOK(ecode2
)) {
33104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33106 arg2
= static_cast< int >(val2
);
33107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33108 if (!SWIG_IsOK(ecode3
)) {
33109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33111 arg3
= static_cast< int >(val3
);
33113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33114 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33115 wxPyEndAllowThreads(__tstate
);
33116 if (PyErr_Occurred()) SWIG_fail
;
33119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33127 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33128 PyObject
*resultobj
= 0;
33129 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33133 PyObject
*swig_obj
[1] ;
33135 if (!args
) SWIG_fail
;
33136 swig_obj
[0] = args
;
33137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33138 if (!SWIG_IsOK(res1
)) {
33139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33141 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33144 result
= (bool)(arg1
)->GetData();
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33157 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33158 PyObject
*resultobj
= 0;
33159 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33160 wxDragResult arg2
;
33165 PyObject
* obj0
= 0 ;
33166 PyObject
* obj1
= 0 ;
33167 char * kwnames
[] = {
33168 (char *) "self",(char *) "action", NULL
33171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33173 if (!SWIG_IsOK(res1
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33176 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33178 if (!SWIG_IsOK(ecode2
)) {
33179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33181 arg2
= static_cast< wxDragResult
>(val2
);
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 (arg1
)->SetDefaultAction(arg2
);
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= SWIG_Py_Void();
33195 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33196 PyObject
*resultobj
= 0;
33197 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33198 wxDragResult result
;
33201 PyObject
*swig_obj
[1] ;
33203 if (!args
) SWIG_fail
;
33204 swig_obj
[0] = args
;
33205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33206 if (!SWIG_IsOK(res1
)) {
33207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33209 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33212 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33213 wxPyEndAllowThreads(__tstate
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33216 resultobj
= SWIG_From_int(static_cast< int >(result
));
33223 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33226 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33227 return SWIG_Py_Void();
33230 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33231 return SWIG_Python_InitShadowInstance(args
);
33234 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33235 PyObject
*resultobj
= 0;
33236 wxPyTextDropTarget
*result
= 0 ;
33238 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33242 wxPyEndAllowThreads(__tstate
);
33243 if (PyErr_Occurred()) SWIG_fail
;
33245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33252 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33253 PyObject
*resultobj
= 0;
33254 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33255 PyObject
*arg2
= (PyObject
*) 0 ;
33256 PyObject
*arg3
= (PyObject
*) 0 ;
33259 PyObject
* obj0
= 0 ;
33260 PyObject
* obj1
= 0 ;
33261 PyObject
* obj2
= 0 ;
33262 char * kwnames
[] = {
33263 (char *) "self",(char *) "self",(char *) "_class", NULL
33266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33268 if (!SWIG_IsOK(res1
)) {
33269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33271 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33276 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33277 wxPyEndAllowThreads(__tstate
);
33278 if (PyErr_Occurred()) SWIG_fail
;
33280 resultobj
= SWIG_Py_Void();
33287 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33288 PyObject
*resultobj
= 0;
33289 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33292 wxString
*arg4
= 0 ;
33300 bool temp4
= false ;
33301 PyObject
* obj0
= 0 ;
33302 PyObject
* obj1
= 0 ;
33303 PyObject
* obj2
= 0 ;
33304 PyObject
* obj3
= 0 ;
33305 char * kwnames
[] = {
33306 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33311 if (!SWIG_IsOK(res1
)) {
33312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33314 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33316 if (!SWIG_IsOK(ecode2
)) {
33317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33319 arg2
= static_cast< int >(val2
);
33320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33321 if (!SWIG_IsOK(ecode3
)) {
33322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33324 arg3
= static_cast< int >(val3
);
33326 arg4
= wxString_in_helper(obj3
);
33327 if (arg4
== NULL
) SWIG_fail
;
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33353 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
= 0;
33355 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33358 wxDragResult arg4
;
33359 wxDragResult result
;
33368 PyObject
* obj0
= 0 ;
33369 PyObject
* obj1
= 0 ;
33370 PyObject
* obj2
= 0 ;
33371 PyObject
* obj3
= 0 ;
33372 char * kwnames
[] = {
33373 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33378 if (!SWIG_IsOK(res1
)) {
33379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33381 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33383 if (!SWIG_IsOK(ecode2
)) {
33384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33386 arg2
= static_cast< int >(val2
);
33387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33388 if (!SWIG_IsOK(ecode3
)) {
33389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33391 arg3
= static_cast< int >(val3
);
33392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33393 if (!SWIG_IsOK(ecode4
)) {
33394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33396 arg4
= static_cast< wxDragResult
>(val4
);
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33399 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33400 wxPyEndAllowThreads(__tstate
);
33401 if (PyErr_Occurred()) SWIG_fail
;
33403 resultobj
= SWIG_From_int(static_cast< int >(result
));
33410 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33411 PyObject
*resultobj
= 0;
33412 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33415 wxDragResult arg4
;
33416 wxDragResult result
;
33425 PyObject
* obj0
= 0 ;
33426 PyObject
* obj1
= 0 ;
33427 PyObject
* obj2
= 0 ;
33428 PyObject
* obj3
= 0 ;
33429 char * kwnames
[] = {
33430 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33435 if (!SWIG_IsOK(res1
)) {
33436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33438 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33440 if (!SWIG_IsOK(ecode2
)) {
33441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33443 arg2
= static_cast< int >(val2
);
33444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33445 if (!SWIG_IsOK(ecode3
)) {
33446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33448 arg3
= static_cast< int >(val3
);
33449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33450 if (!SWIG_IsOK(ecode4
)) {
33451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33453 arg4
= static_cast< wxDragResult
>(val4
);
33455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33456 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33457 wxPyEndAllowThreads(__tstate
);
33458 if (PyErr_Occurred()) SWIG_fail
;
33460 resultobj
= SWIG_From_int(static_cast< int >(result
));
33467 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33468 PyObject
*resultobj
= 0;
33469 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33472 PyObject
*swig_obj
[1] ;
33474 if (!args
) SWIG_fail
;
33475 swig_obj
[0] = args
;
33476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33477 if (!SWIG_IsOK(res1
)) {
33478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33480 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33484 wxPyEndAllowThreads(__tstate
);
33485 if (PyErr_Occurred()) SWIG_fail
;
33487 resultobj
= SWIG_Py_Void();
33494 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33495 PyObject
*resultobj
= 0;
33496 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33506 PyObject
* obj0
= 0 ;
33507 PyObject
* obj1
= 0 ;
33508 PyObject
* obj2
= 0 ;
33509 char * kwnames
[] = {
33510 (char *) "self",(char *) "x",(char *) "y", NULL
33513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33515 if (!SWIG_IsOK(res1
)) {
33516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33518 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33520 if (!SWIG_IsOK(ecode2
)) {
33521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33523 arg2
= static_cast< int >(val2
);
33524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33525 if (!SWIG_IsOK(ecode3
)) {
33526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33528 arg3
= static_cast< int >(val3
);
33530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33531 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33532 wxPyEndAllowThreads(__tstate
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33544 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33545 PyObject
*resultobj
= 0;
33546 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33549 wxDragResult arg4
;
33550 wxDragResult result
;
33559 PyObject
* obj0
= 0 ;
33560 PyObject
* obj1
= 0 ;
33561 PyObject
* obj2
= 0 ;
33562 PyObject
* obj3
= 0 ;
33563 char * kwnames
[] = {
33564 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33569 if (!SWIG_IsOK(res1
)) {
33570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33572 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33574 if (!SWIG_IsOK(ecode2
)) {
33575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33577 arg2
= static_cast< int >(val2
);
33578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33579 if (!SWIG_IsOK(ecode3
)) {
33580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33582 arg3
= static_cast< int >(val3
);
33583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33584 if (!SWIG_IsOK(ecode4
)) {
33585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33587 arg4
= static_cast< wxDragResult
>(val4
);
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= SWIG_From_int(static_cast< int >(result
));
33601 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33604 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33605 return SWIG_Py_Void();
33608 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33609 return SWIG_Python_InitShadowInstance(args
);
33612 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33613 PyObject
*resultobj
= 0;
33614 wxPyFileDropTarget
*result
= 0 ;
33616 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33620 wxPyEndAllowThreads(__tstate
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33630 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
= 0;
33632 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33633 PyObject
*arg2
= (PyObject
*) 0 ;
33634 PyObject
*arg3
= (PyObject
*) 0 ;
33637 PyObject
* obj0
= 0 ;
33638 PyObject
* obj1
= 0 ;
33639 PyObject
* obj2
= 0 ;
33640 char * kwnames
[] = {
33641 (char *) "self",(char *) "self",(char *) "_class", NULL
33644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33646 if (!SWIG_IsOK(res1
)) {
33647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33649 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33654 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= SWIG_Py_Void();
33665 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33666 PyObject
*resultobj
= 0;
33667 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33670 wxArrayString
*arg4
= 0 ;
33678 bool temp4
= false ;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 PyObject
* obj2
= 0 ;
33682 PyObject
* obj3
= 0 ;
33683 char * kwnames
[] = {
33684 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33689 if (!SWIG_IsOK(res1
)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33692 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33694 if (!SWIG_IsOK(ecode2
)) {
33695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33697 arg2
= static_cast< int >(val2
);
33698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33699 if (!SWIG_IsOK(ecode3
)) {
33700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33702 arg3
= static_cast< int >(val3
);
33704 if (! PySequence_Check(obj3
)) {
33705 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33708 arg4
= new wxArrayString
;
33710 int i
, len
=PySequence_Length(obj3
);
33711 for (i
=0; i
<len
; i
++) {
33712 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33713 wxString
* s
= wxString_in_helper(item
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33723 wxPyEndAllowThreads(__tstate
);
33724 if (PyErr_Occurred()) SWIG_fail
;
33727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33730 if (temp4
) delete arg4
;
33735 if (temp4
) delete arg4
;
33741 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33742 PyObject
*resultobj
= 0;
33743 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33746 wxDragResult arg4
;
33747 wxDragResult result
;
33756 PyObject
* obj0
= 0 ;
33757 PyObject
* obj1
= 0 ;
33758 PyObject
* obj2
= 0 ;
33759 PyObject
* obj3
= 0 ;
33760 char * kwnames
[] = {
33761 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33766 if (!SWIG_IsOK(res1
)) {
33767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33769 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33771 if (!SWIG_IsOK(ecode2
)) {
33772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33774 arg2
= static_cast< int >(val2
);
33775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33776 if (!SWIG_IsOK(ecode3
)) {
33777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33779 arg3
= static_cast< int >(val3
);
33780 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33781 if (!SWIG_IsOK(ecode4
)) {
33782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33784 arg4
= static_cast< wxDragResult
>(val4
);
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33788 wxPyEndAllowThreads(__tstate
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33791 resultobj
= SWIG_From_int(static_cast< int >(result
));
33798 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33799 PyObject
*resultobj
= 0;
33800 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33803 wxDragResult arg4
;
33804 wxDragResult result
;
33813 PyObject
* obj0
= 0 ;
33814 PyObject
* obj1
= 0 ;
33815 PyObject
* obj2
= 0 ;
33816 PyObject
* obj3
= 0 ;
33817 char * kwnames
[] = {
33818 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33823 if (!SWIG_IsOK(res1
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33826 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33828 if (!SWIG_IsOK(ecode2
)) {
33829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33831 arg2
= static_cast< int >(val2
);
33832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33833 if (!SWIG_IsOK(ecode3
)) {
33834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33836 arg3
= static_cast< int >(val3
);
33837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33838 if (!SWIG_IsOK(ecode4
)) {
33839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33841 arg4
= static_cast< wxDragResult
>(val4
);
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33845 wxPyEndAllowThreads(__tstate
);
33846 if (PyErr_Occurred()) SWIG_fail
;
33848 resultobj
= SWIG_From_int(static_cast< int >(result
));
33855 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33856 PyObject
*resultobj
= 0;
33857 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33860 PyObject
*swig_obj
[1] ;
33862 if (!args
) SWIG_fail
;
33863 swig_obj
[0] = args
;
33864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33865 if (!SWIG_IsOK(res1
)) {
33866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33868 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 resultobj
= SWIG_Py_Void();
33882 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
= 0;
33884 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33894 PyObject
* obj0
= 0 ;
33895 PyObject
* obj1
= 0 ;
33896 PyObject
* obj2
= 0 ;
33897 char * kwnames
[] = {
33898 (char *) "self",(char *) "x",(char *) "y", NULL
33901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33906 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33908 if (!SWIG_IsOK(ecode2
)) {
33909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33911 arg2
= static_cast< int >(val2
);
33912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33913 if (!SWIG_IsOK(ecode3
)) {
33914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33916 arg3
= static_cast< int >(val3
);
33918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33920 wxPyEndAllowThreads(__tstate
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33932 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
= 0;
33934 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33937 wxDragResult arg4
;
33938 wxDragResult result
;
33947 PyObject
* obj0
= 0 ;
33948 PyObject
* obj1
= 0 ;
33949 PyObject
* obj2
= 0 ;
33950 PyObject
* obj3
= 0 ;
33951 char * kwnames
[] = {
33952 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33957 if (!SWIG_IsOK(res1
)) {
33958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33960 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33962 if (!SWIG_IsOK(ecode2
)) {
33963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33965 arg2
= static_cast< int >(val2
);
33966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33967 if (!SWIG_IsOK(ecode3
)) {
33968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33970 arg3
= static_cast< int >(val3
);
33971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33972 if (!SWIG_IsOK(ecode4
)) {
33973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33975 arg4
= static_cast< wxDragResult
>(val4
);
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33978 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33979 wxPyEndAllowThreads(__tstate
);
33980 if (PyErr_Occurred()) SWIG_fail
;
33982 resultobj
= SWIG_From_int(static_cast< int >(result
));
33989 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33992 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
33993 return SWIG_Py_Void();
33996 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33997 return SWIG_Python_InitShadowInstance(args
);
34000 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34001 PyObject
*resultobj
= 0;
34002 wxClipboard
*result
= 0 ;
34004 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 result
= (wxClipboard
*)new wxClipboard();
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
34018 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 PyObject
*resultobj
= 0;
34020 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34023 PyObject
*swig_obj
[1] ;
34025 if (!args
) SWIG_fail
;
34026 swig_obj
[0] = args
;
34027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34028 if (!SWIG_IsOK(res1
)) {
34029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34031 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= SWIG_Py_Void();
34046 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34047 PyObject
*resultobj
= 0;
34048 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34052 PyObject
*swig_obj
[1] ;
34054 if (!args
) SWIG_fail
;
34055 swig_obj
[0] = args
;
34056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34057 if (!SWIG_IsOK(res1
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34060 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34063 result
= (bool)(arg1
)->Open();
34064 wxPyEndAllowThreads(__tstate
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34076 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34077 PyObject
*resultobj
= 0;
34078 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34081 PyObject
*swig_obj
[1] ;
34083 if (!args
) SWIG_fail
;
34084 swig_obj
[0] = args
;
34085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34086 if (!SWIG_IsOK(res1
)) {
34087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34089 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 wxPyEndAllowThreads(__tstate
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34096 resultobj
= SWIG_Py_Void();
34103 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34104 PyObject
*resultobj
= 0;
34105 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34109 PyObject
*swig_obj
[1] ;
34111 if (!args
) SWIG_fail
;
34112 swig_obj
[0] = args
;
34113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34114 if (!SWIG_IsOK(res1
)) {
34115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34117 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34120 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34121 wxPyEndAllowThreads(__tstate
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34133 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34134 PyObject
*resultobj
= 0;
34135 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34136 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34141 PyObject
* obj0
= 0 ;
34142 PyObject
* obj1
= 0 ;
34143 char * kwnames
[] = {
34144 (char *) "self",(char *) "data", NULL
34147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34149 if (!SWIG_IsOK(res1
)) {
34150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34152 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34153 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34154 if (!SWIG_IsOK(res2
)) {
34155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= (bool)(arg1
)->AddData(arg2
);
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34172 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
= 0;
34174 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34175 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34180 PyObject
* obj0
= 0 ;
34181 PyObject
* obj1
= 0 ;
34182 char * kwnames
[] = {
34183 (char *) "self",(char *) "data", NULL
34186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34188 if (!SWIG_IsOK(res1
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34191 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34192 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34193 if (!SWIG_IsOK(res2
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34198 result
= (bool)(arg1
)->SetData(arg2
);
34199 wxPyEndAllowThreads(__tstate
);
34200 if (PyErr_Occurred()) SWIG_fail
;
34203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34211 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34212 PyObject
*resultobj
= 0;
34213 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34214 wxDataFormat
*arg2
= 0 ;
34220 PyObject
* obj0
= 0 ;
34221 PyObject
* obj1
= 0 ;
34222 char * kwnames
[] = {
34223 (char *) "self",(char *) "format", NULL
34226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34228 if (!SWIG_IsOK(res1
)) {
34229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34231 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34233 if (!SWIG_IsOK(res2
)) {
34234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34239 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34255 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
= 0;
34257 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34258 wxDataObject
*arg2
= 0 ;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 char * kwnames
[] = {
34267 (char *) "self",(char *) "data", NULL
34270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34272 if (!SWIG_IsOK(res1
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34275 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34277 if (!SWIG_IsOK(res2
)) {
34278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34283 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 result
= (bool)(arg1
)->GetData(*arg2
);
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34299 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34300 PyObject
*resultobj
= 0;
34301 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34304 PyObject
*swig_obj
[1] ;
34306 if (!args
) SWIG_fail
;
34307 swig_obj
[0] = args
;
34308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34309 if (!SWIG_IsOK(res1
)) {
34310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34312 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 resultobj
= SWIG_Py_Void();
34326 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34327 PyObject
*resultobj
= 0;
34328 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34332 PyObject
*swig_obj
[1] ;
34334 if (!args
) SWIG_fail
;
34335 swig_obj
[0] = args
;
34336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34337 if (!SWIG_IsOK(res1
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34340 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 result
= (bool)(arg1
)->Flush();
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34356 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34357 PyObject
*resultobj
= 0;
34358 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34359 bool arg2
= (bool) true ;
34364 PyObject
* obj0
= 0 ;
34365 PyObject
* obj1
= 0 ;
34366 char * kwnames
[] = {
34367 (char *) "self",(char *) "primary", NULL
34370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34372 if (!SWIG_IsOK(res1
)) {
34373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34375 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34377 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34378 if (!SWIG_IsOK(ecode2
)) {
34379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34381 arg2
= static_cast< bool >(val2
);
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34385 (arg1
)->UsePrimarySelection(arg2
);
34386 wxPyEndAllowThreads(__tstate
);
34387 if (PyErr_Occurred()) SWIG_fail
;
34389 resultobj
= SWIG_Py_Void();
34396 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34397 PyObject
*resultobj
= 0;
34398 wxClipboard
*result
= 0 ;
34400 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34403 result
= (wxClipboard
*)wxClipboard::Get();
34404 wxPyEndAllowThreads(__tstate
);
34405 if (PyErr_Occurred()) SWIG_fail
;
34407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34414 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34417 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34418 return SWIG_Py_Void();
34421 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34422 return SWIG_Python_InitShadowInstance(args
);
34425 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34426 PyObject
*resultobj
= 0;
34427 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34428 wxClipboardLocker
*result
= 0 ;
34431 PyObject
* obj0
= 0 ;
34432 char * kwnames
[] = {
34433 (char *) "clipboard", NULL
34436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34439 if (!SWIG_IsOK(res1
)) {
34440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34442 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34446 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34447 wxPyEndAllowThreads(__tstate
);
34448 if (PyErr_Occurred()) SWIG_fail
;
34450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34457 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34458 PyObject
*resultobj
= 0;
34459 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34462 PyObject
*swig_obj
[1] ;
34464 if (!args
) SWIG_fail
;
34465 swig_obj
[0] = args
;
34466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34467 if (!SWIG_IsOK(res1
)) {
34468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34470 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34475 wxPyEndAllowThreads(__tstate
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34478 resultobj
= SWIG_Py_Void();
34485 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34486 PyObject
*resultobj
= 0;
34487 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34491 PyObject
*swig_obj
[1] ;
34493 if (!args
) SWIG_fail
;
34494 swig_obj
[0] = args
;
34495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34496 if (!SWIG_IsOK(res1
)) {
34497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34499 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34502 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34503 wxPyEndAllowThreads(__tstate
);
34504 if (PyErr_Occurred()) SWIG_fail
;
34507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34515 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34518 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34519 return SWIG_Py_Void();
34522 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34523 return SWIG_Python_InitShadowInstance(args
);
34526 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
= 0;
34528 int arg1
= (int) 0 ;
34529 int arg2
= (int) 0 ;
34530 int arg3
= (int) 0 ;
34531 int arg4
= (int) 0 ;
34532 wxVideoMode
*result
= 0 ;
34541 PyObject
* obj0
= 0 ;
34542 PyObject
* obj1
= 0 ;
34543 PyObject
* obj2
= 0 ;
34544 PyObject
* obj3
= 0 ;
34545 char * kwnames
[] = {
34546 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34551 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34552 if (!SWIG_IsOK(ecode1
)) {
34553 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34555 arg1
= static_cast< int >(val1
);
34558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34559 if (!SWIG_IsOK(ecode2
)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34562 arg2
= static_cast< int >(val2
);
34565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34566 if (!SWIG_IsOK(ecode3
)) {
34567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34569 arg3
= static_cast< int >(val3
);
34572 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34573 if (!SWIG_IsOK(ecode4
)) {
34574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34576 arg4
= static_cast< int >(val4
);
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34581 wxPyEndAllowThreads(__tstate
);
34582 if (PyErr_Occurred()) SWIG_fail
;
34584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34591 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34592 PyObject
*resultobj
= 0;
34593 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34596 PyObject
*swig_obj
[1] ;
34598 if (!args
) SWIG_fail
;
34599 swig_obj
[0] = args
;
34600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34601 if (!SWIG_IsOK(res1
)) {
34602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34604 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34609 wxPyEndAllowThreads(__tstate
);
34610 if (PyErr_Occurred()) SWIG_fail
;
34612 resultobj
= SWIG_Py_Void();
34619 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34620 PyObject
*resultobj
= 0;
34621 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34622 wxVideoMode
*arg2
= 0 ;
34628 PyObject
* obj0
= 0 ;
34629 PyObject
* obj1
= 0 ;
34630 char * kwnames
[] = {
34631 (char *) "self",(char *) "other", NULL
34634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34636 if (!SWIG_IsOK(res1
)) {
34637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34639 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34641 if (!SWIG_IsOK(res2
)) {
34642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34647 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34650 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34651 wxPyEndAllowThreads(__tstate
);
34652 if (PyErr_Occurred()) SWIG_fail
;
34655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34663 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34664 PyObject
*resultobj
= 0;
34665 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34669 PyObject
*swig_obj
[1] ;
34671 if (!args
) SWIG_fail
;
34672 swig_obj
[0] = args
;
34673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34674 if (!SWIG_IsOK(res1
)) {
34675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34677 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34684 resultobj
= SWIG_From_int(static_cast< int >(result
));
34691 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34692 PyObject
*resultobj
= 0;
34693 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34697 PyObject
*swig_obj
[1] ;
34699 if (!args
) SWIG_fail
;
34700 swig_obj
[0] = args
;
34701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34702 if (!SWIG_IsOK(res1
)) {
34703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34705 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34708 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 resultobj
= SWIG_From_int(static_cast< int >(result
));
34719 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34720 PyObject
*resultobj
= 0;
34721 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34725 PyObject
*swig_obj
[1] ;
34727 if (!args
) SWIG_fail
;
34728 swig_obj
[0] = args
;
34729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34730 if (!SWIG_IsOK(res1
)) {
34731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34733 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34736 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34737 wxPyEndAllowThreads(__tstate
);
34738 if (PyErr_Occurred()) SWIG_fail
;
34740 resultobj
= SWIG_From_int(static_cast< int >(result
));
34747 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34748 PyObject
*resultobj
= 0;
34749 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34753 PyObject
*swig_obj
[1] ;
34755 if (!args
) SWIG_fail
;
34756 swig_obj
[0] = args
;
34757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34758 if (!SWIG_IsOK(res1
)) {
34759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34761 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34777 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
= 0;
34779 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34780 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34786 PyObject
* obj0
= 0 ;
34787 PyObject
* obj1
= 0 ;
34788 char * kwnames
[] = {
34789 (char *) "self",(char *) "other", NULL
34792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34794 if (!SWIG_IsOK(res1
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34797 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34799 if (!SWIG_IsOK(res2
)) {
34800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34802 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34805 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34806 wxPyEndAllowThreads(__tstate
);
34807 if (PyErr_Occurred()) SWIG_fail
;
34810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34818 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34819 PyObject
*resultobj
= 0;
34820 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34821 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34827 PyObject
* obj0
= 0 ;
34828 PyObject
* obj1
= 0 ;
34829 char * kwnames
[] = {
34830 (char *) "self",(char *) "other", NULL
34833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34835 if (!SWIG_IsOK(res1
)) {
34836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34838 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34840 if (!SWIG_IsOK(res2
)) {
34841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34843 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34846 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34847 wxPyEndAllowThreads(__tstate
);
34848 if (PyErr_Occurred()) SWIG_fail
;
34851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34859 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34860 PyObject
*resultobj
= 0;
34861 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34867 PyObject
*swig_obj
[2] ;
34869 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34871 if (!SWIG_IsOK(res1
)) {
34872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34874 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34875 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34876 if (!SWIG_IsOK(ecode2
)) {
34877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34879 arg2
= static_cast< int >(val2
);
34880 if (arg1
) (arg1
)->w
= arg2
;
34882 resultobj
= SWIG_Py_Void();
34889 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34890 PyObject
*resultobj
= 0;
34891 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34895 PyObject
*swig_obj
[1] ;
34897 if (!args
) SWIG_fail
;
34898 swig_obj
[0] = args
;
34899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34900 if (!SWIG_IsOK(res1
)) {
34901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34903 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34904 result
= (int) ((arg1
)->w
);
34905 resultobj
= SWIG_From_int(static_cast< int >(result
));
34912 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34913 PyObject
*resultobj
= 0;
34914 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34920 PyObject
*swig_obj
[2] ;
34922 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34924 if (!SWIG_IsOK(res1
)) {
34925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34927 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34928 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34929 if (!SWIG_IsOK(ecode2
)) {
34930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34932 arg2
= static_cast< int >(val2
);
34933 if (arg1
) (arg1
)->h
= arg2
;
34935 resultobj
= SWIG_Py_Void();
34942 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34943 PyObject
*resultobj
= 0;
34944 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34948 PyObject
*swig_obj
[1] ;
34950 if (!args
) SWIG_fail
;
34951 swig_obj
[0] = args
;
34952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34953 if (!SWIG_IsOK(res1
)) {
34954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34956 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34957 result
= (int) ((arg1
)->h
);
34958 resultobj
= SWIG_From_int(static_cast< int >(result
));
34965 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34966 PyObject
*resultobj
= 0;
34967 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34973 PyObject
*swig_obj
[2] ;
34975 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34977 if (!SWIG_IsOK(res1
)) {
34978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34980 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34981 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34982 if (!SWIG_IsOK(ecode2
)) {
34983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34985 arg2
= static_cast< int >(val2
);
34986 if (arg1
) (arg1
)->bpp
= arg2
;
34988 resultobj
= SWIG_Py_Void();
34995 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34996 PyObject
*resultobj
= 0;
34997 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35001 PyObject
*swig_obj
[1] ;
35003 if (!args
) SWIG_fail
;
35004 swig_obj
[0] = args
;
35005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35006 if (!SWIG_IsOK(res1
)) {
35007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35009 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35010 result
= (int) ((arg1
)->bpp
);
35011 resultobj
= SWIG_From_int(static_cast< int >(result
));
35018 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35019 PyObject
*resultobj
= 0;
35020 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35026 PyObject
*swig_obj
[2] ;
35028 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35030 if (!SWIG_IsOK(res1
)) {
35031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35033 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35034 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35035 if (!SWIG_IsOK(ecode2
)) {
35036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35038 arg2
= static_cast< int >(val2
);
35039 if (arg1
) (arg1
)->refresh
= arg2
;
35041 resultobj
= SWIG_Py_Void();
35048 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35049 PyObject
*resultobj
= 0;
35050 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35054 PyObject
*swig_obj
[1] ;
35056 if (!args
) SWIG_fail
;
35057 swig_obj
[0] = args
;
35058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35059 if (!SWIG_IsOK(res1
)) {
35060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35062 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35063 result
= (int) ((arg1
)->refresh
);
35064 resultobj
= SWIG_From_int(static_cast< int >(result
));
35071 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35074 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35075 return SWIG_Py_Void();
35078 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35079 return SWIG_Python_InitShadowInstance(args
);
35082 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35083 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35088 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35089 PyObject
*pyobj
= 0;
35091 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35096 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35097 PyObject
*resultobj
= 0;
35098 size_t arg1
= (size_t) 0 ;
35099 wxDisplay
*result
= 0 ;
35102 PyObject
* obj0
= 0 ;
35103 char * kwnames
[] = {
35104 (char *) "index", NULL
35107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35109 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35110 if (!SWIG_IsOK(ecode1
)) {
35111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35113 arg1
= static_cast< size_t >(val1
);
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 result
= (wxDisplay
*)new wxDisplay(arg1
);
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35128 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35129 PyObject
*resultobj
= 0;
35130 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35133 PyObject
*swig_obj
[1] ;
35135 if (!args
) SWIG_fail
;
35136 swig_obj
[0] = args
;
35137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35138 if (!SWIG_IsOK(res1
)) {
35139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35141 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35146 wxPyEndAllowThreads(__tstate
);
35147 if (PyErr_Occurred()) SWIG_fail
;
35149 resultobj
= SWIG_Py_Void();
35156 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35157 PyObject
*resultobj
= 0;
35160 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35163 result
= (size_t)wxDisplay::GetCount();
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35174 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35175 PyObject
*resultobj
= 0;
35176 wxPoint
*arg1
= 0 ;
35179 PyObject
* obj0
= 0 ;
35180 char * kwnames
[] = {
35181 (char *) "pt", NULL
35184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35187 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35191 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35195 resultobj
= SWIG_From_int(static_cast< int >(result
));
35202 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35203 PyObject
*resultobj
= 0;
35204 wxWindow
*arg1
= (wxWindow
*) 0 ;
35208 PyObject
* obj0
= 0 ;
35209 char * kwnames
[] = {
35210 (char *) "window", NULL
35213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35215 if (!SWIG_IsOK(res1
)) {
35216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35218 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35221 result
= (int)wxDisplay::GetFromWindow(arg1
);
35222 wxPyEndAllowThreads(__tstate
);
35223 if (PyErr_Occurred()) SWIG_fail
;
35225 resultobj
= SWIG_From_int(static_cast< int >(result
));
35232 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35233 PyObject
*resultobj
= 0;
35234 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35238 PyObject
*swig_obj
[1] ;
35240 if (!args
) SWIG_fail
;
35241 swig_obj
[0] = args
;
35242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35243 if (!SWIG_IsOK(res1
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35246 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35249 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35262 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35263 PyObject
*resultobj
= 0;
35264 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35268 PyObject
*swig_obj
[1] ;
35270 if (!args
) SWIG_fail
;
35271 swig_obj
[0] = args
;
35272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35273 if (!SWIG_IsOK(res1
)) {
35274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35276 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35280 wxPyEndAllowThreads(__tstate
);
35281 if (PyErr_Occurred()) SWIG_fail
;
35283 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35290 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35291 PyObject
*resultobj
= 0;
35292 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35296 PyObject
*swig_obj
[1] ;
35298 if (!args
) SWIG_fail
;
35299 swig_obj
[0] = args
;
35300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35301 if (!SWIG_IsOK(res1
)) {
35302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35304 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35307 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35311 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35318 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35319 PyObject
*resultobj
= 0;
35320 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35324 PyObject
*swig_obj
[1] ;
35326 if (!args
) SWIG_fail
;
35327 swig_obj
[0] = args
;
35328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35329 if (!SWIG_IsOK(res1
)) {
35330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35332 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35335 result
= ((wxDisplay
const *)arg1
)->GetName();
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35352 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35353 PyObject
*resultobj
= 0;
35354 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35358 PyObject
*swig_obj
[1] ;
35360 if (!args
) SWIG_fail
;
35361 swig_obj
[0] = args
;
35362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35363 if (!SWIG_IsOK(res1
)) {
35364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35366 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35369 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35382 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35383 PyObject
*resultobj
= 0;
35384 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35385 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35386 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35387 PyObject
*result
= 0 ;
35392 PyObject
* obj0
= 0 ;
35393 PyObject
* obj1
= 0 ;
35394 char * kwnames
[] = {
35395 (char *) "self",(char *) "mode", NULL
35398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35400 if (!SWIG_IsOK(res1
)) {
35401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35403 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35405 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35406 if (!SWIG_IsOK(res2
)) {
35407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35412 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35416 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= result
;
35427 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35428 PyObject
*resultobj
= 0;
35429 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35430 wxVideoMode result
;
35433 PyObject
*swig_obj
[1] ;
35435 if (!args
) SWIG_fail
;
35436 swig_obj
[0] = args
;
35437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35438 if (!SWIG_IsOK(res1
)) {
35439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35441 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35444 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35445 wxPyEndAllowThreads(__tstate
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35448 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35455 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35456 PyObject
*resultobj
= 0;
35457 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35458 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35459 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35465 PyObject
* obj0
= 0 ;
35466 PyObject
* obj1
= 0 ;
35467 char * kwnames
[] = {
35468 (char *) "self",(char *) "mode", NULL
35471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35473 if (!SWIG_IsOK(res1
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35476 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35479 if (!SWIG_IsOK(res2
)) {
35480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35485 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35489 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35490 wxPyEndAllowThreads(__tstate
);
35491 if (PyErr_Occurred()) SWIG_fail
;
35494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35502 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35503 PyObject
*resultobj
= 0;
35504 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35507 PyObject
*swig_obj
[1] ;
35509 if (!args
) SWIG_fail
;
35510 swig_obj
[0] = args
;
35511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35512 if (!SWIG_IsOK(res1
)) {
35513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35515 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35518 wxDisplay_ResetMode(arg1
);
35519 wxPyEndAllowThreads(__tstate
);
35520 if (PyErr_Occurred()) SWIG_fail
;
35522 resultobj
= SWIG_Py_Void();
35529 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35532 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35533 return SWIG_Py_Void();
35536 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35537 return SWIG_Python_InitShadowInstance(args
);
35540 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35541 PyObject
*resultobj
= 0;
35542 wxStandardPaths
*result
= 0 ;
35544 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35558 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35559 PyObject
*resultobj
= 0;
35560 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35564 PyObject
*swig_obj
[1] ;
35566 if (!args
) SWIG_fail
;
35567 swig_obj
[0] = args
;
35568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35569 if (!SWIG_IsOK(res1
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35572 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35592 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35593 PyObject
*resultobj
= 0;
35594 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35598 PyObject
*swig_obj
[1] ;
35600 if (!args
) SWIG_fail
;
35601 swig_obj
[0] = args
;
35602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35603 if (!SWIG_IsOK(res1
)) {
35604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35606 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35609 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35626 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35627 PyObject
*resultobj
= 0;
35628 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35632 PyObject
*swig_obj
[1] ;
35634 if (!args
) SWIG_fail
;
35635 swig_obj
[0] = args
;
35636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35637 if (!SWIG_IsOK(res1
)) {
35638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35640 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35643 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35660 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35661 PyObject
*resultobj
= 0;
35662 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35666 PyObject
*swig_obj
[1] ;
35668 if (!args
) SWIG_fail
;
35669 swig_obj
[0] = args
;
35670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35671 if (!SWIG_IsOK(res1
)) {
35672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35674 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35677 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35694 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35695 PyObject
*resultobj
= 0;
35696 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35700 PyObject
*swig_obj
[1] ;
35702 if (!args
) SWIG_fail
;
35703 swig_obj
[0] = args
;
35704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35705 if (!SWIG_IsOK(res1
)) {
35706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35708 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35711 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35712 wxPyEndAllowThreads(__tstate
);
35713 if (PyErr_Occurred()) SWIG_fail
;
35717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35728 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35729 PyObject
*resultobj
= 0;
35730 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35734 PyObject
*swig_obj
[1] ;
35736 if (!args
) SWIG_fail
;
35737 swig_obj
[0] = args
;
35738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35739 if (!SWIG_IsOK(res1
)) {
35740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35742 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35746 wxPyEndAllowThreads(__tstate
);
35747 if (PyErr_Occurred()) SWIG_fail
;
35751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35762 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35763 PyObject
*resultobj
= 0;
35764 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35768 PyObject
*swig_obj
[1] ;
35770 if (!args
) SWIG_fail
;
35771 swig_obj
[0] = args
;
35772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35773 if (!SWIG_IsOK(res1
)) {
35774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35776 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35780 wxPyEndAllowThreads(__tstate
);
35781 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35796 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35797 PyObject
*resultobj
= 0;
35798 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35802 PyObject
*swig_obj
[1] ;
35804 if (!args
) SWIG_fail
;
35805 swig_obj
[0] = args
;
35806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35807 if (!SWIG_IsOK(res1
)) {
35808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35810 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35813 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35814 wxPyEndAllowThreads(__tstate
);
35815 if (PyErr_Occurred()) SWIG_fail
;
35819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35830 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35831 PyObject
*resultobj
= 0;
35832 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35833 wxString
*arg2
= 0 ;
35834 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35838 bool temp2
= false ;
35841 PyObject
* obj0
= 0 ;
35842 PyObject
* obj1
= 0 ;
35843 PyObject
* obj2
= 0 ;
35844 char * kwnames
[] = {
35845 (char *) "self",(char *) "lang",(char *) "category", NULL
35848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35850 if (!SWIG_IsOK(res1
)) {
35851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35853 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35855 arg2
= wxString_in_helper(obj1
);
35856 if (arg2
== NULL
) SWIG_fail
;
35860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35861 if (!SWIG_IsOK(ecode3
)) {
35862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35864 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35868 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35869 wxPyEndAllowThreads(__tstate
);
35870 if (PyErr_Occurred()) SWIG_fail
;
35874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35893 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35894 PyObject
*resultobj
= 0;
35895 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35899 PyObject
*swig_obj
[1] ;
35901 if (!args
) SWIG_fail
;
35902 swig_obj
[0] = args
;
35903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35904 if (!SWIG_IsOK(res1
)) {
35905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35907 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35910 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
35911 wxPyEndAllowThreads(__tstate
);
35912 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35927 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35928 PyObject
*resultobj
= 0;
35929 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35930 wxString
*arg2
= 0 ;
35933 bool temp2
= false ;
35934 PyObject
* obj0
= 0 ;
35935 PyObject
* obj1
= 0 ;
35936 char * kwnames
[] = {
35937 (char *) "self",(char *) "prefix", NULL
35940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35942 if (!SWIG_IsOK(res1
)) {
35943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35945 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35947 arg2
= wxString_in_helper(obj1
);
35948 if (arg2
== NULL
) SWIG_fail
;
35952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35953 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
35954 wxPyEndAllowThreads(__tstate
);
35955 if (PyErr_Occurred()) SWIG_fail
;
35957 resultobj
= SWIG_Py_Void();
35972 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35973 PyObject
*resultobj
= 0;
35974 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35978 PyObject
*swig_obj
[1] ;
35980 if (!args
) SWIG_fail
;
35981 swig_obj
[0] = args
;
35982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35983 if (!SWIG_IsOK(res1
)) {
35984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35986 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35989 result
= wxStandardPaths_GetInstallPrefix(arg1
);
35990 wxPyEndAllowThreads(__tstate
);
35991 if (PyErr_Occurred()) SWIG_fail
;
35995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36006 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36009 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
36010 return SWIG_Py_Void();
36013 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36014 PyObject
*resultobj
= 0;
36016 wxPowerEvent
*result
= 0 ;
36019 PyObject
* obj0
= 0 ;
36020 char * kwnames
[] = {
36021 (char *) "evtType", NULL
36024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
36025 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36026 if (!SWIG_IsOK(ecode1
)) {
36027 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
36029 arg1
= static_cast< wxEventType
>(val1
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
36043 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36044 PyObject
*resultobj
= 0;
36045 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36048 PyObject
*swig_obj
[1] ;
36050 if (!args
) SWIG_fail
;
36051 swig_obj
[0] = args
;
36052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36053 if (!SWIG_IsOK(res1
)) {
36054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
36056 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36060 wxPyEndAllowThreads(__tstate
);
36061 if (PyErr_Occurred()) SWIG_fail
;
36063 resultobj
= SWIG_Py_Void();
36070 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36071 PyObject
*resultobj
= 0;
36072 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36076 PyObject
*swig_obj
[1] ;
36078 if (!args
) SWIG_fail
;
36079 swig_obj
[0] = args
;
36080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36081 if (!SWIG_IsOK(res1
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
36084 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36087 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
36088 wxPyEndAllowThreads(__tstate
);
36089 if (PyErr_Occurred()) SWIG_fail
;
36092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36100 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36103 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
36104 return SWIG_Py_Void();
36107 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36108 return SWIG_Python_InitShadowInstance(args
);
36111 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36112 PyObject
*resultobj
= 0;
36113 wxPowerType result
;
36115 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
36117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36118 result
= (wxPowerType
)wxGetPowerType();
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36122 resultobj
= SWIG_From_int(static_cast< int >(result
));
36129 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36130 PyObject
*resultobj
= 0;
36131 wxBatteryState result
;
36133 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 result
= (wxBatteryState
)wxGetBatteryState();
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36140 resultobj
= SWIG_From_int(static_cast< int >(result
));
36147 static PyMethodDef SwigMethods
[] = {
36148 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36149 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36150 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36151 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36152 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
36153 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36154 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
36155 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
36156 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36159 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36160 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36161 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36162 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36163 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36164 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36165 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36167 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36168 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36170 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36171 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36172 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36174 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36175 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36177 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36178 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36179 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36180 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36185 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36186 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36187 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36188 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36189 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36190 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36191 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36192 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36193 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36194 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36195 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36196 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36197 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36198 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36199 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36200 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36201 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36202 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36203 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36205 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36206 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36207 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36208 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36209 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36210 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36211 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36212 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36213 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36214 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36215 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36217 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36218 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36219 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36222 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36225 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36226 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36227 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36228 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36229 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36230 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36231 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36232 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36233 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36234 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36235 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36236 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36237 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36238 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36239 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36240 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36241 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36243 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36244 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36245 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36246 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36247 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36248 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36249 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36250 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36251 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36252 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36253 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36254 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36255 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36256 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36257 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36258 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36259 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36260 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36261 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36264 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36265 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36267 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36268 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36269 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36270 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36271 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36272 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36273 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36274 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36275 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36277 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36278 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36280 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36281 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36282 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36284 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36285 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36287 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36288 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36289 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36290 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36291 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36292 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36293 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36294 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36295 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36296 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36297 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36298 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36299 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36300 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36301 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36302 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36303 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36304 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36306 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36309 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36310 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36311 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36314 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36316 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36317 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36318 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36319 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36321 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36322 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36324 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36325 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36326 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36328 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36329 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36330 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36331 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36332 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36333 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36334 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36335 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36336 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36337 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36340 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36341 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36343 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36345 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36346 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36347 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36348 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36349 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36350 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36351 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36352 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36353 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36354 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36355 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36356 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36357 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36358 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36360 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36361 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36362 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36363 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36364 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36367 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36368 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36369 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36371 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36372 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36375 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36376 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36378 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36379 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36380 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36382 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36383 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36385 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36386 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36387 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36388 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36389 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36390 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36391 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36392 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36393 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36395 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36396 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36397 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36398 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36399 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36402 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36403 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36404 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36406 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36407 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36409 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36410 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36411 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36412 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36413 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36414 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36415 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36416 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36417 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36418 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36419 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36425 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36426 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36432 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36434 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36435 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36436 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36437 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36438 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36440 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36441 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36444 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36447 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36448 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36449 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36450 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36451 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36452 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36453 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36454 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36455 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36456 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36457 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36458 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36459 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36460 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36461 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36462 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36463 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36464 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36465 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36466 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36467 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36468 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36472 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36473 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36474 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36475 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36476 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36477 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36478 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36479 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36480 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36481 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36483 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36484 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36485 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36486 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36487 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36488 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36489 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36490 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36491 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36492 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36493 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36494 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36495 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36496 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36497 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36498 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36499 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36500 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36501 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36502 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36503 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36504 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36505 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36506 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36507 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36508 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36509 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36510 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36511 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36512 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36514 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36515 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36516 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36518 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36519 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36520 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36521 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36522 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36526 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36528 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36529 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36530 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36534 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36535 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36538 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36541 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36544 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36545 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36546 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36549 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36550 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36553 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36554 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36555 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36556 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36557 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36558 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36559 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36560 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36561 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36562 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36563 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36565 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36566 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36567 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36568 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36569 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36570 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36571 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36577 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36578 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36579 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36580 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36582 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36584 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36589 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36593 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36594 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36595 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36596 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36597 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36600 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36605 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36606 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36607 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36608 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36611 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36612 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36613 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36614 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36615 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36617 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36622 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36638 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36640 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36642 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36644 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36645 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36649 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36650 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36652 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36653 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36654 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36656 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36657 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36658 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36660 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36661 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36662 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36663 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36666 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36677 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36681 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36682 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36683 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36684 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36690 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36691 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36696 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36720 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36721 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36722 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36723 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36724 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36736 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36737 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36763 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36764 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36765 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36766 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36779 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36780 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36781 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36782 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36783 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36784 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36786 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36788 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36790 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36792 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36794 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36796 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36798 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36802 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36803 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36807 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36818 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36819 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36820 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36824 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36825 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36826 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36827 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36828 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36829 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36831 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36832 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36834 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36836 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36838 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36840 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36842 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36847 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36848 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36849 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36850 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36851 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36854 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36858 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36866 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36867 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36868 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36869 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36870 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36871 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36874 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36875 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36876 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36878 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36879 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36881 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36882 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36883 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36891 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36893 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36895 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36896 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36898 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36899 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36902 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36903 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36904 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
36906 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36907 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36908 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36910 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36911 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36913 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36914 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36917 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36918 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36920 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36922 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36923 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36926 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36927 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36928 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36929 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36931 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36932 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36933 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36935 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36936 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36937 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36938 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36939 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36940 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36942 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36943 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36944 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
36946 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36947 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36948 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36952 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36954 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36955 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36958 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36959 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36962 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36963 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36967 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36969 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36970 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36971 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36972 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36973 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36974 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36979 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36982 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36983 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36984 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36989 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36990 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36992 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
36993 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
36994 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
36995 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
36996 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
36997 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
36998 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36999 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37001 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37002 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
37003 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
37004 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
37006 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
37007 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
37008 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
37010 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
37011 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
37012 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
37013 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
37015 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
37017 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
37018 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
37019 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
37020 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
37023 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
37024 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
37025 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
37026 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
37027 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
37028 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
37029 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
37030 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
37031 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
37032 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
37034 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
37035 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
37038 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
37039 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
37040 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
37041 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
37042 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
37044 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
37046 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
37047 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
37048 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
37049 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
37050 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
37051 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
37052 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
37053 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
37054 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
37055 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
37056 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
37057 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37058 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
37059 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37060 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
37061 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
37062 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37063 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
37064 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
37065 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
37066 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
37067 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
37068 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
37069 { NULL
, NULL
, 0, NULL
}
37073 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37075 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37078 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37079 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37081 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37082 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37084 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37085 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37087 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37088 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37090 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37091 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37093 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
37094 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
37096 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
37097 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
37099 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37100 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37102 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37105 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37108 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37109 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37111 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
37112 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
37114 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37115 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37117 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37120 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37121 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37123 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37124 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37126 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37127 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37129 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37130 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37132 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37133 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37135 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37136 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37138 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37141 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
37142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37144 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37145 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37147 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37148 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37150 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37153 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37154 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37156 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37157 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37159 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37160 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37162 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37163 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37165 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37166 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37168 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37169 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37171 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37174 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37175 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37177 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37178 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37180 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37181 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37183 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37186 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37189 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37190 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37192 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37193 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37195 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37196 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37198 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37199 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37201 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37202 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37204 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37205 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37207 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37208 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37210 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37211 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37213 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37214 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37216 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37217 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37219 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37220 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37222 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37223 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37225 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37226 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37228 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37229 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37231 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37232 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37234 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37235 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37237 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37238 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37240 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37241 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37243 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37244 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37246 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37247 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37249 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37250 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37252 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37253 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37255 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37256 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37258 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37259 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37261 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37262 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37264 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37265 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37267 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37268 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37270 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37271 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37273 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37276 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37277 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37279 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37280 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37282 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37283 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37285 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37286 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37288 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37289 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37291 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37292 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37294 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37295 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37297 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37298 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37300 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37301 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37303 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37304 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37306 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37307 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37309 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37312 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37313 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37315 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37316 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37318 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37319 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37321 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37322 return (void *)((wxObject
*) ((wxSizer
*) x
));
37324 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37325 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37327 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37328 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37330 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37333 static void *_p_wxEventTo_p_wxObject(void *x
) {
37334 return (void *)((wxObject
*) ((wxEvent
*) x
));
37336 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37337 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37339 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37340 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37342 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37343 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37345 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37348 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37349 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37351 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37352 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37354 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37355 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37357 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37358 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37360 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37361 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37363 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37364 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37366 static void *_p_wxControlTo_p_wxObject(void *x
) {
37367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37369 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37370 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37372 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37373 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37375 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
37376 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
37378 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37379 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37381 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37382 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37384 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37385 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37387 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37388 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37390 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37393 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37394 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37396 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37397 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37399 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37400 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37402 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37405 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37406 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37408 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37411 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37412 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37414 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37415 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37417 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37418 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37420 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37421 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37423 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37424 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37426 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37427 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37429 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37432 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37435 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37438 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37441 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37442 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37444 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37445 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37447 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37448 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37450 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37451 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37453 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37454 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37456 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37459 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37460 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37462 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37465 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37468 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37469 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37471 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37472 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37474 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37475 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37477 static void *_p_wxImageTo_p_wxObject(void *x
) {
37478 return (void *)((wxObject
*) ((wxImage
*) x
));
37480 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37481 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37483 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37484 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37486 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37487 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37489 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37492 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37493 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37495 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37496 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37498 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37499 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37501 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37502 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37504 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37507 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37508 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37510 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37511 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37513 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37516 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37517 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37519 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37520 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37522 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37523 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37525 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37526 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37528 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37529 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37531 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37532 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37534 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37537 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37538 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37540 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37541 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37543 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37544 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37546 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37549 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37550 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37552 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37555 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37558 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37559 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37561 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37562 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37564 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37565 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37567 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37568 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37570 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37571 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37573 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37574 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37576 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37577 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37579 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37580 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37582 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37583 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37585 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37586 return (void *)((wxWindow
*) ((wxControl
*) x
));
37588 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37589 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37591 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37592 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37594 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37595 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37597 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37598 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37600 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37601 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};
37602 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37603 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37604 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37605 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37606 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37607 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37608 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37609 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37610 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37611 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37612 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37613 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37614 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37615 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37616 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37617 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37618 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37619 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37620 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37621 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37622 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37623 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37624 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37625 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37626 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37627 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37628 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37629 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37630 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37631 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37632 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37633 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37634 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37635 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37636 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37637 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37638 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37639 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37640 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37641 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37642 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37643 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37644 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37645 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37646 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37647 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37648 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37649 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37650 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37651 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37652 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37653 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37654 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37655 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37656 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37657 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37658 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37659 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37660 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37661 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37662 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37663 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37664 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37665 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37666 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37667 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37668 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37669 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37670 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37671 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37672 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37673 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37674 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37675 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37676 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37677 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37678 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37679 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37680 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37681 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37682 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37683 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37684 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37685 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37686 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37687 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37688 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37689 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37690 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37691 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37692 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37693 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37694 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37695 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37696 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37697 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37698 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37699 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37700 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37701 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37702 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37703 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37704 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37705 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37706 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37707 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37708 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37709 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37710 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37711 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37712 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37713 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37714 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37715 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37716 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37717 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37718 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37719 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37720 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37721 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37722 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37723 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37724 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37725 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37726 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37727 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37728 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37729 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37730 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37731 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37732 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37733 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37734 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37735 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37736 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37737 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
37738 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37739 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37740 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37741 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37742 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37743 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37744 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37745 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37746 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37747 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37748 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37749 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37750 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37751 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37752 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37753 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37754 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37755 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37756 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37757 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37758 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37759 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37760 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37761 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37762 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37763 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37764 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37765 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37766 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37767 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37768 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37769 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37770 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37771 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37773 static swig_type_info
*swig_type_initial
[] = {
37775 &_swigt__p_form_ops_t
,
37777 &_swigt__p_unsigned_char
,
37778 &_swigt__p_unsigned_int
,
37779 &_swigt__p_unsigned_long
,
37781 &_swigt__p_wxANIHandler
,
37782 &_swigt__p_wxAcceleratorTable
,
37783 &_swigt__p_wxActivateEvent
,
37784 &_swigt__p_wxArrayString
,
37785 &_swigt__p_wxBMPHandler
,
37786 &_swigt__p_wxBitmap
,
37787 &_swigt__p_wxBitmapDataObject
,
37788 &_swigt__p_wxBoxSizer
,
37789 &_swigt__p_wxBusyCursor
,
37790 &_swigt__p_wxBusyInfo
,
37791 &_swigt__p_wxCURHandler
,
37792 &_swigt__p_wxCaret
,
37794 &_swigt__p_wxChildFocusEvent
,
37795 &_swigt__p_wxClipboard
,
37796 &_swigt__p_wxClipboardLocker
,
37797 &_swigt__p_wxClipboardTextEvent
,
37798 &_swigt__p_wxCloseEvent
,
37799 &_swigt__p_wxColour
,
37800 &_swigt__p_wxCommandEvent
,
37801 &_swigt__p_wxConfig
,
37802 &_swigt__p_wxConfigBase
,
37803 &_swigt__p_wxConfigPathChanger
,
37804 &_swigt__p_wxContextMenuEvent
,
37805 &_swigt__p_wxControl
,
37806 &_swigt__p_wxControlWithItems
,
37807 &_swigt__p_wxCursor
,
37808 &_swigt__p_wxCustomDataObject
,
37810 &_swigt__p_wxDataFormat
,
37811 &_swigt__p_wxDataObject
,
37812 &_swigt__p_wxDataObjectComposite
,
37813 &_swigt__p_wxDataObjectSimple
,
37814 &_swigt__p_wxDateEvent
,
37815 &_swigt__p_wxDateSpan
,
37816 &_swigt__p_wxDateTime
,
37817 &_swigt__p_wxDateTime__TimeZone
,
37818 &_swigt__p_wxDisplay
,
37819 &_swigt__p_wxDisplayChangedEvent
,
37820 &_swigt__p_wxDropFilesEvent
,
37821 &_swigt__p_wxDuplexMode
,
37822 &_swigt__p_wxEraseEvent
,
37823 &_swigt__p_wxEvent
,
37824 &_swigt__p_wxEvtHandler
,
37825 &_swigt__p_wxFSFile
,
37826 &_swigt__p_wxFileConfig
,
37827 &_swigt__p_wxFileDataObject
,
37828 &_swigt__p_wxFileHistory
,
37829 &_swigt__p_wxFileSystem
,
37830 &_swigt__p_wxFileType
,
37831 &_swigt__p_wxFileTypeInfo
,
37832 &_swigt__p_wxFlexGridSizer
,
37833 &_swigt__p_wxFocusEvent
,
37835 &_swigt__p_wxFrame
,
37836 &_swigt__p_wxGBSizerItem
,
37837 &_swigt__p_wxGIFHandler
,
37838 &_swigt__p_wxGridBagSizer
,
37839 &_swigt__p_wxGridSizer
,
37840 &_swigt__p_wxICOHandler
,
37842 &_swigt__p_wxIconizeEvent
,
37843 &_swigt__p_wxIdleEvent
,
37844 &_swigt__p_wxImage
,
37845 &_swigt__p_wxImageHandler
,
37846 &_swigt__p_wxIndividualLayoutConstraint
,
37847 &_swigt__p_wxInitDialogEvent
,
37848 &_swigt__p_wxJPEGHandler
,
37849 &_swigt__p_wxJoystick
,
37850 &_swigt__p_wxJoystickEvent
,
37851 &_swigt__p_wxKeyEvent
,
37852 &_swigt__p_wxKillError
,
37853 &_swigt__p_wxLayoutConstraints
,
37855 &_swigt__p_wxLogBuffer
,
37856 &_swigt__p_wxLogChain
,
37857 &_swigt__p_wxLogGui
,
37858 &_swigt__p_wxLogNull
,
37859 &_swigt__p_wxLogStderr
,
37860 &_swigt__p_wxLogTextCtrl
,
37861 &_swigt__p_wxLogWindow
,
37862 &_swigt__p_wxMaximizeEvent
,
37863 &_swigt__p_wxMemorySize
,
37865 &_swigt__p_wxMenuBar
,
37866 &_swigt__p_wxMenuEvent
,
37867 &_swigt__p_wxMenuItem
,
37868 &_swigt__p_wxMetafile
,
37869 &_swigt__p_wxMetafileDataObject
,
37870 &_swigt__p_wxMimeTypesManager
,
37871 &_swigt__p_wxMouseCaptureChangedEvent
,
37872 &_swigt__p_wxMouseEvent
,
37873 &_swigt__p_wxMouseState
,
37874 &_swigt__p_wxMoveEvent
,
37875 &_swigt__p_wxMutexGuiLocker
,
37876 &_swigt__p_wxNavigationKeyEvent
,
37877 &_swigt__p_wxNcPaintEvent
,
37878 &_swigt__p_wxNotifyEvent
,
37879 &_swigt__p_wxObject
,
37880 &_swigt__p_wxOutputStream
,
37881 &_swigt__p_wxPCXHandler
,
37882 &_swigt__p_wxPNGHandler
,
37883 &_swigt__p_wxPNMHandler
,
37884 &_swigt__p_wxPaintEvent
,
37885 &_swigt__p_wxPaletteChangedEvent
,
37886 &_swigt__p_wxPaperSize
,
37887 &_swigt__p_wxPoint
,
37888 &_swigt__p_wxPowerEvent
,
37889 &_swigt__p_wxProcessEvent
,
37890 &_swigt__p_wxPyApp
,
37891 &_swigt__p_wxPyArtProvider
,
37892 &_swigt__p_wxPyBitmapDataObject
,
37893 &_swigt__p_wxPyCommandEvent
,
37894 &_swigt__p_wxPyDataObjectSimple
,
37895 &_swigt__p_wxPyDropSource
,
37896 &_swigt__p_wxPyDropTarget
,
37897 &_swigt__p_wxPyEvent
,
37898 &_swigt__p_wxPyFileDropTarget
,
37899 &_swigt__p_wxPyImageHandler
,
37900 &_swigt__p_wxPyLog
,
37901 &_swigt__p_wxPyProcess
,
37902 &_swigt__p_wxPySizer
,
37903 &_swigt__p_wxPyTextDataObject
,
37904 &_swigt__p_wxPyTextDropTarget
,
37905 &_swigt__p_wxPyTimer
,
37906 &_swigt__p_wxPyTipProvider
,
37907 &_swigt__p_wxPyValidator
,
37908 &_swigt__p_wxQueryNewPaletteEvent
,
37910 &_swigt__p_wxScrollEvent
,
37911 &_swigt__p_wxScrollWinEvent
,
37912 &_swigt__p_wxSetCursorEvent
,
37913 &_swigt__p_wxShowEvent
,
37914 &_swigt__p_wxSingleInstanceChecker
,
37916 &_swigt__p_wxSizeEvent
,
37917 &_swigt__p_wxSizer
,
37918 &_swigt__p_wxSizerItem
,
37919 &_swigt__p_wxSound
,
37920 &_swigt__p_wxStandardPaths
,
37921 &_swigt__p_wxStaticBoxSizer
,
37922 &_swigt__p_wxStdDialogButtonSizer
,
37923 &_swigt__p_wxStopWatch
,
37924 &_swigt__p_wxString
,
37925 &_swigt__p_wxSysColourChangedEvent
,
37926 &_swigt__p_wxSystemOptions
,
37927 &_swigt__p_wxSystemSettings
,
37928 &_swigt__p_wxTIFFHandler
,
37929 &_swigt__p_wxTextCtrl
,
37930 &_swigt__p_wxTextDataObject
,
37931 &_swigt__p_wxTimeSpan
,
37932 &_swigt__p_wxTimer
,
37933 &_swigt__p_wxTimerEvent
,
37934 &_swigt__p_wxTimerRunner
,
37935 &_swigt__p_wxTipProvider
,
37936 &_swigt__p_wxToolTip
,
37937 &_swigt__p_wxURLDataObject
,
37938 &_swigt__p_wxUpdateUIEvent
,
37939 &_swigt__p_wxValidator
,
37940 &_swigt__p_wxVideoMode
,
37941 &_swigt__p_wxWindow
,
37942 &_swigt__p_wxWindowCreateEvent
,
37943 &_swigt__p_wxWindowDestroyEvent
,
37944 &_swigt__p_wxWindowDisabler
,
37945 &_swigt__p_wxXPMHandler
,
37948 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37949 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37950 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37951 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37952 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37953 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37954 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37955 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37956 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37957 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}};
37958 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37959 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37960 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37961 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37962 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37963 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37964 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37965 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37966 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}};
37967 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37968 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37969 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37970 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37971 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37972 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}};
37973 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37974 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}};
37975 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37976 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37977 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37978 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37979 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37980 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37981 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37982 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37983 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37984 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37985 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37986 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37987 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37988 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37989 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37990 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37991 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37992 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37993 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37994 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37995 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37996 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37997 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37998 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37999 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
38000 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38001 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38002 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38003 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38004 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38005 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38006 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38007 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38008 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38009 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38010 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38011 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38012 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38013 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38014 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38015 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38016 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38017 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}};
38018 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
38019 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
38020 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38021 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38022 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
38023 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38024 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}};
38025 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
38026 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38027 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
38028 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
38029 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
38030 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38031 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
38032 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38033 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
38034 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
38035 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
38036 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}};
38037 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
38038 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
38039 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
38040 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
38041 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
38042 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38043 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
38044 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
38045 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38046 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
38047 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38048 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
38049 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
38050 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
38051 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38052 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38053 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38054 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38055 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38056 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38057 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38058 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38059 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38060 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38061 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38062 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38063 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38064 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38065 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38066 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38067 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38068 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38069 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38070 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38071 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38072 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38073 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38074 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38075 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38076 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38077 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38078 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38079 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38080 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38081 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}};
38082 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
38083 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38084 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38085 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38086 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
38087 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
38088 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38089 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
38090 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
38091 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}};
38092 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38093 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
38094 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
38095 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38096 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38097 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
38098 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
38099 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38100 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
38101 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38102 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
38103 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
38104 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
38105 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38106 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
38107 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
38108 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38109 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}};
38110 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
38111 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
38112 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38113 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
38114 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}};
38115 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
38116 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38117 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
38118 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}};
38119 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
38121 static swig_cast_info
*swig_cast_initial
[] = {
38123 _swigc__p_form_ops_t
,
38125 _swigc__p_unsigned_char
,
38126 _swigc__p_unsigned_int
,
38127 _swigc__p_unsigned_long
,
38129 _swigc__p_wxANIHandler
,
38130 _swigc__p_wxAcceleratorTable
,
38131 _swigc__p_wxActivateEvent
,
38132 _swigc__p_wxArrayString
,
38133 _swigc__p_wxBMPHandler
,
38134 _swigc__p_wxBitmap
,
38135 _swigc__p_wxBitmapDataObject
,
38136 _swigc__p_wxBoxSizer
,
38137 _swigc__p_wxBusyCursor
,
38138 _swigc__p_wxBusyInfo
,
38139 _swigc__p_wxCURHandler
,
38142 _swigc__p_wxChildFocusEvent
,
38143 _swigc__p_wxClipboard
,
38144 _swigc__p_wxClipboardLocker
,
38145 _swigc__p_wxClipboardTextEvent
,
38146 _swigc__p_wxCloseEvent
,
38147 _swigc__p_wxColour
,
38148 _swigc__p_wxCommandEvent
,
38149 _swigc__p_wxConfig
,
38150 _swigc__p_wxConfigBase
,
38151 _swigc__p_wxConfigPathChanger
,
38152 _swigc__p_wxContextMenuEvent
,
38153 _swigc__p_wxControl
,
38154 _swigc__p_wxControlWithItems
,
38155 _swigc__p_wxCursor
,
38156 _swigc__p_wxCustomDataObject
,
38158 _swigc__p_wxDataFormat
,
38159 _swigc__p_wxDataObject
,
38160 _swigc__p_wxDataObjectComposite
,
38161 _swigc__p_wxDataObjectSimple
,
38162 _swigc__p_wxDateEvent
,
38163 _swigc__p_wxDateSpan
,
38164 _swigc__p_wxDateTime
,
38165 _swigc__p_wxDateTime__TimeZone
,
38166 _swigc__p_wxDisplay
,
38167 _swigc__p_wxDisplayChangedEvent
,
38168 _swigc__p_wxDropFilesEvent
,
38169 _swigc__p_wxDuplexMode
,
38170 _swigc__p_wxEraseEvent
,
38172 _swigc__p_wxEvtHandler
,
38173 _swigc__p_wxFSFile
,
38174 _swigc__p_wxFileConfig
,
38175 _swigc__p_wxFileDataObject
,
38176 _swigc__p_wxFileHistory
,
38177 _swigc__p_wxFileSystem
,
38178 _swigc__p_wxFileType
,
38179 _swigc__p_wxFileTypeInfo
,
38180 _swigc__p_wxFlexGridSizer
,
38181 _swigc__p_wxFocusEvent
,
38184 _swigc__p_wxGBSizerItem
,
38185 _swigc__p_wxGIFHandler
,
38186 _swigc__p_wxGridBagSizer
,
38187 _swigc__p_wxGridSizer
,
38188 _swigc__p_wxICOHandler
,
38190 _swigc__p_wxIconizeEvent
,
38191 _swigc__p_wxIdleEvent
,
38193 _swigc__p_wxImageHandler
,
38194 _swigc__p_wxIndividualLayoutConstraint
,
38195 _swigc__p_wxInitDialogEvent
,
38196 _swigc__p_wxJPEGHandler
,
38197 _swigc__p_wxJoystick
,
38198 _swigc__p_wxJoystickEvent
,
38199 _swigc__p_wxKeyEvent
,
38200 _swigc__p_wxKillError
,
38201 _swigc__p_wxLayoutConstraints
,
38203 _swigc__p_wxLogBuffer
,
38204 _swigc__p_wxLogChain
,
38205 _swigc__p_wxLogGui
,
38206 _swigc__p_wxLogNull
,
38207 _swigc__p_wxLogStderr
,
38208 _swigc__p_wxLogTextCtrl
,
38209 _swigc__p_wxLogWindow
,
38210 _swigc__p_wxMaximizeEvent
,
38211 _swigc__p_wxMemorySize
,
38213 _swigc__p_wxMenuBar
,
38214 _swigc__p_wxMenuEvent
,
38215 _swigc__p_wxMenuItem
,
38216 _swigc__p_wxMetafile
,
38217 _swigc__p_wxMetafileDataObject
,
38218 _swigc__p_wxMimeTypesManager
,
38219 _swigc__p_wxMouseCaptureChangedEvent
,
38220 _swigc__p_wxMouseEvent
,
38221 _swigc__p_wxMouseState
,
38222 _swigc__p_wxMoveEvent
,
38223 _swigc__p_wxMutexGuiLocker
,
38224 _swigc__p_wxNavigationKeyEvent
,
38225 _swigc__p_wxNcPaintEvent
,
38226 _swigc__p_wxNotifyEvent
,
38227 _swigc__p_wxObject
,
38228 _swigc__p_wxOutputStream
,
38229 _swigc__p_wxPCXHandler
,
38230 _swigc__p_wxPNGHandler
,
38231 _swigc__p_wxPNMHandler
,
38232 _swigc__p_wxPaintEvent
,
38233 _swigc__p_wxPaletteChangedEvent
,
38234 _swigc__p_wxPaperSize
,
38236 _swigc__p_wxPowerEvent
,
38237 _swigc__p_wxProcessEvent
,
38239 _swigc__p_wxPyArtProvider
,
38240 _swigc__p_wxPyBitmapDataObject
,
38241 _swigc__p_wxPyCommandEvent
,
38242 _swigc__p_wxPyDataObjectSimple
,
38243 _swigc__p_wxPyDropSource
,
38244 _swigc__p_wxPyDropTarget
,
38245 _swigc__p_wxPyEvent
,
38246 _swigc__p_wxPyFileDropTarget
,
38247 _swigc__p_wxPyImageHandler
,
38249 _swigc__p_wxPyProcess
,
38250 _swigc__p_wxPySizer
,
38251 _swigc__p_wxPyTextDataObject
,
38252 _swigc__p_wxPyTextDropTarget
,
38253 _swigc__p_wxPyTimer
,
38254 _swigc__p_wxPyTipProvider
,
38255 _swigc__p_wxPyValidator
,
38256 _swigc__p_wxQueryNewPaletteEvent
,
38258 _swigc__p_wxScrollEvent
,
38259 _swigc__p_wxScrollWinEvent
,
38260 _swigc__p_wxSetCursorEvent
,
38261 _swigc__p_wxShowEvent
,
38262 _swigc__p_wxSingleInstanceChecker
,
38264 _swigc__p_wxSizeEvent
,
38266 _swigc__p_wxSizerItem
,
38268 _swigc__p_wxStandardPaths
,
38269 _swigc__p_wxStaticBoxSizer
,
38270 _swigc__p_wxStdDialogButtonSizer
,
38271 _swigc__p_wxStopWatch
,
38272 _swigc__p_wxString
,
38273 _swigc__p_wxSysColourChangedEvent
,
38274 _swigc__p_wxSystemOptions
,
38275 _swigc__p_wxSystemSettings
,
38276 _swigc__p_wxTIFFHandler
,
38277 _swigc__p_wxTextCtrl
,
38278 _swigc__p_wxTextDataObject
,
38279 _swigc__p_wxTimeSpan
,
38281 _swigc__p_wxTimerEvent
,
38282 _swigc__p_wxTimerRunner
,
38283 _swigc__p_wxTipProvider
,
38284 _swigc__p_wxToolTip
,
38285 _swigc__p_wxURLDataObject
,
38286 _swigc__p_wxUpdateUIEvent
,
38287 _swigc__p_wxValidator
,
38288 _swigc__p_wxVideoMode
,
38289 _swigc__p_wxWindow
,
38290 _swigc__p_wxWindowCreateEvent
,
38291 _swigc__p_wxWindowDestroyEvent
,
38292 _swigc__p_wxWindowDisabler
,
38293 _swigc__p_wxXPMHandler
,
38297 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38299 static swig_const_info swig_const_table
[] = {
38300 {0, 0, 0, 0.0, 0, 0}};
38305 /* -----------------------------------------------------------------------------
38306 * Type initialization:
38307 * This problem is tough by the requirement that no dynamic
38308 * memory is used. Also, since swig_type_info structures store pointers to
38309 * swig_cast_info structures and swig_cast_info structures store pointers back
38310 * to swig_type_info structures, we need some lookup code at initialization.
38311 * The idea is that swig generates all the structures that are needed.
38312 * The runtime then collects these partially filled structures.
38313 * The SWIG_InitializeModule function takes these initial arrays out of
38314 * swig_module, and does all the lookup, filling in the swig_module.types
38315 * array with the correct data and linking the correct swig_cast_info
38316 * structures together.
38318 * The generated swig_type_info structures are assigned staticly to an initial
38319 * array. We just loop though that array, and handle each type individually.
38320 * First we lookup if this type has been already loaded, and if so, use the
38321 * loaded structure instead of the generated one. Then we have to fill in the
38322 * cast linked list. The cast data is initially stored in something like a
38323 * two-dimensional array. Each row corresponds to a type (there are the same
38324 * number of rows as there are in the swig_type_initial array). Each entry in
38325 * a column is one of the swig_cast_info structures for that type.
38326 * The cast_initial array is actually an array of arrays, because each row has
38327 * a variable number of columns. So to actually build the cast linked list,
38328 * we find the array of casts associated with the type, and loop through it
38329 * adding the casts to the list. The one last trick we need to do is making
38330 * sure the type pointer in the swig_cast_info struct is correct.
38332 * First off, we lookup the cast->type name to see if it is already loaded.
38333 * There are three cases to handle:
38334 * 1) If the cast->type has already been loaded AND the type we are adding
38335 * casting info to has not been loaded (it is in this module), THEN we
38336 * replace the cast->type pointer with the type pointer that has already
38338 * 2) If BOTH types (the one we are adding casting info to, and the
38339 * cast->type) are loaded, THEN the cast info has already been loaded by
38340 * the previous module so we just ignore it.
38341 * 3) Finally, if cast->type has not already been loaded, then we add that
38342 * swig_cast_info to the linked list (because the cast->type) pointer will
38344 * ----------------------------------------------------------------------------- */
38354 #define SWIGRUNTIME_DEBUG
38358 SWIG_InitializeModule(void *clientdata
) {
38360 swig_module_info
*module_head
;
38361 static int init_run
= 0;
38363 clientdata
= clientdata
;
38365 if (init_run
) return;
38368 /* Initialize the swig_module */
38369 swig_module
.type_initial
= swig_type_initial
;
38370 swig_module
.cast_initial
= swig_cast_initial
;
38372 /* Try and load any already created modules */
38373 module_head
= SWIG_GetModule(clientdata
);
38375 swig_module
.next
= module_head
->next
;
38376 module_head
->next
= &swig_module
;
38378 /* This is the first module loaded */
38379 swig_module
.next
= &swig_module
;
38380 SWIG_SetModule(clientdata
, &swig_module
);
38383 /* Now work on filling in swig_module.types */
38384 #ifdef SWIGRUNTIME_DEBUG
38385 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38387 for (i
= 0; i
< swig_module
.size
; ++i
) {
38388 swig_type_info
*type
= 0;
38389 swig_type_info
*ret
;
38390 swig_cast_info
*cast
;
38392 #ifdef SWIGRUNTIME_DEBUG
38393 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38396 /* if there is another module already loaded */
38397 if (swig_module
.next
!= &swig_module
) {
38398 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38401 /* Overwrite clientdata field */
38402 #ifdef SWIGRUNTIME_DEBUG
38403 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38405 if (swig_module
.type_initial
[i
]->clientdata
) {
38406 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38407 #ifdef SWIGRUNTIME_DEBUG
38408 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38412 type
= swig_module
.type_initial
[i
];
38415 /* Insert casting types */
38416 cast
= swig_module
.cast_initial
[i
];
38417 while (cast
->type
) {
38418 /* Don't need to add information already in the list */
38420 #ifdef SWIGRUNTIME_DEBUG
38421 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38423 if (swig_module
.next
!= &swig_module
) {
38424 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38425 #ifdef SWIGRUNTIME_DEBUG
38426 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38430 if (type
== swig_module
.type_initial
[i
]) {
38431 #ifdef SWIGRUNTIME_DEBUG
38432 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38437 /* Check for casting already in the list */
38438 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38439 #ifdef SWIGRUNTIME_DEBUG
38440 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38442 if (!ocast
) ret
= 0;
38447 #ifdef SWIGRUNTIME_DEBUG
38448 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38451 type
->cast
->prev
= cast
;
38452 cast
->next
= type
->cast
;
38458 /* Set entry in modules->types array equal to the type */
38459 swig_module
.types
[i
] = type
;
38461 swig_module
.types
[i
] = 0;
38463 #ifdef SWIGRUNTIME_DEBUG
38464 printf("**** SWIG_InitializeModule: Cast List ******\n");
38465 for (i
= 0; i
< swig_module
.size
; ++i
) {
38467 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38468 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38469 while (cast
->type
) {
38470 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38474 printf("---- Total casts: %d\n",j
);
38476 printf("**** SWIG_InitializeModule: Cast List ******\n");
38480 /* This function will propagate the clientdata field of type to
38481 * any new swig_type_info structures that have been added into the list
38482 * of equivalent types. It is like calling
38483 * SWIG_TypeClientData(type, clientdata) a second time.
38486 SWIG_PropagateClientData(void) {
38488 swig_cast_info
*equiv
;
38489 static int init_run
= 0;
38491 if (init_run
) return;
38494 for (i
= 0; i
< swig_module
.size
; i
++) {
38495 if (swig_module
.types
[i
]->clientdata
) {
38496 equiv
= swig_module
.types
[i
]->cast
;
38498 if (!equiv
->converter
) {
38499 if (equiv
->type
&& !equiv
->type
->clientdata
)
38500 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38502 equiv
= equiv
->next
;
38522 /* Python-specific SWIG API */
38523 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38524 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38525 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38527 /* -----------------------------------------------------------------------------
38528 * global variable support code.
38529 * ----------------------------------------------------------------------------- */
38531 typedef struct swig_globalvar
{
38532 char *name
; /* Name of global variable */
38533 PyObject
*(*get_attr
)(void); /* Return the current value */
38534 int (*set_attr
)(PyObject
*); /* Set the value */
38535 struct swig_globalvar
*next
;
38538 typedef struct swig_varlinkobject
{
38540 swig_globalvar
*vars
;
38541 } swig_varlinkobject
;
38543 SWIGINTERN PyObject
*
38544 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38545 return PyString_FromString("<Swig global variables>");
38548 SWIGINTERN PyObject
*
38549 swig_varlink_str(swig_varlinkobject
*v
) {
38550 PyObject
*str
= PyString_FromString("(");
38551 swig_globalvar
*var
;
38552 for (var
= v
->vars
; var
; var
=var
->next
) {
38553 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38554 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38556 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38561 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38562 PyObject
*str
= swig_varlink_str(v
);
38563 fprintf(fp
,"Swig global variables ");
38564 fprintf(fp
,"%s\n", PyString_AsString(str
));
38570 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38571 swig_globalvar
*var
= v
->vars
;
38573 swig_globalvar
*n
= var
->next
;
38580 SWIGINTERN PyObject
*
38581 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38582 PyObject
*res
= NULL
;
38583 swig_globalvar
*var
= v
->vars
;
38585 if (strcmp(var
->name
,n
) == 0) {
38586 res
= (*var
->get_attr
)();
38591 if (res
== NULL
&& !PyErr_Occurred()) {
38592 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38598 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38600 swig_globalvar
*var
= v
->vars
;
38602 if (strcmp(var
->name
,n
) == 0) {
38603 res
= (*var
->set_attr
)(p
);
38608 if (res
== 1 && !PyErr_Occurred()) {
38609 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38614 SWIGINTERN PyTypeObject
*
38615 swig_varlink_type(void) {
38616 static char varlink__doc__
[] = "Swig var link object";
38617 static PyTypeObject varlink_type
;
38618 static int type_init
= 0;
38620 const PyTypeObject tmp
38622 PyObject_HEAD_INIT(NULL
)
38623 0, /* Number of items in variable part (ob_size) */
38624 (char *)"swigvarlink", /* Type name (tp_name) */
38625 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38626 0, /* Itemsize (tp_itemsize) */
38627 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38628 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38629 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38630 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38631 0, /* tp_compare */
38632 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38633 0, /* tp_as_number */
38634 0, /* tp_as_sequence */
38635 0, /* tp_as_mapping */
38638 (reprfunc
)swig_varlink_str
, /* tp_str */
38639 0, /* tp_getattro */
38640 0, /* tp_setattro */
38641 0, /* tp_as_buffer */
38643 varlink__doc__
, /* tp_doc */
38644 0, /* tp_traverse */
38646 0, /* tp_richcompare */
38647 0, /* tp_weaklistoffset */
38648 #if PY_VERSION_HEX >= 0x02020000
38649 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38651 #if PY_VERSION_HEX >= 0x02030000
38654 #ifdef COUNT_ALLOCS
38655 0,0,0,0 /* tp_alloc -> tp_next */
38658 varlink_type
= tmp
;
38659 varlink_type
.ob_type
= &PyType_Type
;
38662 return &varlink_type
;
38665 /* Create a variable linking object for use later */
38666 SWIGINTERN PyObject
*
38667 SWIG_Python_newvarlink(void) {
38668 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38672 return ((PyObject
*) result
);
38676 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38677 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38678 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38680 size_t size
= strlen(name
)+1;
38681 gv
->name
= (char *)malloc(size
);
38683 strncpy(gv
->name
,name
,size
);
38684 gv
->get_attr
= get_attr
;
38685 gv
->set_attr
= set_attr
;
38686 gv
->next
= v
->vars
;
38692 SWIGINTERN PyObject
*
38694 static PyObject
*_SWIG_globals
= 0;
38695 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38696 return _SWIG_globals
;
38699 /* -----------------------------------------------------------------------------
38700 * constants/methods manipulation
38701 * ----------------------------------------------------------------------------- */
38703 /* Install Constants */
38705 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38708 for (i
= 0; constants
[i
].type
; ++i
) {
38709 switch(constants
[i
].type
) {
38710 case SWIG_PY_POINTER
:
38711 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38713 case SWIG_PY_BINARY
:
38714 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38721 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38727 /* -----------------------------------------------------------------------------*/
38728 /* Fix SwigMethods to carry the callback ptrs when needed */
38729 /* -----------------------------------------------------------------------------*/
38732 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38733 swig_const_info
*const_table
,
38734 swig_type_info
**types
,
38735 swig_type_info
**types_initial
) {
38737 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38738 const char *c
= methods
[i
].ml_doc
;
38739 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38741 swig_const_info
*ci
= 0;
38742 const char *name
= c
+ 10;
38743 for (j
= 0; const_table
[j
].type
; ++j
) {
38744 if (strncmp(const_table
[j
].name
, name
,
38745 strlen(const_table
[j
].name
)) == 0) {
38746 ci
= &(const_table
[j
]);
38751 size_t shift
= (ci
->ptype
) - types
;
38752 swig_type_info
*ty
= types_initial
[shift
];
38753 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38754 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38755 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38758 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38760 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38762 strncpy(buff
, "swig_ptr: ", 10);
38764 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38765 methods
[i
].ml_doc
= ndoc
;
38777 /* -----------------------------------------------------------------------------*
38778 * Partial Init method
38779 * -----------------------------------------------------------------------------*/
38784 SWIGEXPORT
void SWIG_init(void) {
38787 /* Fix SwigMethods to carry the callback ptrs when needed */
38788 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38790 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38791 d
= PyModule_GetDict(m
);
38793 SWIG_InitializeModule(0);
38794 SWIG_InstallConstants(d
,swig_const_table
);
38797 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38798 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38799 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38800 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38801 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38802 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38803 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38804 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38805 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38806 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38807 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38808 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38809 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38810 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38811 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38812 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38813 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38814 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38815 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38816 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38817 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38818 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38819 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38820 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38821 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38822 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38823 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38824 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38825 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38826 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38827 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38828 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38829 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38830 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38831 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38832 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38833 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38834 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38835 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38836 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38837 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38838 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38839 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38840 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38841 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38842 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38843 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38844 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38845 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38846 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38847 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38848 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38849 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38850 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38851 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38852 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38853 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38854 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38855 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38856 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38857 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38858 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38859 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38860 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38861 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38862 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38863 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38864 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38865 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38866 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38867 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38868 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38869 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38870 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38871 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38872 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38873 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38874 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38875 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38876 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38877 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38878 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38879 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38880 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38881 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38882 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38883 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38884 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38885 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38886 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38887 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38888 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38889 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38890 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38891 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38892 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38893 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38894 SWIG_Python_SetConstant(d
, "UNKNOWN_PLATFORM",SWIG_From_int(static_cast< int >(wxUNKNOWN_PLATFORM
)));
38895 SWIG_Python_SetConstant(d
, "CURSES",SWIG_From_int(static_cast< int >(wxCURSES
)));
38896 SWIG_Python_SetConstant(d
, "XVIEW_X",SWIG_From_int(static_cast< int >(wxXVIEW_X
)));
38897 SWIG_Python_SetConstant(d
, "MOTIF_X",SWIG_From_int(static_cast< int >(wxMOTIF_X
)));
38898 SWIG_Python_SetConstant(d
, "COSE_X",SWIG_From_int(static_cast< int >(wxCOSE_X
)));
38899 SWIG_Python_SetConstant(d
, "NEXTSTEP",SWIG_From_int(static_cast< int >(wxNEXTSTEP
)));
38900 SWIG_Python_SetConstant(d
, "MAC",SWIG_From_int(static_cast< int >(wxMAC
)));
38901 SWIG_Python_SetConstant(d
, "MAC_DARWIN",SWIG_From_int(static_cast< int >(wxMAC_DARWIN
)));
38902 SWIG_Python_SetConstant(d
, "BEOS",SWIG_From_int(static_cast< int >(wxBEOS
)));
38903 SWIG_Python_SetConstant(d
, "GTK",SWIG_From_int(static_cast< int >(wxGTK
)));
38904 SWIG_Python_SetConstant(d
, "GTK_WIN32",SWIG_From_int(static_cast< int >(wxGTK_WIN32
)));
38905 SWIG_Python_SetConstant(d
, "GTK_OS2",SWIG_From_int(static_cast< int >(wxGTK_OS2
)));
38906 SWIG_Python_SetConstant(d
, "GTK_BEOS",SWIG_From_int(static_cast< int >(wxGTK_BEOS
)));
38907 SWIG_Python_SetConstant(d
, "GEOS",SWIG_From_int(static_cast< int >(wxGEOS
)));
38908 SWIG_Python_SetConstant(d
, "OS2_PM",SWIG_From_int(static_cast< int >(wxOS2_PM
)));
38909 SWIG_Python_SetConstant(d
, "WINDOWS",SWIG_From_int(static_cast< int >(wxWINDOWS
)));
38910 SWIG_Python_SetConstant(d
, "MICROWINDOWS",SWIG_From_int(static_cast< int >(wxMICROWINDOWS
)));
38911 SWIG_Python_SetConstant(d
, "PENWINDOWS",SWIG_From_int(static_cast< int >(wxPENWINDOWS
)));
38912 SWIG_Python_SetConstant(d
, "WINDOWS_NT",SWIG_From_int(static_cast< int >(wxWINDOWS_NT
)));
38913 SWIG_Python_SetConstant(d
, "WIN32S",SWIG_From_int(static_cast< int >(wxWIN32S
)));
38914 SWIG_Python_SetConstant(d
, "WIN95",SWIG_From_int(static_cast< int >(wxWIN95
)));
38915 SWIG_Python_SetConstant(d
, "WIN386",SWIG_From_int(static_cast< int >(wxWIN386
)));
38916 SWIG_Python_SetConstant(d
, "WINDOWS_CE",SWIG_From_int(static_cast< int >(wxWINDOWS_CE
)));
38917 SWIG_Python_SetConstant(d
, "WINDOWS_POCKETPC",SWIG_From_int(static_cast< int >(wxWINDOWS_POCKETPC
)));
38918 SWIG_Python_SetConstant(d
, "WINDOWS_SMARTPHONE",SWIG_From_int(static_cast< int >(wxWINDOWS_SMARTPHONE
)));
38919 SWIG_Python_SetConstant(d
, "MGL_UNIX",SWIG_From_int(static_cast< int >(wxMGL_UNIX
)));
38920 SWIG_Python_SetConstant(d
, "MGL_X",SWIG_From_int(static_cast< int >(wxMGL_X
)));
38921 SWIG_Python_SetConstant(d
, "MGL_WIN32",SWIG_From_int(static_cast< int >(wxMGL_WIN32
)));
38922 SWIG_Python_SetConstant(d
, "MGL_OS2",SWIG_From_int(static_cast< int >(wxMGL_OS2
)));
38923 SWIG_Python_SetConstant(d
, "MGL_DOS",SWIG_From_int(static_cast< int >(wxMGL_DOS
)));
38924 SWIG_Python_SetConstant(d
, "WINDOWS_OS2",SWIG_From_int(static_cast< int >(wxWINDOWS_OS2
)));
38925 SWIG_Python_SetConstant(d
, "UNIX",SWIG_From_int(static_cast< int >(wxUNIX
)));
38926 SWIG_Python_SetConstant(d
, "X11",SWIG_From_int(static_cast< int >(wxX11
)));
38927 SWIG_Python_SetConstant(d
, "PALMOS",SWIG_From_int(static_cast< int >(wxPALMOS
)));
38928 SWIG_Python_SetConstant(d
, "DOS",SWIG_From_int(static_cast< int >(wxDOS
)));
38929 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38930 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38931 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38932 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38933 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38935 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38937 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38938 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38939 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38940 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38941 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38942 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38943 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38944 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38945 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38946 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38947 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38948 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38949 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38950 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38951 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38952 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38953 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38954 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38955 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38956 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38957 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38958 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38959 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38960 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38961 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38962 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38963 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38964 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38965 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38966 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38967 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38968 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38969 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38970 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38971 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38972 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38973 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38974 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38975 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38976 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38977 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38978 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38979 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38980 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38981 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38982 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38983 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38984 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38985 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38986 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38987 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38988 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38989 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38991 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38993 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38994 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38995 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38996 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38997 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38998 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38999 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
39000 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
39001 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
39002 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
39003 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
39004 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
39005 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
39006 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
39007 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
39008 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
39009 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
39010 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
39011 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
39012 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
39013 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
39014 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
39015 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
39016 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
39017 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
39018 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
39019 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
39020 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
39021 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
39022 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
39023 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
39024 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
39025 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
39026 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
39027 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
39028 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
39029 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
39030 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
39031 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
39032 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
39033 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
39034 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
39035 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
39036 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
39037 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
39038 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
39039 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
39040 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
39041 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
39042 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
39043 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
39044 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
39045 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
39046 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
39047 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
39048 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
39049 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
39050 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
39051 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
39052 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
39053 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
39054 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
39055 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
39056 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
39057 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
39058 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
39059 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
39060 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
39061 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
39062 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
39063 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
39064 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
39065 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
39066 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
39067 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
39068 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
39070 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
39072 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
39073 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
39074 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
39075 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
39076 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
39077 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
39078 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
39079 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
39080 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
39081 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
39082 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
39083 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
39084 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
39085 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
39086 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
39087 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
39088 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
39089 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
39090 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
39091 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
39092 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
39093 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
39094 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
39095 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
39096 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
39097 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
39098 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
39099 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
39100 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
39101 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
39102 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
39103 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
39104 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
39105 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
39106 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
39107 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
39108 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
39109 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
39110 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
39111 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
39112 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
39113 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
39114 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
39115 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
39116 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
39117 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
39118 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
39119 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
39120 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
39121 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
39122 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
39123 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
39124 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
39125 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
39126 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
39127 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
39128 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
39129 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
39130 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
39131 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
39132 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
39133 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
39134 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
39135 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
39136 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
39137 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
39138 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
39139 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
39140 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
39141 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
39142 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
39143 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
39144 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
39145 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
39146 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
39147 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
39148 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
39149 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
39150 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
39151 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
39152 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
39153 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
39154 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
39155 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
39156 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
39157 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
39158 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
39159 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
39160 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
39161 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
39162 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
39163 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
39164 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
39165 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
39166 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
39167 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
39168 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
39169 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
39170 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
39171 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
39172 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
39173 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
39174 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
39175 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
39176 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
39177 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
39178 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
39179 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
39180 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
39181 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
39182 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
39183 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
39184 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
39185 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
39186 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
39187 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
39188 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
39189 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
39190 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
39191 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
39192 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
39193 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
39194 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
39195 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
39196 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
39197 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
39198 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
39199 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
39200 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
39201 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
39202 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
39203 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
39204 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
39205 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
39206 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
39207 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
39208 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39209 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39210 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39211 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39212 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39213 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39214 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39215 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39216 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39217 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39218 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39219 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39220 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39221 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39222 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39223 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39224 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39225 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39226 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39227 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39228 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39229 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39230 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39231 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39232 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39233 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39234 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39235 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39236 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39237 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39238 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39239 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39240 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39241 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39242 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39243 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39244 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39245 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39246 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39247 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39248 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39249 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39250 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39251 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39252 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39253 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39254 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39255 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39256 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39257 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39258 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39259 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39260 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39261 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39262 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39263 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39264 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39265 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39266 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39267 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39268 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39269 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39270 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39271 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39273 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39274 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39275 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39276 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39278 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39279 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39280 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39281 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
39282 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
39283 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
39284 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
39285 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
39286 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
39287 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
39288 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
39289 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
39290 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
39291 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
39292 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
39293 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));