1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2482 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxCaret swig_types[18]
2485 #define SWIGTYPE_p_wxChar swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboard swig_types[21]
2488 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2491 #define SWIGTYPE_p_wxColour swig_types[25]
2492 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2493 #define SWIGTYPE_p_wxConfig swig_types[27]
2494 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2495 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2503 #define SWIGTYPE_p_wxDataObject swig_types[37]
2504 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2508 #define SWIGTYPE_p_wxDateTime swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2510 #define SWIGTYPE_p_wxDisplay swig_types[44]
2511 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2519 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2520 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2521 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2522 #define SWIGTYPE_p_wxFileType swig_types[56]
2523 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2524 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2525 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2526 #define SWIGTYPE_p_wxFont swig_types[60]
2527 #define SWIGTYPE_p_wxFrame swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2531 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2532 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2533 #define SWIGTYPE_p_wxIcon swig_types[67]
2534 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2535 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2536 #define SWIGTYPE_p_wxImage swig_types[70]
2537 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxJoystick swig_types[75]
2542 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxKillError swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLog swig_types[80]
2547 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2548 #define SWIGTYPE_p_wxLogChain swig_types[82]
2549 #define SWIGTYPE_p_wxLogGui swig_types[83]
2550 #define SWIGTYPE_p_wxLogNull swig_types[84]
2551 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2552 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2553 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2554 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2555 #define SWIGTYPE_p_wxMenu swig_types[89]
2556 #define SWIGTYPE_p_wxMenuBar swig_types[90]
2557 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMenuItem swig_types[92]
2559 #define SWIGTYPE_p_wxMetafile swig_types[93]
2560 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
2561 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
2562 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseState swig_types[98]
2565 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
2567 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxObject swig_types[104]
2571 #define SWIGTYPE_p_wxOutputStream swig_types[105]
2572 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPoint swig_types[112]
2579 #define SWIGTYPE_p_wxPowerEvent swig_types[113]
2580 #define SWIGTYPE_p_wxProcessEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPyApp swig_types[115]
2582 #define SWIGTYPE_p_wxPyArtProvider swig_types[116]
2583 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[119]
2586 #define SWIGTYPE_p_wxPyDropSource swig_types[120]
2587 #define SWIGTYPE_p_wxPyDropTarget swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyLog swig_types[125]
2592 #define SWIGTYPE_p_wxPyProcess swig_types[126]
2593 #define SWIGTYPE_p_wxPySizer swig_types[127]
2594 #define SWIGTYPE_p_wxPyTextDataObject swig_types[128]
2595 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[129]
2596 #define SWIGTYPE_p_wxPyTimer swig_types[130]
2597 #define SWIGTYPE_p_wxPyTipProvider swig_types[131]
2598 #define SWIGTYPE_p_wxPyValidator swig_types[132]
2599 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[133]
2600 #define SWIGTYPE_p_wxRect swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSound swig_types[144]
2611 #define SWIGTYPE_p_wxStandardPaths swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStopWatch swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSystemOptions swig_types[151]
2618 #define SWIGTYPE_p_wxSystemSettings swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2621 #define SWIGTYPE_p_wxTextDataObject swig_types[155]
2622 #define SWIGTYPE_p_wxTimeSpan swig_types[156]
2623 #define SWIGTYPE_p_wxTimer swig_types[157]
2624 #define SWIGTYPE_p_wxTimerEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTimerRunner swig_types[159]
2626 #define SWIGTYPE_p_wxTipProvider swig_types[160]
2627 #define SWIGTYPE_p_wxToolTip swig_types[161]
2628 #define SWIGTYPE_p_wxURLDataObject swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVideoMode swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDisabler swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _misc_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_misc_
2664 #define SWIG_name "_misc_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2738 #include "wx/wxPython/pyistream.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2744 #define SWIG_From_long PyInt_FromLong
2747 SWIGINTERNINLINE PyObject
*
2748 SWIG_From_int (int value
)
2750 return SWIG_From_long (value
);
2756 # define LLONG_MIN LONG_LONG_MIN
2759 # define LLONG_MAX LONG_LONG_MAX
2762 # define ULLONG_MAX ULONG_LONG_MAX
2767 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2769 if (PyNumber_Check(obj
)) {
2770 if (val
) *val
= PyInt_AsLong(obj
);
2773 return SWIG_TypeError
;
2778 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2781 int res
= SWIG_AsVal_long (obj
, &v
);
2782 if (SWIG_IsOK(res
)) {
2783 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2784 return SWIG_OverflowError
;
2786 if (val
) *val
= static_cast< int >(v
);
2792 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2794 #include <wx/stockitem.h>
2796 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2797 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2798 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2801 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2803 if (obj
== Py_True
) {
2804 if (val
) *val
= true;
2806 } else if (obj
== Py_False
) {
2807 if (val
) *val
= false;
2811 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2812 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2819 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2822 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2823 return SWIG_TypeError
;
2826 *val
= (unsigned long)v
;
2831 SWIGINTERNINLINE PyObject
*
2832 SWIG_From_unsigned_SS_long (unsigned long value
)
2834 return (value
> LONG_MAX
) ?
2835 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2839 void* wxGetXDisplay()
2842 return wxGetDisplay();
2849 wxWindow
* FindWindowAtPointer() {
2851 return wxFindWindowAtPointer(unused
);
2855 bool wxThread_IsMain() {
2856 #ifdef WXP_WITH_THREAD
2857 return wxThread::IsMain();
2863 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2867 #include <wx/snglinst.h>
2871 #include <wx/msw/private.h>
2872 #include <wx/dynload.h>
2877 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2888 // This one only partially works. Appears to be an undocumented
2889 // "standard" convention that not all widgets adhear to. For
2890 // example, for some widgets backgrounds or non-client areas may
2892 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2897 // This one works much better, nearly all widgets and their
2898 // children are captured correctly[**]. Prior to the big
2899 // background erase changes that Vadim did in 2004-2005 this
2900 // method failed badly on XP with Themes activated, most native
2901 // widgets draw only partially, if at all. Without themes it
2902 // worked just like on Win2k. After those changes this method
2905 // ** For example the radio buttons in a wxRadioBox are not its
2906 // children by default, but you can capture it via the panel
2907 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2908 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2909 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2910 PRF_ERASEBKGND
| PRF_OWNED
);
2916 // This one is only defined in the latest SDK and is only
2917 // available on XP. MSDN says it is similar to sending WM_PRINT
2918 // so I expect that it will work similar to the above. Since it
2919 // is avaialble only on XP, it can't be compiled like this and
2920 // will have to be loaded dynamically.
2921 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2926 // Use PrintWindow if available, or fallback to WM_PRINT
2927 // otherwise. Unfortunately using PrintWindow is even worse than
2928 // WM_PRINT. For most native widgets nothing is drawn to the dc
2929 // at all, with or without Themes.
2930 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2931 static bool s_triedToLoad
= false;
2932 static PrintWindow_t pfnPrintWindow
= NULL
;
2933 if ( !s_triedToLoad
)
2936 s_triedToLoad
= true;
2937 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2938 if ( dllUser32
.IsLoaded() )
2940 wxLogNull nolog
; // Don't report errors here
2941 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2946 //printf("Using PrintWindow\n");
2947 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2951 //printf("Using WM_PRINT\n");
2952 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2953 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2954 PRF_ERASEBKGND
| PRF_OWNED
);
2965 #include <wx/tipdlg.h>
2968 SWIGINTERNINLINE PyObject
*
2969 SWIG_From_size_t (size_t value
)
2971 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2975 class wxPyTipProvider
: public wxTipProvider
{
2977 wxPyTipProvider(size_t currentTip
)
2978 : wxTipProvider(currentTip
) {}
2980 DEC_PYCALLBACK_STRING__pure(GetTip
);
2981 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2985 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2986 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2989 SWIGINTERNINLINE
int
2990 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2993 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2994 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2999 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3001 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3003 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3004 : wxTimer(owner
, id
)
3011 SWIGINTERN swig_type_info
*
3012 SWIG_pchar_descriptor()
3014 static int init
= 0;
3015 static swig_type_info
* info
= 0;
3017 info
= SWIG_TypeQuery("_p_char");
3024 SWIGINTERNINLINE PyObject
*
3025 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3028 if (size
> INT_MAX
) {
3029 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3030 return pchar_descriptor
?
3031 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3033 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3036 return SWIG_Py_Void();
3041 SWIGINTERNINLINE PyObject
*
3042 SWIG_FromCharPtr(const char *cptr
)
3044 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3049 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3052 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3053 if (SWIG_IsOK(res
)) {
3054 if ((v
> UINT_MAX
)) {
3055 return SWIG_OverflowError
;
3057 if (val
) *val
= static_cast< unsigned int >(v
);
3063 SWIGINTERN wxString
wxLog_TimeStamp(){
3065 wxLog::TimeStamp(&msg
);
3068 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3069 // Make some wrappers that double any % signs so they are 'escaped'
3070 void wxPyLogFatalError(const wxString
& msg
)
3073 m
.Replace(wxT("%"), wxT("%%"));
3077 void wxPyLogError(const wxString
& msg
)
3080 m
.Replace(wxT("%"), wxT("%%"));
3084 void wxPyLogWarning(const wxString
& msg
)
3087 m
.Replace(wxT("%"), wxT("%%"));
3091 void wxPyLogMessage(const wxString
& msg
)
3094 m
.Replace(wxT("%"), wxT("%%"));
3098 void wxPyLogInfo(const wxString
& msg
)
3101 m
.Replace(wxT("%"), wxT("%%"));
3105 void wxPyLogDebug(const wxString
& msg
)
3108 m
.Replace(wxT("%"), wxT("%%"));
3112 void wxPyLogVerbose(const wxString
& msg
)
3115 m
.Replace(wxT("%"), wxT("%%"));
3119 void wxPyLogStatus(const wxString
& msg
)
3122 m
.Replace(wxT("%"), wxT("%%"));
3126 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3129 m
.Replace(wxT("%"), wxT("%%"));
3130 wxLogStatus(pFrame
, m
);
3133 void wxPyLogSysError(const wxString
& msg
)
3136 m
.Replace(wxT("%"), wxT("%%"));
3140 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3143 m
.Replace(wxT("%"), wxT("%%"));
3144 wxLogGeneric(level
, m
);
3147 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3150 m
.Replace(wxT("%"), wxT("%%"));
3151 wxLogTrace(mask
, m
);
3154 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3157 m
.Replace(wxT("%"), wxT("%%"));
3158 wxLogTrace(mask
, m
);
3163 // A wxLog class that can be derived from in wxPython
3164 class wxPyLog
: public wxLog
{
3166 wxPyLog() : wxLog() {}
3168 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3170 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3171 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3172 PyObject
* s
= wx2PyString(szString
);
3173 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3176 wxPyEndBlockThreads(blocked
);
3178 wxLog::DoLog(level
, szString
, t
);
3181 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3183 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3184 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3185 PyObject
* s
= wx2PyString(szString
);
3186 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3189 wxPyEndBlockThreads(blocked
);
3191 wxLog::DoLogString(szString
, t
);
3194 DEC_PYCALLBACK_VOID_(Flush
);
3197 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3202 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3205 #include <wx/joystick.h>
3208 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3209 // A C++ stub class for wxJoystick for platforms that don't have it.
3210 class wxJoystick
: public wxObject
{
3212 wxJoystick(int joystick
= wxJOYSTICK1
) {
3213 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3214 PyErr_SetString(PyExc_NotImplementedError
,
3215 "wxJoystick is not available on this platform.");
3216 wxPyEndBlockThreads(blocked
);
3218 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3219 int GetZPosition() { return -1; }
3220 int GetButtonState() { return -1; }
3221 int GetPOVPosition() { return -1; }
3222 int GetPOVCTSPosition() { return -1; }
3223 int GetRudderPosition() { return -1; }
3224 int GetUPosition() { return -1; }
3225 int GetVPosition() { return -1; }
3226 int GetMovementThreshold() { return -1; }
3227 void SetMovementThreshold(int threshold
) {}
3229 bool IsOk(void) { return false; }
3230 int GetNumberJoysticks() { return -1; }
3231 int GetManufacturerId() { return -1; }
3232 int GetProductId() { return -1; }
3233 wxString
GetProductName() { return wxEmptyString
; }
3234 int GetXMin() { return -1; }
3235 int GetYMin() { return -1; }
3236 int GetZMin() { return -1; }
3237 int GetXMax() { return -1; }
3238 int GetYMax() { return -1; }
3239 int GetZMax() { return -1; }
3240 int GetNumberButtons() { return -1; }
3241 int GetNumberAxes() { return -1; }
3242 int GetMaxButtons() { return -1; }
3243 int GetMaxAxes() { return -1; }
3244 int GetPollingMin() { return -1; }
3245 int GetPollingMax() { return -1; }
3246 int GetRudderMin() { return -1; }
3247 int GetRudderMax() { return -1; }
3248 int GetUMin() { return -1; }
3249 int GetUMax() { return -1; }
3250 int GetVMin() { return -1; }
3251 int GetVMax() { return -1; }
3253 bool HasRudder() { return false; }
3254 bool HasZ() { return false; }
3255 bool HasU() { return false; }
3256 bool HasV() { return false; }
3257 bool HasPOV() { return false; }
3258 bool HasPOV4Dir() { return false; }
3259 bool HasPOVCTS() { return false; }
3261 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3262 bool ReleaseCapture() { return false; }
3267 #include <wx/sound.h>
3271 // A C++ stub class for wxWave for platforms that don't have it.
3272 class wxSound
: public wxObject
3276 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3277 PyErr_SetString(PyExc_NotImplementedError
,
3278 "wxSound is not available on this platform.");
3279 wxPyEndBlockThreads(blocked
);
3281 wxSound(const wxString
&/*, bool*/) {
3282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3283 PyErr_SetString(PyExc_NotImplementedError
,
3284 "wxSound is not available on this platform.");
3285 wxPyEndBlockThreads(blocked
);
3287 wxSound(int, const wxByte
*) {
3288 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3289 PyErr_SetString(PyExc_NotImplementedError
,
3290 "wxSound is not available on this platform.");
3291 wxPyEndBlockThreads(blocked
);
3296 bool Create(const wxString
&/*, bool*/) { return false; }
3297 bool Create(int, const wxByte
*) { return false; };
3298 bool IsOk() { return false; };
3299 bool Play(unsigned) const { return false; }
3300 static bool Play(const wxString
&, unsigned) { return false; }
3301 static void Stop() {}
3306 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3307 if (fileName
.Length() == 0)
3310 return new wxSound(fileName
);
3312 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3313 unsigned char* buffer
; int size
;
3314 wxSound
*sound
= NULL
;
3316 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3317 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3319 sound
= new wxSound(size
, buffer
);
3321 wxPyEndBlockThreads(blocked
);
3324 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3326 unsigned char* buffer
;
3330 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3331 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3333 rv
= self
->Create(size
, buffer
);
3335 wxPyEndBlockThreads(blocked
);
3338 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3339 PyErr_SetString(PyExc_NotImplementedError
,
3340 "Create from data is not available on this platform.");
3341 wxPyEndBlockThreads(blocked
);
3346 #include <wx/mimetype.h>
3348 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3350 if (self
->GetMimeType(&str
))
3351 return wx2PyString(str
);
3355 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3357 if (self
->GetMimeTypes(arr
))
3358 return wxArrayString2PyList_helper(arr
);
3362 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3364 if (self
->GetExtensions(arr
))
3365 return wxArrayString2PyList_helper(arr
);
3369 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3371 if (self
->GetIcon(&loc
))
3372 return new wxIcon(loc
);
3376 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3378 if (self
->GetIcon(&loc
)) {
3379 wxString iconFile
= loc
.GetFileName();
3382 iconIndex
= loc
.GetIndex();
3384 // Make a tuple and put the values in it
3385 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3386 PyObject
* tuple
= PyTuple_New(3);
3387 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3388 wxT("wxIcon"), true));
3389 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3390 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3391 wxPyEndBlockThreads(blocked
);
3397 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3399 if (self
->GetDescription(&str
))
3400 return wx2PyString(str
);
3404 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3406 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3407 return wx2PyString(str
);
3411 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3413 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3414 return wx2PyString(str
);
3418 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3419 wxArrayString verbs
;
3420 wxArrayString commands
;
3421 if (self
->GetAllCommands(&verbs
, &commands
,
3422 wxFileType::MessageParameters(filename
, mimetype
))) {
3423 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3424 PyObject
* tuple
= PyTuple_New(2);
3425 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3426 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3427 wxPyEndBlockThreads(blocked
);
3433 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3434 return wxFileType::ExpandCommand(command
,
3435 wxFileType::MessageParameters(filename
, mimetype
));
3437 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3439 self
->EnumAllFileTypes(arr
);
3440 return wxArrayString2PyList_helper(arr
);
3443 #include <wx/artprov.h>
3445 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3446 static const wxString
wxPyART_MENU(wxART_MENU
);
3447 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3448 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3449 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3450 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3451 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3452 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3453 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3454 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3455 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3456 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3457 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3458 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3459 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3460 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3461 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3462 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3463 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3464 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3465 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3466 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3467 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3468 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3469 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3470 static const wxString
wxPyART_HELP(wxART_HELP
);
3471 static const wxString
wxPyART_TIP(wxART_TIP
);
3472 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3473 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3474 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3475 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3476 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3477 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3478 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3479 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3480 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3481 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3482 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3483 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3484 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3485 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3486 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3487 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3488 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3489 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3490 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3491 static const wxString
wxPyART_COPY(wxART_COPY
);
3492 static const wxString
wxPyART_CUT(wxART_CUT
);
3493 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3494 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3495 static const wxString
wxPyART_NEW(wxART_NEW
);
3496 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3497 static const wxString
wxPyART_REDO(wxART_REDO
);
3498 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3499 static const wxString
wxPyART_FIND(wxART_FIND
);
3500 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3501 // Python aware wxArtProvider
3502 class wxPyArtProvider
: public wxArtProvider
{
3505 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3506 const wxArtClient
& client
,
3507 const wxSize
& size
) {
3508 wxBitmap rval
= wxNullBitmap
;
3509 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3510 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3511 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3515 s1
= wx2PyString(id
);
3516 s2
= wx2PyString(client
);
3517 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3522 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3527 wxPyEndBlockThreads(blocked
);
3534 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3538 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3539 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3540 PyObject
* ret
= PyTuple_New(3);
3542 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3543 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3544 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3546 wxPyEndBlockThreads(blocked
);
3550 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3555 cont
= self
->GetFirstGroup(value
, index
);
3556 return __EnumerationHelper(cont
, value
, index
);
3558 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3562 cont
= self
->GetNextGroup(value
, index
);
3563 return __EnumerationHelper(cont
, value
, index
);
3565 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3570 cont
= self
->GetFirstEntry(value
, index
);
3571 return __EnumerationHelper(cont
, value
, index
);
3573 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3577 cont
= self
->GetNextEntry(value
, index
);
3578 return __EnumerationHelper(cont
, value
, index
);
3580 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3582 self
->Read(key
, &rv
, defaultVal
);
3587 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3589 if (PyNumber_Check(obj
)) {
3590 if (val
) *val
= PyFloat_AsDouble(obj
);
3593 return SWIG_TypeError
;
3596 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3598 self
->Read(key
, &rv
, defaultVal
);
3602 #define SWIG_From_double PyFloat_FromDouble
3604 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3606 self
->Read(key
, &rv
, defaultVal
);
3610 #include <wx/datetime.h>
3612 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3613 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3615 #define LOCAL_TZ wxDateTime::Local
3617 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3620 wxDateTime::GetAmPmStrings(&am
, &pm
);
3621 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3622 PyObject
* tup
= PyTuple_New(2);
3623 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3624 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3625 wxPyEndBlockThreads(blocked
);
3629 SWIGINTERNINLINE PyObject
*
3630 SWIG_From_unsigned_SS_int (unsigned int value
)
3632 return SWIG_From_unsigned_SS_long (value
);
3635 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3636 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3637 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3638 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3639 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3640 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3641 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3642 return (*self
< *other
);
3644 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3645 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3646 return (*self
<= *other
);
3648 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3649 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3650 return (*self
> *other
);
3652 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3653 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3654 return (*self
>= *other
);
3656 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3657 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3658 return (*self
== *other
);
3660 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3661 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3662 return (*self
!= *other
);
3664 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3666 const wxChar
* _date
= date
;
3667 rv
= self
->ParseRfc822Date(_date
);
3668 if (rv
== NULL
) return -1;
3671 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3673 const wxChar
* _date
= date
;
3674 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3675 if (rv
== NULL
) return -1;
3678 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3680 const wxChar
* _datetime
= datetime
;
3681 rv
= self
->ParseDateTime(_datetime
);
3682 if (rv
== NULL
) return -1;
3683 return rv
- _datetime
;
3685 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3687 const wxChar
* _date
= date
;
3688 rv
= self
->ParseDate(_date
);
3689 if (rv
== NULL
) return -1;
3692 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3694 const wxChar
* _time
= time
;
3695 rv
= self
->ParseTime(_time
);
3696 if (rv
== NULL
) return -1;
3699 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3700 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3701 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3702 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3703 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3704 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3705 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3706 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3707 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3708 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3709 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3710 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3711 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3712 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3713 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3714 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3716 #include <wx/dataobj.h>
3718 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3719 size_t count
= self
->GetFormatCount(dir
);
3720 wxDataFormat
* formats
= new wxDataFormat
[count
];
3721 self
->GetAllFormats(formats
, dir
);
3723 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3724 PyObject
* list
= PyList_New(count
);
3725 for (size_t i
=0; i
<count
; i
++) {
3726 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3727 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3728 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3730 wxPyEndBlockThreads(blocked
);
3734 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3735 PyObject
* rval
= NULL
;
3736 size_t size
= self
->GetDataSize(format
);
3737 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3739 char* buf
= new char[size
];
3740 if (self
->GetDataHere(format
, buf
))
3741 rval
= PyString_FromStringAndSize(buf
, size
);
3748 wxPyEndBlockThreads(blocked
);
3751 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3753 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3754 if (PyString_Check(data
)) {
3755 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3758 // raise a TypeError if not a string
3759 PyErr_SetString(PyExc_TypeError
, "String expected.");
3762 wxPyEndBlockThreads(blocked
);
3765 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3766 PyObject
* rval
= NULL
;
3767 size_t size
= self
->GetDataSize();
3768 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3770 char* buf
= new char[size
];
3771 if (self
->GetDataHere(buf
))
3772 rval
= PyString_FromStringAndSize(buf
, size
);
3779 wxPyEndBlockThreads(blocked
);
3782 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3784 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3785 if (PyString_Check(data
)) {
3786 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3789 // raise a TypeError if not a string
3790 PyErr_SetString(PyExc_TypeError
, "String expected.");
3793 wxPyEndBlockThreads(blocked
);
3796 // Create a new class for wxPython to use
3797 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3799 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3800 : wxDataObjectSimple(format
) {}
3802 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3803 bool GetDataHere(void *buf
) const;
3804 bool SetData(size_t len
, const void *buf
);
3808 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3810 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3811 // We need to get the data for this object and write it to buf. I think
3812 // the best way to do this for wxPython is to have the Python method
3813 // return either a string or None and then act appropriately with the
3817 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3818 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3820 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3822 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3824 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3828 wxPyEndBlockThreads(blocked
);
3832 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3833 // For this one we simply need to make a string from buf and len
3834 // and send it to the Python method.
3836 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3837 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3838 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3839 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3842 wxPyEndBlockThreads(blocked
);
3846 // Create a new class for wxPython to use
3847 class wxPyTextDataObject
: public wxTextDataObject
{
3849 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3850 : wxTextDataObject(text
) {}
3852 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3853 DEC_PYCALLBACK_STRING__const(GetText
);
3854 DEC_PYCALLBACK__STRING(SetText
);
3858 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3859 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3860 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3863 // Create a new class for wxPython to use
3864 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3866 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3867 : wxBitmapDataObject(bitmap
) {}
3869 wxBitmap
GetBitmap() const;
3870 void SetBitmap(const wxBitmap
& bitmap
);
3874 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3875 wxBitmap
* rval
= &wxNullBitmap
;
3876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3877 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3880 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3882 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3887 wxPyEndBlockThreads(blocked
);
3891 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3892 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3893 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3894 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3895 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3898 wxPyEndBlockThreads(blocked
);
3901 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3902 return new wxCustomDataObject(wxDataFormat(formatName
));
3904 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3907 if (PyString_Check(data
)) {
3908 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3911 // raise a TypeError if not a string
3912 PyErr_SetString(PyExc_TypeError
, "String expected.");
3915 wxPyEndBlockThreads(blocked
);
3918 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3920 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3921 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3922 wxPyEndBlockThreads(blocked
);
3926 #include <wx/metafile.h>
3929 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3932 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3933 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3934 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3935 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3936 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3939 class wxPyTextDropTarget
: public wxTextDropTarget
{
3941 wxPyTextDropTarget() {}
3943 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3945 DEC_PYCALLBACK__(OnLeave
);
3946 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3947 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3948 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3949 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3954 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3955 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3956 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3957 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3958 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3959 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3963 class wxPyFileDropTarget
: public wxFileDropTarget
{
3965 wxPyFileDropTarget() {}
3967 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3969 DEC_PYCALLBACK__(OnLeave
);
3970 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3971 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3972 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3973 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3978 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3979 const wxArrayString
& filenames
) {
3981 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3982 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3983 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3984 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3987 wxPyEndBlockThreads(blocked
);
3993 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3994 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3995 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3996 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3997 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4002 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4004 #include <wx/display.h>
4006 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4007 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4010 const wxVideoMode wxDefaultVideoMode
;
4013 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4015 PyObject
* pyList
= NULL
;
4016 wxArrayVideoModes arr
= self
->GetModes(mode
);
4017 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4018 pyList
= PyList_New(0);
4019 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4021 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4022 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4023 PyList_Append(pyList
, pyObj
);
4026 wxPyEndBlockThreads(blocked
);
4029 wxPyRaiseNotImplemented();
4033 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4035 return self
->GetCurrentMode();
4037 wxPyRaiseNotImplemented();
4038 return wxDefaultVideoMode
;
4041 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4043 return self
->ChangeMode(mode
);
4045 wxPyRaiseNotImplemented();
4049 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4053 wxPyRaiseNotImplemented();
4057 #include <wx/stdpaths.h>
4059 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4060 return (wxStandardPaths
*) &wxStandardPaths::Get();
4062 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4063 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4065 #ifndef wxHAS_POWER_EVENTS
4066 // Dummy class and other definitions for platforms that don't have them
4068 // See wxPython_int.h for wxPowerEvent
4071 wxEVT_POWER_SUSPENDING
,
4072 wxEVT_POWER_SUSPENDED
,
4073 wxEVT_POWER_SUSPEND_CANCEL
,
4077 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4078 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4085 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
= 0;
4087 wxSystemColour arg1
;
4091 PyObject
* obj0
= 0 ;
4092 char * kwnames
[] = {
4093 (char *) "index", NULL
4096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4098 if (!SWIG_IsOK(ecode1
)) {
4099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4101 arg1
= static_cast< wxSystemColour
>(val1
);
4103 if (!wxPyCheckForApp()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= wxSystemSettings::GetColour(arg1
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4116 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
= 0;
4122 PyObject
* obj0
= 0 ;
4123 char * kwnames
[] = {
4124 (char *) "index", NULL
4127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4129 if (!SWIG_IsOK(ecode1
)) {
4130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4132 arg1
= static_cast< wxSystemFont
>(val1
);
4134 if (!wxPyCheckForApp()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= wxSystemSettings::GetFont(arg1
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4147 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
= 0;
4149 wxSystemMetric arg1
;
4150 wxWindow
*arg2
= (wxWindow
*) NULL
;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4158 char * kwnames
[] = {
4159 (char *) "index",(char *) "win", NULL
4162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4163 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4164 if (!SWIG_IsOK(ecode1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4167 arg1
= static_cast< wxSystemMetric
>(val1
);
4169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4170 if (!SWIG_IsOK(res2
)) {
4171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4173 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4176 if (!wxPyCheckForApp()) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_From_int(static_cast< int >(result
));
4189 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
= 0;
4191 wxSystemFeature arg1
;
4195 PyObject
* obj0
= 0 ;
4196 char * kwnames
[] = {
4197 (char *) "index", NULL
4200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4202 if (!SWIG_IsOK(ecode1
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4205 arg1
= static_cast< wxSystemFeature
>(val1
);
4207 if (!wxPyCheckForApp()) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4222 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4223 PyObject
*resultobj
= 0;
4224 wxSystemScreenType result
;
4226 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4228 if (!wxPyCheckForApp()) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_From_int(static_cast< int >(result
));
4241 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= 0;
4243 wxSystemScreenType arg1
;
4246 PyObject
* obj0
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "screen", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4253 if (!SWIG_IsOK(ecode1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4256 arg1
= static_cast< wxSystemScreenType
>(val1
);
4258 if (!wxPyCheckForApp()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxSystemSettings::SetScreenType(arg1
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 resultobj
= SWIG_Py_Void();
4271 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4274 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4275 return SWIG_Py_Void();
4278 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4279 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4284 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4285 PyObject
*pyobj
= 0;
4289 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4291 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4298 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4299 PyObject
*resultobj
= 0;
4300 wxSystemOptions
*result
= 0 ;
4302 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (wxSystemOptions
*)new wxSystemOptions();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4316 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
= 0;
4318 wxString
*arg1
= 0 ;
4319 wxString
*arg2
= 0 ;
4320 bool temp1
= false ;
4321 bool temp2
= false ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4324 char * kwnames
[] = {
4325 (char *) "name",(char *) "value", NULL
4328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4330 arg1
= wxString_in_helper(obj0
);
4331 if (arg1
== NULL
) SWIG_fail
;
4335 arg2
= wxString_in_helper(obj1
);
4336 if (arg2
== NULL
) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_Py_Void();
4368 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
= 0;
4370 wxString
*arg1
= 0 ;
4372 bool temp1
= false ;
4375 PyObject
* obj0
= 0 ;
4376 PyObject
* obj1
= 0 ;
4377 char * kwnames
[] = {
4378 (char *) "name",(char *) "value", NULL
4381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4383 arg1
= wxString_in_helper(obj0
);
4384 if (arg1
== NULL
) SWIG_fail
;
4387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4388 if (!SWIG_IsOK(ecode2
)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4391 arg2
= static_cast< int >(val2
);
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= SWIG_Py_Void();
4413 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
= 0;
4415 wxString
*arg1
= 0 ;
4417 bool temp1
= false ;
4418 PyObject
* obj0
= 0 ;
4419 char * kwnames
[] = {
4420 (char *) "name", NULL
4423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4425 arg1
= wxString_in_helper(obj0
);
4426 if (arg1
== NULL
) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4456 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
= 0;
4458 wxString
*arg1
= 0 ;
4460 bool temp1
= false ;
4461 PyObject
* obj0
= 0 ;
4462 char * kwnames
[] = {
4463 (char *) "name", NULL
4466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4468 arg1
= wxString_in_helper(obj0
);
4469 if (arg1
== NULL
) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_From_int(static_cast< int >(result
));
4493 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxString
*arg1
= 0 ;
4497 bool temp1
= false ;
4498 PyObject
* obj0
= 0 ;
4499 char * kwnames
[] = {
4500 (char *) "name", NULL
4503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4505 arg1
= wxString_in_helper(obj0
);
4506 if (arg1
== NULL
) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4532 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
= 0;
4534 wxString
*arg1
= 0 ;
4536 bool temp1
= false ;
4537 PyObject
* obj0
= 0 ;
4538 char * kwnames
[] = {
4539 (char *) "name", NULL
4542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4544 arg1
= wxString_in_helper(obj0
);
4545 if (arg1
== NULL
) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4571 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4574 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4575 return SWIG_Py_Void();
4578 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4579 return SWIG_Python_InitShadowInstance(args
);
4582 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4583 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4588 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4589 PyObject
*pyobj
= 0;
4593 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4595 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4602 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4603 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4608 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4609 PyObject
*pyobj
= 0;
4613 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4615 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4622 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4623 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4628 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4629 PyObject
*pyobj
= 0;
4633 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4635 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4642 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4643 PyObject
*resultobj
= 0;
4646 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (long)wxNewId();
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= SWIG_From_long(static_cast< long >(result
));
4660 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
= 0;
4665 PyObject
* obj0
= 0 ;
4666 char * kwnames
[] = {
4670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4671 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4672 if (!SWIG_IsOK(ecode1
)) {
4673 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4675 arg1
= static_cast< long >(val1
);
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_Py_Void();
4689 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4690 PyObject
*resultobj
= 0;
4693 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (long)wxGetCurrentId();
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_From_long(static_cast< long >(result
));
4707 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
= 0;
4713 PyObject
* obj0
= 0 ;
4714 char * kwnames
[] = {
4718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4720 if (!SWIG_IsOK(ecode1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4723 arg1
= static_cast< int >(val1
);
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (bool)wxIsStockID(arg1
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4739 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
= 0;
4742 wxString
*arg2
= 0 ;
4746 bool temp2
= false ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4749 char * kwnames
[] = {
4750 (char *) "id",(char *) "label", NULL
4753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4755 if (!SWIG_IsOK(ecode1
)) {
4756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4758 arg1
= static_cast< int >(val1
);
4760 arg2
= wxString_in_helper(obj1
);
4761 if (arg2
== NULL
) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4787 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
= 0;
4790 bool arg2
= (bool) true ;
4791 wxString arg3
= (wxString
) wxPyEmptyString
;
4797 PyObject
* obj0
= 0 ;
4798 PyObject
* obj1
= 0 ;
4799 PyObject
* obj2
= 0 ;
4800 char * kwnames
[] = {
4801 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4806 if (!SWIG_IsOK(ecode1
)) {
4807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4809 arg1
= static_cast< int >(val1
);
4811 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4812 if (!SWIG_IsOK(ecode2
)) {
4813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4815 arg2
= static_cast< bool >(val2
);
4819 wxString
* sptr
= wxString_in_helper(obj2
);
4820 if (sptr
== NULL
) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4844 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4845 PyObject
*resultobj
= 0;
4847 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4849 if (!wxPyCheckForApp()) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= SWIG_Py_Void();
4862 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4863 PyObject
*resultobj
= 0;
4865 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4867 if (!wxPyCheckForApp()) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= SWIG_Py_Void();
4880 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
= 0;
4882 bool arg1
= (bool) true ;
4886 PyObject
* obj0
= 0 ;
4887 char * kwnames
[] = {
4888 (char *) "resetTimer", NULL
4891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4893 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4894 if (!SWIG_IsOK(ecode1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4897 arg1
= static_cast< bool >(val1
);
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (long)wxGetElapsedTime(arg1
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_From_long(static_cast< long >(result
));
4912 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4913 PyObject
*resultobj
= 0;
4916 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (bool)wxIsBusy();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4932 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4933 PyObject
*resultobj
= 0;
4936 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4956 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
= 0;
4958 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4959 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4961 bool temp1
= false ;
4962 PyObject
* obj0
= 0 ;
4963 char * kwnames
[] = {
4964 (char *) "command", NULL
4967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4970 arg1
= wxString_in_helper(obj0
);
4971 if (arg1
== NULL
) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (bool)wxShell((wxString
const &)*arg1
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 PyObject
*resultobj
= 0;
5001 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_Py_Void();
5015 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5016 PyObject
*resultobj
= 0;
5017 int *arg1
= (int *) 0 ;
5018 int *arg2
= (int *) 0 ;
5021 int res1
= SWIG_TMPOBJ
;
5023 int res2
= SWIG_TMPOBJ
;
5027 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (int)wxGetOsVersion(arg1
,arg2
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= SWIG_From_int(static_cast< int >(result
));
5035 if (SWIG_IsTmpObj(res1
)) {
5036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5038 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5041 if (SWIG_IsTmpObj(res2
)) {
5042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5044 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5053 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5054 PyObject
*resultobj
= 0;
5057 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= wxGetOsDescription();
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5077 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5078 PyObject
*resultobj
= 0;
5079 wxMemorySize result
;
5081 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= wxGetFreeMemory();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5092 resultobj
= PyInt_FromLong(result
);
5101 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
= 0;
5103 wxShutdownFlags arg1
;
5107 PyObject
* obj0
= 0 ;
5108 char * kwnames
[] = {
5109 (char *) "wFlags", NULL
5112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5114 if (!SWIG_IsOK(ecode1
)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5117 arg1
= static_cast< wxShutdownFlags
>(val1
);
5119 if (!wxPyCheckForApp()) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (bool)wxShutdown(arg1
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5134 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
= 0;
5139 PyObject
* obj0
= 0 ;
5140 char * kwnames
[] = {
5141 (char *) "secs", NULL
5144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5146 if (!SWIG_IsOK(ecode1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5149 arg1
= static_cast< int >(val1
);
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_Py_Void();
5163 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
= 0;
5165 unsigned long arg1
;
5166 unsigned long val1
;
5168 PyObject
* obj0
= 0 ;
5169 char * kwnames
[] = {
5170 (char *) "milliseconds", NULL
5173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5174 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5175 if (!SWIG_IsOK(ecode1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5178 arg1
= static_cast< unsigned long >(val1
);
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_Py_Void();
5192 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
= 0;
5194 unsigned long arg1
;
5195 unsigned long val1
;
5197 PyObject
* obj0
= 0 ;
5198 char * kwnames
[] = {
5199 (char *) "microseconds", NULL
5202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5203 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5204 if (!SWIG_IsOK(ecode1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5207 arg1
= static_cast< unsigned long >(val1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_Py_Void();
5221 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5226 PyObject
* obj0
= 0 ;
5227 char * kwnames
[] = {
5228 (char *) "enable", NULL
5231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5232 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5233 if (!SWIG_IsOK(ecode1
)) {
5234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5236 arg1
= static_cast< bool >(val1
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 wxEnableTopLevelWindows(arg1
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_Py_Void();
5250 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 wxString
*arg1
= 0 ;
5254 bool temp1
= false ;
5255 PyObject
* obj0
= 0 ;
5256 char * kwnames
[] = {
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5262 arg1
= wxString_in_helper(obj0
);
5263 if (arg1
== NULL
) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5293 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5294 PyObject
*resultobj
= 0;
5297 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= wxGetEmailAddress();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5317 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5318 PyObject
*resultobj
= 0;
5321 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= wxGetHostName();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5341 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5342 PyObject
*resultobj
= 0;
5345 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= wxGetFullHostName();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5365 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5366 PyObject
*resultobj
= 0;
5369 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 result
= wxGetUserId();
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5389 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 PyObject
*resultobj
= 0;
5393 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= wxGetUserName();
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5413 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5414 PyObject
*resultobj
= 0;
5417 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= wxGetHomeDir();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5437 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
= 0;
5439 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5440 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5442 bool temp1
= false ;
5443 PyObject
* obj0
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "user", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5451 arg1
= wxString_in_helper(obj0
);
5452 if (arg1
== NULL
) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= wxGetUserHome((wxString
const &)*arg1
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5483 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5484 PyObject
*resultobj
= 0;
5485 unsigned long result
;
5487 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (unsigned long)wxGetProcessId();
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5501 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5502 PyObject
*resultobj
= 0;
5504 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_Py_Void();
5518 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
= 0;
5520 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5521 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5522 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5523 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5526 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5527 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5528 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5529 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5530 int arg6
= (int) 0 ;
5531 wxWindow
*arg7
= (wxWindow
*) NULL
;
5532 int arg8
= (int) -1 ;
5533 int arg9
= (int) -1 ;
5535 bool temp1
= false ;
5536 bool temp2
= false ;
5537 bool temp3
= false ;
5538 bool temp4
= false ;
5539 bool temp5
= false ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5551 PyObject
* obj3
= 0 ;
5552 PyObject
* obj4
= 0 ;
5553 PyObject
* obj5
= 0 ;
5554 PyObject
* obj6
= 0 ;
5555 PyObject
* obj7
= 0 ;
5556 PyObject
* obj8
= 0 ;
5557 char * kwnames
[] = {
5558 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5564 arg1
= wxString_in_helper(obj0
);
5565 if (arg1
== NULL
) SWIG_fail
;
5571 arg2
= wxString_in_helper(obj1
);
5572 if (arg2
== NULL
) SWIG_fail
;
5578 arg3
= wxString_in_helper(obj2
);
5579 if (arg3
== NULL
) SWIG_fail
;
5585 arg4
= wxString_in_helper(obj3
);
5586 if (arg4
== NULL
) SWIG_fail
;
5592 arg5
= wxString_in_helper(obj4
);
5593 if (arg5
== NULL
) SWIG_fail
;
5598 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5599 if (!SWIG_IsOK(ecode6
)) {
5600 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5602 arg6
= static_cast< int >(val6
);
5605 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5606 if (!SWIG_IsOK(res7
)) {
5607 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5609 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5612 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5613 if (!SWIG_IsOK(ecode8
)) {
5614 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5616 arg8
= static_cast< int >(val8
);
5619 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5620 if (!SWIG_IsOK(ecode9
)) {
5621 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5623 arg9
= static_cast< int >(val9
);
5626 if (!wxPyCheckForApp()) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5685 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxString
*arg1
= 0 ;
5688 wxString
*arg2
= 0 ;
5689 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5690 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5691 wxWindow
*arg4
= (wxWindow
*) NULL
;
5693 bool temp1
= false ;
5694 bool temp2
= false ;
5695 bool temp3
= false ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 PyObject
* obj2
= 0 ;
5701 PyObject
* obj3
= 0 ;
5702 char * kwnames
[] = {
5703 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5708 arg1
= wxString_in_helper(obj0
);
5709 if (arg1
== NULL
) SWIG_fail
;
5713 arg2
= wxString_in_helper(obj1
);
5714 if (arg2
== NULL
) SWIG_fail
;
5719 arg3
= wxString_in_helper(obj2
);
5720 if (arg3
== NULL
) SWIG_fail
;
5725 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5726 if (!SWIG_IsOK(res4
)) {
5727 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5729 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5732 if (!wxPyCheckForApp()) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5775 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
= 0;
5777 wxString
*arg1
= 0 ;
5778 wxString
*arg2
= 0 ;
5779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5781 wxWindow
*arg4
= (wxWindow
*) NULL
;
5783 bool temp1
= false ;
5784 bool temp2
= false ;
5785 bool temp3
= false ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5790 PyObject
* obj2
= 0 ;
5791 PyObject
* obj3
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5798 arg1
= wxString_in_helper(obj0
);
5799 if (arg1
== NULL
) SWIG_fail
;
5803 arg2
= wxString_in_helper(obj1
);
5804 if (arg2
== NULL
) SWIG_fail
;
5809 arg3
= wxString_in_helper(obj2
);
5810 if (arg3
== NULL
) SWIG_fail
;
5815 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5816 if (!SWIG_IsOK(res4
)) {
5817 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5819 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5822 if (!wxPyCheckForApp()) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5865 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
= 0;
5867 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5868 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5869 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5870 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5871 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5874 wxWindow
*arg5
= (wxWindow
*) NULL
;
5876 bool temp1
= false ;
5877 bool temp2
= false ;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj1
= 0 ;
5885 PyObject
* obj2
= 0 ;
5886 PyObject
* obj3
= 0 ;
5887 PyObject
* obj4
= 0 ;
5888 char * kwnames
[] = {
5889 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5895 arg1
= wxString_in_helper(obj0
);
5896 if (arg1
== NULL
) SWIG_fail
;
5902 arg2
= wxString_in_helper(obj1
);
5903 if (arg2
== NULL
) SWIG_fail
;
5908 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5909 if (!SWIG_IsOK(ecode3
)) {
5910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5912 arg3
= static_cast< long >(val3
);
5917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5921 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5922 if (!SWIG_IsOK(res5
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5925 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5928 if (!wxPyCheckForApp()) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5963 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
= 0;
5965 wxString
*arg1
= 0 ;
5966 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5967 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5968 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5969 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5970 wxWindow
*arg4
= (wxWindow
*) NULL
;
5971 int arg5
= (int) -1 ;
5972 int arg6
= (int) -1 ;
5973 bool arg7
= (bool) true ;
5975 bool temp1
= false ;
5976 bool temp2
= false ;
5977 bool temp3
= false ;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj1
= 0 ;
5988 PyObject
* obj2
= 0 ;
5989 PyObject
* obj3
= 0 ;
5990 PyObject
* obj4
= 0 ;
5991 PyObject
* obj5
= 0 ;
5992 PyObject
* obj6
= 0 ;
5993 char * kwnames
[] = {
5994 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5999 arg1
= wxString_in_helper(obj0
);
6000 if (arg1
== NULL
) SWIG_fail
;
6005 arg2
= wxString_in_helper(obj1
);
6006 if (arg2
== NULL
) SWIG_fail
;
6012 arg3
= wxString_in_helper(obj2
);
6013 if (arg3
== NULL
) SWIG_fail
;
6018 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6019 if (!SWIG_IsOK(res4
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6022 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6026 if (!SWIG_IsOK(ecode5
)) {
6027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6029 arg5
= static_cast< int >(val5
);
6032 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6033 if (!SWIG_IsOK(ecode6
)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6036 arg6
= static_cast< int >(val6
);
6039 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6040 if (!SWIG_IsOK(ecode7
)) {
6041 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6043 arg7
= static_cast< bool >(val7
);
6046 if (!wxPyCheckForApp()) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6089 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
= 0;
6091 wxString
*arg1
= 0 ;
6092 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6093 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6094 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6095 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6096 wxWindow
*arg4
= (wxWindow
*) NULL
;
6098 bool temp1
= false ;
6099 bool temp2
= false ;
6100 bool temp3
= false ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6105 PyObject
* obj2
= 0 ;
6106 PyObject
* obj3
= 0 ;
6107 char * kwnames
[] = {
6108 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6113 arg1
= wxString_in_helper(obj0
);
6114 if (arg1
== NULL
) SWIG_fail
;
6119 arg2
= wxString_in_helper(obj1
);
6120 if (arg2
== NULL
) SWIG_fail
;
6126 arg3
= wxString_in_helper(obj2
);
6127 if (arg3
== NULL
) SWIG_fail
;
6132 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6133 if (!SWIG_IsOK(res4
)) {
6134 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6136 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6139 if (!wxPyCheckForApp()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6182 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
= 0;
6184 wxString
*arg1
= 0 ;
6185 wxString
*arg2
= 0 ;
6187 wxString
*arg4
= (wxString
*) 0 ;
6188 wxWindow
*arg5
= (wxWindow
*) NULL
;
6189 int arg6
= (int) -1 ;
6190 int arg7
= (int) -1 ;
6191 bool arg8
= (bool) true ;
6192 int arg9
= (int) 150 ;
6193 int arg10
= (int) 200 ;
6195 bool temp1
= false ;
6196 bool temp2
= false ;
6209 PyObject
* obj0
= 0 ;
6210 PyObject
* obj1
= 0 ;
6211 PyObject
* obj2
= 0 ;
6212 PyObject
* obj3
= 0 ;
6213 PyObject
* obj4
= 0 ;
6214 PyObject
* obj5
= 0 ;
6215 PyObject
* obj6
= 0 ;
6216 PyObject
* obj7
= 0 ;
6217 PyObject
* obj8
= 0 ;
6218 char * kwnames
[] = {
6219 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6224 arg1
= wxString_in_helper(obj0
);
6225 if (arg1
== NULL
) SWIG_fail
;
6229 arg2
= wxString_in_helper(obj1
);
6230 if (arg2
== NULL
) SWIG_fail
;
6234 arg3
= PyList_Size(obj2
);
6235 arg4
= wxString_LIST_helper(obj2
);
6236 if (arg4
== NULL
) SWIG_fail
;
6239 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6240 if (!SWIG_IsOK(res5
)) {
6241 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6243 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6246 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6247 if (!SWIG_IsOK(ecode6
)) {
6248 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6250 arg6
= static_cast< int >(val6
);
6253 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6254 if (!SWIG_IsOK(ecode7
)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6257 arg7
= static_cast< int >(val7
);
6260 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6261 if (!SWIG_IsOK(ecode8
)) {
6262 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6264 arg8
= static_cast< bool >(val8
);
6267 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6268 if (!SWIG_IsOK(ecode9
)) {
6269 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6271 arg9
= static_cast< int >(val9
);
6274 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6275 if (!SWIG_IsOK(ecode10
)) {
6276 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6278 arg10
= static_cast< int >(val10
);
6281 if (!wxPyCheckForApp()) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6303 if (arg4
) delete [] arg4
;
6316 if (arg4
) delete [] arg4
;
6322 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= 0;
6324 wxString
*arg1
= 0 ;
6325 wxString
*arg2
= 0 ;
6327 wxString
*arg4
= (wxString
*) 0 ;
6328 wxWindow
*arg5
= (wxWindow
*) NULL
;
6329 int arg6
= (int) -1 ;
6330 int arg7
= (int) -1 ;
6331 bool arg8
= (bool) true ;
6332 int arg9
= (int) 150 ;
6333 int arg10
= (int) 200 ;
6335 bool temp1
= false ;
6336 bool temp2
= false ;
6349 PyObject
* obj0
= 0 ;
6350 PyObject
* obj1
= 0 ;
6351 PyObject
* obj2
= 0 ;
6352 PyObject
* obj3
= 0 ;
6353 PyObject
* obj4
= 0 ;
6354 PyObject
* obj5
= 0 ;
6355 PyObject
* obj6
= 0 ;
6356 PyObject
* obj7
= 0 ;
6357 PyObject
* obj8
= 0 ;
6358 char * kwnames
[] = {
6359 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6364 arg1
= wxString_in_helper(obj0
);
6365 if (arg1
== NULL
) SWIG_fail
;
6369 arg2
= wxString_in_helper(obj1
);
6370 if (arg2
== NULL
) SWIG_fail
;
6374 arg3
= PyList_Size(obj2
);
6375 arg4
= wxString_LIST_helper(obj2
);
6376 if (arg4
== NULL
) SWIG_fail
;
6379 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6380 if (!SWIG_IsOK(res5
)) {
6381 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6383 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6386 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6387 if (!SWIG_IsOK(ecode6
)) {
6388 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6390 arg6
= static_cast< int >(val6
);
6393 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6394 if (!SWIG_IsOK(ecode7
)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6397 arg7
= static_cast< int >(val7
);
6400 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6401 if (!SWIG_IsOK(ecode8
)) {
6402 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6404 arg8
= static_cast< bool >(val8
);
6407 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6408 if (!SWIG_IsOK(ecode9
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6411 arg9
= static_cast< int >(val9
);
6414 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6415 if (!SWIG_IsOK(ecode10
)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6418 arg10
= static_cast< int >(val10
);
6421 if (!wxPyCheckForApp()) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_From_int(static_cast< int >(result
));
6437 if (arg4
) delete [] arg4
;
6450 if (arg4
) delete [] arg4
;
6456 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
= 0;
6458 wxString
*arg1
= 0 ;
6459 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6461 int arg3
= (int) wxOK
|wxCENTRE
;
6462 wxWindow
*arg4
= (wxWindow
*) NULL
;
6463 int arg5
= (int) -1 ;
6464 int arg6
= (int) -1 ;
6466 bool temp1
= false ;
6467 bool temp2
= false ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6478 PyObject
* obj2
= 0 ;
6479 PyObject
* obj3
= 0 ;
6480 PyObject
* obj4
= 0 ;
6481 PyObject
* obj5
= 0 ;
6482 char * kwnames
[] = {
6483 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6488 arg1
= wxString_in_helper(obj0
);
6489 if (arg1
== NULL
) SWIG_fail
;
6494 arg2
= wxString_in_helper(obj1
);
6495 if (arg2
== NULL
) SWIG_fail
;
6500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6501 if (!SWIG_IsOK(ecode3
)) {
6502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6504 arg3
= static_cast< int >(val3
);
6507 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6508 if (!SWIG_IsOK(res4
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6511 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6514 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6515 if (!SWIG_IsOK(ecode5
)) {
6516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6518 arg5
= static_cast< int >(val5
);
6521 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6522 if (!SWIG_IsOK(ecode6
)) {
6523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6525 arg6
= static_cast< int >(val6
);
6528 if (!wxPyCheckForApp()) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_From_int(static_cast< int >(result
));
6557 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
= 0;
6559 wxString
*arg1
= 0 ;
6560 wxString
*arg2
= 0 ;
6561 wxString
*arg3
= 0 ;
6563 long arg5
= (long) 0 ;
6564 long arg6
= (long) 100 ;
6565 wxWindow
*arg7
= (wxWindow
*) NULL
;
6566 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6567 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6569 bool temp1
= false ;
6570 bool temp2
= false ;
6571 bool temp3
= false ;
6581 PyObject
* obj0
= 0 ;
6582 PyObject
* obj1
= 0 ;
6583 PyObject
* obj2
= 0 ;
6584 PyObject
* obj3
= 0 ;
6585 PyObject
* obj4
= 0 ;
6586 PyObject
* obj5
= 0 ;
6587 PyObject
* obj6
= 0 ;
6588 PyObject
* obj7
= 0 ;
6589 char * kwnames
[] = {
6590 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6595 arg1
= wxString_in_helper(obj0
);
6596 if (arg1
== NULL
) SWIG_fail
;
6600 arg2
= wxString_in_helper(obj1
);
6601 if (arg2
== NULL
) SWIG_fail
;
6605 arg3
= wxString_in_helper(obj2
);
6606 if (arg3
== NULL
) SWIG_fail
;
6609 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6610 if (!SWIG_IsOK(ecode4
)) {
6611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6613 arg4
= static_cast< long >(val4
);
6615 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6616 if (!SWIG_IsOK(ecode5
)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6619 arg5
= static_cast< long >(val5
);
6622 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6623 if (!SWIG_IsOK(ecode6
)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6626 arg6
= static_cast< long >(val6
);
6629 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6630 if (!SWIG_IsOK(res7
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6633 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6638 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6642 if (!wxPyCheckForApp()) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= SWIG_From_long(static_cast< long >(result
));
6679 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6680 PyObject
*resultobj
= 0;
6683 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6685 if (!wxPyCheckForApp()) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (bool)wxColourDisplay();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6700 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6701 PyObject
*resultobj
= 0;
6704 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6706 if (!wxPyCheckForApp()) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (int)wxDisplayDepth();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_From_int(static_cast< int >(result
));
6719 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6720 PyObject
*resultobj
= 0;
6723 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6725 if (!wxPyCheckForApp()) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (int)wxGetDisplayDepth();
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= SWIG_From_int(static_cast< int >(result
));
6738 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6739 PyObject
*resultobj
= 0;
6740 int *arg1
= (int *) 0 ;
6741 int *arg2
= (int *) 0 ;
6743 int res1
= SWIG_TMPOBJ
;
6745 int res2
= SWIG_TMPOBJ
;
6749 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6751 if (!wxPyCheckForApp()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 wxDisplaySize(arg1
,arg2
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_Py_Void();
6758 if (SWIG_IsTmpObj(res1
)) {
6759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6761 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6764 if (SWIG_IsTmpObj(res2
)) {
6765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6767 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6776 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6777 PyObject
*resultobj
= 0;
6780 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6782 if (!wxPyCheckForApp()) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= wxGetDisplaySize();
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6795 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6796 PyObject
*resultobj
= 0;
6797 int *arg1
= (int *) 0 ;
6798 int *arg2
= (int *) 0 ;
6800 int res1
= SWIG_TMPOBJ
;
6802 int res2
= SWIG_TMPOBJ
;
6806 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6808 if (!wxPyCheckForApp()) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 wxDisplaySizeMM(arg1
,arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_Py_Void();
6815 if (SWIG_IsTmpObj(res1
)) {
6816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6818 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6821 if (SWIG_IsTmpObj(res2
)) {
6822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6824 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6833 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6834 PyObject
*resultobj
= 0;
6837 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6839 if (!wxPyCheckForApp()) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= wxGetDisplaySizeMM();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6852 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6853 PyObject
*resultobj
= 0;
6854 int *arg1
= (int *) 0 ;
6855 int *arg2
= (int *) 0 ;
6856 int *arg3
= (int *) 0 ;
6857 int *arg4
= (int *) 0 ;
6859 int res1
= SWIG_TMPOBJ
;
6861 int res2
= SWIG_TMPOBJ
;
6863 int res3
= SWIG_TMPOBJ
;
6865 int res4
= SWIG_TMPOBJ
;
6871 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6873 if (!wxPyCheckForApp()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_Py_Void();
6880 if (SWIG_IsTmpObj(res1
)) {
6881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6883 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6886 if (SWIG_IsTmpObj(res2
)) {
6887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6889 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6892 if (SWIG_IsTmpObj(res3
)) {
6893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6898 if (SWIG_IsTmpObj(res4
)) {
6899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6901 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6910 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6911 PyObject
*resultobj
= 0;
6914 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6916 if (!wxPyCheckForApp()) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= wxGetClientDisplayRect();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6929 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
= 0;
6931 wxCursor
*arg1
= 0 ;
6934 PyObject
* obj0
= 0 ;
6935 char * kwnames
[] = {
6936 (char *) "cursor", NULL
6939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6947 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6949 if (!wxPyCheckForApp()) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6962 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6963 PyObject
*resultobj
= 0;
6966 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6968 if (!wxPyCheckForApp()) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (void *)wxGetXDisplay();
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6981 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
= 0;
6983 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6986 PyObject
* obj0
= 0 ;
6987 char * kwnames
[] = {
6988 (char *) "cursor", NULL
6991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6994 if (!SWIG_IsOK(res1
)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6997 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7000 if (!wxPyCheckForApp()) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxBeginBusyCursor(arg1
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_Py_Void();
7013 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7014 PyObject
*resultobj
= 0;
7017 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7019 if (!wxPyCheckForApp()) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= wxGetMousePosition();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7032 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7033 PyObject
*resultobj
= 0;
7034 wxWindow
*result
= 0 ;
7036 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7038 if (!wxPyCheckForApp()) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (wxWindow
*)FindWindowAtPointer();
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= wxPyMake_wxObject(result
, 0);
7053 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7054 PyObject
*resultobj
= 0;
7055 wxWindow
*result
= 0 ;
7057 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7059 if (!wxPyCheckForApp()) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (wxWindow
*)wxGetActiveWindow();
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= wxPyMake_wxObject(result
, 0);
7074 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
= 0;
7077 wxWindow
*result
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 char * kwnames
[] = {
7084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7087 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7090 if (!wxPyCheckForApp()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= wxPyMake_wxObject(result
, 0);
7105 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
= 0;
7108 wxWindow
*result
= 0 ;
7110 PyObject
* obj0
= 0 ;
7111 char * kwnames
[] = {
7115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7118 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7121 if (!wxPyCheckForApp()) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= wxPyMake_wxObject(result
, 0);
7136 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
= 0;
7138 wxWindow
*arg1
= (wxWindow
*) 0 ;
7139 wxWindow
*result
= 0 ;
7142 PyObject
* obj0
= 0 ;
7143 char * kwnames
[] = {
7144 (char *) "win", NULL
7147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7154 if (!wxPyCheckForApp()) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= wxPyMake_wxObject(result
, 0);
7169 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
= 0;
7171 wxString
*arg1
= 0 ;
7173 bool temp1
= false ;
7174 PyObject
* obj0
= 0 ;
7175 char * kwnames
[] = {
7176 (char *) "url", NULL
7179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7181 arg1
= wxString_in_helper(obj0
);
7182 if (arg1
== NULL
) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7208 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7214 PyObject
* obj0
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "key", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7221 if (!SWIG_IsOK(ecode1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7224 arg1
= static_cast< wxKeyCode
>(val1
);
7226 if (!wxPyCheckForApp()) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (bool)wxGetKeyState(arg1
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7241 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 PyObject
*resultobj
= 0;
7243 wxMouseState
*result
= 0 ;
7245 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (wxMouseState
*)new wxMouseState();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7259 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7260 PyObject
*resultobj
= 0;
7261 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7264 PyObject
*swig_obj
[1] ;
7266 if (!args
) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7272 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= SWIG_Py_Void();
7287 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7288 PyObject
*resultobj
= 0;
7289 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7293 PyObject
*swig_obj
[1] ;
7295 if (!args
) SWIG_fail
;
7297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7298 if (!SWIG_IsOK(res1
)) {
7299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7301 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= (int)(arg1
)->GetX();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_From_int(static_cast< int >(result
));
7315 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 PyObject
*resultobj
= 0;
7317 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7321 PyObject
*swig_obj
[1] ;
7323 if (!args
) SWIG_fail
;
7325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7326 if (!SWIG_IsOK(res1
)) {
7327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7329 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (int)(arg1
)->GetY();
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_From_int(static_cast< int >(result
));
7343 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 PyObject
*resultobj
= 0;
7345 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7349 PyObject
*swig_obj
[1] ;
7351 if (!args
) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7357 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (bool)(arg1
)->LeftDown();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7373 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7374 PyObject
*resultobj
= 0;
7375 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7379 PyObject
*swig_obj
[1] ;
7381 if (!args
) SWIG_fail
;
7383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7384 if (!SWIG_IsOK(res1
)) {
7385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7387 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (bool)(arg1
)->MiddleDown();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7403 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7404 PyObject
*resultobj
= 0;
7405 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7409 PyObject
*swig_obj
[1] ;
7411 if (!args
) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7417 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (bool)(arg1
)->RightDown();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7433 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7434 PyObject
*resultobj
= 0;
7435 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7439 PyObject
*swig_obj
[1] ;
7441 if (!args
) SWIG_fail
;
7443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7444 if (!SWIG_IsOK(res1
)) {
7445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7447 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (bool)(arg1
)->ControlDown();
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7463 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7464 PyObject
*resultobj
= 0;
7465 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7469 PyObject
*swig_obj
[1] ;
7471 if (!args
) SWIG_fail
;
7473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7474 if (!SWIG_IsOK(res1
)) {
7475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7477 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= (bool)(arg1
)->ShiftDown();
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7493 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7494 PyObject
*resultobj
= 0;
7495 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7499 PyObject
*swig_obj
[1] ;
7501 if (!args
) SWIG_fail
;
7503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7504 if (!SWIG_IsOK(res1
)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7507 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (bool)(arg1
)->AltDown();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7523 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7524 PyObject
*resultobj
= 0;
7525 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7529 PyObject
*swig_obj
[1] ;
7531 if (!args
) SWIG_fail
;
7533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7534 if (!SWIG_IsOK(res1
)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7537 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)(arg1
)->MetaDown();
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7553 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7559 PyObject
*swig_obj
[1] ;
7561 if (!args
) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7567 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (bool)(arg1
)->CmdDown();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7583 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= 0;
7585 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7593 char * kwnames
[] = {
7594 (char *) "self",(char *) "x", NULL
7597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7602 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7604 if (!SWIG_IsOK(ecode2
)) {
7605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7607 arg2
= static_cast< int >(val2
);
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_Py_Void();
7621 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= 0;
7623 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7631 char * kwnames
[] = {
7632 (char *) "self",(char *) "y", NULL
7635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7640 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7642 if (!SWIG_IsOK(ecode2
)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7645 arg2
= static_cast< int >(val2
);
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_Py_Void();
7659 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
= 0;
7661 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7667 PyObject
* obj0
= 0 ;
7668 PyObject
* obj1
= 0 ;
7669 char * kwnames
[] = {
7670 (char *) "self",(char *) "down", NULL
7673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7675 if (!SWIG_IsOK(res1
)) {
7676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7678 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7679 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7680 if (!SWIG_IsOK(ecode2
)) {
7681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7683 arg2
= static_cast< bool >(val2
);
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 (arg1
)->SetLeftDown(arg2
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_Py_Void();
7697 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
= 0;
7699 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7706 PyObject
* obj1
= 0 ;
7707 char * kwnames
[] = {
7708 (char *) "self",(char *) "down", NULL
7711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7716 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7717 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7718 if (!SWIG_IsOK(ecode2
)) {
7719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7721 arg2
= static_cast< bool >(val2
);
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 (arg1
)->SetMiddleDown(arg2
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_Py_Void();
7735 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
= 0;
7737 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj1
= 0 ;
7745 char * kwnames
[] = {
7746 (char *) "self",(char *) "down", NULL
7749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7754 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7755 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7756 if (!SWIG_IsOK(ecode2
)) {
7757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7759 arg2
= static_cast< bool >(val2
);
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 (arg1
)->SetRightDown(arg2
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_Py_Void();
7773 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
= 0;
7775 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7783 char * kwnames
[] = {
7784 (char *) "self",(char *) "down", NULL
7787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7792 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7793 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7794 if (!SWIG_IsOK(ecode2
)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7797 arg2
= static_cast< bool >(val2
);
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 (arg1
)->SetControlDown(arg2
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_Py_Void();
7811 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
= 0;
7813 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7821 char * kwnames
[] = {
7822 (char *) "self",(char *) "down", NULL
7825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7827 if (!SWIG_IsOK(res1
)) {
7828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7830 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7831 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7832 if (!SWIG_IsOK(ecode2
)) {
7833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7835 arg2
= static_cast< bool >(val2
);
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 (arg1
)->SetShiftDown(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_Py_Void();
7849 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
= 0;
7851 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 char * kwnames
[] = {
7860 (char *) "self",(char *) "down", NULL
7863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7865 if (!SWIG_IsOK(res1
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7868 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7869 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7870 if (!SWIG_IsOK(ecode2
)) {
7871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7873 arg2
= static_cast< bool >(val2
);
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 (arg1
)->SetAltDown(arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_Py_Void();
7887 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
= 0;
7889 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7897 char * kwnames
[] = {
7898 (char *) "self",(char *) "down", NULL
7901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7903 if (!SWIG_IsOK(res1
)) {
7904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7906 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7907 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7908 if (!SWIG_IsOK(ecode2
)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7911 arg2
= static_cast< bool >(val2
);
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 (arg1
)->SetMetaDown(arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_Py_Void();
7925 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7928 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7929 return SWIG_Py_Void();
7932 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7933 return SWIG_Python_InitShadowInstance(args
);
7936 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7937 PyObject
*resultobj
= 0;
7938 wxMouseState result
;
7940 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= wxGetMouseState();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7954 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7955 PyObject
*resultobj
= 0;
7957 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7959 if (!wxPyCheckForApp()) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 wxWakeUpMainThread();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= SWIG_Py_Void();
7972 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7973 PyObject
*resultobj
= 0;
7975 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7977 if (!wxPyCheckForApp()) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_Py_Void();
7990 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7991 PyObject
*resultobj
= 0;
7993 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7995 if (!wxPyCheckForApp()) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= SWIG_Py_Void();
8008 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8009 PyObject
*resultobj
= 0;
8010 wxMutexGuiLocker
*result
= 0 ;
8012 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8014 if (!wxPyCheckForApp()) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8027 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 PyObject
*resultobj
= 0;
8029 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8032 PyObject
*swig_obj
[1] ;
8034 if (!args
) SWIG_fail
;
8036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8037 if (!SWIG_IsOK(res1
)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8040 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= SWIG_Py_Void();
8055 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8058 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8059 return SWIG_Py_Void();
8062 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8063 return SWIG_Python_InitShadowInstance(args
);
8066 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8067 PyObject
*resultobj
= 0;
8070 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (bool)wxThread_IsMain();
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8086 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
= 0;
8088 wxString
*arg1
= 0 ;
8089 wxToolTip
*result
= 0 ;
8090 bool temp1
= false ;
8091 PyObject
* obj0
= 0 ;
8092 char * kwnames
[] = {
8093 (char *) "tip", NULL
8096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8098 arg1
= wxString_in_helper(obj0
);
8099 if (arg1
== NULL
) SWIG_fail
;
8103 if (!wxPyCheckForApp()) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8124 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8125 PyObject
*resultobj
= 0;
8126 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8129 PyObject
*swig_obj
[1] ;
8131 if (!args
) SWIG_fail
;
8133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8134 if (!SWIG_IsOK(res1
)) {
8135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8137 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= SWIG_Py_Void();
8152 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
= 0;
8154 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8155 wxString
*arg2
= 0 ;
8158 bool temp2
= false ;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8161 char * kwnames
[] = {
8162 (char *) "self",(char *) "tip", NULL
8165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8167 if (!SWIG_IsOK(res1
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8170 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8172 arg2
= wxString_in_helper(obj1
);
8173 if (arg2
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->SetTip((wxString
const &)*arg2
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 resultobj
= SWIG_Py_Void();
8197 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8198 PyObject
*resultobj
= 0;
8199 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8203 PyObject
*swig_obj
[1] ;
8205 if (!args
) SWIG_fail
;
8207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8208 if (!SWIG_IsOK(res1
)) {
8209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8211 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= (arg1
)->GetTip();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8231 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8232 PyObject
*resultobj
= 0;
8233 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8234 wxWindow
*result
= 0 ;
8237 PyObject
*swig_obj
[1] ;
8239 if (!args
) SWIG_fail
;
8241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8242 if (!SWIG_IsOK(res1
)) {
8243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8245 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (wxWindow
*)(arg1
)->GetWindow();
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= wxPyMake_wxObject(result
, 0);
8261 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
= 0;
8266 PyObject
* obj0
= 0 ;
8267 char * kwnames
[] = {
8268 (char *) "flag", NULL
8271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8272 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8273 if (!SWIG_IsOK(ecode1
)) {
8274 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8276 arg1
= static_cast< bool >(val1
);
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 wxToolTip::Enable(arg1
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_Py_Void();
8290 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
= 0;
8295 PyObject
* obj0
= 0 ;
8296 char * kwnames
[] = {
8297 (char *) "milliseconds", NULL
8300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8301 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8302 if (!SWIG_IsOK(ecode1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8305 arg1
= static_cast< long >(val1
);
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 wxToolTip::SetDelay(arg1
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= SWIG_Py_Void();
8319 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8322 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8323 return SWIG_Py_Void();
8326 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8327 return SWIG_Python_InitShadowInstance(args
);
8330 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
*resultobj
= 0;
8332 wxWindow
*arg1
= (wxWindow
*) 0 ;
8334 wxCaret
*result
= 0 ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 char * kwnames
[] = {
8341 (char *) "window",(char *) "size", NULL
8344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8346 if (!SWIG_IsOK(res1
)) {
8347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8349 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8355 if (!wxPyCheckForApp()) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8368 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 PyObject
*resultobj
= 0;
8370 wxCaret
*arg1
= (wxCaret
*) 0 ;
8373 PyObject
*swig_obj
[1] ;
8375 if (!args
) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8381 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= SWIG_Py_Void();
8396 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8397 PyObject
*resultobj
= 0;
8398 wxCaret
*arg1
= (wxCaret
*) 0 ;
8401 PyObject
*swig_obj
[1] ;
8403 if (!args
) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8409 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 wxCaret_Destroy(arg1
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_Py_Void();
8423 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 PyObject
*resultobj
= 0;
8425 wxCaret
*arg1
= (wxCaret
*) 0 ;
8429 PyObject
*swig_obj
[1] ;
8431 if (!args
) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8437 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (bool)(arg1
)->IsOk();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8453 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8454 PyObject
*resultobj
= 0;
8455 wxCaret
*arg1
= (wxCaret
*) 0 ;
8459 PyObject
*swig_obj
[1] ;
8461 if (!args
) SWIG_fail
;
8463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8464 if (!SWIG_IsOK(res1
)) {
8465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8467 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (bool)(arg1
)->IsVisible();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8483 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8484 PyObject
*resultobj
= 0;
8485 wxCaret
*arg1
= (wxCaret
*) 0 ;
8489 PyObject
*swig_obj
[1] ;
8491 if (!args
) SWIG_fail
;
8493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8494 if (!SWIG_IsOK(res1
)) {
8495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8497 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (arg1
)->GetPosition();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8511 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8512 PyObject
*resultobj
= 0;
8513 wxCaret
*arg1
= (wxCaret
*) 0 ;
8514 int *arg2
= (int *) 0 ;
8515 int *arg3
= (int *) 0 ;
8519 int res2
= SWIG_TMPOBJ
;
8521 int res3
= SWIG_TMPOBJ
;
8522 PyObject
*swig_obj
[1] ;
8526 if (!args
) SWIG_fail
;
8528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8529 if (!SWIG_IsOK(res1
)) {
8530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8532 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 (arg1
)->GetPosition(arg2
,arg3
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_Py_Void();
8540 if (SWIG_IsTmpObj(res2
)) {
8541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8543 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8546 if (SWIG_IsTmpObj(res3
)) {
8547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8549 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8558 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8559 PyObject
*resultobj
= 0;
8560 wxCaret
*arg1
= (wxCaret
*) 0 ;
8564 PyObject
*swig_obj
[1] ;
8566 if (!args
) SWIG_fail
;
8568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8569 if (!SWIG_IsOK(res1
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8572 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (arg1
)->GetSize();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8586 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8587 PyObject
*resultobj
= 0;
8588 wxCaret
*arg1
= (wxCaret
*) 0 ;
8589 int *arg2
= (int *) 0 ;
8590 int *arg3
= (int *) 0 ;
8594 int res2
= SWIG_TMPOBJ
;
8596 int res3
= SWIG_TMPOBJ
;
8597 PyObject
*swig_obj
[1] ;
8601 if (!args
) SWIG_fail
;
8603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8604 if (!SWIG_IsOK(res1
)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8607 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 (arg1
)->GetSize(arg2
,arg3
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= SWIG_Py_Void();
8615 if (SWIG_IsTmpObj(res2
)) {
8616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8618 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8621 if (SWIG_IsTmpObj(res3
)) {
8622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8624 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8633 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8634 PyObject
*resultobj
= 0;
8635 wxCaret
*arg1
= (wxCaret
*) 0 ;
8636 wxWindow
*result
= 0 ;
8639 PyObject
*swig_obj
[1] ;
8641 if (!args
) SWIG_fail
;
8643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8644 if (!SWIG_IsOK(res1
)) {
8645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8647 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (wxWindow
*)(arg1
)->GetWindow();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= wxPyMake_wxObject(result
, 0);
8663 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
= 0;
8665 wxCaret
*arg1
= (wxCaret
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8677 char * kwnames
[] = {
8678 (char *) "self",(char *) "x",(char *) "y", NULL
8681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8686 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8688 if (!SWIG_IsOK(ecode2
)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8691 arg2
= static_cast< int >(val2
);
8692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8693 if (!SWIG_IsOK(ecode3
)) {
8694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8696 arg3
= static_cast< int >(val3
);
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 (arg1
)->Move(arg2
,arg3
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_Py_Void();
8710 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
= 0;
8712 wxCaret
*arg1
= (wxCaret
*) 0 ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "self",(char *) "pt", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8728 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8731 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 (arg1
)->Move((wxPoint
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= SWIG_Py_Void();
8746 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
= 0;
8748 wxCaret
*arg1
= (wxCaret
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8759 PyObject
* obj2
= 0 ;
8760 char * kwnames
[] = {
8761 (char *) "self",(char *) "width",(char *) "height", NULL
8764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8766 if (!SWIG_IsOK(res1
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8769 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8771 if (!SWIG_IsOK(ecode2
)) {
8772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8774 arg2
= static_cast< int >(val2
);
8775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8776 if (!SWIG_IsOK(ecode3
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8779 arg3
= static_cast< int >(val3
);
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetSize(arg2
,arg3
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_Py_Void();
8793 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
= 0;
8795 wxCaret
*arg1
= (wxCaret
*) 0 ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "self",(char *) "size", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8811 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->SetSize((wxSize
const &)*arg2
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_Py_Void();
8829 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= 0;
8831 wxCaret
*arg1
= (wxCaret
*) 0 ;
8832 int arg2
= (int) true ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "self",(char *) "show", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8848 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8851 if (!SWIG_IsOK(ecode2
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8854 arg2
= static_cast< int >(val2
);
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_Py_Void();
8869 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8870 PyObject
*resultobj
= 0;
8871 wxCaret
*arg1
= (wxCaret
*) 0 ;
8874 PyObject
*swig_obj
[1] ;
8876 if (!args
) SWIG_fail
;
8878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8879 if (!SWIG_IsOK(res1
)) {
8880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8882 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_Py_Void();
8896 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8897 PyObject
*resultobj
= 0;
8900 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (int)wxCaret::GetBlinkTime();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_From_int(static_cast< int >(result
));
8914 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
= 0;
8919 PyObject
* obj0
= 0 ;
8920 char * kwnames
[] = {
8921 (char *) "milliseconds", NULL
8924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8926 if (!SWIG_IsOK(ecode1
)) {
8927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8929 arg1
= static_cast< int >(val1
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 wxCaret::SetBlinkTime(arg1
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_Py_Void();
8943 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8946 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8947 return SWIG_Py_Void();
8950 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 return SWIG_Python_InitShadowInstance(args
);
8954 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
= 0;
8956 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8957 wxBusyCursor
*result
= 0 ;
8960 PyObject
* obj0
= 0 ;
8961 char * kwnames
[] = {
8962 (char *) "cursor", NULL
8965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8968 if (!SWIG_IsOK(res1
)) {
8969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8971 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8974 if (!wxPyCheckForApp()) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8987 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8988 PyObject
*resultobj
= 0;
8989 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8992 PyObject
*swig_obj
[1] ;
8994 if (!args
) SWIG_fail
;
8996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8997 if (!SWIG_IsOK(res1
)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9000 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_Py_Void();
9015 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9018 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9019 return SWIG_Py_Void();
9022 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9023 return SWIG_Python_InitShadowInstance(args
);
9026 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
= 0;
9028 wxWindow
*arg1
= (wxWindow
*) NULL
;
9029 wxWindowDisabler
*result
= 0 ;
9032 PyObject
* obj0
= 0 ;
9033 char * kwnames
[] = {
9034 (char *) "winToSkip", NULL
9037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9043 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9046 if (!wxPyCheckForApp()) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9059 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9060 PyObject
*resultobj
= 0;
9061 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9064 PyObject
*swig_obj
[1] ;
9066 if (!args
) SWIG_fail
;
9068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9069 if (!SWIG_IsOK(res1
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9072 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_Py_Void();
9087 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9090 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9091 return SWIG_Py_Void();
9094 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9095 return SWIG_Python_InitShadowInstance(args
);
9098 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
= 0;
9100 wxString
*arg1
= 0 ;
9101 wxBusyInfo
*result
= 0 ;
9102 bool temp1
= false ;
9103 PyObject
* obj0
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "message", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9110 arg1
= wxString_in_helper(obj0
);
9111 if (arg1
== NULL
) SWIG_fail
;
9115 if (!wxPyCheckForApp()) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9136 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 PyObject
*resultobj
= 0;
9138 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9141 PyObject
*swig_obj
[1] ;
9143 if (!args
) SWIG_fail
;
9145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9146 if (!SWIG_IsOK(res1
)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9149 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9164 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9167 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9168 return SWIG_Py_Void();
9171 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9172 return SWIG_Python_InitShadowInstance(args
);
9175 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9176 PyObject
*resultobj
= 0;
9177 wxStopWatch
*result
= 0 ;
9179 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxStopWatch
*)new wxStopWatch();
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9193 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
= 0;
9195 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9196 long arg2
= (long) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "self",(char *) "t0", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9212 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9215 if (!SWIG_IsOK(ecode2
)) {
9216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9218 arg2
= static_cast< long >(val2
);
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->Start(arg2
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_Py_Void();
9233 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9234 PyObject
*resultobj
= 0;
9235 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9238 PyObject
*swig_obj
[1] ;
9240 if (!args
) SWIG_fail
;
9242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9243 if (!SWIG_IsOK(res1
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9246 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_Py_Void();
9260 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9261 PyObject
*resultobj
= 0;
9262 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9265 PyObject
*swig_obj
[1] ;
9267 if (!args
) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9273 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9287 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9288 PyObject
*resultobj
= 0;
9289 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9293 PyObject
*swig_obj
[1] ;
9295 if (!args
) SWIG_fail
;
9297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9298 if (!SWIG_IsOK(res1
)) {
9299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9301 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_From_long(static_cast< long >(result
));
9315 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9318 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9319 return SWIG_Py_Void();
9322 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9323 return SWIG_Python_InitShadowInstance(args
);
9326 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
= 0;
9328 int arg1
= (int) 9 ;
9329 int arg2
= (int) wxID_FILE1
;
9330 wxFileHistory
*result
= 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 char * kwnames
[] = {
9338 (char *) "maxFiles",(char *) "idBase", NULL
9341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9343 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9344 if (!SWIG_IsOK(ecode1
)) {
9345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9347 arg1
= static_cast< int >(val1
);
9350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9351 if (!SWIG_IsOK(ecode2
)) {
9352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9354 arg2
= static_cast< int >(val2
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9369 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9370 PyObject
*resultobj
= 0;
9371 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9374 PyObject
*swig_obj
[1] ;
9376 if (!args
) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9382 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_Py_Void();
9397 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
= 0;
9399 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9400 wxString
*arg2
= 0 ;
9403 bool temp2
= false ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 char * kwnames
[] = {
9407 (char *) "self",(char *) "file", NULL
9410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9415 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9417 arg2
= wxString_in_helper(obj1
);
9418 if (arg2
== NULL
) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_Py_Void();
9442 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= 0;
9444 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9452 char * kwnames
[] = {
9453 (char *) "self",(char *) "i", NULL
9456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9461 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9463 if (!SWIG_IsOK(ecode2
)) {
9464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9466 arg2
= static_cast< int >(val2
);
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 (arg1
)->RemoveFileFromHistory(arg2
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_Py_Void();
9480 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9481 PyObject
*resultobj
= 0;
9482 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9486 PyObject
*swig_obj
[1] ;
9488 if (!args
) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9494 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_int(static_cast< int >(result
));
9508 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
= 0;
9510 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9511 wxMenu
*arg2
= (wxMenu
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9518 char * kwnames
[] = {
9519 (char *) "self",(char *) "menu", NULL
9522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9524 if (!SWIG_IsOK(res1
)) {
9525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9527 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9529 if (!SWIG_IsOK(res2
)) {
9530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9532 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 (arg1
)->UseMenu(arg2
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_Py_Void();
9546 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
= 0;
9548 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9549 wxMenu
*arg2
= (wxMenu
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9556 char * kwnames
[] = {
9557 (char *) "self",(char *) "menu", NULL
9560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9562 if (!SWIG_IsOK(res1
)) {
9563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9565 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9567 if (!SWIG_IsOK(res2
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9570 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 (arg1
)->RemoveMenu(arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_Py_Void();
9584 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= 0;
9586 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9587 wxConfigBase
*arg2
= 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "self",(char *) "config", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9603 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9605 if (!SWIG_IsOK(res2
)) {
9606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9611 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->Load(*arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_Py_Void();
9625 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
= 0;
9627 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9628 wxConfigBase
*arg2
= 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 char * kwnames
[] = {
9636 (char *) "self",(char *) "config", NULL
9639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9641 if (!SWIG_IsOK(res1
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9644 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9646 if (!SWIG_IsOK(res2
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9652 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->Save(*arg2
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9667 PyObject
*resultobj
= 0;
9668 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9671 PyObject
*swig_obj
[1] ;
9673 if (!args
) SWIG_fail
;
9675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9676 if (!SWIG_IsOK(res1
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9679 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 (arg1
)->AddFilesToMenu();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= SWIG_Py_Void();
9693 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
= 0;
9695 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9696 wxMenu
*arg2
= (wxMenu
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9703 char * kwnames
[] = {
9704 (char *) "self",(char *) "menu", NULL
9707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9709 if (!SWIG_IsOK(res1
)) {
9710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9712 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9714 if (!SWIG_IsOK(res2
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9717 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 (arg1
)->AddFilesToMenu(arg2
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= SWIG_Py_Void();
9731 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
= 0;
9733 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 char * kwnames
[] = {
9743 (char *) "self",(char *) "i", NULL
9746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9751 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9753 if (!SWIG_IsOK(ecode2
)) {
9754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9756 arg2
= static_cast< int >(val2
);
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9776 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9777 PyObject
*resultobj
= 0;
9778 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9782 PyObject
*swig_obj
[1] ;
9784 if (!args
) SWIG_fail
;
9786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9787 if (!SWIG_IsOK(res1
)) {
9788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9790 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_From_int(static_cast< int >(result
));
9804 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9807 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9808 return SWIG_Py_Void();
9811 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9812 return SWIG_Python_InitShadowInstance(args
);
9815 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 wxString
*arg1
= 0 ;
9818 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9819 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9820 wxSingleInstanceChecker
*result
= 0 ;
9821 bool temp1
= false ;
9822 bool temp2
= false ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 char * kwnames
[] = {
9826 (char *) "name",(char *) "path", NULL
9829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9831 arg1
= wxString_in_helper(obj0
);
9832 if (arg1
== NULL
) SWIG_fail
;
9837 arg2
= wxString_in_helper(obj1
);
9838 if (arg2
== NULL
) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9871 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9872 PyObject
*resultobj
= 0;
9873 wxSingleInstanceChecker
*result
= 0 ;
9875 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9889 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9890 PyObject
*resultobj
= 0;
9891 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9894 PyObject
*swig_obj
[1] ;
9896 if (!args
) SWIG_fail
;
9898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9899 if (!SWIG_IsOK(res1
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9902 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_Py_Void();
9917 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
= 0;
9919 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9920 wxString
*arg2
= 0 ;
9921 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9922 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9926 bool temp2
= false ;
9927 bool temp3
= false ;
9928 PyObject
* obj0
= 0 ;
9929 PyObject
* obj1
= 0 ;
9930 PyObject
* obj2
= 0 ;
9931 char * kwnames
[] = {
9932 (char *) "self",(char *) "name",(char *) "path", NULL
9935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9937 if (!SWIG_IsOK(res1
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9940 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9942 arg2
= wxString_in_helper(obj1
);
9943 if (arg2
== NULL
) SWIG_fail
;
9948 arg3
= wxString_in_helper(obj2
);
9949 if (arg3
== NULL
) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9984 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9985 PyObject
*resultobj
= 0;
9986 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9990 PyObject
*swig_obj
[1] ;
9992 if (!args
) SWIG_fail
;
9994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9995 if (!SWIG_IsOK(res1
)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9998 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10014 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10017 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10018 return SWIG_Py_Void();
10021 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10022 return SWIG_Python_InitShadowInstance(args
);
10025 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
= 0;
10027 wxWindow
*arg1
= (wxWindow
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 char * kwnames
[] = {
10037 (char *) "window",(char *) "dc", NULL
10040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10042 if (!SWIG_IsOK(res1
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10047 if (!SWIG_IsOK(res2
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10053 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10069 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10070 PyObject
*resultobj
= 0;
10071 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10074 PyObject
*swig_obj
[1] ;
10076 if (!args
) SWIG_fail
;
10077 swig_obj
[0] = args
;
10078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
10079 if (!SWIG_IsOK(res1
)) {
10080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10082 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_Py_Void();
10097 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10098 PyObject
*resultobj
= 0;
10099 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10103 PyObject
*swig_obj
[1] ;
10105 if (!args
) SWIG_fail
;
10106 swig_obj
[0] = args
;
10107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10108 if (!SWIG_IsOK(res1
)) {
10109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10111 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (arg1
)->GetTip();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10131 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10132 PyObject
*resultobj
= 0;
10133 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10137 PyObject
*swig_obj
[1] ;
10139 if (!args
) SWIG_fail
;
10140 swig_obj
[0] = args
;
10141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10142 if (!SWIG_IsOK(res1
)) {
10143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10145 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (size_t)(arg1
)->GetCurrentTip();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10159 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= 0;
10161 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10162 wxString
*arg2
= 0 ;
10166 bool temp2
= false ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 char * kwnames
[] = {
10170 (char *) "self",(char *) "tip", NULL
10173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10178 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10180 arg2
= wxString_in_helper(obj1
);
10181 if (arg2
== NULL
) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10211 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10214 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10215 return SWIG_Py_Void();
10218 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10221 wxPyTipProvider
*result
= 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "currentTip", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10230 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10231 if (!SWIG_IsOK(ecode1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10234 arg1
= static_cast< size_t >(val1
);
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10248 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
= 0;
10250 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10251 PyObject
*arg2
= (PyObject
*) 0 ;
10252 PyObject
*arg3
= (PyObject
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 PyObject
* obj2
= 0 ;
10258 char * kwnames
[] = {
10259 (char *) "self",(char *) "self",(char *) "_class", NULL
10262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10264 if (!SWIG_IsOK(res1
)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10267 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= SWIG_Py_Void();
10283 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10286 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10287 return SWIG_Py_Void();
10290 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10291 return SWIG_Python_InitShadowInstance(args
);
10294 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
= 0;
10296 wxWindow
*arg1
= (wxWindow
*) 0 ;
10297 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10298 bool arg3
= (bool) true ;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10320 if (!SWIG_IsOK(res2
)) {
10321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10323 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10325 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10326 if (!SWIG_IsOK(ecode3
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10329 arg3
= static_cast< bool >(val3
);
10332 if (!wxPyCheckForApp()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10347 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
= 0;
10349 wxString
*arg1
= 0 ;
10351 wxTipProvider
*result
= 0 ;
10352 bool temp1
= false ;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "filename",(char *) "currentTip", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10363 arg1
= wxString_in_helper(obj0
);
10364 if (arg1
== NULL
) SWIG_fail
;
10367 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10371 arg2
= static_cast< size_t >(val2
);
10373 if (!wxPyCheckForApp()) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10394 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10397 int arg2
= (int) wxID_ANY
;
10398 wxPyTimer
*result
= 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "owner",(char *) "id", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10412 if (!SWIG_IsOK(res1
)) {
10413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10415 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10419 if (!SWIG_IsOK(ecode2
)) {
10420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10422 arg2
= static_cast< int >(val2
);
10425 if (!wxPyCheckForApp()) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10438 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10439 PyObject
*resultobj
= 0;
10440 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10443 PyObject
*swig_obj
[1] ;
10445 if (!args
) SWIG_fail
;
10446 swig_obj
[0] = args
;
10447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10451 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_Py_Void();
10466 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
= 0;
10468 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10469 PyObject
*arg2
= (PyObject
*) 0 ;
10470 PyObject
*arg3
= (PyObject
*) 0 ;
10471 int arg4
= (int) 1 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 PyObject
* obj2
= 0 ;
10479 PyObject
* obj3
= 0 ;
10480 char * kwnames
[] = {
10481 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10489 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10494 if (!SWIG_IsOK(ecode4
)) {
10495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10497 arg4
= static_cast< int >(val4
);
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_Py_Void();
10512 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
= 0;
10514 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10515 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10516 int arg3
= (int) wxID_ANY
;
10523 PyObject
* obj0
= 0 ;
10524 PyObject
* obj1
= 0 ;
10525 PyObject
* obj2
= 0 ;
10526 char * kwnames
[] = {
10527 (char *) "self",(char *) "owner",(char *) "id", NULL
10530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10532 if (!SWIG_IsOK(res1
)) {
10533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10535 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10537 if (!SWIG_IsOK(res2
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10540 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10543 if (!SWIG_IsOK(ecode3
)) {
10544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10546 arg3
= static_cast< int >(val3
);
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 (arg1
)->SetOwner(arg2
,arg3
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_Py_Void();
10561 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10562 PyObject
*resultobj
= 0;
10563 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10564 wxEvtHandler
*result
= 0 ;
10567 PyObject
*swig_obj
[1] ;
10569 if (!args
) SWIG_fail
;
10570 swig_obj
[0] = args
;
10571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10572 if (!SWIG_IsOK(res1
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10575 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= wxPyMake_wxObject(result
, 0);
10591 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
= 0;
10593 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10594 int arg2
= (int) -1 ;
10595 bool arg3
= (bool) false ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 char * kwnames
[] = {
10607 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10612 if (!SWIG_IsOK(res1
)) {
10613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10615 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10618 if (!SWIG_IsOK(ecode2
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10621 arg2
= static_cast< int >(val2
);
10624 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10625 if (!SWIG_IsOK(ecode3
)) {
10626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10628 arg3
= static_cast< bool >(val3
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10645 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10646 PyObject
*resultobj
= 0;
10647 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10650 PyObject
*swig_obj
[1] ;
10652 if (!args
) SWIG_fail
;
10653 swig_obj
[0] = args
;
10654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10658 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_Py_Void();
10672 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10673 PyObject
*resultobj
= 0;
10674 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10677 PyObject
*swig_obj
[1] ;
10679 if (!args
) SWIG_fail
;
10680 swig_obj
[0] = args
;
10681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10685 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_Py_Void();
10699 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10700 PyObject
*resultobj
= 0;
10701 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10705 PyObject
*swig_obj
[1] ;
10707 if (!args
) SWIG_fail
;
10708 swig_obj
[0] = args
;
10709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10713 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10729 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10730 PyObject
*resultobj
= 0;
10731 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10735 PyObject
*swig_obj
[1] ;
10737 if (!args
) SWIG_fail
;
10738 swig_obj
[0] = args
;
10739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10740 if (!SWIG_IsOK(res1
)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10743 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_From_int(static_cast< int >(result
));
10757 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10758 PyObject
*resultobj
= 0;
10759 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10763 PyObject
*swig_obj
[1] ;
10765 if (!args
) SWIG_fail
;
10766 swig_obj
[0] = args
;
10767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10768 if (!SWIG_IsOK(res1
)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10771 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_From_int(static_cast< int >(result
));
10785 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10786 PyObject
*resultobj
= 0;
10787 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10791 PyObject
*swig_obj
[1] ;
10793 if (!args
) SWIG_fail
;
10794 swig_obj
[0] = args
;
10795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10799 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10815 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10818 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10819 return SWIG_Py_Void();
10822 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10823 return SWIG_Python_InitShadowInstance(args
);
10826 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 int arg1
= (int) 0 ;
10829 int arg2
= (int) 0 ;
10830 wxTimerEvent
*result
= 0 ;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 char * kwnames
[] = {
10838 (char *) "timerid",(char *) "interval", NULL
10841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10843 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10844 if (!SWIG_IsOK(ecode1
)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10847 arg1
= static_cast< int >(val1
);
10850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10851 if (!SWIG_IsOK(ecode2
)) {
10852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10854 arg2
= static_cast< int >(val2
);
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10869 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10870 PyObject
*resultobj
= 0;
10871 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10875 PyObject
*swig_obj
[1] ;
10877 if (!args
) SWIG_fail
;
10878 swig_obj
[0] = args
;
10879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10883 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= SWIG_From_int(static_cast< int >(result
));
10897 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10900 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10901 return SWIG_Py_Void();
10904 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10905 return SWIG_Python_InitShadowInstance(args
);
10908 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10909 PyObject
*resultobj
= 0;
10910 wxTimer
*arg1
= 0 ;
10911 wxTimerRunner
*result
= 0 ;
10915 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10923 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10925 if (!wxPyCheckForApp()) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10938 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10939 PyObject
*resultobj
= 0;
10940 wxTimer
*arg1
= 0 ;
10942 bool arg3
= (bool) false ;
10943 wxTimerRunner
*result
= 0 ;
10951 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10959 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10960 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10961 if (!SWIG_IsOK(ecode2
)) {
10962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10964 arg2
= static_cast< int >(val2
);
10966 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10967 if (!SWIG_IsOK(ecode3
)) {
10968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10970 arg3
= static_cast< bool >(val3
);
10973 if (!wxPyCheckForApp()) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10986 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10990 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10993 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10995 if ((argc
>= 2) && (argc
<= 3)) {
10996 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
11000 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11005 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11006 PyObject
*resultobj
= 0;
11007 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11010 PyObject
*swig_obj
[1] ;
11012 if (!args
) SWIG_fail
;
11013 swig_obj
[0] = args
;
11014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11015 if (!SWIG_IsOK(res1
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11018 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= SWIG_Py_Void();
11033 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
= 0;
11035 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11037 bool arg3
= (bool) false ;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 PyObject
* obj2
= 0 ;
11047 char * kwnames
[] = {
11048 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11053 if (!SWIG_IsOK(res1
)) {
11054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11056 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11058 if (!SWIG_IsOK(ecode2
)) {
11059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11061 arg2
= static_cast< int >(val2
);
11063 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11064 if (!SWIG_IsOK(ecode3
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
11067 arg3
= static_cast< bool >(val3
);
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 (arg1
)->Start(arg2
,arg3
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_Py_Void();
11082 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11085 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
11086 return SWIG_Py_Void();
11089 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 return SWIG_Python_InitShadowInstance(args
);
11093 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11094 PyObject
*resultobj
= 0;
11095 wxLog
*result
= 0 ;
11097 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (wxLog
*)new wxLog();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
11111 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11112 PyObject
*resultobj
= 0;
11113 wxLog
*arg1
= (wxLog
*) 0 ;
11116 PyObject
*swig_obj
[1] ;
11118 if (!args
) SWIG_fail
;
11119 swig_obj
[0] = args
;
11120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11121 if (!SWIG_IsOK(res1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
11124 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_Py_Void();
11139 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11140 PyObject
*resultobj
= 0;
11143 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)wxLog::IsEnabled();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
= 0;
11161 bool arg1
= (bool) true ;
11165 PyObject
* obj0
= 0 ;
11166 char * kwnames
[] = {
11167 (char *) "doIt", NULL
11170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11172 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11173 if (!SWIG_IsOK(ecode1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11176 arg1
= static_cast< bool >(val1
);
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 result
= (bool)wxLog::EnableLogging(arg1
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11193 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
= 0;
11196 wxChar
*arg2
= (wxChar
*) 0 ;
11198 unsigned long val1
;
11202 unsigned int val3
;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 PyObject
* obj2
= 0 ;
11207 char * kwnames
[] = {
11208 (char *) "level",(char *) "szString",(char *) "t", NULL
11211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11212 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11213 if (!SWIG_IsOK(ecode1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11216 arg1
= static_cast< wxLogLevel
>(val1
);
11217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11218 if (!SWIG_IsOK(res2
)) {
11219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11221 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11222 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11223 if (!SWIG_IsOK(ecode3
)) {
11224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11226 arg3
= static_cast< time_t >(val3
);
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= SWIG_Py_Void();
11240 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11241 PyObject
*resultobj
= 0;
11242 wxLog
*arg1
= (wxLog
*) 0 ;
11245 PyObject
*swig_obj
[1] ;
11247 if (!args
) SWIG_fail
;
11248 swig_obj
[0] = args
;
11249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11253 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= SWIG_Py_Void();
11267 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11268 PyObject
*resultobj
= 0;
11270 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 wxLog::FlushActive();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= SWIG_Py_Void();
11284 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11285 PyObject
*resultobj
= 0;
11286 wxLog
*result
= 0 ;
11288 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (wxLog
*)wxLog::GetActiveTarget();
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11302 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
= 0;
11304 wxLog
*arg1
= (wxLog
*) 0 ;
11305 wxLog
*result
= 0 ;
11307 PyObject
* obj0
= 0 ;
11308 char * kwnames
[] = {
11309 (char *) "pLogger", NULL
11312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11313 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11330 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11333 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_Py_Void();
11347 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 PyObject
*resultobj
= 0;
11350 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= SWIG_Py_Void();
11364 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
= 0;
11366 bool arg1
= (bool) true ;
11369 PyObject
* obj0
= 0 ;
11370 char * kwnames
[] = {
11371 (char *) "bVerbose", NULL
11374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11376 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11377 if (!SWIG_IsOK(ecode1
)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11380 arg1
= static_cast< bool >(val1
);
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 wxLog::SetVerbose(arg1
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 resultobj
= SWIG_Py_Void();
11395 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
= 0;
11398 unsigned long val1
;
11400 PyObject
* obj0
= 0 ;
11401 char * kwnames
[] = {
11402 (char *) "logLevel", NULL
11405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11406 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11407 if (!SWIG_IsOK(ecode1
)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11410 arg1
= static_cast< wxLogLevel
>(val1
);
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 wxLog::SetLogLevel(arg1
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_Py_Void();
11424 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11425 PyObject
*resultobj
= 0;
11427 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 wxLog::DontCreateOnDemand();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_Py_Void();
11441 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
= 0;
11443 bool arg1
= (bool) true ;
11446 PyObject
* obj0
= 0 ;
11447 char * kwnames
[] = {
11448 (char *) "bRepetCounting", NULL
11451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
11453 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11454 if (!SWIG_IsOK(ecode1
)) {
11455 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
11457 arg1
= static_cast< bool >(val1
);
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 wxLog::SetRepetitionCounting(arg1
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_Py_Void();
11472 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11473 PyObject
*resultobj
= 0;
11476 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (bool)wxLog::GetRepetitionCounting();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11492 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
= 0;
11495 unsigned long val1
;
11497 PyObject
* obj0
= 0 ;
11498 char * kwnames
[] = {
11499 (char *) "ulMask", NULL
11502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11503 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11504 if (!SWIG_IsOK(ecode1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11507 arg1
= static_cast< wxTraceMask
>(val1
);
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 wxLog::SetTraceMask(arg1
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_Py_Void();
11521 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
= 0;
11523 wxString
*arg1
= 0 ;
11524 bool temp1
= false ;
11525 PyObject
* obj0
= 0 ;
11526 char * kwnames
[] = {
11527 (char *) "str", NULL
11530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11532 arg1
= wxString_in_helper(obj0
);
11533 if (arg1
== NULL
) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 wxLog::AddTraceMask((wxString
const &)*arg1
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_Py_Void();
11557 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
= 0;
11559 wxString
*arg1
= 0 ;
11560 bool temp1
= false ;
11561 PyObject
* obj0
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "str", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11568 arg1
= wxString_in_helper(obj0
);
11569 if (arg1
== NULL
) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= SWIG_Py_Void();
11593 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11594 PyObject
*resultobj
= 0;
11596 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 wxLog::ClearTraceMasks();
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_Py_Void();
11610 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11611 PyObject
*resultobj
= 0;
11612 wxArrayString
*result
= 0 ;
11614 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11619 result
= (wxArrayString
*) &_result_ref
;
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= wxArrayString2PyList_helper(*result
);
11633 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
= 0;
11635 wxChar
*arg1
= (wxChar
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 char * kwnames
[] = {
11640 (char *) "ts", NULL
11643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11645 if (!SWIG_IsOK(res1
)) {
11646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11648 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 wxLog::SetTimestamp((wxChar
const *)arg1
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_Py_Void();
11662 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11663 PyObject
*resultobj
= 0;
11666 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (bool)wxLog::GetVerbose();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11682 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11683 PyObject
*resultobj
= 0;
11684 wxTraceMask result
;
11686 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (wxTraceMask
)wxLog::GetTraceMask();
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11700 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
= 0;
11702 wxChar
*arg1
= (wxChar
*) 0 ;
11706 PyObject
* obj0
= 0 ;
11707 char * kwnames
[] = {
11708 (char *) "mask", NULL
11711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11713 if (!SWIG_IsOK(res1
)) {
11714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11716 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11732 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11733 PyObject
*resultobj
= 0;
11736 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (wxLogLevel
)wxLog::GetLogLevel();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11750 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxChar
*result
= 0 ;
11754 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (wxChar
*)wxLog::GetTimestamp();
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11768 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11769 PyObject
*resultobj
= 0;
11772 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= wxLog_TimeStamp();
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11792 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11793 PyObject
*resultobj
= 0;
11794 wxLog
*arg1
= (wxLog
*) 0 ;
11797 PyObject
*swig_obj
[1] ;
11799 if (!args
) SWIG_fail
;
11800 swig_obj
[0] = args
;
11801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11802 if (!SWIG_IsOK(res1
)) {
11803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11805 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 wxLog_Destroy(arg1
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_Py_Void();
11819 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11822 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11823 return SWIG_Py_Void();
11826 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11827 return SWIG_Python_InitShadowInstance(args
);
11830 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11831 PyObject
*resultobj
= 0;
11832 wxLogStderr
*result
= 0 ;
11834 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (wxLogStderr
*)new wxLogStderr();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11848 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11851 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11852 return SWIG_Py_Void();
11855 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11856 return SWIG_Python_InitShadowInstance(args
);
11859 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
= 0;
11861 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11862 wxLogTextCtrl
*result
= 0 ;
11865 PyObject
* obj0
= 0 ;
11866 char * kwnames
[] = {
11867 (char *) "pTextCtrl", NULL
11870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11875 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11889 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11892 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11893 return SWIG_Py_Void();
11896 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11897 return SWIG_Python_InitShadowInstance(args
);
11900 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11901 PyObject
*resultobj
= 0;
11902 wxLogGui
*result
= 0 ;
11904 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (wxLogGui
*)new wxLogGui();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11918 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11921 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11922 return SWIG_Py_Void();
11925 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11926 return SWIG_Python_InitShadowInstance(args
);
11929 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
= 0;
11931 wxFrame
*arg1
= (wxFrame
*) 0 ;
11932 wxString
*arg2
= 0 ;
11933 bool arg3
= (bool) true ;
11934 bool arg4
= (bool) true ;
11935 wxLogWindow
*result
= 0 ;
11938 bool temp2
= false ;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 PyObject
* obj2
= 0 ;
11946 PyObject
* obj3
= 0 ;
11947 char * kwnames
[] = {
11948 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11956 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11958 arg2
= wxString_in_helper(obj1
);
11959 if (arg2
== NULL
) SWIG_fail
;
11963 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11964 if (!SWIG_IsOK(ecode3
)) {
11965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11967 arg3
= static_cast< bool >(val3
);
11970 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11971 if (!SWIG_IsOK(ecode4
)) {
11972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11974 arg4
= static_cast< bool >(val4
);
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11997 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
= 0;
11999 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12000 bool arg2
= (bool) true ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char * kwnames
[] = {
12008 (char *) "self",(char *) "bShow", NULL
12011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12016 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12018 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12019 if (!SWIG_IsOK(ecode2
)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
12022 arg2
= static_cast< bool >(val2
);
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 (arg1
)->Show(arg2
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_Py_Void();
12037 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12038 PyObject
*resultobj
= 0;
12039 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12040 wxFrame
*result
= 0 ;
12043 PyObject
*swig_obj
[1] ;
12045 if (!args
) SWIG_fail
;
12046 swig_obj
[0] = args
;
12047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12048 if (!SWIG_IsOK(res1
)) {
12049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12051 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12067 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12068 PyObject
*resultobj
= 0;
12069 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12070 wxLog
*result
= 0 ;
12073 PyObject
*swig_obj
[1] ;
12075 if (!args
) SWIG_fail
;
12076 swig_obj
[0] = args
;
12077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12081 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12095 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12096 PyObject
*resultobj
= 0;
12097 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12101 PyObject
*swig_obj
[1] ;
12103 if (!args
) SWIG_fail
;
12104 swig_obj
[0] = args
;
12105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12106 if (!SWIG_IsOK(res1
)) {
12107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12109 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12125 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
= 0;
12127 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 PyObject
* obj1
= 0 ;
12135 char * kwnames
[] = {
12136 (char *) "self",(char *) "bDoPass", NULL
12139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12141 if (!SWIG_IsOK(res1
)) {
12142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12144 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12145 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12146 if (!SWIG_IsOK(ecode2
)) {
12147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12149 arg2
= static_cast< bool >(val2
);
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 (arg1
)->PassMessages(arg2
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_Py_Void();
12163 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12166 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
12167 return SWIG_Py_Void();
12170 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 return SWIG_Python_InitShadowInstance(args
);
12174 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
= 0;
12176 wxLog
*arg1
= (wxLog
*) 0 ;
12177 wxLogChain
*result
= 0 ;
12180 PyObject
* obj0
= 0 ;
12181 char * kwnames
[] = {
12182 (char *) "logger", NULL
12185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
12186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12190 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (wxLogChain
*)new wxLogChain(arg1
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12204 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= 0;
12206 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12207 wxLog
*arg2
= (wxLog
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 char * kwnames
[] = {
12215 (char *) "self",(char *) "logger", NULL
12218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12223 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12224 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12225 if (!SWIG_IsOK(res2
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12228 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetLog(arg2
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_Py_Void();
12242 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
= 0;
12244 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 PyObject
* obj1
= 0 ;
12252 char * kwnames
[] = {
12253 (char *) "self",(char *) "bDoPass", NULL
12256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12261 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12262 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12263 if (!SWIG_IsOK(ecode2
)) {
12264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12266 arg2
= static_cast< bool >(val2
);
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 (arg1
)->PassMessages(arg2
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= SWIG_Py_Void();
12280 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12281 PyObject
*resultobj
= 0;
12282 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12286 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12294 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= (bool)(arg1
)->IsPassingMessages();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12310 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12311 PyObject
*resultobj
= 0;
12312 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12313 wxLog
*result
= 0 ;
12316 PyObject
*swig_obj
[1] ;
12318 if (!args
) SWIG_fail
;
12319 swig_obj
[0] = args
;
12320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12321 if (!SWIG_IsOK(res1
)) {
12322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12324 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 result
= (wxLog
*)(arg1
)->GetOldLog();
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12338 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12341 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12342 return SWIG_Py_Void();
12345 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12346 return SWIG_Python_InitShadowInstance(args
);
12349 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 wxLogBuffer
*result
= 0 ;
12353 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 result
= (wxLogBuffer
*)new wxLogBuffer();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12367 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12368 PyObject
*resultobj
= 0;
12369 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12370 wxString
*result
= 0 ;
12373 PyObject
*swig_obj
[1] ;
12375 if (!args
) SWIG_fail
;
12376 swig_obj
[0] = args
;
12377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12378 if (!SWIG_IsOK(res1
)) {
12379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12381 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12386 result
= (wxString
*) &_result_ref
;
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12395 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12404 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12407 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12408 return SWIG_Py_Void();
12411 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12412 return SWIG_Python_InitShadowInstance(args
);
12415 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12416 PyObject
*resultobj
= 0;
12417 unsigned long result
;
12419 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (unsigned long)wxSysErrorCode();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12433 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12435 unsigned long arg1
= (unsigned long) 0 ;
12437 unsigned long val1
;
12439 PyObject
* obj0
= 0 ;
12440 char * kwnames
[] = {
12441 (char *) "nErrCode", NULL
12444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12446 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12447 if (!SWIG_IsOK(ecode1
)) {
12448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12450 arg1
= static_cast< unsigned long >(val1
);
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= wxSysErrorMsg(arg1
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12471 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
= 0;
12473 wxString
*arg1
= 0 ;
12474 bool temp1
= false ;
12475 PyObject
* obj0
= 0 ;
12476 char * kwnames
[] = {
12477 (char *) "msg", NULL
12480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12482 arg1
= wxString_in_helper(obj0
);
12483 if (arg1
== NULL
) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 wxPyLogFatalError((wxString
const &)*arg1
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_Py_Void();
12507 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
= 0;
12509 wxString
*arg1
= 0 ;
12510 bool temp1
= false ;
12511 PyObject
* obj0
= 0 ;
12512 char * kwnames
[] = {
12513 (char *) "msg", NULL
12516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12518 arg1
= wxString_in_helper(obj0
);
12519 if (arg1
== NULL
) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 wxPyLogError((wxString
const &)*arg1
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_Py_Void();
12543 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
= 0;
12545 wxString
*arg1
= 0 ;
12546 bool temp1
= false ;
12547 PyObject
* obj0
= 0 ;
12548 char * kwnames
[] = {
12549 (char *) "msg", NULL
12552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12554 arg1
= wxString_in_helper(obj0
);
12555 if (arg1
== NULL
) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 wxPyLogWarning((wxString
const &)*arg1
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_Py_Void();
12579 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
= 0;
12581 wxString
*arg1
= 0 ;
12582 bool temp1
= false ;
12583 PyObject
* obj0
= 0 ;
12584 char * kwnames
[] = {
12585 (char *) "msg", NULL
12588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12590 arg1
= wxString_in_helper(obj0
);
12591 if (arg1
== NULL
) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 wxPyLogMessage((wxString
const &)*arg1
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_Py_Void();
12615 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
= 0;
12617 wxString
*arg1
= 0 ;
12618 bool temp1
= false ;
12619 PyObject
* obj0
= 0 ;
12620 char * kwnames
[] = {
12621 (char *) "msg", NULL
12624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12626 arg1
= wxString_in_helper(obj0
);
12627 if (arg1
== NULL
) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 wxPyLogInfo((wxString
const &)*arg1
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_Py_Void();
12651 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
= 0;
12653 wxString
*arg1
= 0 ;
12654 bool temp1
= false ;
12655 PyObject
* obj0
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "msg", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12662 arg1
= wxString_in_helper(obj0
);
12663 if (arg1
== NULL
) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 wxPyLogDebug((wxString
const &)*arg1
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_Py_Void();
12687 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
= 0;
12689 wxString
*arg1
= 0 ;
12690 bool temp1
= false ;
12691 PyObject
* obj0
= 0 ;
12692 char * kwnames
[] = {
12693 (char *) "msg", NULL
12696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12698 arg1
= wxString_in_helper(obj0
);
12699 if (arg1
== NULL
) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 wxPyLogVerbose((wxString
const &)*arg1
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= SWIG_Py_Void();
12723 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
= 0;
12725 wxString
*arg1
= 0 ;
12726 bool temp1
= false ;
12727 PyObject
* obj0
= 0 ;
12728 char * kwnames
[] = {
12729 (char *) "msg", NULL
12732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12734 arg1
= wxString_in_helper(obj0
);
12735 if (arg1
== NULL
) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 wxPyLogStatus((wxString
const &)*arg1
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_Py_Void();
12759 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxFrame
*arg1
= (wxFrame
*) 0 ;
12762 wxString
*arg2
= 0 ;
12765 bool temp2
= false ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "pFrame",(char *) "msg", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12777 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12779 arg2
= wxString_in_helper(obj1
);
12780 if (arg2
== NULL
) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= SWIG_Py_Void();
12804 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
= 0;
12806 wxString
*arg1
= 0 ;
12807 bool temp1
= false ;
12808 PyObject
* obj0
= 0 ;
12809 char * kwnames
[] = {
12810 (char *) "msg", NULL
12813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12815 arg1
= wxString_in_helper(obj0
);
12816 if (arg1
== NULL
) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 wxPyLogSysError((wxString
const &)*arg1
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_Py_Void();
12840 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
= 0;
12842 unsigned long arg1
;
12843 wxString
*arg2
= 0 ;
12844 unsigned long val1
;
12846 bool temp2
= false ;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 char * kwnames
[] = {
12850 (char *) "level",(char *) "msg", NULL
12853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12854 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12855 if (!SWIG_IsOK(ecode1
)) {
12856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12858 arg1
= static_cast< unsigned long >(val1
);
12860 arg2
= wxString_in_helper(obj1
);
12861 if (arg2
== NULL
) SWIG_fail
;
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_Py_Void();
12885 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12886 PyObject
*resultobj
= 0;
12887 unsigned long arg1
;
12888 wxString
*arg2
= 0 ;
12889 unsigned long val1
;
12891 bool temp2
= false ;
12893 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12894 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12895 if (!SWIG_IsOK(ecode1
)) {
12896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12898 arg1
= static_cast< unsigned long >(val1
);
12900 arg2
= wxString_in_helper(swig_obj
[1]);
12901 if (arg2
== NULL
) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= SWIG_Py_Void();
12925 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12926 PyObject
*resultobj
= 0;
12927 wxString
*arg1
= 0 ;
12928 wxString
*arg2
= 0 ;
12929 bool temp1
= false ;
12930 bool temp2
= false ;
12932 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12934 arg1
= wxString_in_helper(swig_obj
[0]);
12935 if (arg1
== NULL
) SWIG_fail
;
12939 arg2
= wxString_in_helper(swig_obj
[1]);
12940 if (arg2
== NULL
) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= SWIG_Py_Void();
12972 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12976 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12982 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12985 if (!_v
) goto check_1
;
12986 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12991 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12995 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
13000 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
= 0;
13002 wxString
*arg1
= 0 ;
13003 wxString
*arg2
= 0 ;
13004 bool temp1
= false ;
13005 bool temp2
= false ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "title",(char *) "text", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13014 arg1
= wxString_in_helper(obj0
);
13015 if (arg1
== NULL
) SWIG_fail
;
13019 arg2
= wxString_in_helper(obj1
);
13020 if (arg2
== NULL
) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_Py_Void();
13052 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13053 PyObject
*resultobj
= 0;
13054 wxLogNull
*result
= 0 ;
13056 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (wxLogNull
*)new wxLogNull();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
13070 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13071 PyObject
*resultobj
= 0;
13072 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
13075 PyObject
*swig_obj
[1] ;
13077 if (!args
) SWIG_fail
;
13078 swig_obj
[0] = args
;
13079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
13080 if (!SWIG_IsOK(res1
)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
13083 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= SWIG_Py_Void();
13098 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13101 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
13102 return SWIG_Py_Void();
13105 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13106 return SWIG_Python_InitShadowInstance(args
);
13109 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13110 PyObject
*resultobj
= 0;
13111 wxPyLog
*result
= 0 ;
13113 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (wxPyLog
*)new wxPyLog();
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
13127 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
13130 PyObject
*arg2
= (PyObject
*) 0 ;
13131 PyObject
*arg3
= (PyObject
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 PyObject
* obj2
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "self",(char *) "_class", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
13146 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_Py_Void();
13162 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13165 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
13166 return SWIG_Py_Void();
13169 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 return SWIG_Python_InitShadowInstance(args
);
13173 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
= 0;
13176 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13177 int arg3
= (int) wxKILL_NOCHILDREN
;
13178 wxKillError result
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 PyObject
* obj2
= 0 ;
13188 char * kwnames
[] = {
13189 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13193 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13194 if (!SWIG_IsOK(ecode1
)) {
13195 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13197 arg1
= static_cast< int >(val1
);
13199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13200 if (!SWIG_IsOK(ecode2
)) {
13201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13203 arg2
= static_cast< wxSignal
>(val2
);
13206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13207 if (!SWIG_IsOK(ecode3
)) {
13208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13210 arg3
= static_cast< int >(val3
);
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_From_int(static_cast< int >(result
));
13225 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
= 0;
13231 PyObject
* obj0
= 0 ;
13232 char * kwnames
[] = {
13233 (char *) "pid", NULL
13236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13238 if (!SWIG_IsOK(ecode1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13241 arg1
= static_cast< int >(val1
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (bool)wxPyProcess::Exists(arg1
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13257 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
= 0;
13259 wxString
*arg1
= 0 ;
13260 int arg2
= (int) wxEXEC_ASYNC
;
13261 wxPyProcess
*result
= 0 ;
13262 bool temp1
= false ;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 char * kwnames
[] = {
13268 (char *) "cmd",(char *) "flags", NULL
13271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13273 arg1
= wxString_in_helper(obj0
);
13274 if (arg1
== NULL
) SWIG_fail
;
13278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13279 if (!SWIG_IsOK(ecode2
)) {
13280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13282 arg2
= static_cast< int >(val2
);
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13305 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
= 0;
13307 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13308 int arg2
= (int) -1 ;
13309 wxPyProcess
*result
= 0 ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char * kwnames
[] = {
13317 (char *) "parent",(char *) "id", NULL
13320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13323 if (!SWIG_IsOK(res1
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13326 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13330 if (!SWIG_IsOK(ecode2
)) {
13331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13333 arg2
= static_cast< int >(val2
);
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13348 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
= 0;
13350 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13351 PyObject
*arg2
= (PyObject
*) 0 ;
13352 PyObject
*arg3
= (PyObject
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 PyObject
* obj2
= 0 ;
13358 char * kwnames
[] = {
13359 (char *) "self",(char *) "self",(char *) "_class", NULL
13362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13367 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= SWIG_Py_Void();
13383 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
= 0;
13385 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 PyObject
* obj2
= 0 ;
13397 char * kwnames
[] = {
13398 (char *) "self",(char *) "pid",(char *) "status", NULL
13401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13403 if (!SWIG_IsOK(res1
)) {
13404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13406 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13408 if (!SWIG_IsOK(ecode2
)) {
13409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13411 arg2
= static_cast< int >(val2
);
13412 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13413 if (!SWIG_IsOK(ecode3
)) {
13414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13416 arg3
= static_cast< int >(val3
);
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 (arg1
)->OnTerminate(arg2
,arg3
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_Py_Void();
13430 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13431 PyObject
*resultobj
= 0;
13432 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13435 PyObject
*swig_obj
[1] ;
13437 if (!args
) SWIG_fail
;
13438 swig_obj
[0] = args
;
13439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13440 if (!SWIG_IsOK(res1
)) {
13441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13443 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 (arg1
)->Redirect();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= SWIG_Py_Void();
13457 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13458 PyObject
*resultobj
= 0;
13459 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13463 PyObject
*swig_obj
[1] ;
13465 if (!args
) SWIG_fail
;
13466 swig_obj
[0] = args
;
13467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13468 if (!SWIG_IsOK(res1
)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13471 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (bool)(arg1
)->IsRedirected();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13487 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 PyObject
*resultobj
= 0;
13489 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13492 PyObject
*swig_obj
[1] ;
13494 if (!args
) SWIG_fail
;
13495 swig_obj
[0] = args
;
13496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13497 if (!SWIG_IsOK(res1
)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13500 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= SWIG_Py_Void();
13514 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13516 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13517 wxInputStream
*result
= 0 ;
13520 PyObject
*swig_obj
[1] ;
13522 if (!args
) SWIG_fail
;
13523 swig_obj
[0] = args
;
13524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13528 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 wxPyInputStream
* _ptr
= NULL
;
13539 _ptr
= new wxPyInputStream(result
);
13541 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13549 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13550 PyObject
*resultobj
= 0;
13551 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13552 wxInputStream
*result
= 0 ;
13555 PyObject
*swig_obj
[1] ;
13557 if (!args
) SWIG_fail
;
13558 swig_obj
[0] = args
;
13559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13560 if (!SWIG_IsOK(res1
)) {
13561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13563 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 wxPyInputStream
* _ptr
= NULL
;
13574 _ptr
= new wxPyInputStream(result
);
13576 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13584 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13587 wxOutputStream
*result
= 0 ;
13590 PyObject
*swig_obj
[1] ;
13592 if (!args
) SWIG_fail
;
13593 swig_obj
[0] = args
;
13594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13598 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13612 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13613 PyObject
*resultobj
= 0;
13614 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13617 PyObject
*swig_obj
[1] ;
13619 if (!args
) SWIG_fail
;
13620 swig_obj
[0] = args
;
13621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13622 if (!SWIG_IsOK(res1
)) {
13623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13625 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 (arg1
)->CloseOutput();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_Py_Void();
13639 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13640 PyObject
*resultobj
= 0;
13641 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13645 PyObject
*swig_obj
[1] ;
13647 if (!args
) SWIG_fail
;
13648 swig_obj
[0] = args
;
13649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13653 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13669 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13670 PyObject
*resultobj
= 0;
13671 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13675 PyObject
*swig_obj
[1] ;
13677 if (!args
) SWIG_fail
;
13678 swig_obj
[0] = args
;
13679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13680 if (!SWIG_IsOK(res1
)) {
13681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13683 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13699 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13700 PyObject
*resultobj
= 0;
13701 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13705 PyObject
*swig_obj
[1] ;
13707 if (!args
) SWIG_fail
;
13708 swig_obj
[0] = args
;
13709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13710 if (!SWIG_IsOK(res1
)) {
13711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13713 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13729 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13732 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13733 return SWIG_Py_Void();
13736 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13737 return SWIG_Python_InitShadowInstance(args
);
13740 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
= 0;
13742 int arg1
= (int) 0 ;
13743 int arg2
= (int) 0 ;
13744 int arg3
= (int) 0 ;
13745 wxProcessEvent
*result
= 0 ;
13752 PyObject
* obj0
= 0 ;
13753 PyObject
* obj1
= 0 ;
13754 PyObject
* obj2
= 0 ;
13755 char * kwnames
[] = {
13756 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13762 if (!SWIG_IsOK(ecode1
)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13765 arg1
= static_cast< int >(val1
);
13768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13769 if (!SWIG_IsOK(ecode2
)) {
13770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13772 arg2
= static_cast< int >(val2
);
13775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13776 if (!SWIG_IsOK(ecode3
)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13779 arg3
= static_cast< int >(val3
);
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13794 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13795 PyObject
*resultobj
= 0;
13796 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13800 PyObject
*swig_obj
[1] ;
13802 if (!args
) SWIG_fail
;
13803 swig_obj
[0] = args
;
13804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13805 if (!SWIG_IsOK(res1
)) {
13806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13808 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (int)(arg1
)->GetPid();
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_From_int(static_cast< int >(result
));
13822 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13823 PyObject
*resultobj
= 0;
13824 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13828 PyObject
*swig_obj
[1] ;
13830 if (!args
) SWIG_fail
;
13831 swig_obj
[0] = args
;
13832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13833 if (!SWIG_IsOK(res1
)) {
13834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13836 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 result
= (int)(arg1
)->GetExitCode();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_From_int(static_cast< int >(result
));
13850 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13851 PyObject
*resultobj
= 0;
13852 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13858 PyObject
*swig_obj
[2] ;
13860 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13865 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13866 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13867 if (!SWIG_IsOK(ecode2
)) {
13868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13870 arg2
= static_cast< int >(val2
);
13871 if (arg1
) (arg1
)->m_pid
= arg2
;
13873 resultobj
= SWIG_Py_Void();
13880 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13881 PyObject
*resultobj
= 0;
13882 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13886 PyObject
*swig_obj
[1] ;
13888 if (!args
) SWIG_fail
;
13889 swig_obj
[0] = args
;
13890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13891 if (!SWIG_IsOK(res1
)) {
13892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13894 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13895 result
= (int) ((arg1
)->m_pid
);
13896 resultobj
= SWIG_From_int(static_cast< int >(result
));
13903 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13904 PyObject
*resultobj
= 0;
13905 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13911 PyObject
*swig_obj
[2] ;
13913 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13915 if (!SWIG_IsOK(res1
)) {
13916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13918 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13919 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13920 if (!SWIG_IsOK(ecode2
)) {
13921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13923 arg2
= static_cast< int >(val2
);
13924 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13926 resultobj
= SWIG_Py_Void();
13933 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13934 PyObject
*resultobj
= 0;
13935 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13939 PyObject
*swig_obj
[1] ;
13941 if (!args
) SWIG_fail
;
13942 swig_obj
[0] = args
;
13943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13947 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13948 result
= (int) ((arg1
)->m_exitcode
);
13949 resultobj
= SWIG_From_int(static_cast< int >(result
));
13956 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13959 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13960 return SWIG_Py_Void();
13963 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13964 return SWIG_Python_InitShadowInstance(args
);
13967 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
= 0;
13969 wxString
*arg1
= 0 ;
13970 int arg2
= (int) wxEXEC_ASYNC
;
13971 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13973 bool temp1
= false ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 PyObject
* obj2
= 0 ;
13981 char * kwnames
[] = {
13982 (char *) "command",(char *) "flags",(char *) "process", NULL
13985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13987 arg1
= wxString_in_helper(obj0
);
13988 if (arg1
== NULL
) SWIG_fail
;
13992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13993 if (!SWIG_IsOK(ecode2
)) {
13994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13996 arg2
= static_cast< int >(val2
);
13999 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14000 if (!SWIG_IsOK(res3
)) {
14001 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
14003 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
14006 if (!wxPyCheckForApp()) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_From_long(static_cast< long >(result
));
14027 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
= 0;
14030 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14031 wxKillError
*arg3
= (wxKillError
*) 0 ;
14032 int arg4
= (int) wxKILL_NOCHILDREN
;
14038 wxKillError temp3
;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14052 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
14053 if (!SWIG_IsOK(ecode1
)) {
14054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14056 arg1
= static_cast< long >(val1
);
14058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14059 if (!SWIG_IsOK(ecode2
)) {
14060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14062 arg2
= static_cast< wxSignal
>(val2
);
14065 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
14066 if (!SWIG_IsOK(ecode4
)) {
14067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
14069 arg4
= static_cast< int >(val4
);
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= SWIG_From_int(static_cast< int >(result
));
14080 o
= PyInt_FromLong((long) (*arg3
));
14084 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
14093 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
= 0;
14095 int arg1
= (int) wxJOYSTICK1
;
14096 wxJoystick
*result
= 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char * kwnames
[] = {
14101 (char *) "joystick", NULL
14104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
14106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14107 if (!SWIG_IsOK(ecode1
)) {
14108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
14110 arg1
= static_cast< int >(val1
);
14113 if (!wxPyCheckForApp()) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (wxJoystick
*)new wxJoystick(arg1
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
14126 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14131 PyObject
*swig_obj
[1] ;
14133 if (!args
) SWIG_fail
;
14134 swig_obj
[0] = args
;
14135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
14136 if (!SWIG_IsOK(res1
)) {
14137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
14139 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_Py_Void();
14154 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14155 PyObject
*resultobj
= 0;
14156 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14160 PyObject
*swig_obj
[1] ;
14162 if (!args
) SWIG_fail
;
14163 swig_obj
[0] = args
;
14164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14165 if (!SWIG_IsOK(res1
)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14168 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (arg1
)->GetPosition();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14182 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14183 PyObject
*resultobj
= 0;
14184 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14188 PyObject
*swig_obj
[1] ;
14190 if (!args
) SWIG_fail
;
14191 swig_obj
[0] = args
;
14192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14193 if (!SWIG_IsOK(res1
)) {
14194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14196 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (int)(arg1
)->GetZPosition();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_From_int(static_cast< int >(result
));
14210 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14211 PyObject
*resultobj
= 0;
14212 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14216 PyObject
*swig_obj
[1] ;
14218 if (!args
) SWIG_fail
;
14219 swig_obj
[0] = args
;
14220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14221 if (!SWIG_IsOK(res1
)) {
14222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14224 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (int)(arg1
)->GetButtonState();
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= SWIG_From_int(static_cast< int >(result
));
14238 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14239 PyObject
*resultobj
= 0;
14240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14244 PyObject
*swig_obj
[1] ;
14246 if (!args
) SWIG_fail
;
14247 swig_obj
[0] = args
;
14248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14249 if (!SWIG_IsOK(res1
)) {
14250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14252 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (int)(arg1
)->GetPOVPosition();
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_From_int(static_cast< int >(result
));
14266 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(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_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14280 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (int)(arg1
)->GetPOVCTSPosition();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_From_int(static_cast< int >(result
));
14294 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14295 PyObject
*resultobj
= 0;
14296 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14300 PyObject
*swig_obj
[1] ;
14302 if (!args
) SWIG_fail
;
14303 swig_obj
[0] = args
;
14304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14305 if (!SWIG_IsOK(res1
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14308 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (int)(arg1
)->GetRudderPosition();
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= SWIG_From_int(static_cast< int >(result
));
14322 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14328 PyObject
*swig_obj
[1] ;
14330 if (!args
) SWIG_fail
;
14331 swig_obj
[0] = args
;
14332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14336 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (int)(arg1
)->GetUPosition();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_From_int(static_cast< int >(result
));
14350 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14351 PyObject
*resultobj
= 0;
14352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14356 PyObject
*swig_obj
[1] ;
14358 if (!args
) SWIG_fail
;
14359 swig_obj
[0] = args
;
14360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14361 if (!SWIG_IsOK(res1
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14364 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (int)(arg1
)->GetVPosition();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_From_int(static_cast< int >(result
));
14378 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14379 PyObject
*resultobj
= 0;
14380 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14384 PyObject
*swig_obj
[1] ;
14386 if (!args
) SWIG_fail
;
14387 swig_obj
[0] = args
;
14388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14389 if (!SWIG_IsOK(res1
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14392 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (int)(arg1
)->GetMovementThreshold();
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= SWIG_From_int(static_cast< int >(result
));
14406 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
= 0;
14408 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 char * kwnames
[] = {
14417 (char *) "self",(char *) "threshold", NULL
14420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14422 if (!SWIG_IsOK(res1
)) {
14423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14425 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14427 if (!SWIG_IsOK(ecode2
)) {
14428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14430 arg2
= static_cast< int >(val2
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 (arg1
)->SetMovementThreshold(arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_Py_Void();
14444 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14450 PyObject
*swig_obj
[1] ;
14452 if (!args
) SWIG_fail
;
14453 swig_obj
[0] = args
;
14454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14458 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (bool)(arg1
)->IsOk();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14474 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14475 PyObject
*resultobj
= 0;
14476 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14480 PyObject
*swig_obj
[1] ;
14482 if (!args
) SWIG_fail
;
14483 swig_obj
[0] = args
;
14484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14488 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (int)(arg1
)->GetNumberJoysticks();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_From_int(static_cast< int >(result
));
14502 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 PyObject
*resultobj
= 0;
14504 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14508 PyObject
*swig_obj
[1] ;
14510 if (!args
) SWIG_fail
;
14511 swig_obj
[0] = args
;
14512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14516 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (int)(arg1
)->GetManufacturerId();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_From_int(static_cast< int >(result
));
14530 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14531 PyObject
*resultobj
= 0;
14532 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14536 PyObject
*swig_obj
[1] ;
14538 if (!args
) SWIG_fail
;
14539 swig_obj
[0] = args
;
14540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14541 if (!SWIG_IsOK(res1
)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14544 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (int)(arg1
)->GetProductId();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_From_int(static_cast< int >(result
));
14558 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14559 PyObject
*resultobj
= 0;
14560 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14564 PyObject
*swig_obj
[1] ;
14566 if (!args
) SWIG_fail
;
14567 swig_obj
[0] = args
;
14568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14569 if (!SWIG_IsOK(res1
)) {
14570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14572 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (arg1
)->GetProductName();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14592 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14593 PyObject
*resultobj
= 0;
14594 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14598 PyObject
*swig_obj
[1] ;
14600 if (!args
) SWIG_fail
;
14601 swig_obj
[0] = args
;
14602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14606 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (int)(arg1
)->GetXMin();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= SWIG_From_int(static_cast< int >(result
));
14620 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14621 PyObject
*resultobj
= 0;
14622 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14626 PyObject
*swig_obj
[1] ;
14628 if (!args
) SWIG_fail
;
14629 swig_obj
[0] = args
;
14630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14631 if (!SWIG_IsOK(res1
)) {
14632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14634 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (int)(arg1
)->GetYMin();
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= SWIG_From_int(static_cast< int >(result
));
14648 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14649 PyObject
*resultobj
= 0;
14650 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14654 PyObject
*swig_obj
[1] ;
14656 if (!args
) SWIG_fail
;
14657 swig_obj
[0] = args
;
14658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14659 if (!SWIG_IsOK(res1
)) {
14660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14662 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (int)(arg1
)->GetZMin();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_From_int(static_cast< int >(result
));
14676 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14677 PyObject
*resultobj
= 0;
14678 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14682 PyObject
*swig_obj
[1] ;
14684 if (!args
) SWIG_fail
;
14685 swig_obj
[0] = args
;
14686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14687 if (!SWIG_IsOK(res1
)) {
14688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14690 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (int)(arg1
)->GetXMax();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= SWIG_From_int(static_cast< int >(result
));
14704 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14705 PyObject
*resultobj
= 0;
14706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14710 PyObject
*swig_obj
[1] ;
14712 if (!args
) SWIG_fail
;
14713 swig_obj
[0] = args
;
14714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14718 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (int)(arg1
)->GetYMax();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_From_int(static_cast< int >(result
));
14732 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14733 PyObject
*resultobj
= 0;
14734 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14738 PyObject
*swig_obj
[1] ;
14740 if (!args
) SWIG_fail
;
14741 swig_obj
[0] = args
;
14742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14743 if (!SWIG_IsOK(res1
)) {
14744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14746 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (int)(arg1
)->GetZMax();
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= SWIG_From_int(static_cast< int >(result
));
14760 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14761 PyObject
*resultobj
= 0;
14762 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14766 PyObject
*swig_obj
[1] ;
14768 if (!args
) SWIG_fail
;
14769 swig_obj
[0] = args
;
14770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14774 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (int)(arg1
)->GetNumberButtons();
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= SWIG_From_int(static_cast< int >(result
));
14788 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14789 PyObject
*resultobj
= 0;
14790 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14794 PyObject
*swig_obj
[1] ;
14796 if (!args
) SWIG_fail
;
14797 swig_obj
[0] = args
;
14798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14799 if (!SWIG_IsOK(res1
)) {
14800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14802 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (int)(arg1
)->GetNumberAxes();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_From_int(static_cast< int >(result
));
14816 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14817 PyObject
*resultobj
= 0;
14818 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14822 PyObject
*swig_obj
[1] ;
14824 if (!args
) SWIG_fail
;
14825 swig_obj
[0] = args
;
14826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14827 if (!SWIG_IsOK(res1
)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14830 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (int)(arg1
)->GetMaxButtons();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_From_int(static_cast< int >(result
));
14844 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14845 PyObject
*resultobj
= 0;
14846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14850 PyObject
*swig_obj
[1] ;
14852 if (!args
) SWIG_fail
;
14853 swig_obj
[0] = args
;
14854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14858 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (int)(arg1
)->GetMaxAxes();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= SWIG_From_int(static_cast< int >(result
));
14872 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14873 PyObject
*resultobj
= 0;
14874 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14878 PyObject
*swig_obj
[1] ;
14880 if (!args
) SWIG_fail
;
14881 swig_obj
[0] = args
;
14882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14883 if (!SWIG_IsOK(res1
)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14886 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (int)(arg1
)->GetPollingMin();
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_From_int(static_cast< int >(result
));
14900 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14901 PyObject
*resultobj
= 0;
14902 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14906 PyObject
*swig_obj
[1] ;
14908 if (!args
) SWIG_fail
;
14909 swig_obj
[0] = args
;
14910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14911 if (!SWIG_IsOK(res1
)) {
14912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14914 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (int)(arg1
)->GetPollingMax();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_From_int(static_cast< int >(result
));
14928 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14929 PyObject
*resultobj
= 0;
14930 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14934 PyObject
*swig_obj
[1] ;
14936 if (!args
) SWIG_fail
;
14937 swig_obj
[0] = args
;
14938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14939 if (!SWIG_IsOK(res1
)) {
14940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14942 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (int)(arg1
)->GetRudderMin();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_From_int(static_cast< int >(result
));
14956 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14957 PyObject
*resultobj
= 0;
14958 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14962 PyObject
*swig_obj
[1] ;
14964 if (!args
) SWIG_fail
;
14965 swig_obj
[0] = args
;
14966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14967 if (!SWIG_IsOK(res1
)) {
14968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14970 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (int)(arg1
)->GetRudderMax();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_From_int(static_cast< int >(result
));
14984 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14985 PyObject
*resultobj
= 0;
14986 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14990 PyObject
*swig_obj
[1] ;
14992 if (!args
) SWIG_fail
;
14993 swig_obj
[0] = args
;
14994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14995 if (!SWIG_IsOK(res1
)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14998 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (int)(arg1
)->GetUMin();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_From_int(static_cast< int >(result
));
15012 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 PyObject
*resultobj
= 0;
15014 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15026 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (int)(arg1
)->GetUMax();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_From_int(static_cast< int >(result
));
15040 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15041 PyObject
*resultobj
= 0;
15042 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15046 PyObject
*swig_obj
[1] ;
15048 if (!args
) SWIG_fail
;
15049 swig_obj
[0] = args
;
15050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15051 if (!SWIG_IsOK(res1
)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15054 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (int)(arg1
)->GetVMin();
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= SWIG_From_int(static_cast< int >(result
));
15068 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(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_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15082 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (int)(arg1
)->GetVMax();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_From_int(static_cast< int >(result
));
15096 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15097 PyObject
*resultobj
= 0;
15098 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15102 PyObject
*swig_obj
[1] ;
15104 if (!args
) SWIG_fail
;
15105 swig_obj
[0] = args
;
15106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15107 if (!SWIG_IsOK(res1
)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
15110 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (bool)(arg1
)->HasRudder();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15126 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15127 PyObject
*resultobj
= 0;
15128 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15132 PyObject
*swig_obj
[1] ;
15134 if (!args
) SWIG_fail
;
15135 swig_obj
[0] = args
;
15136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
15140 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (bool)(arg1
)->HasZ();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15156 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15157 PyObject
*resultobj
= 0;
15158 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15162 PyObject
*swig_obj
[1] ;
15164 if (!args
) SWIG_fail
;
15165 swig_obj
[0] = args
;
15166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15167 if (!SWIG_IsOK(res1
)) {
15168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
15170 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (bool)(arg1
)->HasU();
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15186 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15187 PyObject
*resultobj
= 0;
15188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15192 PyObject
*swig_obj
[1] ;
15194 if (!args
) SWIG_fail
;
15195 swig_obj
[0] = args
;
15196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15200 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (bool)(arg1
)->HasV();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15216 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15217 PyObject
*resultobj
= 0;
15218 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15222 PyObject
*swig_obj
[1] ;
15224 if (!args
) SWIG_fail
;
15225 swig_obj
[0] = args
;
15226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15230 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (bool)(arg1
)->HasPOV();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15246 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15247 PyObject
*resultobj
= 0;
15248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15252 PyObject
*swig_obj
[1] ;
15254 if (!args
) SWIG_fail
;
15255 swig_obj
[0] = args
;
15256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15257 if (!SWIG_IsOK(res1
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15260 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (bool)(arg1
)->HasPOV4Dir();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15276 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15277 PyObject
*resultobj
= 0;
15278 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15282 PyObject
*swig_obj
[1] ;
15284 if (!args
) SWIG_fail
;
15285 swig_obj
[0] = args
;
15286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15287 if (!SWIG_IsOK(res1
)) {
15288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15290 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (bool)(arg1
)->HasPOVCTS();
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15306 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
= 0;
15308 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15309 wxWindow
*arg2
= (wxWindow
*) 0 ;
15310 int arg3
= (int) 0 ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 PyObject
* obj2
= 0 ;
15321 char * kwnames
[] = {
15322 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15330 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15332 if (!SWIG_IsOK(res2
)) {
15333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15335 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15338 if (!SWIG_IsOK(ecode3
)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15341 arg3
= static_cast< int >(val3
);
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15358 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15359 PyObject
*resultobj
= 0;
15360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15364 PyObject
*swig_obj
[1] ;
15366 if (!args
) SWIG_fail
;
15367 swig_obj
[0] = args
;
15368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15369 if (!SWIG_IsOK(res1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15372 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (bool)(arg1
)->ReleaseCapture();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15388 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15391 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15392 return SWIG_Py_Void();
15395 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15396 return SWIG_Python_InitShadowInstance(args
);
15399 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
= 0;
15401 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15402 int arg2
= (int) 0 ;
15403 int arg3
= (int) wxJOYSTICK1
;
15404 int arg4
= (int) 0 ;
15405 wxJoystickEvent
*result
= 0 ;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 PyObject
* obj2
= 0 ;
15417 PyObject
* obj3
= 0 ;
15418 char * kwnames
[] = {
15419 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15425 if (!SWIG_IsOK(ecode1
)) {
15426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15428 arg1
= static_cast< wxEventType
>(val1
);
15431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15432 if (!SWIG_IsOK(ecode2
)) {
15433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15435 arg2
= static_cast< int >(val2
);
15438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15439 if (!SWIG_IsOK(ecode3
)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15442 arg3
= static_cast< int >(val3
);
15445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15446 if (!SWIG_IsOK(ecode4
)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15449 arg4
= static_cast< int >(val4
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15464 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15465 PyObject
*resultobj
= 0;
15466 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15470 PyObject
*swig_obj
[1] ;
15472 if (!args
) SWIG_fail
;
15473 swig_obj
[0] = args
;
15474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15475 if (!SWIG_IsOK(res1
)) {
15476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15478 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15492 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15493 PyObject
*resultobj
= 0;
15494 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15498 PyObject
*swig_obj
[1] ;
15500 if (!args
) SWIG_fail
;
15501 swig_obj
[0] = args
;
15502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15503 if (!SWIG_IsOK(res1
)) {
15504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15506 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= SWIG_From_int(static_cast< int >(result
));
15520 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15521 PyObject
*resultobj
= 0;
15522 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15526 PyObject
*swig_obj
[1] ;
15528 if (!args
) SWIG_fail
;
15529 swig_obj
[0] = args
;
15530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15531 if (!SWIG_IsOK(res1
)) {
15532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15534 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_From_int(static_cast< int >(result
));
15548 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15549 PyObject
*resultobj
= 0;
15550 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15554 PyObject
*swig_obj
[1] ;
15556 if (!args
) SWIG_fail
;
15557 swig_obj
[0] = args
;
15558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15559 if (!SWIG_IsOK(res1
)) {
15560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15562 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= SWIG_From_int(static_cast< int >(result
));
15576 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15577 PyObject
*resultobj
= 0;
15578 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15582 PyObject
*swig_obj
[1] ;
15584 if (!args
) SWIG_fail
;
15585 swig_obj
[0] = args
;
15586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15587 if (!SWIG_IsOK(res1
)) {
15588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15590 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_From_int(static_cast< int >(result
));
15604 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
= 0;
15606 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 char * kwnames
[] = {
15615 (char *) "self",(char *) "stick", NULL
15618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15620 if (!SWIG_IsOK(res1
)) {
15621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15623 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15625 if (!SWIG_IsOK(ecode2
)) {
15626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15628 arg2
= static_cast< int >(val2
);
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 (arg1
)->SetJoystick(arg2
);
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= SWIG_Py_Void();
15642 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
= 0;
15644 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 char * kwnames
[] = {
15653 (char *) "self",(char *) "state", NULL
15656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15658 if (!SWIG_IsOK(res1
)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15661 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15663 if (!SWIG_IsOK(ecode2
)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15666 arg2
= static_cast< int >(val2
);
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->SetButtonState(arg2
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_Py_Void();
15680 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
= 0;
15682 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 PyObject
* obj1
= 0 ;
15690 char * kwnames
[] = {
15691 (char *) "self",(char *) "change", NULL
15694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15696 if (!SWIG_IsOK(res1
)) {
15697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15699 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15701 if (!SWIG_IsOK(ecode2
)) {
15702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15704 arg2
= static_cast< int >(val2
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->SetButtonChange(arg2
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_Py_Void();
15718 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
= 0;
15720 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15721 wxPoint
*arg2
= 0 ;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 char * kwnames
[] = {
15728 (char *) "self",(char *) "pos", NULL
15731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15733 if (!SWIG_IsOK(res1
)) {
15734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15736 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15739 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= SWIG_Py_Void();
15754 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
= 0;
15756 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 char * kwnames
[] = {
15765 (char *) "self",(char *) "zPos", NULL
15768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15770 if (!SWIG_IsOK(res1
)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15773 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15775 if (!SWIG_IsOK(ecode2
)) {
15776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15778 arg2
= static_cast< int >(val2
);
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 (arg1
)->SetZPosition(arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= SWIG_Py_Void();
15792 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15793 PyObject
*resultobj
= 0;
15794 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15798 PyObject
*swig_obj
[1] ;
15800 if (!args
) SWIG_fail
;
15801 swig_obj
[0] = args
;
15802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15803 if (!SWIG_IsOK(res1
)) {
15804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15806 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15822 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15823 PyObject
*resultobj
= 0;
15824 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15828 PyObject
*swig_obj
[1] ;
15830 if (!args
) SWIG_fail
;
15831 swig_obj
[0] = args
;
15832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15833 if (!SWIG_IsOK(res1
)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15836 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15852 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15853 PyObject
*resultobj
= 0;
15854 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15858 PyObject
*swig_obj
[1] ;
15860 if (!args
) SWIG_fail
;
15861 swig_obj
[0] = args
;
15862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15863 if (!SWIG_IsOK(res1
)) {
15864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15866 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15882 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
= 0;
15884 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15885 int arg2
= (int) wxJOY_BUTTON_ANY
;
15891 PyObject
* obj0
= 0 ;
15892 PyObject
* obj1
= 0 ;
15893 char * kwnames
[] = {
15894 (char *) "self",(char *) "but", NULL
15897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15899 if (!SWIG_IsOK(res1
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15902 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15905 if (!SWIG_IsOK(ecode2
)) {
15906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15908 arg2
= static_cast< int >(val2
);
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15925 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
= 0;
15927 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15928 int arg2
= (int) wxJOY_BUTTON_ANY
;
15934 PyObject
* obj0
= 0 ;
15935 PyObject
* obj1
= 0 ;
15936 char * kwnames
[] = {
15937 (char *) "self",(char *) "but", NULL
15940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15942 if (!SWIG_IsOK(res1
)) {
15943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15945 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15948 if (!SWIG_IsOK(ecode2
)) {
15949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15951 arg2
= static_cast< int >(val2
);
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15968 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
= 0;
15970 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15971 int arg2
= (int) wxJOY_BUTTON_ANY
;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 char * kwnames
[] = {
15980 (char *) "self",(char *) "but", NULL
15983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15985 if (!SWIG_IsOK(res1
)) {
15986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15988 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15991 if (!SWIG_IsOK(ecode2
)) {
15992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15994 arg2
= static_cast< int >(val2
);
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16011 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16014 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
16015 return SWIG_Py_Void();
16018 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16019 return SWIG_Python_InitShadowInstance(args
);
16022 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
= 0;
16024 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16025 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16026 wxSound
*result
= 0 ;
16027 bool temp1
= false ;
16028 PyObject
* obj0
= 0 ;
16029 char * kwnames
[] = {
16030 (char *) "fileName", NULL
16033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
16036 arg1
= wxString_in_helper(obj0
);
16037 if (arg1
== NULL
) SWIG_fail
;
16042 if (!wxPyCheckForApp()) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
16063 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
= 0;
16065 PyObject
*arg1
= (PyObject
*) 0 ;
16066 wxSound
*result
= 0 ;
16067 PyObject
* obj0
= 0 ;
16068 char * kwnames
[] = {
16069 (char *) "data", NULL
16072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
16075 if (!wxPyCheckForApp()) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (wxSound
*)new_wxSound(arg1
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
16088 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16089 PyObject
*resultobj
= 0;
16090 wxSound
*arg1
= (wxSound
*) 0 ;
16093 PyObject
*swig_obj
[1] ;
16095 if (!args
) SWIG_fail
;
16096 swig_obj
[0] = args
;
16097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
16098 if (!SWIG_IsOK(res1
)) {
16099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
16101 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_Py_Void();
16116 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
= 0;
16118 wxSound
*arg1
= (wxSound
*) 0 ;
16119 wxString
*arg2
= 0 ;
16123 bool temp2
= false ;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 char * kwnames
[] = {
16127 (char *) "self",(char *) "fileName", NULL
16130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16132 if (!SWIG_IsOK(res1
)) {
16133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
16135 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16137 arg2
= wxString_in_helper(obj1
);
16138 if (arg2
== NULL
) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16164 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
= 0;
16166 wxSound
*arg1
= (wxSound
*) 0 ;
16167 PyObject
*arg2
= (PyObject
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 char * kwnames
[] = {
16174 (char *) "self",(char *) "data", NULL
16177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16179 if (!SWIG_IsOK(res1
)) {
16180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
16182 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16200 PyObject
*resultobj
= 0;
16201 wxSound
*arg1
= (wxSound
*) 0 ;
16205 PyObject
*swig_obj
[1] ;
16207 if (!args
) SWIG_fail
;
16208 swig_obj
[0] = args
;
16209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16210 if (!SWIG_IsOK(res1
)) {
16211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16213 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (bool)(arg1
)->IsOk();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
= 0;
16231 wxSound
*arg1
= (wxSound
*) 0 ;
16232 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16236 unsigned int val2
;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 char * kwnames
[] = {
16241 (char *) "self",(char *) "flags", NULL
16244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16249 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16251 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16252 if (!SWIG_IsOK(ecode2
)) {
16253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16255 arg2
= static_cast< unsigned int >(val2
);
16258 if (!wxPyCheckForApp()) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16273 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
= 0;
16275 wxString
*arg1
= 0 ;
16276 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16278 bool temp1
= false ;
16279 unsigned int val2
;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char * kwnames
[] = {
16284 (char *) "filename",(char *) "flags", NULL
16287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16289 arg1
= wxString_in_helper(obj0
);
16290 if (arg1
== NULL
) SWIG_fail
;
16294 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16295 if (!SWIG_IsOK(ecode2
)) {
16296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16298 arg2
= static_cast< unsigned int >(val2
);
16301 if (!wxPyCheckForApp()) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16324 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16325 PyObject
*resultobj
= 0;
16327 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16329 if (!wxPyCheckForApp()) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= SWIG_Py_Void();
16342 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16345 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16346 return SWIG_Py_Void();
16349 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16350 return SWIG_Python_InitShadowInstance(args
);
16353 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
= 0;
16355 wxString
*arg1
= 0 ;
16356 wxString
*arg2
= 0 ;
16357 wxString
*arg3
= 0 ;
16358 wxString
*arg4
= 0 ;
16359 wxFileTypeInfo
*result
= 0 ;
16360 bool temp1
= false ;
16361 bool temp2
= false ;
16362 bool temp3
= false ;
16363 bool temp4
= false ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 PyObject
* obj2
= 0 ;
16367 PyObject
* obj3
= 0 ;
16368 char * kwnames
[] = {
16369 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16374 arg1
= wxString_in_helper(obj0
);
16375 if (arg1
== NULL
) SWIG_fail
;
16379 arg2
= wxString_in_helper(obj1
);
16380 if (arg2
== NULL
) SWIG_fail
;
16384 arg3
= wxString_in_helper(obj2
);
16385 if (arg3
== NULL
) SWIG_fail
;
16389 arg4
= wxString_in_helper(obj3
);
16390 if (arg4
== NULL
) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16438 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
= 0;
16440 wxArrayString
*arg1
= 0 ;
16441 wxFileTypeInfo
*result
= 0 ;
16442 bool temp1
= false ;
16443 PyObject
* obj0
= 0 ;
16444 char * kwnames
[] = {
16445 (char *) "sArray", NULL
16448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16450 if (! PySequence_Check(obj0
)) {
16451 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16454 arg1
= new wxArrayString
;
16456 int i
, len
=PySequence_Length(obj0
);
16457 for (i
=0; i
<len
; i
++) {
16458 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16459 wxString
* s
= wxString_in_helper(item
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16474 if (temp1
) delete arg1
;
16479 if (temp1
) delete arg1
;
16485 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16486 PyObject
*resultobj
= 0;
16487 wxFileTypeInfo
*result
= 0 ;
16489 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16503 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16504 PyObject
*resultobj
= 0;
16505 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16509 PyObject
*swig_obj
[1] ;
16511 if (!args
) SWIG_fail
;
16512 swig_obj
[0] = args
;
16513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16514 if (!SWIG_IsOK(res1
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16517 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
= 0;
16535 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16536 wxString
*arg2
= 0 ;
16537 int arg3
= (int) 0 ;
16540 bool temp2
= false ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 PyObject
* obj2
= 0 ;
16546 char * kwnames
[] = {
16547 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16552 if (!SWIG_IsOK(res1
)) {
16553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16555 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16557 arg2
= wxString_in_helper(obj1
);
16558 if (arg2
== NULL
) SWIG_fail
;
16562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16563 if (!SWIG_IsOK(ecode3
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16566 arg3
= static_cast< int >(val3
);
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= SWIG_Py_Void();
16589 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
= 0;
16591 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16592 wxString
*arg2
= 0 ;
16595 bool temp2
= false ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 char * kwnames
[] = {
16599 (char *) "self",(char *) "shortDesc", NULL
16602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16604 if (!SWIG_IsOK(res1
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16607 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16609 arg2
= wxString_in_helper(obj1
);
16610 if (arg2
== NULL
) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= SWIG_Py_Void();
16634 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16635 PyObject
*resultobj
= 0;
16636 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16637 wxString
*result
= 0 ;
16640 PyObject
*swig_obj
[1] ;
16642 if (!args
) SWIG_fail
;
16643 swig_obj
[0] = args
;
16644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16645 if (!SWIG_IsOK(res1
)) {
16646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16648 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16653 result
= (wxString
*) &_result_ref
;
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16671 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16672 PyObject
*resultobj
= 0;
16673 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16674 wxString
*result
= 0 ;
16677 PyObject
*swig_obj
[1] ;
16679 if (!args
) SWIG_fail
;
16680 swig_obj
[0] = args
;
16681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16682 if (!SWIG_IsOK(res1
)) {
16683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16685 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16690 result
= (wxString
*) &_result_ref
;
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16708 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16709 PyObject
*resultobj
= 0;
16710 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16711 wxString
*result
= 0 ;
16714 PyObject
*swig_obj
[1] ;
16716 if (!args
) SWIG_fail
;
16717 swig_obj
[0] = args
;
16718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16719 if (!SWIG_IsOK(res1
)) {
16720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16722 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16727 result
= (wxString
*) &_result_ref
;
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16736 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16745 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16746 PyObject
*resultobj
= 0;
16747 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16748 wxString
*result
= 0 ;
16751 PyObject
*swig_obj
[1] ;
16753 if (!args
) SWIG_fail
;
16754 swig_obj
[0] = args
;
16755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16756 if (!SWIG_IsOK(res1
)) {
16757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16759 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16764 result
= (wxString
*) &_result_ref
;
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16773 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16782 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16783 PyObject
*resultobj
= 0;
16784 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16785 wxString
*result
= 0 ;
16788 PyObject
*swig_obj
[1] ;
16790 if (!args
) SWIG_fail
;
16791 swig_obj
[0] = args
;
16792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16793 if (!SWIG_IsOK(res1
)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16796 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16801 result
= (wxString
*) &_result_ref
;
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16819 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16820 PyObject
*resultobj
= 0;
16821 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16822 wxArrayString
*result
= 0 ;
16825 PyObject
*swig_obj
[1] ;
16827 if (!args
) SWIG_fail
;
16828 swig_obj
[0] = args
;
16829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16833 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16838 result
= (wxArrayString
*) &_result_ref
;
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= wxArrayString2PyList_helper(*result
);
16852 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16853 PyObject
*resultobj
= 0;
16854 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16858 PyObject
*swig_obj
[1] ;
16860 if (!args
) SWIG_fail
;
16861 swig_obj
[0] = args
;
16862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16863 if (!SWIG_IsOK(res1
)) {
16864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16866 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16880 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16881 PyObject
*resultobj
= 0;
16882 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16883 wxString
*result
= 0 ;
16886 PyObject
*swig_obj
[1] ;
16888 if (!args
) SWIG_fail
;
16889 swig_obj
[0] = args
;
16890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16894 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16899 result
= (wxString
*) &_result_ref
;
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16917 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16918 PyObject
*resultobj
= 0;
16919 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16923 PyObject
*swig_obj
[1] ;
16925 if (!args
) SWIG_fail
;
16926 swig_obj
[0] = args
;
16927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16928 if (!SWIG_IsOK(res1
)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16931 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16938 resultobj
= SWIG_From_int(static_cast< int >(result
));
16945 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16948 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16949 return SWIG_Py_Void();
16952 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16953 return SWIG_Python_InitShadowInstance(args
);
16956 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
= 0;
16958 wxFileTypeInfo
*arg1
= 0 ;
16959 wxFileType
*result
= 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char * kwnames
[] = {
16964 (char *) "ftInfo", NULL
16967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16968 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16969 if (!SWIG_IsOK(res1
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16975 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16989 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16990 PyObject
*resultobj
= 0;
16991 wxFileType
*arg1
= (wxFileType
*) 0 ;
16994 PyObject
*swig_obj
[1] ;
16996 if (!args
) SWIG_fail
;
16997 swig_obj
[0] = args
;
16998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16999 if (!SWIG_IsOK(res1
)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
17002 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_Py_Void();
17017 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17018 PyObject
*resultobj
= 0;
17019 wxFileType
*arg1
= (wxFileType
*) 0 ;
17020 PyObject
*result
= 0 ;
17023 PyObject
*swig_obj
[1] ;
17025 if (!args
) SWIG_fail
;
17026 swig_obj
[0] = args
;
17027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
17031 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= result
;
17045 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17046 PyObject
*resultobj
= 0;
17047 wxFileType
*arg1
= (wxFileType
*) 0 ;
17048 PyObject
*result
= 0 ;
17051 PyObject
*swig_obj
[1] ;
17053 if (!args
) SWIG_fail
;
17054 swig_obj
[0] = args
;
17055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17059 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= result
;
17073 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17074 PyObject
*resultobj
= 0;
17075 wxFileType
*arg1
= (wxFileType
*) 0 ;
17076 PyObject
*result
= 0 ;
17079 PyObject
*swig_obj
[1] ;
17081 if (!args
) SWIG_fail
;
17082 swig_obj
[0] = args
;
17083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17084 if (!SWIG_IsOK(res1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
17087 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= result
;
17101 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17102 PyObject
*resultobj
= 0;
17103 wxFileType
*arg1
= (wxFileType
*) 0 ;
17104 wxIcon
*result
= 0 ;
17107 PyObject
*swig_obj
[1] ;
17109 if (!args
) SWIG_fail
;
17110 swig_obj
[0] = args
;
17111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17115 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
17129 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17130 PyObject
*resultobj
= 0;
17131 wxFileType
*arg1
= (wxFileType
*) 0 ;
17132 PyObject
*result
= 0 ;
17135 PyObject
*swig_obj
[1] ;
17137 if (!args
) SWIG_fail
;
17138 swig_obj
[0] = args
;
17139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17140 if (!SWIG_IsOK(res1
)) {
17141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
17143 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= result
;
17157 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17158 PyObject
*resultobj
= 0;
17159 wxFileType
*arg1
= (wxFileType
*) 0 ;
17160 PyObject
*result
= 0 ;
17163 PyObject
*swig_obj
[1] ;
17165 if (!args
) SWIG_fail
;
17166 swig_obj
[0] = args
;
17167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17168 if (!SWIG_IsOK(res1
)) {
17169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
17171 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= result
;
17185 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
= 0;
17187 wxFileType
*arg1
= (wxFileType
*) 0 ;
17188 wxString
*arg2
= 0 ;
17189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17191 PyObject
*result
= 0 ;
17194 bool temp2
= false ;
17195 bool temp3
= false ;
17196 PyObject
* obj0
= 0 ;
17197 PyObject
* obj1
= 0 ;
17198 PyObject
* obj2
= 0 ;
17199 char * kwnames
[] = {
17200 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17205 if (!SWIG_IsOK(res1
)) {
17206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17208 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17210 arg2
= wxString_in_helper(obj1
);
17211 if (arg2
== NULL
) SWIG_fail
;
17216 arg3
= wxString_in_helper(obj2
);
17217 if (arg3
== NULL
) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= result
;
17250 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
= 0;
17252 wxFileType
*arg1
= (wxFileType
*) 0 ;
17253 wxString
*arg2
= 0 ;
17254 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17255 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17256 PyObject
*result
= 0 ;
17259 bool temp2
= false ;
17260 bool temp3
= false ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 PyObject
* obj2
= 0 ;
17264 char * kwnames
[] = {
17265 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17270 if (!SWIG_IsOK(res1
)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17273 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17275 arg2
= wxString_in_helper(obj1
);
17276 if (arg2
== NULL
) SWIG_fail
;
17281 arg3
= wxString_in_helper(obj2
);
17282 if (arg3
== NULL
) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= result
;
17315 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
= 0;
17317 wxFileType
*arg1
= (wxFileType
*) 0 ;
17318 wxString
*arg2
= 0 ;
17319 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17320 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17321 PyObject
*result
= 0 ;
17324 bool temp2
= false ;
17325 bool temp3
= false ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 PyObject
* obj2
= 0 ;
17329 char * kwnames
[] = {
17330 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17335 if (!SWIG_IsOK(res1
)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17338 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17340 arg2
= wxString_in_helper(obj1
);
17341 if (arg2
== NULL
) SWIG_fail
;
17346 arg3
= wxString_in_helper(obj2
);
17347 if (arg3
== NULL
) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= result
;
17380 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
= 0;
17382 wxFileType
*arg1
= (wxFileType
*) 0 ;
17383 wxString
*arg2
= 0 ;
17384 wxString
*arg3
= 0 ;
17385 bool arg4
= (bool) true ;
17389 bool temp2
= false ;
17390 bool temp3
= false ;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 PyObject
* obj2
= 0 ;
17396 PyObject
* obj3
= 0 ;
17397 char * kwnames
[] = {
17398 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17403 if (!SWIG_IsOK(res1
)) {
17404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17406 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17408 arg2
= wxString_in_helper(obj1
);
17409 if (arg2
== NULL
) SWIG_fail
;
17413 arg3
= wxString_in_helper(obj2
);
17414 if (arg3
== NULL
) SWIG_fail
;
17418 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17419 if (!SWIG_IsOK(ecode4
)) {
17420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17422 arg4
= static_cast< bool >(val4
);
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17455 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
= 0;
17457 wxFileType
*arg1
= (wxFileType
*) 0 ;
17458 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17459 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17460 int arg3
= (int) 0 ;
17464 bool temp2
= false ;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 PyObject
* obj2
= 0 ;
17470 char * kwnames
[] = {
17471 (char *) "self",(char *) "cmd",(char *) "index", NULL
17474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17476 if (!SWIG_IsOK(res1
)) {
17477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17479 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17482 arg2
= wxString_in_helper(obj1
);
17483 if (arg2
== NULL
) SWIG_fail
;
17488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17489 if (!SWIG_IsOK(ecode3
)) {
17490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17492 arg3
= static_cast< int >(val3
);
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17517 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17518 PyObject
*resultobj
= 0;
17519 wxFileType
*arg1
= (wxFileType
*) 0 ;
17523 PyObject
*swig_obj
[1] ;
17525 if (!args
) SWIG_fail
;
17526 swig_obj
[0] = args
;
17527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17528 if (!SWIG_IsOK(res1
)) {
17529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17531 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (bool)(arg1
)->Unassociate();
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17547 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
= 0;
17549 wxString
*arg1
= 0 ;
17550 wxString
*arg2
= 0 ;
17551 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17552 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17554 bool temp1
= false ;
17555 bool temp2
= false ;
17556 bool temp3
= false ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 char * kwnames
[] = {
17561 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17566 arg1
= wxString_in_helper(obj0
);
17567 if (arg1
== NULL
) SWIG_fail
;
17571 arg2
= wxString_in_helper(obj1
);
17572 if (arg2
== NULL
) SWIG_fail
;
17577 arg3
= wxString_in_helper(obj2
);
17578 if (arg3
== NULL
) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17625 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17628 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17629 return SWIG_Py_Void();
17632 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17633 return SWIG_Python_InitShadowInstance(args
);
17636 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17637 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17642 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17643 PyObject
*pyobj
= 0;
17645 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17650 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
= 0;
17652 wxString
*arg1
= 0 ;
17653 wxString
*arg2
= 0 ;
17655 bool temp1
= false ;
17656 bool temp2
= false ;
17657 PyObject
* obj0
= 0 ;
17658 PyObject
* obj1
= 0 ;
17659 char * kwnames
[] = {
17660 (char *) "mimeType",(char *) "wildcard", NULL
17663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17665 arg1
= wxString_in_helper(obj0
);
17666 if (arg1
== NULL
) SWIG_fail
;
17670 arg2
= wxString_in_helper(obj1
);
17671 if (arg2
== NULL
) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17705 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17706 PyObject
*resultobj
= 0;
17707 wxMimeTypesManager
*result
= 0 ;
17709 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17723 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
= 0;
17725 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17726 int arg2
= (int) wxMAILCAP_ALL
;
17727 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17728 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17733 bool temp3
= false ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 PyObject
* obj2
= 0 ;
17737 char * kwnames
[] = {
17738 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",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_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17746 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17749 if (!SWIG_IsOK(ecode2
)) {
17750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17752 arg2
= static_cast< int >(val2
);
17756 arg3
= wxString_in_helper(obj2
);
17757 if (arg3
== NULL
) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_Py_Void();
17782 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17783 PyObject
*resultobj
= 0;
17784 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17787 PyObject
*swig_obj
[1] ;
17789 if (!args
) SWIG_fail
;
17790 swig_obj
[0] = args
;
17791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17792 if (!SWIG_IsOK(res1
)) {
17793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17795 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 (arg1
)->ClearData();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= SWIG_Py_Void();
17809 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
= 0;
17811 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17812 wxString
*arg2
= 0 ;
17813 wxFileType
*result
= 0 ;
17816 bool temp2
= false ;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 char * kwnames
[] = {
17820 (char *) "self",(char *) "ext", NULL
17823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17825 if (!SWIG_IsOK(res1
)) {
17826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17828 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17830 arg2
= wxString_in_helper(obj1
);
17831 if (arg2
== NULL
) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17855 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
= 0;
17857 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17858 wxString
*arg2
= 0 ;
17859 wxFileType
*result
= 0 ;
17862 bool temp2
= false ;
17863 PyObject
* obj0
= 0 ;
17864 PyObject
* obj1
= 0 ;
17865 char * kwnames
[] = {
17866 (char *) "self",(char *) "mimeType", NULL
17869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17871 if (!SWIG_IsOK(res1
)) {
17872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17874 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17876 arg2
= wxString_in_helper(obj1
);
17877 if (arg2
== NULL
) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17901 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
= 0;
17903 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17904 wxString
*arg2
= 0 ;
17905 bool arg3
= (bool) false ;
17909 bool temp2
= false ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 PyObject
* obj2
= 0 ;
17915 char * kwnames
[] = {
17916 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17921 if (!SWIG_IsOK(res1
)) {
17922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17924 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17926 arg2
= wxString_in_helper(obj1
);
17927 if (arg2
== NULL
) SWIG_fail
;
17931 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17932 if (!SWIG_IsOK(ecode3
)) {
17933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17935 arg3
= static_cast< bool >(val3
);
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17960 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
= 0;
17962 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17963 wxString
*arg2
= 0 ;
17967 bool temp2
= false ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char * kwnames
[] = {
17971 (char *) "self",(char *) "filename", NULL
17974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17979 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17981 arg2
= wxString_in_helper(obj1
);
17982 if (arg2
== NULL
) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18008 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18009 PyObject
*resultobj
= 0;
18010 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18011 PyObject
*result
= 0 ;
18014 PyObject
*swig_obj
[1] ;
18016 if (!args
) SWIG_fail
;
18017 swig_obj
[0] = args
;
18018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18019 if (!SWIG_IsOK(res1
)) {
18020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18022 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
;
18036 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18039 wxFileTypeInfo
*arg2
= 0 ;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 char * kwnames
[] = {
18047 (char *) "self",(char *) "ft", NULL
18050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18052 if (!SWIG_IsOK(res1
)) {
18053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18055 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18057 if (!SWIG_IsOK(res2
)) {
18058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18063 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_Py_Void();
18077 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
= 0;
18079 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18080 wxFileTypeInfo
*arg2
= 0 ;
18081 wxFileType
*result
= 0 ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 char * kwnames
[] = {
18089 (char *) "self",(char *) "ftInfo", NULL
18092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18097 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18099 if (!SWIG_IsOK(res2
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18105 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18119 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
= 0;
18121 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18122 wxFileType
*arg2
= (wxFileType
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char * kwnames
[] = {
18131 (char *) "self",(char *) "ft", NULL
18134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18136 if (!SWIG_IsOK(res1
)) {
18137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18139 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18141 if (!SWIG_IsOK(res2
)) {
18142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
18144 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (bool)(arg1
)->Unassociate(arg2
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18160 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18161 PyObject
*resultobj
= 0;
18162 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18165 PyObject
*swig_obj
[1] ;
18167 if (!args
) SWIG_fail
;
18168 swig_obj
[0] = args
;
18169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
18170 if (!SWIG_IsOK(res1
)) {
18171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18173 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_Py_Void();
18188 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18191 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18192 return SWIG_Py_Void();
18195 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18196 return SWIG_Python_InitShadowInstance(args
);
18199 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18200 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18205 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18206 PyObject
*pyobj
= 0;
18210 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18212 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18219 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18220 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18225 SWIGINTERN PyObject
*ART_MENU_get(void) {
18226 PyObject
*pyobj
= 0;
18230 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18232 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18239 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18240 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18245 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18246 PyObject
*pyobj
= 0;
18250 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18252 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18259 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18260 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18265 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18266 PyObject
*pyobj
= 0;
18270 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18272 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18279 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18280 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18285 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18286 PyObject
*pyobj
= 0;
18290 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18292 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18299 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18300 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18305 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18306 PyObject
*pyobj
= 0;
18310 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18312 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18319 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18320 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18325 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18326 PyObject
*pyobj
= 0;
18330 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18332 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18339 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18340 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18345 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18346 PyObject
*pyobj
= 0;
18350 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18352 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18359 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18360 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18365 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18366 PyObject
*pyobj
= 0;
18370 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18372 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18379 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18380 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18385 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18386 PyObject
*pyobj
= 0;
18390 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18392 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18399 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18400 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18405 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18406 PyObject
*pyobj
= 0;
18410 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18412 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18419 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18420 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18425 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18426 PyObject
*pyobj
= 0;
18430 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18432 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18439 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18440 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18445 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18446 PyObject
*pyobj
= 0;
18450 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18452 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18459 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18460 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18465 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18466 PyObject
*pyobj
= 0;
18470 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18472 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18479 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18480 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18485 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18486 PyObject
*pyobj
= 0;
18490 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18492 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18499 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18500 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18505 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18506 PyObject
*pyobj
= 0;
18510 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18512 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18519 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18520 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18525 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18526 PyObject
*pyobj
= 0;
18530 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18532 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18539 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18540 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18545 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18546 PyObject
*pyobj
= 0;
18550 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18552 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18559 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18560 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18565 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18566 PyObject
*pyobj
= 0;
18570 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18572 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18579 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18580 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18585 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18586 PyObject
*pyobj
= 0;
18590 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18592 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18599 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18600 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18605 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18606 PyObject
*pyobj
= 0;
18610 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18612 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18619 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18620 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18625 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18626 PyObject
*pyobj
= 0;
18630 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18632 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18639 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18640 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18645 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18646 PyObject
*pyobj
= 0;
18650 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18652 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18659 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18660 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18665 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18666 PyObject
*pyobj
= 0;
18670 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18672 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18679 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18680 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18685 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18686 PyObject
*pyobj
= 0;
18690 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18692 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18699 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18700 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18705 SWIGINTERN PyObject
*ART_HELP_get(void) {
18706 PyObject
*pyobj
= 0;
18710 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18712 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18719 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18720 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18725 SWIGINTERN PyObject
*ART_TIP_get(void) {
18726 PyObject
*pyobj
= 0;
18730 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18732 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18739 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18740 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18745 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18746 PyObject
*pyobj
= 0;
18750 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18752 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18759 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18760 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18765 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18766 PyObject
*pyobj
= 0;
18770 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18772 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18779 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18780 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18785 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18786 PyObject
*pyobj
= 0;
18790 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18792 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18799 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18800 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18805 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18806 PyObject
*pyobj
= 0;
18810 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18812 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18819 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18820 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18825 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18826 PyObject
*pyobj
= 0;
18830 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18832 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18839 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18840 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18845 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18846 PyObject
*pyobj
= 0;
18850 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18852 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18859 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18860 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18865 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18866 PyObject
*pyobj
= 0;
18870 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18872 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18879 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18880 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18885 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18886 PyObject
*pyobj
= 0;
18890 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18892 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18899 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18900 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18905 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18906 PyObject
*pyobj
= 0;
18910 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18912 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18919 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18920 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18925 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18926 PyObject
*pyobj
= 0;
18930 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18932 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18939 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18940 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18945 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18946 PyObject
*pyobj
= 0;
18950 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18952 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18959 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18960 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18965 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18966 PyObject
*pyobj
= 0;
18970 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18972 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18979 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18980 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18985 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18986 PyObject
*pyobj
= 0;
18990 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18992 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18999 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
19000 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
19005 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
19006 PyObject
*pyobj
= 0;
19010 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19012 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19019 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
19020 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
19025 SWIGINTERN PyObject
*ART_ERROR_get(void) {
19026 PyObject
*pyobj
= 0;
19030 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19032 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19039 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
19040 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
19045 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
19046 PyObject
*pyobj
= 0;
19050 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19052 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19059 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19060 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
19065 SWIGINTERN PyObject
*ART_WARNING_get(void) {
19066 PyObject
*pyobj
= 0;
19070 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19072 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19079 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
19080 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
19085 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
19086 PyObject
*pyobj
= 0;
19090 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19092 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19099 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
19100 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
19105 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
19106 PyObject
*pyobj
= 0;
19110 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19112 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19119 SWIGINTERN
int ART_COPY_set(PyObject
*) {
19120 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
19125 SWIGINTERN PyObject
*ART_COPY_get(void) {
19126 PyObject
*pyobj
= 0;
19130 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19132 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19139 SWIGINTERN
int ART_CUT_set(PyObject
*) {
19140 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
19145 SWIGINTERN PyObject
*ART_CUT_get(void) {
19146 PyObject
*pyobj
= 0;
19150 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19152 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19159 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
19160 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
19165 SWIGINTERN PyObject
*ART_PASTE_get(void) {
19166 PyObject
*pyobj
= 0;
19170 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19172 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19179 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
19180 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
19185 SWIGINTERN PyObject
*ART_DELETE_get(void) {
19186 PyObject
*pyobj
= 0;
19190 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19192 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19199 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19200 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19205 SWIGINTERN PyObject
*ART_NEW_get(void) {
19206 PyObject
*pyobj
= 0;
19210 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19212 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19219 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19220 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19225 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19226 PyObject
*pyobj
= 0;
19230 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19232 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19239 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19240 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19245 SWIGINTERN PyObject
*ART_REDO_get(void) {
19246 PyObject
*pyobj
= 0;
19250 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19252 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19259 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19260 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19265 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19266 PyObject
*pyobj
= 0;
19270 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19272 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19279 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19280 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19285 SWIGINTERN PyObject
*ART_FIND_get(void) {
19286 PyObject
*pyobj
= 0;
19290 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19292 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19299 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19300 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19305 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19306 PyObject
*pyobj
= 0;
19310 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19312 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19319 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19320 PyObject
*resultobj
= 0;
19321 wxPyArtProvider
*result
= 0 ;
19323 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19325 if (!wxPyCheckForApp()) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19338 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19339 PyObject
*resultobj
= 0;
19340 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19343 PyObject
*swig_obj
[1] ;
19345 if (!args
) SWIG_fail
;
19346 swig_obj
[0] = args
;
19347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19348 if (!SWIG_IsOK(res1
)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19351 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= SWIG_Py_Void();
19366 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
= 0;
19368 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19369 PyObject
*arg2
= (PyObject
*) 0 ;
19370 PyObject
*arg3
= (PyObject
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 PyObject
* obj1
= 0 ;
19375 PyObject
* obj2
= 0 ;
19376 char * kwnames
[] = {
19377 (char *) "self",(char *) "self",(char *) "_class", NULL
19380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19382 if (!SWIG_IsOK(res1
)) {
19383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19385 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= SWIG_Py_Void();
19401 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
= 0;
19403 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 char * kwnames
[] = {
19407 (char *) "provider", NULL
19410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19411 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 wxPyArtProvider::PushProvider(arg1
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 resultobj
= SWIG_Py_Void();
19428 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19429 PyObject
*resultobj
= 0;
19432 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= (bool)wxPyArtProvider::PopProvider();
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19448 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
= 0;
19450 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 char * kwnames
[] = {
19456 (char *) "provider", NULL
19459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19461 if (!SWIG_IsOK(res1
)) {
19462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19464 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19480 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
= 0;
19482 wxString
*arg1
= 0 ;
19483 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19484 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19485 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19486 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19488 bool temp1
= false ;
19489 bool temp2
= false ;
19491 PyObject
* obj0
= 0 ;
19492 PyObject
* obj1
= 0 ;
19493 PyObject
* obj2
= 0 ;
19494 char * kwnames
[] = {
19495 (char *) "id",(char *) "client",(char *) "size", NULL
19498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19500 arg1
= wxString_in_helper(obj0
);
19501 if (arg1
== NULL
) SWIG_fail
;
19506 arg2
= wxString_in_helper(obj1
);
19507 if (arg2
== NULL
) SWIG_fail
;
19514 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19518 if (!wxPyCheckForApp()) SWIG_fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19547 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
= 0;
19549 wxString
*arg1
= 0 ;
19550 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19551 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19552 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19553 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19555 bool temp1
= false ;
19556 bool temp2
= false ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 PyObject
* obj2
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "id",(char *) "client",(char *) "size", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19567 arg1
= wxString_in_helper(obj0
);
19568 if (arg1
== NULL
) SWIG_fail
;
19573 arg2
= wxString_in_helper(obj1
);
19574 if (arg2
== NULL
) SWIG_fail
;
19581 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19585 if (!wxPyCheckForApp()) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19614 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= 0;
19616 wxString
*arg1
= 0 ;
19617 bool arg2
= (bool) false ;
19619 bool temp1
= false ;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char * kwnames
[] = {
19625 (char *) "client",(char *) "platform_dependent", NULL
19628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19630 arg1
= wxString_in_helper(obj0
);
19631 if (arg1
== NULL
) SWIG_fail
;
19635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19636 if (!SWIG_IsOK(ecode2
)) {
19637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19639 arg2
= static_cast< bool >(val2
);
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19662 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19663 PyObject
*resultobj
= 0;
19664 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19667 PyObject
*swig_obj
[1] ;
19669 if (!args
) SWIG_fail
;
19670 swig_obj
[0] = args
;
19671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19672 if (!SWIG_IsOK(res1
)) {
19673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19675 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 wxPyArtProvider_Destroy(arg1
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_Py_Void();
19689 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19692 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19693 return SWIG_Py_Void();
19696 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19697 return SWIG_Python_InitShadowInstance(args
);
19700 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19701 PyObject
*resultobj
= 0;
19702 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19705 PyObject
*swig_obj
[1] ;
19707 if (!args
) SWIG_fail
;
19708 swig_obj
[0] = args
;
19709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19710 if (!SWIG_IsOK(res1
)) {
19711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19713 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= SWIG_Py_Void();
19728 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
= 0;
19730 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19731 wxConfigBase
*result
= 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char * kwnames
[] = {
19735 (char *) "config", NULL
19738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19739 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19740 if (!SWIG_IsOK(res1
)) {
19741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19756 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
= 0;
19758 bool arg1
= (bool) true ;
19759 wxConfigBase
*result
= 0 ;
19762 PyObject
* obj0
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "createOnDemand", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19769 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19770 if (!SWIG_IsOK(ecode1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19773 arg1
= static_cast< bool >(val1
);
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19788 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19789 PyObject
*resultobj
= 0;
19790 wxConfigBase
*result
= 0 ;
19792 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (wxConfigBase
*)wxConfigBase::Create();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19806 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19807 PyObject
*resultobj
= 0;
19809 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 wxConfigBase::DontCreateOnDemand();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= SWIG_Py_Void();
19823 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
= 0;
19825 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19826 wxString
*arg2
= 0 ;
19829 bool temp2
= false ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char * kwnames
[] = {
19833 (char *) "self",(char *) "path", NULL
19836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19838 if (!SWIG_IsOK(res1
)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19841 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19843 arg2
= wxString_in_helper(obj1
);
19844 if (arg2
== NULL
) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 (arg1
)->SetPath((wxString
const &)*arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_Py_Void();
19868 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19869 PyObject
*resultobj
= 0;
19870 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19871 wxString
*result
= 0 ;
19874 PyObject
*swig_obj
[1] ;
19876 if (!args
) SWIG_fail
;
19877 swig_obj
[0] = args
;
19878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19879 if (!SWIG_IsOK(res1
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19882 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19887 result
= (wxString
*) &_result_ref
;
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19905 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19906 PyObject
*resultobj
= 0;
19907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19908 PyObject
*result
= 0 ;
19911 PyObject
*swig_obj
[1] ;
19913 if (!args
) SWIG_fail
;
19914 swig_obj
[0] = args
;
19915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19916 if (!SWIG_IsOK(res1
)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19919 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= result
;
19933 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
= 0;
19935 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19937 PyObject
*result
= 0 ;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 char * kwnames
[] = {
19945 (char *) "self",(char *) "index", NULL
19948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19950 if (!SWIG_IsOK(res1
)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19953 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19955 if (!SWIG_IsOK(ecode2
)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19958 arg2
= static_cast< long >(val2
);
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= result
;
19972 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19973 PyObject
*resultobj
= 0;
19974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19975 PyObject
*result
= 0 ;
19978 PyObject
*swig_obj
[1] ;
19980 if (!args
) SWIG_fail
;
19981 swig_obj
[0] = args
;
19982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19983 if (!SWIG_IsOK(res1
)) {
19984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19986 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= result
;
20000 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
= 0;
20002 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20004 PyObject
*result
= 0 ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 char * kwnames
[] = {
20012 (char *) "self",(char *) "index", NULL
20015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20020 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20021 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20022 if (!SWIG_IsOK(ecode2
)) {
20023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
20025 arg2
= static_cast< long >(val2
);
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= result
;
20039 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
= 0;
20041 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20042 bool arg2
= (bool) false ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 char * kwnames
[] = {
20051 (char *) "self",(char *) "recursive", NULL
20054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20056 if (!SWIG_IsOK(res1
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20059 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20061 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20062 if (!SWIG_IsOK(ecode2
)) {
20063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
20065 arg2
= static_cast< bool >(val2
);
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20080 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
= 0;
20082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20083 bool arg2
= (bool) false ;
20089 PyObject
* obj0
= 0 ;
20090 PyObject
* obj1
= 0 ;
20091 char * kwnames
[] = {
20092 (char *) "self",(char *) "recursive", NULL
20095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20097 if (!SWIG_IsOK(res1
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20100 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20102 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20103 if (!SWIG_IsOK(ecode2
)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
20106 arg2
= static_cast< bool >(val2
);
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20121 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
= 0;
20123 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20124 wxString
*arg2
= 0 ;
20128 bool temp2
= false ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char * kwnames
[] = {
20132 (char *) "self",(char *) "name", NULL
20135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20140 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20142 arg2
= wxString_in_helper(obj1
);
20143 if (arg2
== NULL
) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20169 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= 0;
20171 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20172 wxString
*arg2
= 0 ;
20176 bool temp2
= false ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 char * kwnames
[] = {
20180 (char *) "self",(char *) "name", NULL
20183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20185 if (!SWIG_IsOK(res1
)) {
20186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20188 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20190 arg2
= wxString_in_helper(obj1
);
20191 if (arg2
== NULL
) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20217 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20220 wxString
*arg2
= 0 ;
20224 bool temp2
= false ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char * kwnames
[] = {
20228 (char *) "self",(char *) "name", NULL
20231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20233 if (!SWIG_IsOK(res1
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20236 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20238 arg2
= wxString_in_helper(obj1
);
20239 if (arg2
== NULL
) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20265 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
= 0;
20267 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20268 wxString
*arg2
= 0 ;
20269 wxConfigBase::EntryType result
;
20272 bool temp2
= false ;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20275 char * kwnames
[] = {
20276 (char *) "self",(char *) "name", NULL
20279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) 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_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20284 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20286 arg2
= wxString_in_helper(obj1
);
20287 if (arg2
== NULL
) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= SWIG_From_int(static_cast< int >(result
));
20311 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
= 0;
20313 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20314 wxString
*arg2
= 0 ;
20315 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20316 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20320 bool temp2
= false ;
20321 bool temp3
= false ;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20324 PyObject
* obj2
= 0 ;
20325 char * kwnames
[] = {
20326 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20334 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20336 arg2
= wxString_in_helper(obj1
);
20337 if (arg2
== NULL
) SWIG_fail
;
20342 arg3
= wxString_in_helper(obj2
);
20343 if (arg3
== NULL
) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20382 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
= 0;
20384 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20385 wxString
*arg2
= 0 ;
20386 long arg3
= (long) 0 ;
20390 bool temp2
= false ;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20395 PyObject
* obj2
= 0 ;
20396 char * kwnames
[] = {
20397 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20402 if (!SWIG_IsOK(res1
)) {
20403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20405 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20407 arg2
= wxString_in_helper(obj1
);
20408 if (arg2
== NULL
) SWIG_fail
;
20412 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20413 if (!SWIG_IsOK(ecode3
)) {
20414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20416 arg3
= static_cast< long >(val3
);
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_From_long(static_cast< long >(result
));
20439 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
= 0;
20441 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20442 wxString
*arg2
= 0 ;
20443 double arg3
= (double) 0.0 ;
20447 bool temp2
= false ;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20452 PyObject
* obj2
= 0 ;
20453 char * kwnames
[] = {
20454 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20459 if (!SWIG_IsOK(res1
)) {
20460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20462 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20464 arg2
= wxString_in_helper(obj1
);
20465 if (arg2
== NULL
) SWIG_fail
;
20469 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20470 if (!SWIG_IsOK(ecode3
)) {
20471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20473 arg3
= static_cast< double >(val3
);
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_From_double(static_cast< double >(result
));
20496 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
= 0;
20498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20499 wxString
*arg2
= 0 ;
20500 bool arg3
= (bool) false ;
20504 bool temp2
= false ;
20507 PyObject
* obj0
= 0 ;
20508 PyObject
* obj1
= 0 ;
20509 PyObject
* obj2
= 0 ;
20510 char * kwnames
[] = {
20511 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20516 if (!SWIG_IsOK(res1
)) {
20517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20519 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20521 arg2
= wxString_in_helper(obj1
);
20522 if (arg2
== NULL
) SWIG_fail
;
20526 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20527 if (!SWIG_IsOK(ecode3
)) {
20528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20530 arg3
= static_cast< bool >(val3
);
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (bool)wxConfigBase_ReadBool(arg1
,(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_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
= 0;
20557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20558 wxString
*arg2
= 0 ;
20559 wxString
*arg3
= 0 ;
20563 bool temp2
= false ;
20564 bool temp3
= false ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 PyObject
* obj2
= 0 ;
20568 char * kwnames
[] = {
20569 (char *) "self",(char *) "key",(char *) "value", NULL
20572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20574 if (!SWIG_IsOK(res1
)) {
20575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20577 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20579 arg2
= wxString_in_helper(obj1
);
20580 if (arg2
== NULL
) SWIG_fail
;
20584 arg3
= wxString_in_helper(obj2
);
20585 if (arg3
== NULL
) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20619 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
= 0;
20621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20622 wxString
*arg2
= 0 ;
20627 bool temp2
= false ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 PyObject
* obj2
= 0 ;
20633 char * kwnames
[] = {
20634 (char *) "self",(char *) "key",(char *) "value", NULL
20637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20639 if (!SWIG_IsOK(res1
)) {
20640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20642 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20644 arg2
= wxString_in_helper(obj1
);
20645 if (arg2
== NULL
) SWIG_fail
;
20648 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20649 if (!SWIG_IsOK(ecode3
)) {
20650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20652 arg3
= static_cast< long >(val3
);
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20676 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
= 0;
20678 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20679 wxString
*arg2
= 0 ;
20684 bool temp2
= false ;
20687 PyObject
* obj0
= 0 ;
20688 PyObject
* obj1
= 0 ;
20689 PyObject
* obj2
= 0 ;
20690 char * kwnames
[] = {
20691 (char *) "self",(char *) "key",(char *) "value", NULL
20694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20696 if (!SWIG_IsOK(res1
)) {
20697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20699 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20701 arg2
= wxString_in_helper(obj1
);
20702 if (arg2
== NULL
) SWIG_fail
;
20705 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20706 if (!SWIG_IsOK(ecode3
)) {
20707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20709 arg3
= static_cast< double >(val3
);
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20733 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20734 PyObject
*resultobj
= 0;
20735 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20736 wxString
*arg2
= 0 ;
20741 bool temp2
= false ;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20746 PyObject
* obj2
= 0 ;
20747 char * kwnames
[] = {
20748 (char *) "self",(char *) "key",(char *) "value", NULL
20751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20756 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20758 arg2
= wxString_in_helper(obj1
);
20759 if (arg2
== NULL
) SWIG_fail
;
20762 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20763 if (!SWIG_IsOK(ecode3
)) {
20764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20766 arg3
= static_cast< bool >(val3
);
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20790 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
= 0;
20792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20793 bool arg2
= (bool) false ;
20799 PyObject
* obj0
= 0 ;
20800 PyObject
* obj1
= 0 ;
20801 char * kwnames
[] = {
20802 (char *) "self",(char *) "currentOnly", NULL
20805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20807 if (!SWIG_IsOK(res1
)) {
20808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20810 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20812 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20813 if (!SWIG_IsOK(ecode2
)) {
20814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20816 arg2
= static_cast< bool >(val2
);
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (bool)(arg1
)->Flush(arg2
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20833 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
= 0;
20835 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20836 wxString
*arg2
= 0 ;
20837 wxString
*arg3
= 0 ;
20841 bool temp2
= false ;
20842 bool temp3
= false ;
20843 PyObject
* obj0
= 0 ;
20844 PyObject
* obj1
= 0 ;
20845 PyObject
* obj2
= 0 ;
20846 char * kwnames
[] = {
20847 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20852 if (!SWIG_IsOK(res1
)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20855 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20857 arg2
= wxString_in_helper(obj1
);
20858 if (arg2
== NULL
) SWIG_fail
;
20862 arg3
= wxString_in_helper(obj2
);
20863 if (arg3
== NULL
) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20897 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= 0;
20899 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20900 wxString
*arg2
= 0 ;
20901 wxString
*arg3
= 0 ;
20905 bool temp2
= false ;
20906 bool temp3
= false ;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 PyObject
* obj2
= 0 ;
20910 char * kwnames
[] = {
20911 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20916 if (!SWIG_IsOK(res1
)) {
20917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20919 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20921 arg2
= wxString_in_helper(obj1
);
20922 if (arg2
== NULL
) SWIG_fail
;
20926 arg3
= wxString_in_helper(obj2
);
20927 if (arg3
== NULL
) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20961 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
= 0;
20963 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20964 wxString
*arg2
= 0 ;
20965 bool arg3
= (bool) true ;
20969 bool temp2
= false ;
20972 PyObject
* obj0
= 0 ;
20973 PyObject
* obj1
= 0 ;
20974 PyObject
* obj2
= 0 ;
20975 char * kwnames
[] = {
20976 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20984 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20986 arg2
= wxString_in_helper(obj1
);
20987 if (arg2
== NULL
) SWIG_fail
;
20991 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20992 if (!SWIG_IsOK(ecode3
)) {
20993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20995 arg3
= static_cast< bool >(val3
);
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21020 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
= 0;
21022 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21023 wxString
*arg2
= 0 ;
21027 bool temp2
= false ;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 char * kwnames
[] = {
21031 (char *) "self",(char *) "key", NULL
21034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21036 if (!SWIG_IsOK(res1
)) {
21037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21039 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21041 arg2
= wxString_in_helper(obj1
);
21042 if (arg2
== NULL
) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21068 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21069 PyObject
*resultobj
= 0;
21070 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21074 PyObject
*swig_obj
[1] ;
21076 if (!args
) SWIG_fail
;
21077 swig_obj
[0] = args
;
21078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21079 if (!SWIG_IsOK(res1
)) {
21080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21082 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (bool)(arg1
)->DeleteAll();
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21098 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
= 0;
21100 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21101 bool arg2
= (bool) true ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 char * kwnames
[] = {
21109 (char *) "self",(char *) "doIt", NULL
21112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21117 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21119 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21120 if (!SWIG_IsOK(ecode2
)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
21123 arg2
= static_cast< bool >(val2
);
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 (arg1
)->SetExpandEnvVars(arg2
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_Py_Void();
21138 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21139 PyObject
*resultobj
= 0;
21140 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21144 PyObject
*swig_obj
[1] ;
21146 if (!args
) SWIG_fail
;
21147 swig_obj
[0] = args
;
21148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21149 if (!SWIG_IsOK(res1
)) {
21150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21152 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21168 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
= 0;
21170 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21171 bool arg2
= (bool) true ;
21176 PyObject
* obj0
= 0 ;
21177 PyObject
* obj1
= 0 ;
21178 char * kwnames
[] = {
21179 (char *) "self",(char *) "doIt", NULL
21182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21184 if (!SWIG_IsOK(res1
)) {
21185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21187 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21189 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21190 if (!SWIG_IsOK(ecode2
)) {
21191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21193 arg2
= static_cast< bool >(val2
);
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 (arg1
)->SetRecordDefaults(arg2
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= SWIG_Py_Void();
21208 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21209 PyObject
*resultobj
= 0;
21210 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21214 PyObject
*swig_obj
[1] ;
21216 if (!args
) SWIG_fail
;
21217 swig_obj
[0] = args
;
21218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21222 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21238 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
= 0;
21240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21241 wxString
*arg2
= 0 ;
21245 bool temp2
= false ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 char * kwnames
[] = {
21249 (char *) "self",(char *) "str", NULL
21252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21254 if (!SWIG_IsOK(res1
)) {
21255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21257 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21259 arg2
= wxString_in_helper(obj1
);
21260 if (arg2
== NULL
) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21290 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21291 PyObject
*resultobj
= 0;
21292 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21296 PyObject
*swig_obj
[1] ;
21298 if (!args
) SWIG_fail
;
21299 swig_obj
[0] = args
;
21300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21301 if (!SWIG_IsOK(res1
)) {
21302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21304 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21324 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21325 PyObject
*resultobj
= 0;
21326 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21330 PyObject
*swig_obj
[1] ;
21332 if (!args
) SWIG_fail
;
21333 swig_obj
[0] = args
;
21334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21335 if (!SWIG_IsOK(res1
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21338 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21358 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21361 wxString
*arg2
= 0 ;
21364 bool temp2
= false ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 char * kwnames
[] = {
21368 (char *) "self",(char *) "appName", NULL
21371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21376 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21378 arg2
= wxString_in_helper(obj1
);
21379 if (arg2
== NULL
) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 (arg1
)->SetAppName((wxString
const &)*arg2
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_Py_Void();
21403 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
= 0;
21405 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21406 wxString
*arg2
= 0 ;
21409 bool temp2
= false ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char * kwnames
[] = {
21413 (char *) "self",(char *) "vendorName", NULL
21416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21418 if (!SWIG_IsOK(res1
)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21421 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21423 arg2
= wxString_in_helper(obj1
);
21424 if (arg2
== NULL
) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_Py_Void();
21448 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
= 0;
21450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 char * kwnames
[] = {
21459 (char *) "self",(char *) "style", NULL
21462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21464 if (!SWIG_IsOK(res1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21467 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21469 if (!SWIG_IsOK(ecode2
)) {
21470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21472 arg2
= static_cast< long >(val2
);
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 (arg1
)->SetStyle(arg2
);
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_Py_Void();
21486 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21487 PyObject
*resultobj
= 0;
21488 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21492 PyObject
*swig_obj
[1] ;
21494 if (!args
) SWIG_fail
;
21495 swig_obj
[0] = args
;
21496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21497 if (!SWIG_IsOK(res1
)) {
21498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21500 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_From_long(static_cast< long >(result
));
21514 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21517 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21518 return SWIG_Py_Void();
21521 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
= 0;
21523 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21524 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21525 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21526 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21529 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21530 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21531 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21532 wxConfig
*result
= 0 ;
21533 bool temp1
= false ;
21534 bool temp2
= false ;
21535 bool temp3
= false ;
21536 bool temp4
= false ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 PyObject
* obj2
= 0 ;
21542 PyObject
* obj3
= 0 ;
21543 PyObject
* obj4
= 0 ;
21544 char * kwnames
[] = {
21545 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21551 arg1
= wxString_in_helper(obj0
);
21552 if (arg1
== NULL
) SWIG_fail
;
21558 arg2
= wxString_in_helper(obj1
);
21559 if (arg2
== NULL
) SWIG_fail
;
21565 arg3
= wxString_in_helper(obj2
);
21566 if (arg3
== NULL
) SWIG_fail
;
21572 arg4
= wxString_in_helper(obj3
);
21573 if (arg4
== NULL
) SWIG_fail
;
21578 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21579 if (!SWIG_IsOK(ecode5
)) {
21580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21582 arg5
= static_cast< long >(val5
);
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21629 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21630 PyObject
*resultobj
= 0;
21631 wxConfig
*arg1
= (wxConfig
*) 0 ;
21634 PyObject
*swig_obj
[1] ;
21636 if (!args
) SWIG_fail
;
21637 swig_obj
[0] = args
;
21638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21639 if (!SWIG_IsOK(res1
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21642 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_Py_Void();
21657 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21660 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21661 return SWIG_Py_Void();
21664 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21665 return SWIG_Python_InitShadowInstance(args
);
21668 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
= 0;
21670 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21671 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21672 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21674 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21676 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21677 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21678 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21679 wxFileConfig
*result
= 0 ;
21680 bool temp1
= false ;
21681 bool temp2
= false ;
21682 bool temp3
= false ;
21683 bool temp4
= false ;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 PyObject
* obj2
= 0 ;
21689 PyObject
* obj3
= 0 ;
21690 PyObject
* obj4
= 0 ;
21691 char * kwnames
[] = {
21692 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21698 arg1
= wxString_in_helper(obj0
);
21699 if (arg1
== NULL
) SWIG_fail
;
21705 arg2
= wxString_in_helper(obj1
);
21706 if (arg2
== NULL
) SWIG_fail
;
21712 arg3
= wxString_in_helper(obj2
);
21713 if (arg3
== NULL
) SWIG_fail
;
21719 arg4
= wxString_in_helper(obj3
);
21720 if (arg4
== NULL
) SWIG_fail
;
21725 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21726 if (!SWIG_IsOK(ecode5
)) {
21727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21729 arg5
= static_cast< long >(val5
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21776 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21777 PyObject
*resultobj
= 0;
21778 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21781 PyObject
*swig_obj
[1] ;
21783 if (!args
) SWIG_fail
;
21784 swig_obj
[0] = args
;
21785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21786 if (!SWIG_IsOK(res1
)) {
21787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21789 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= SWIG_Py_Void();
21804 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21807 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21808 return SWIG_Py_Void();
21811 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21812 return SWIG_Python_InitShadowInstance(args
);
21815 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
= 0;
21817 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21818 wxString
*arg2
= 0 ;
21819 wxConfigPathChanger
*result
= 0 ;
21822 bool temp2
= false ;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 char * kwnames
[] = {
21826 (char *) "config",(char *) "entry", NULL
21829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21831 if (!SWIG_IsOK(res1
)) {
21832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21834 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21836 arg2
= wxString_in_helper(obj1
);
21837 if (arg2
== NULL
) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21861 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21862 PyObject
*resultobj
= 0;
21863 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21866 PyObject
*swig_obj
[1] ;
21868 if (!args
) SWIG_fail
;
21869 swig_obj
[0] = args
;
21870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21871 if (!SWIG_IsOK(res1
)) {
21872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21874 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_Py_Void();
21889 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21890 PyObject
*resultobj
= 0;
21891 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21892 wxString
*result
= 0 ;
21895 PyObject
*swig_obj
[1] ;
21897 if (!args
) SWIG_fail
;
21898 swig_obj
[0] = args
;
21899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21900 if (!SWIG_IsOK(res1
)) {
21901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21903 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21908 result
= (wxString
*) &_result_ref
;
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21917 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21926 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21929 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21930 return SWIG_Py_Void();
21933 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21934 return SWIG_Python_InitShadowInstance(args
);
21937 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
= 0;
21939 wxString
*arg1
= 0 ;
21941 bool temp1
= false ;
21942 PyObject
* obj0
= 0 ;
21943 char * kwnames
[] = {
21944 (char *) "sz", NULL
21947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21949 arg1
= wxString_in_helper(obj0
);
21950 if (arg1
== NULL
) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21980 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21981 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21986 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21987 PyObject
*pyobj
= 0;
21991 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21993 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22000 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
22001 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
22006 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
22007 PyObject
*pyobj
= 0;
22011 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22013 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22020 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
= 0;
22022 wxDateTime::Country arg1
;
22025 PyObject
* obj0
= 0 ;
22026 char * kwnames
[] = {
22027 (char *) "country", NULL
22030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
22031 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22032 if (!SWIG_IsOK(ecode1
)) {
22033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22035 arg1
= static_cast< wxDateTime::Country
>(val1
);
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 wxDateTime::SetCountry(arg1
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_Py_Void();
22049 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22050 PyObject
*resultobj
= 0;
22051 wxDateTime::Country result
;
22053 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_From_int(static_cast< int >(result
));
22067 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
= 0;
22069 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22073 PyObject
* obj0
= 0 ;
22074 char * kwnames
[] = {
22075 (char *) "country", NULL
22078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
22080 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22081 if (!SWIG_IsOK(ecode1
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22084 arg1
= static_cast< wxDateTime::Country
>(val1
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22101 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
= 0;
22103 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22107 PyObject
* obj0
= 0 ;
22108 char * kwnames
[] = {
22109 (char *) "cal", NULL
22112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
22114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22115 if (!SWIG_IsOK(ecode1
)) {
22116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22118 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (int)wxDateTime::GetCurrentYear(arg1
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= SWIG_From_int(static_cast< int >(result
));
22133 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
= 0;
22139 PyObject
* obj0
= 0 ;
22140 char * kwnames
[] = {
22141 (char *) "year", NULL
22144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
22145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22146 if (!SWIG_IsOK(ecode1
)) {
22147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
22149 arg1
= static_cast< int >(val1
);
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= SWIG_From_int(static_cast< int >(result
));
22163 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
= 0;
22165 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22166 wxDateTime::Month result
;
22169 PyObject
* obj0
= 0 ;
22170 char * kwnames
[] = {
22171 (char *) "cal", NULL
22174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
22176 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22177 if (!SWIG_IsOK(ecode1
)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22180 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_From_int(static_cast< int >(result
));
22195 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
= 0;
22197 int arg1
= (int) wxDateTime::Inv_Year
;
22198 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char * kwnames
[] = {
22207 (char *) "year",(char *) "cal", NULL
22210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22213 if (!SWIG_IsOK(ecode1
)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22216 arg1
= static_cast< int >(val1
);
22219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22220 if (!SWIG_IsOK(ecode2
)) {
22221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22223 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22240 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
= 0;
22242 int arg1
= (int) wxDateTime::Inv_Year
;
22246 PyObject
* obj0
= 0 ;
22247 char * kwnames
[] = {
22248 (char *) "year", NULL
22251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22254 if (!SWIG_IsOK(ecode1
)) {
22255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22257 arg1
= static_cast< int >(val1
);
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= (int)wxDateTime::GetCentury(arg1
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= SWIG_From_int(static_cast< int >(result
));
22272 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
= 0;
22275 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 char * kwnames
[] = {
22284 (char *) "year",(char *) "cal", NULL
22287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22288 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22289 if (!SWIG_IsOK(ecode1
)) {
22290 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22292 arg1
= static_cast< int >(val1
);
22294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22295 if (!SWIG_IsOK(ecode2
)) {
22296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22298 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= SWIG_From_int(static_cast< int >(result
));
22313 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
= 0;
22315 wxDateTime::Month arg1
;
22316 int arg2
= (int) wxDateTime::Inv_Year
;
22317 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 PyObject
* obj2
= 0 ;
22328 char * kwnames
[] = {
22329 (char *) "month",(char *) "year",(char *) "cal", NULL
22332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22334 if (!SWIG_IsOK(ecode1
)) {
22335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22337 arg1
= static_cast< wxDateTime::Month
>(val1
);
22339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22340 if (!SWIG_IsOK(ecode2
)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22343 arg2
= static_cast< int >(val2
);
22346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22347 if (!SWIG_IsOK(ecode3
)) {
22348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22350 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= SWIG_From_int(static_cast< int >(result
));
22365 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
= 0;
22367 wxDateTime::Month arg1
;
22368 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 char * kwnames
[] = {
22377 (char *) "month",(char *) "flags", NULL
22380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22382 if (!SWIG_IsOK(ecode1
)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22385 arg1
= static_cast< wxDateTime::Month
>(val1
);
22387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22388 if (!SWIG_IsOK(ecode2
)) {
22389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22391 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22412 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
= 0;
22414 wxDateTime::WeekDay arg1
;
22415 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 char * kwnames
[] = {
22424 (char *) "weekday",(char *) "flags", NULL
22427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22429 if (!SWIG_IsOK(ecode1
)) {
22430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22432 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22435 if (!SWIG_IsOK(ecode2
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22438 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22459 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22460 PyObject
*resultobj
= 0;
22461 PyObject
*result
= 0 ;
22463 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= result
;
22477 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
= 0;
22479 int arg1
= (int) wxDateTime::Inv_Year
;
22480 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 char * kwnames
[] = {
22489 (char *) "year",(char *) "country", NULL
22492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22494 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22495 if (!SWIG_IsOK(ecode1
)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22498 arg1
= static_cast< int >(val1
);
22501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22502 if (!SWIG_IsOK(ecode2
)) {
22503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22505 arg2
= static_cast< wxDateTime::Country
>(val2
);
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22522 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
= 0;
22524 int arg1
= (int) wxDateTime::Inv_Year
;
22525 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 char * kwnames
[] = {
22534 (char *) "year",(char *) "country", NULL
22537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22539 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22540 if (!SWIG_IsOK(ecode1
)) {
22541 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22543 arg1
= static_cast< int >(val1
);
22546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22547 if (!SWIG_IsOK(ecode2
)) {
22548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22550 arg2
= static_cast< wxDateTime::Country
>(val2
);
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22565 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
= 0;
22567 int arg1
= (int) wxDateTime::Inv_Year
;
22568 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 char * kwnames
[] = {
22577 (char *) "year",(char *) "country", NULL
22580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22582 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22583 if (!SWIG_IsOK(ecode1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22586 arg1
= static_cast< int >(val1
);
22589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22590 if (!SWIG_IsOK(ecode2
)) {
22591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22593 arg2
= static_cast< wxDateTime::Country
>(val2
);
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22608 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22609 PyObject
*resultobj
= 0;
22612 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= wxDateTime::Now();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22626 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22627 PyObject
*resultobj
= 0;
22630 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= wxDateTime::UNow();
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22644 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22645 PyObject
*resultobj
= 0;
22648 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= wxDateTime::Today();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22662 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22663 PyObject
*resultobj
= 0;
22664 wxDateTime
*result
= 0 ;
22666 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (wxDateTime
*)new wxDateTime();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22680 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
= 0;
22683 wxDateTime
*result
= 0 ;
22684 unsigned int val1
;
22686 PyObject
* obj0
= 0 ;
22687 char * kwnames
[] = {
22688 (char *) "timet", NULL
22691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22692 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22693 if (!SWIG_IsOK(ecode1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22696 arg1
= static_cast< time_t >(val1
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (wxDateTime
*)new wxDateTime(arg1
);
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22710 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
= 0;
22713 wxDateTime
*result
= 0 ;
22716 PyObject
* obj0
= 0 ;
22717 char * kwnames
[] = {
22718 (char *) "jdn", NULL
22721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22722 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22723 if (!SWIG_IsOK(ecode1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22726 arg1
= static_cast< double >(val1
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (wxDateTime
*)new wxDateTime(arg1
);
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22740 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
= 0;
22743 int arg2
= (int) 0 ;
22744 int arg3
= (int) 0 ;
22745 int arg4
= (int) 0 ;
22746 wxDateTime
*result
= 0 ;
22755 PyObject
* obj0
= 0 ;
22756 PyObject
* obj1
= 0 ;
22757 PyObject
* obj2
= 0 ;
22758 PyObject
* obj3
= 0 ;
22759 char * kwnames
[] = {
22760 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22765 if (!SWIG_IsOK(ecode1
)) {
22766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22768 arg1
= static_cast< int >(val1
);
22770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22771 if (!SWIG_IsOK(ecode2
)) {
22772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22774 arg2
= static_cast< int >(val2
);
22777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22778 if (!SWIG_IsOK(ecode3
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22781 arg3
= static_cast< int >(val3
);
22784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22785 if (!SWIG_IsOK(ecode4
)) {
22786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22788 arg4
= static_cast< int >(val4
);
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22803 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
= 0;
22806 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22807 int arg3
= (int) wxDateTime::Inv_Year
;
22808 int arg4
= (int) 0 ;
22809 int arg5
= (int) 0 ;
22810 int arg6
= (int) 0 ;
22811 int arg7
= (int) 0 ;
22812 wxDateTime
*result
= 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 PyObject
* obj2
= 0 ;
22830 PyObject
* obj3
= 0 ;
22831 PyObject
* obj4
= 0 ;
22832 PyObject
* obj5
= 0 ;
22833 PyObject
* obj6
= 0 ;
22834 char * kwnames
[] = {
22835 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22839 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22840 if (!SWIG_IsOK(ecode1
)) {
22841 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22843 arg1
= static_cast< int >(val1
);
22845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22846 if (!SWIG_IsOK(ecode2
)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22849 arg2
= static_cast< wxDateTime::Month
>(val2
);
22852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22853 if (!SWIG_IsOK(ecode3
)) {
22854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22856 arg3
= static_cast< int >(val3
);
22859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22860 if (!SWIG_IsOK(ecode4
)) {
22861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22863 arg4
= static_cast< int >(val4
);
22866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22867 if (!SWIG_IsOK(ecode5
)) {
22868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22870 arg5
= static_cast< int >(val5
);
22873 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22874 if (!SWIG_IsOK(ecode6
)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22877 arg6
= static_cast< int >(val6
);
22880 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22881 if (!SWIG_IsOK(ecode7
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22884 arg7
= static_cast< int >(val7
);
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22899 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
= 0;
22901 wxDateTime
*arg1
= 0 ;
22902 wxDateTime
*result
= 0 ;
22905 PyObject
* obj0
= 0 ;
22906 char * kwnames
[] = {
22907 (char *) "date", NULL
22910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22911 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22912 if (!SWIG_IsOK(res1
)) {
22913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22918 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22932 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22933 PyObject
*resultobj
= 0;
22934 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22937 PyObject
*swig_obj
[1] ;
22939 if (!args
) SWIG_fail
;
22940 swig_obj
[0] = args
;
22941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22942 if (!SWIG_IsOK(res1
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22945 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_Py_Void();
22960 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 PyObject
*resultobj
= 0;
22962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22963 wxDateTime
*result
= 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22974 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22979 result
= (wxDateTime
*) &_result_ref
;
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22991 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
= 0;
22993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22995 wxDateTime
*result
= 0 ;
22998 unsigned int val2
;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char * kwnames
[] = {
23003 (char *) "self",(char *) "timet", NULL
23006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23008 if (!SWIG_IsOK(res1
)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
23011 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23012 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
23013 if (!SWIG_IsOK(ecode2
)) {
23014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
23016 arg2
= static_cast< time_t >(val2
);
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23021 result
= (wxDateTime
*) &_result_ref
;
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23033 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
= 0;
23035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23037 wxDateTime
*result
= 0 ;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 char * kwnames
[] = {
23045 (char *) "self",(char *) "jdn", NULL
23048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23050 if (!SWIG_IsOK(res1
)) {
23051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
23053 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23054 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23055 if (!SWIG_IsOK(ecode2
)) {
23056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
23058 arg2
= static_cast< double >(val2
);
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23063 result
= (wxDateTime
*) &_result_ref
;
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23075 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
= 0;
23077 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23079 int arg3
= (int) 0 ;
23080 int arg4
= (int) 0 ;
23081 int arg5
= (int) 0 ;
23082 wxDateTime
*result
= 0 ;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 PyObject
* obj2
= 0 ;
23096 PyObject
* obj3
= 0 ;
23097 PyObject
* obj4
= 0 ;
23098 char * kwnames
[] = {
23099 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23104 if (!SWIG_IsOK(res1
)) {
23105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
23107 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23109 if (!SWIG_IsOK(ecode2
)) {
23110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
23112 arg2
= static_cast< int >(val2
);
23114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23115 if (!SWIG_IsOK(ecode3
)) {
23116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
23118 arg3
= static_cast< int >(val3
);
23121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23122 if (!SWIG_IsOK(ecode4
)) {
23123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
23125 arg4
= static_cast< int >(val4
);
23128 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23129 if (!SWIG_IsOK(ecode5
)) {
23130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
23132 arg5
= static_cast< int >(val5
);
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
23138 result
= (wxDateTime
*) &_result_ref
;
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23150 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
= 0;
23152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23154 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23155 int arg4
= (int) wxDateTime::Inv_Year
;
23156 int arg5
= (int) 0 ;
23157 int arg6
= (int) 0 ;
23158 int arg7
= (int) 0 ;
23159 int arg8
= (int) 0 ;
23160 wxDateTime
*result
= 0 ;
23177 PyObject
* obj0
= 0 ;
23178 PyObject
* obj1
= 0 ;
23179 PyObject
* obj2
= 0 ;
23180 PyObject
* obj3
= 0 ;
23181 PyObject
* obj4
= 0 ;
23182 PyObject
* obj5
= 0 ;
23183 PyObject
* obj6
= 0 ;
23184 PyObject
* obj7
= 0 ;
23185 char * kwnames
[] = {
23186 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23194 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23196 if (!SWIG_IsOK(ecode2
)) {
23197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23199 arg2
= static_cast< int >(val2
);
23201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23202 if (!SWIG_IsOK(ecode3
)) {
23203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23205 arg3
= static_cast< wxDateTime::Month
>(val3
);
23208 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23209 if (!SWIG_IsOK(ecode4
)) {
23210 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23212 arg4
= static_cast< int >(val4
);
23215 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23216 if (!SWIG_IsOK(ecode5
)) {
23217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23219 arg5
= static_cast< int >(val5
);
23222 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23223 if (!SWIG_IsOK(ecode6
)) {
23224 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23226 arg6
= static_cast< int >(val6
);
23229 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23230 if (!SWIG_IsOK(ecode7
)) {
23231 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23233 arg7
= static_cast< int >(val7
);
23236 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23237 if (!SWIG_IsOK(ecode8
)) {
23238 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23240 arg8
= static_cast< int >(val8
);
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23246 result
= (wxDateTime
*) &_result_ref
;
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23258 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23259 PyObject
*resultobj
= 0;
23260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23261 wxDateTime
*result
= 0 ;
23264 PyObject
*swig_obj
[1] ;
23266 if (!args
) SWIG_fail
;
23267 swig_obj
[0] = args
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23272 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23277 result
= (wxDateTime
*) &_result_ref
;
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23289 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
= 0;
23291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23293 wxDateTime
*result
= 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char * kwnames
[] = {
23301 (char *) "self",(char *) "year", NULL
23304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23306 if (!SWIG_IsOK(res1
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23309 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23311 if (!SWIG_IsOK(ecode2
)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23314 arg2
= static_cast< int >(val2
);
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23319 result
= (wxDateTime
*) &_result_ref
;
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23331 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
= 0;
23333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23334 wxDateTime::Month arg2
;
23335 wxDateTime
*result
= 0 ;
23340 PyObject
* obj0
= 0 ;
23341 PyObject
* obj1
= 0 ;
23342 char * kwnames
[] = {
23343 (char *) "self",(char *) "month", NULL
23346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23348 if (!SWIG_IsOK(res1
)) {
23349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23351 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23353 if (!SWIG_IsOK(ecode2
)) {
23354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23356 arg2
= static_cast< wxDateTime::Month
>(val2
);
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23361 result
= (wxDateTime
*) &_result_ref
;
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23373 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
= 0;
23375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23377 wxDateTime
*result
= 0 ;
23382 PyObject
* obj0
= 0 ;
23383 PyObject
* obj1
= 0 ;
23384 char * kwnames
[] = {
23385 (char *) "self",(char *) "day", NULL
23388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23390 if (!SWIG_IsOK(res1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23393 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23395 if (!SWIG_IsOK(ecode2
)) {
23396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23398 arg2
= static_cast< int >(val2
);
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23403 result
= (wxDateTime
*) &_result_ref
;
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23415 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
= 0;
23417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23419 wxDateTime
*result
= 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char * kwnames
[] = {
23427 (char *) "self",(char *) "hour", NULL
23430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23432 if (!SWIG_IsOK(res1
)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23435 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23437 if (!SWIG_IsOK(ecode2
)) {
23438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23440 arg2
= static_cast< int >(val2
);
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23445 result
= (wxDateTime
*) &_result_ref
;
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23457 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= 0;
23459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23461 wxDateTime
*result
= 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 char * kwnames
[] = {
23469 (char *) "self",(char *) "minute", NULL
23472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23474 if (!SWIG_IsOK(res1
)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23477 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23479 if (!SWIG_IsOK(ecode2
)) {
23480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23482 arg2
= static_cast< int >(val2
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23487 result
= (wxDateTime
*) &_result_ref
;
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23499 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
= 0;
23501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23503 wxDateTime
*result
= 0 ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 char * kwnames
[] = {
23511 (char *) "self",(char *) "second", NULL
23514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23519 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23521 if (!SWIG_IsOK(ecode2
)) {
23522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23524 arg2
= static_cast< int >(val2
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23529 result
= (wxDateTime
*) &_result_ref
;
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23541 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
= 0;
23543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23545 wxDateTime
*result
= 0 ;
23550 PyObject
* obj0
= 0 ;
23551 PyObject
* obj1
= 0 ;
23552 char * kwnames
[] = {
23553 (char *) "self",(char *) "millisecond", NULL
23556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23561 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23563 if (!SWIG_IsOK(ecode2
)) {
23564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23566 arg2
= static_cast< int >(val2
);
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23571 result
= (wxDateTime
*) &_result_ref
;
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23583 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
= 0;
23585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23586 wxDateTime::WeekDay arg2
;
23587 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23588 wxDateTime
*result
= 0 ;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 PyObject
* obj2
= 0 ;
23598 char * kwnames
[] = {
23599 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23604 if (!SWIG_IsOK(res1
)) {
23605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23607 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23609 if (!SWIG_IsOK(ecode2
)) {
23610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23612 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23615 if (!SWIG_IsOK(ecode3
)) {
23616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23618 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23624 result
= (wxDateTime
*) &_result_ref
;
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23636 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
= 0;
23638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23639 wxDateTime::WeekDay arg2
;
23640 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 PyObject
* obj2
= 0 ;
23651 char * kwnames
[] = {
23652 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23657 if (!SWIG_IsOK(res1
)) {
23658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23660 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23662 if (!SWIG_IsOK(ecode2
)) {
23663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23665 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23668 if (!SWIG_IsOK(ecode3
)) {
23669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23671 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23686 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
= 0;
23688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23689 wxDateTime::WeekDay arg2
;
23690 wxDateTime
*result
= 0 ;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 char * kwnames
[] = {
23698 (char *) "self",(char *) "weekday", NULL
23701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23703 if (!SWIG_IsOK(res1
)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23706 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23708 if (!SWIG_IsOK(ecode2
)) {
23709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23711 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23716 result
= (wxDateTime
*) &_result_ref
;
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23728 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
= 0;
23730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23731 wxDateTime::WeekDay arg2
;
23737 PyObject
* obj0
= 0 ;
23738 PyObject
* obj1
= 0 ;
23739 char * kwnames
[] = {
23740 (char *) "self",(char *) "weekday", NULL
23743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23745 if (!SWIG_IsOK(res1
)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23748 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23750 if (!SWIG_IsOK(ecode2
)) {
23751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23753 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 result
= (arg1
)->GetNextWeekDay(arg2
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23767 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
= 0;
23769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23770 wxDateTime::WeekDay arg2
;
23771 wxDateTime
*result
= 0 ;
23776 PyObject
* obj0
= 0 ;
23777 PyObject
* obj1
= 0 ;
23778 char * kwnames
[] = {
23779 (char *) "self",(char *) "weekday", NULL
23782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23787 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23789 if (!SWIG_IsOK(ecode2
)) {
23790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23792 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23797 result
= (wxDateTime
*) &_result_ref
;
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23809 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
= 0;
23811 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23812 wxDateTime::WeekDay arg2
;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char * kwnames
[] = {
23821 (char *) "self",(char *) "weekday", NULL
23824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23826 if (!SWIG_IsOK(res1
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23829 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23831 if (!SWIG_IsOK(ecode2
)) {
23832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23834 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (arg1
)->GetPrevWeekDay(arg2
);
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23848 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
= 0;
23850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23851 wxDateTime::WeekDay arg2
;
23852 int arg3
= (int) 1 ;
23853 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23854 int arg5
= (int) wxDateTime::Inv_Year
;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 PyObject
* obj2
= 0 ;
23869 PyObject
* obj3
= 0 ;
23870 PyObject
* obj4
= 0 ;
23871 char * kwnames
[] = {
23872 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23877 if (!SWIG_IsOK(res1
)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23880 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23882 if (!SWIG_IsOK(ecode2
)) {
23883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23885 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23888 if (!SWIG_IsOK(ecode3
)) {
23889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23891 arg3
= static_cast< int >(val3
);
23894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23895 if (!SWIG_IsOK(ecode4
)) {
23896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23898 arg4
= static_cast< wxDateTime::Month
>(val4
);
23901 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23902 if (!SWIG_IsOK(ecode5
)) {
23903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23905 arg5
= static_cast< int >(val5
);
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23922 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
= 0;
23924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23925 wxDateTime::WeekDay arg2
;
23926 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23927 int arg4
= (int) wxDateTime::Inv_Year
;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 PyObject
* obj2
= 0 ;
23940 PyObject
* obj3
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23950 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23952 if (!SWIG_IsOK(ecode2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23955 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23958 if (!SWIG_IsOK(ecode3
)) {
23959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23961 arg3
= static_cast< wxDateTime::Month
>(val3
);
23964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23965 if (!SWIG_IsOK(ecode4
)) {
23966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23968 arg4
= static_cast< int >(val4
);
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23985 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
= 0;
23987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23988 wxDateTime::WeekDay arg2
;
23989 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23990 int arg4
= (int) wxDateTime::Inv_Year
;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 PyObject
* obj2
= 0 ;
24003 PyObject
* obj3
= 0 ;
24004 char * kwnames
[] = {
24005 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24010 if (!SWIG_IsOK(res1
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24013 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24015 if (!SWIG_IsOK(ecode2
)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24018 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24021 if (!SWIG_IsOK(ecode3
)) {
24022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24024 arg3
= static_cast< wxDateTime::Month
>(val3
);
24027 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24028 if (!SWIG_IsOK(ecode4
)) {
24029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24031 arg4
= static_cast< int >(val4
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24046 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
= 0;
24048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24050 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24051 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 PyObject
* obj2
= 0 ;
24064 PyObject
* obj3
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24074 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24076 if (!SWIG_IsOK(ecode2
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
24079 arg2
= static_cast< int >(val2
);
24081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24082 if (!SWIG_IsOK(ecode3
)) {
24083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24085 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24089 if (!SWIG_IsOK(ecode4
)) {
24090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24092 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24109 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
= 0;
24111 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24113 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24114 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24126 PyObject
* obj2
= 0 ;
24127 PyObject
* obj3
= 0 ;
24128 char * kwnames
[] = {
24129 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24134 if (!SWIG_IsOK(res1
)) {
24135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24137 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24139 if (!SWIG_IsOK(ecode2
)) {
24140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
24142 arg2
= static_cast< int >(val2
);
24144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24145 if (!SWIG_IsOK(ecode3
)) {
24146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24148 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24152 if (!SWIG_IsOK(ecode4
)) {
24153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24155 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24170 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= 0;
24174 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24182 PyObject
* obj0
= 0 ;
24183 PyObject
* obj1
= 0 ;
24184 PyObject
* obj2
= 0 ;
24185 char * kwnames
[] = {
24186 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24191 if (!SWIG_IsOK(ecode1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24194 arg1
= static_cast< int >(val1
);
24195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24196 if (!SWIG_IsOK(ecode2
)) {
24197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24199 arg2
= static_cast< int >(val2
);
24201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24202 if (!SWIG_IsOK(ecode3
)) {
24203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24205 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24220 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
= 0;
24222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24223 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24224 int arg3
= (int) wxDateTime::Inv_Year
;
24225 wxDateTime
*result
= 0 ;
24232 PyObject
* obj0
= 0 ;
24233 PyObject
* obj1
= 0 ;
24234 PyObject
* obj2
= 0 ;
24235 char * kwnames
[] = {
24236 (char *) "self",(char *) "month",(char *) "year", NULL
24239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24244 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24247 if (!SWIG_IsOK(ecode2
)) {
24248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24250 arg2
= static_cast< wxDateTime::Month
>(val2
);
24253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24254 if (!SWIG_IsOK(ecode3
)) {
24255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24257 arg3
= static_cast< int >(val3
);
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24263 result
= (wxDateTime
*) &_result_ref
;
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24275 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
= 0;
24277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24278 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24279 int arg3
= (int) wxDateTime::Inv_Year
;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 PyObject
* obj2
= 0 ;
24290 char * kwnames
[] = {
24291 (char *) "self",(char *) "month",(char *) "year", NULL
24294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24296 if (!SWIG_IsOK(res1
)) {
24297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24299 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24302 if (!SWIG_IsOK(ecode2
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24305 arg2
= static_cast< wxDateTime::Month
>(val2
);
24308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24309 if (!SWIG_IsOK(ecode3
)) {
24310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24312 arg3
= static_cast< int >(val3
);
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24327 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
= 0;
24329 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24331 wxDateTime
*result
= 0 ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 char * kwnames
[] = {
24339 (char *) "self",(char *) "yday", NULL
24342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24344 if (!SWIG_IsOK(res1
)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24347 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24349 if (!SWIG_IsOK(ecode2
)) {
24350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24352 arg2
= static_cast< int >(val2
);
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24357 result
= (wxDateTime
*) &_result_ref
;
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24369 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
= 0;
24371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char * kwnames
[] = {
24381 (char *) "self",(char *) "yday", NULL
24384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24389 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24391 if (!SWIG_IsOK(ecode2
)) {
24392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24394 arg2
= static_cast< int >(val2
);
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (arg1
)->GetYearDay(arg2
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24408 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24409 PyObject
*resultobj
= 0;
24410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24414 PyObject
*swig_obj
[1] ;
24416 if (!args
) SWIG_fail
;
24417 swig_obj
[0] = args
;
24418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24419 if (!SWIG_IsOK(res1
)) {
24420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24422 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (double)(arg1
)->GetJulianDayNumber();
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_From_double(static_cast< double >(result
));
24436 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24437 PyObject
*resultobj
= 0;
24438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24442 PyObject
*swig_obj
[1] ;
24444 if (!args
) SWIG_fail
;
24445 swig_obj
[0] = args
;
24446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24450 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (double)(arg1
)->GetJDN();
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_From_double(static_cast< double >(result
));
24464 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24465 PyObject
*resultobj
= 0;
24466 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24470 PyObject
*swig_obj
[1] ;
24472 if (!args
) SWIG_fail
;
24473 swig_obj
[0] = args
;
24474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24475 if (!SWIG_IsOK(res1
)) {
24476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24478 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_From_double(static_cast< double >(result
));
24492 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24493 PyObject
*resultobj
= 0;
24494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24498 PyObject
*swig_obj
[1] ;
24500 if (!args
) SWIG_fail
;
24501 swig_obj
[0] = args
;
24502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24503 if (!SWIG_IsOK(res1
)) {
24504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24506 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (double)(arg1
)->GetMJD();
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= SWIG_From_double(static_cast< double >(result
));
24520 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24521 PyObject
*resultobj
= 0;
24522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24526 PyObject
*swig_obj
[1] ;
24528 if (!args
) SWIG_fail
;
24529 swig_obj
[0] = args
;
24530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24531 if (!SWIG_IsOK(res1
)) {
24532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24534 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (double)(arg1
)->GetRataDie();
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_From_double(static_cast< double >(result
));
24548 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
= 0;
24550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24551 wxDateTime::TimeZone
*arg2
= 0 ;
24552 bool arg3
= (bool) false ;
24556 bool temp2
= false ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 PyObject
* obj2
= 0 ;
24562 char * kwnames
[] = {
24563 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24568 if (!SWIG_IsOK(res1
)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24571 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24573 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24577 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24578 if (!SWIG_IsOK(ecode3
)) {
24579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24581 arg3
= static_cast< bool >(val3
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24591 if (temp2
) delete arg2
;
24596 if (temp2
) delete arg2
;
24602 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
= 0;
24604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24605 wxDateTime::TimeZone
*arg2
= 0 ;
24606 bool arg3
= (bool) false ;
24607 wxDateTime
*result
= 0 ;
24610 bool temp2
= false ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 PyObject
* obj2
= 0 ;
24616 char * kwnames
[] = {
24617 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24622 if (!SWIG_IsOK(res1
)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24625 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24627 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24631 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24632 if (!SWIG_IsOK(ecode3
)) {
24633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24635 arg3
= static_cast< bool >(val3
);
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24641 result
= (wxDateTime
*) &_result_ref
;
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24648 if (temp2
) delete arg2
;
24653 if (temp2
) delete arg2
;
24659 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
= 0;
24661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24662 wxDateTime::TimeZone
*arg2
= 0 ;
24663 bool arg3
= (bool) false ;
24667 bool temp2
= false ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 PyObject
* obj2
= 0 ;
24673 char * kwnames
[] = {
24674 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24682 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24684 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24688 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24689 if (!SWIG_IsOK(ecode3
)) {
24690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24692 arg3
= static_cast< bool >(val3
);
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24702 if (temp2
) delete arg2
;
24707 if (temp2
) delete arg2
;
24713 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
= 0;
24715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24716 wxDateTime::TimeZone
*arg2
= 0 ;
24717 bool arg3
= (bool) false ;
24718 wxDateTime
*result
= 0 ;
24721 bool temp2
= false ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 PyObject
* obj2
= 0 ;
24727 char * kwnames
[] = {
24728 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24733 if (!SWIG_IsOK(res1
)) {
24734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24736 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24738 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24742 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24743 if (!SWIG_IsOK(ecode3
)) {
24744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24746 arg3
= static_cast< bool >(val3
);
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24752 result
= (wxDateTime
*) &_result_ref
;
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24759 if (temp2
) delete arg2
;
24764 if (temp2
) delete arg2
;
24770 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
= 0;
24772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24773 bool arg2
= (bool) false ;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 char * kwnames
[] = {
24782 (char *) "self",(char *) "noDST", NULL
24785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24787 if (!SWIG_IsOK(res1
)) {
24788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24790 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24793 if (!SWIG_IsOK(ecode2
)) {
24794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24796 arg2
= static_cast< bool >(val2
);
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24811 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
= 0;
24813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24814 bool arg2
= (bool) false ;
24815 wxDateTime
*result
= 0 ;
24820 PyObject
* obj0
= 0 ;
24821 PyObject
* obj1
= 0 ;
24822 char * kwnames
[] = {
24823 (char *) "self",(char *) "noDST", NULL
24826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24831 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24833 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24834 if (!SWIG_IsOK(ecode2
)) {
24835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24837 arg2
= static_cast< bool >(val2
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24843 result
= (wxDateTime
*) &_result_ref
;
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24855 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
= 0;
24857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24858 bool arg2
= (bool) false ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char * kwnames
[] = {
24867 (char *) "self",(char *) "noDST", NULL
24870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24872 if (!SWIG_IsOK(res1
)) {
24873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24875 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24878 if (!SWIG_IsOK(ecode2
)) {
24879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24881 arg2
= static_cast< bool >(val2
);
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24896 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
= 0;
24898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24899 bool arg2
= (bool) false ;
24900 wxDateTime
*result
= 0 ;
24905 PyObject
* obj0
= 0 ;
24906 PyObject
* obj1
= 0 ;
24907 char * kwnames
[] = {
24908 (char *) "self",(char *) "noDST", NULL
24911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24913 if (!SWIG_IsOK(res1
)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24916 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24918 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24919 if (!SWIG_IsOK(ecode2
)) {
24920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24922 arg2
= static_cast< bool >(val2
);
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24928 result
= (wxDateTime
*) &_result_ref
;
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24940 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
= 0;
24942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24943 bool arg2
= (bool) false ;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 char * kwnames
[] = {
24952 (char *) "self",(char *) "noDST", NULL
24955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24957 if (!SWIG_IsOK(res1
)) {
24958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24960 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24962 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24963 if (!SWIG_IsOK(ecode2
)) {
24964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24966 arg2
= static_cast< bool >(val2
);
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24981 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
= 0;
24983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24984 bool arg2
= (bool) false ;
24985 wxDateTime
*result
= 0 ;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 char * kwnames
[] = {
24993 (char *) "self",(char *) "noDST", NULL
24996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24998 if (!SWIG_IsOK(res1
)) {
24999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25001 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25003 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25004 if (!SWIG_IsOK(ecode2
)) {
25005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
25007 arg2
= static_cast< bool >(val2
);
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
25013 result
= (wxDateTime
*) &_result_ref
;
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25025 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
= 0;
25027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25028 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char * kwnames
[] = {
25037 (char *) "self",(char *) "country", NULL
25040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
25045 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25048 if (!SWIG_IsOK(ecode2
)) {
25049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25051 arg2
= static_cast< wxDateTime::Country
>(val2
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (int)(arg1
)->IsDST(arg2
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_From_int(static_cast< int >(result
));
25066 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25067 PyObject
*resultobj
= 0;
25068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25072 PyObject
*swig_obj
[1] ;
25074 if (!args
) SWIG_fail
;
25075 swig_obj
[0] = args
;
25076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25080 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25096 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25097 PyObject
*resultobj
= 0;
25098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25102 PyObject
*swig_obj
[1] ;
25104 if (!args
) SWIG_fail
;
25105 swig_obj
[0] = args
;
25106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25107 if (!SWIG_IsOK(res1
)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25110 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25124 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
= 0;
25126 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25127 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25128 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25132 bool temp2
= false ;
25133 PyObject
* obj0
= 0 ;
25134 PyObject
* obj1
= 0 ;
25135 char * kwnames
[] = {
25136 (char *) "self",(char *) "tz", NULL
25139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25141 if (!SWIG_IsOK(res1
)) {
25142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25144 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25147 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_From_int(static_cast< int >(result
));
25159 if (temp2
) delete arg2
;
25164 if (temp2
) delete arg2
;
25170 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
= 0;
25172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25173 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25174 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25175 wxDateTime::Month result
;
25178 bool temp2
= false ;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 char * kwnames
[] = {
25182 (char *) "self",(char *) "tz", NULL
25185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25187 if (!SWIG_IsOK(res1
)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25190 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25193 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= SWIG_From_int(static_cast< int >(result
));
25205 if (temp2
) delete arg2
;
25210 if (temp2
) delete arg2
;
25216 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
= 0;
25218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25219 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25220 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25224 bool temp2
= false ;
25225 PyObject
* obj0
= 0 ;
25226 PyObject
* obj1
= 0 ;
25227 char * kwnames
[] = {
25228 (char *) "self",(char *) "tz", NULL
25231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25233 if (!SWIG_IsOK(res1
)) {
25234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25236 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25239 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= SWIG_From_int(static_cast< int >(result
));
25251 if (temp2
) delete arg2
;
25256 if (temp2
) delete arg2
;
25262 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
= 0;
25264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25265 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25266 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25267 wxDateTime::WeekDay result
;
25270 bool temp2
= false ;
25271 PyObject
* obj0
= 0 ;
25272 PyObject
* obj1
= 0 ;
25273 char * kwnames
[] = {
25274 (char *) "self",(char *) "tz", NULL
25277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25279 if (!SWIG_IsOK(res1
)) {
25280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25282 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25285 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= SWIG_From_int(static_cast< int >(result
));
25297 if (temp2
) delete arg2
;
25302 if (temp2
) delete arg2
;
25308 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
= 0;
25310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25311 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25312 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25316 bool temp2
= false ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 char * kwnames
[] = {
25320 (char *) "self",(char *) "tz", NULL
25323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25325 if (!SWIG_IsOK(res1
)) {
25326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25328 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25331 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= SWIG_From_int(static_cast< int >(result
));
25343 if (temp2
) delete arg2
;
25348 if (temp2
) delete arg2
;
25354 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
= 0;
25356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25357 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25358 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25362 bool temp2
= false ;
25363 PyObject
* obj0
= 0 ;
25364 PyObject
* obj1
= 0 ;
25365 char * kwnames
[] = {
25366 (char *) "self",(char *) "tz", NULL
25369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25371 if (!SWIG_IsOK(res1
)) {
25372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25374 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25377 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_From_int(static_cast< int >(result
));
25389 if (temp2
) delete arg2
;
25394 if (temp2
) delete arg2
;
25400 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
= 0;
25402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25403 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25404 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25408 bool temp2
= false ;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 char * kwnames
[] = {
25412 (char *) "self",(char *) "tz", NULL
25415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25420 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25423 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= SWIG_From_int(static_cast< int >(result
));
25435 if (temp2
) delete arg2
;
25440 if (temp2
) delete arg2
;
25446 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
= 0;
25448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25449 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25450 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25454 bool temp2
= false ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char * kwnames
[] = {
25458 (char *) "self",(char *) "tz", NULL
25461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25463 if (!SWIG_IsOK(res1
)) {
25464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25466 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25469 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_From_int(static_cast< int >(result
));
25481 if (temp2
) delete arg2
;
25486 if (temp2
) delete arg2
;
25492 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
= 0;
25494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25495 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25496 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25500 bool temp2
= false ;
25501 PyObject
* obj0
= 0 ;
25502 PyObject
* obj1
= 0 ;
25503 char * kwnames
[] = {
25504 (char *) "self",(char *) "tz", NULL
25507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25509 if (!SWIG_IsOK(res1
)) {
25510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25512 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25515 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 resultobj
= SWIG_From_int(static_cast< int >(result
));
25527 if (temp2
) delete arg2
;
25532 if (temp2
) delete arg2
;
25538 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
= 0;
25540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25541 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25542 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25543 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25549 bool temp3
= false ;
25550 PyObject
* obj0
= 0 ;
25551 PyObject
* obj1
= 0 ;
25552 PyObject
* obj2
= 0 ;
25553 char * kwnames
[] = {
25554 (char *) "self",(char *) "flags",(char *) "tz", NULL
25557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25559 if (!SWIG_IsOK(res1
)) {
25560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25562 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25565 if (!SWIG_IsOK(ecode2
)) {
25566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25568 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25572 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_From_int(static_cast< int >(result
));
25584 if (temp3
) delete arg3
;
25589 if (temp3
) delete arg3
;
25595 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
= 0;
25597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25598 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25599 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25600 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25606 bool temp3
= false ;
25607 PyObject
* obj0
= 0 ;
25608 PyObject
* obj1
= 0 ;
25609 PyObject
* obj2
= 0 ;
25610 char * kwnames
[] = {
25611 (char *) "self",(char *) "flags",(char *) "tz", NULL
25614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25616 if (!SWIG_IsOK(res1
)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25619 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25622 if (!SWIG_IsOK(ecode2
)) {
25623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25625 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25629 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25635 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_From_int(static_cast< int >(result
));
25641 if (temp3
) delete arg3
;
25646 if (temp3
) delete arg3
;
25652 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
= 0;
25654 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25655 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25661 PyObject
* obj0
= 0 ;
25662 PyObject
* obj1
= 0 ;
25663 char * kwnames
[] = {
25664 (char *) "self",(char *) "country", NULL
25667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25669 if (!SWIG_IsOK(res1
)) {
25670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25672 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25675 if (!SWIG_IsOK(ecode2
)) {
25676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25678 arg2
= static_cast< wxDateTime::Country
>(val2
);
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25695 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
= 0;
25697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25698 wxDateTime
*arg2
= 0 ;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 char * kwnames
[] = {
25707 (char *) "self",(char *) "datetime", NULL
25710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25712 if (!SWIG_IsOK(res1
)) {
25713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25715 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25717 if (!SWIG_IsOK(res2
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25723 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25739 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
= 0;
25741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25742 wxDateTime
*arg2
= 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char * kwnames
[] = {
25751 (char *) "self",(char *) "datetime", NULL
25754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25756 if (!SWIG_IsOK(res1
)) {
25757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25759 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25761 if (!SWIG_IsOK(res2
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25767 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25783 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
= 0;
25785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25786 wxDateTime
*arg2
= 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char * kwnames
[] = {
25795 (char *) "self",(char *) "datetime", NULL
25798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25800 if (!SWIG_IsOK(res1
)) {
25801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25803 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25805 if (!SWIG_IsOK(res2
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25811 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25827 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
= 0;
25829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25830 wxDateTime
*arg2
= 0 ;
25831 wxDateTime
*arg3
= 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 PyObject
* obj2
= 0 ;
25842 char * kwnames
[] = {
25843 (char *) "self",(char *) "t1",(char *) "t2", NULL
25846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25848 if (!SWIG_IsOK(res1
)) {
25849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25851 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25853 if (!SWIG_IsOK(res2
)) {
25854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25859 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25860 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25861 if (!SWIG_IsOK(res3
)) {
25862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25867 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25883 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25886 wxDateTime
*arg2
= 0 ;
25887 wxDateTime
*arg3
= 0 ;
25895 PyObject
* obj0
= 0 ;
25896 PyObject
* obj1
= 0 ;
25897 PyObject
* obj2
= 0 ;
25898 char * kwnames
[] = {
25899 (char *) "self",(char *) "t1",(char *) "t2", NULL
25902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25904 if (!SWIG_IsOK(res1
)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25907 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25909 if (!SWIG_IsOK(res2
)) {
25910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25915 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25917 if (!SWIG_IsOK(res3
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25923 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25939 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
= 0;
25941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25942 wxDateTime
*arg2
= 0 ;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj1
= 0 ;
25950 char * kwnames
[] = {
25951 (char *) "self",(char *) "dt", NULL
25954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25956 if (!SWIG_IsOK(res1
)) {
25957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25959 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25961 if (!SWIG_IsOK(res2
)) {
25962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25967 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25983 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
= 0;
25985 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25986 wxDateTime
*arg2
= 0 ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 char * kwnames
[] = {
25995 (char *) "self",(char *) "dt", NULL
25998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26000 if (!SWIG_IsOK(res1
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26003 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26005 if (!SWIG_IsOK(res2
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26011 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26027 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
= 0;
26029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26030 wxDateTime
*arg2
= 0 ;
26031 wxTimeSpan
*arg3
= 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 PyObject
* obj2
= 0 ;
26042 char * kwnames
[] = {
26043 (char *) "self",(char *) "dt",(char *) "ts", NULL
26046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26051 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26053 if (!SWIG_IsOK(res2
)) {
26054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26059 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26060 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26061 if (!SWIG_IsOK(res3
)) {
26062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26067 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26083 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
= 0;
26085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26086 wxTimeSpan
*arg2
= 0 ;
26087 wxDateTime
*result
= 0 ;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 char * kwnames
[] = {
26095 (char *) "self",(char *) "diff", NULL
26098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26100 if (!SWIG_IsOK(res1
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26103 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26105 if (!SWIG_IsOK(res2
)) {
26106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26111 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
26116 result
= (wxDateTime
*) &_result_ref
;
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26128 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
= 0;
26130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26131 wxDateSpan
*arg2
= 0 ;
26132 wxDateTime
*result
= 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char * kwnames
[] = {
26140 (char *) "self",(char *) "diff", NULL
26143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26145 if (!SWIG_IsOK(res1
)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26148 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26150 if (!SWIG_IsOK(res2
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26156 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
26161 result
= (wxDateTime
*) &_result_ref
;
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26173 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26174 PyObject
*resultobj
= 0;
26175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26176 wxTimeSpan
*arg2
= 0 ;
26177 wxDateTime
*result
= 0 ;
26182 PyObject
* obj0
= 0 ;
26183 PyObject
* obj1
= 0 ;
26184 char * kwnames
[] = {
26185 (char *) "self",(char *) "diff", NULL
26188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26190 if (!SWIG_IsOK(res1
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26193 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26195 if (!SWIG_IsOK(res2
)) {
26196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26201 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26206 result
= (wxDateTime
*) &_result_ref
;
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26218 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
= 0;
26220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26221 wxDateSpan
*arg2
= 0 ;
26222 wxDateTime
*result
= 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char * kwnames
[] = {
26230 (char *) "self",(char *) "diff", NULL
26233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26235 if (!SWIG_IsOK(res1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26238 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26240 if (!SWIG_IsOK(res2
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26246 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26251 result
= (wxDateTime
*) &_result_ref
;
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26263 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
= 0;
26265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26266 wxDateTime
*arg2
= 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char * kwnames
[] = {
26275 (char *) "self",(char *) "dt", NULL
26278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26280 if (!SWIG_IsOK(res1
)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26283 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26284 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26285 if (!SWIG_IsOK(res2
)) {
26286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26291 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26305 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26306 PyObject
*resultobj
= 0;
26307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26308 wxTimeSpan
*arg2
= 0 ;
26309 wxDateTime
*result
= 0 ;
26315 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26320 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26321 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26322 if (!SWIG_IsOK(res2
)) {
26323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26328 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26333 result
= (wxDateTime
*) &_result_ref
;
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26345 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26346 PyObject
*resultobj
= 0;
26347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26348 wxDateSpan
*arg2
= 0 ;
26349 wxDateTime
*result
= 0 ;
26355 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26357 if (!SWIG_IsOK(res1
)) {
26358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26360 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26361 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26362 if (!SWIG_IsOK(res2
)) {
26363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26368 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26373 result
= (wxDateTime
*) &_result_ref
;
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26385 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26389 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26394 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26395 _v
= SWIG_CheckState(res
);
26397 if (!_v
) goto check_1
;
26398 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26403 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26407 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26412 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26413 PyObject
*resultobj
= 0;
26414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26415 wxTimeSpan
*arg2
= 0 ;
26416 wxDateTime
*result
= 0 ;
26422 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26427 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26428 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26429 if (!SWIG_IsOK(res2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26435 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26440 result
= (wxDateTime
*) &_result_ref
;
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26452 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26453 PyObject
*resultobj
= 0;
26454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26455 wxDateSpan
*arg2
= 0 ;
26456 wxDateTime
*result
= 0 ;
26462 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26464 if (!SWIG_IsOK(res1
)) {
26465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26467 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26468 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26469 if (!SWIG_IsOK(res2
)) {
26470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26475 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26480 result
= (wxDateTime
*) &_result_ref
;
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26492 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26496 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26501 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26502 _v
= SWIG_CheckState(res
);
26504 if (!_v
) goto check_1
;
26505 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26510 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26514 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26519 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26520 PyObject
*resultobj
= 0;
26521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26522 wxTimeSpan
*arg2
= 0 ;
26529 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26531 if (!SWIG_IsOK(res1
)) {
26532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26534 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26535 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26536 if (!SWIG_IsOK(res2
)) {
26537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26542 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26556 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26557 PyObject
*resultobj
= 0;
26558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26559 wxDateSpan
*arg2
= 0 ;
26566 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26568 if (!SWIG_IsOK(res1
)) {
26569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26571 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26572 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26573 if (!SWIG_IsOK(res2
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26579 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26593 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26597 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26602 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26603 _v
= SWIG_CheckState(res
);
26605 if (!_v
) goto check_1
;
26606 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26611 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26615 Py_INCREF(Py_NotImplemented
);
26616 return Py_NotImplemented
;
26620 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26621 PyObject
*resultobj
= 0;
26622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26623 wxDateTime
*arg2
= 0 ;
26630 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26632 if (!SWIG_IsOK(res1
)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26635 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26636 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26637 if (!SWIG_IsOK(res2
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26643 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26657 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26658 PyObject
*resultobj
= 0;
26659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26660 wxTimeSpan
*arg2
= 0 ;
26667 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26669 if (!SWIG_IsOK(res1
)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26672 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26673 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26674 if (!SWIG_IsOK(res2
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26680 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26694 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26695 PyObject
*resultobj
= 0;
26696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26697 wxDateSpan
*arg2
= 0 ;
26704 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26706 if (!SWIG_IsOK(res1
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26709 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26710 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26711 if (!SWIG_IsOK(res2
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26717 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26731 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26735 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26740 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26741 _v
= SWIG_CheckState(res
);
26743 if (!_v
) goto check_1
;
26744 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26751 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26752 _v
= SWIG_CheckState(res
);
26754 if (!_v
) goto check_2
;
26755 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26760 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26764 Py_INCREF(Py_NotImplemented
);
26765 return Py_NotImplemented
;
26769 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
= 0;
26771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26772 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 char * kwnames
[] = {
26781 (char *) "self",(char *) "other", NULL
26784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26786 if (!SWIG_IsOK(res1
)) {
26787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26789 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26791 if (!SWIG_IsOK(res2
)) {
26792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26794 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26810 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
= 0;
26812 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26813 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 char * kwnames
[] = {
26822 (char *) "self",(char *) "other", NULL
26825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26827 if (!SWIG_IsOK(res1
)) {
26828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26830 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26832 if (!SWIG_IsOK(res2
)) {
26833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26835 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26851 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
= 0;
26853 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26854 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char * kwnames
[] = {
26863 (char *) "self",(char *) "other", NULL
26866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26871 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26873 if (!SWIG_IsOK(res2
)) {
26874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26876 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26892 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
= 0;
26894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26895 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26901 PyObject
* obj0
= 0 ;
26902 PyObject
* obj1
= 0 ;
26903 char * kwnames
[] = {
26904 (char *) "self",(char *) "other", NULL
26907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26912 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26914 if (!SWIG_IsOK(res2
)) {
26915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26917 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26933 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
= 0;
26935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26936 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char * kwnames
[] = {
26945 (char *) "self",(char *) "other", NULL
26948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26953 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26955 if (!SWIG_IsOK(res2
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26958 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26974 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
= 0;
26976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26977 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 char * kwnames
[] = {
26986 (char *) "self",(char *) "other", NULL
26989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26991 if (!SWIG_IsOK(res1
)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26994 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26995 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26996 if (!SWIG_IsOK(res2
)) {
26997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26999 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27015 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
= 0;
27017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27018 wxString
*arg2
= 0 ;
27022 bool temp2
= false ;
27023 PyObject
* obj0
= 0 ;
27024 PyObject
* obj1
= 0 ;
27025 char * kwnames
[] = {
27026 (char *) "self",(char *) "date", NULL
27029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
27034 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27036 arg2
= wxString_in_helper(obj1
);
27037 if (arg2
== NULL
) SWIG_fail
;
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_From_int(static_cast< int >(result
));
27061 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
= 0;
27063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27064 wxString
*arg2
= 0 ;
27065 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
27066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27067 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
27068 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
27072 bool temp2
= false ;
27073 bool temp3
= false ;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 PyObject
* obj2
= 0 ;
27079 PyObject
* obj3
= 0 ;
27080 char * kwnames
[] = {
27081 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
27084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27086 if (!SWIG_IsOK(res1
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
27089 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27091 arg2
= wxString_in_helper(obj1
);
27092 if (arg2
== NULL
) SWIG_fail
;
27097 arg3
= wxString_in_helper(obj2
);
27098 if (arg3
== NULL
) SWIG_fail
;
27103 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27104 if (!SWIG_IsOK(res4
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27110 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
27115 wxPyEndAllowThreads(__tstate
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= SWIG_From_int(static_cast< int >(result
));
27141 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
= 0;
27143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27144 wxString
*arg2
= 0 ;
27148 bool temp2
= false ;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 char * kwnames
[] = {
27152 (char *) "self",(char *) "datetime", NULL
27155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27157 if (!SWIG_IsOK(res1
)) {
27158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27160 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27162 arg2
= wxString_in_helper(obj1
);
27163 if (arg2
== NULL
) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_From_int(static_cast< int >(result
));
27187 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
= 0;
27189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27190 wxString
*arg2
= 0 ;
27194 bool temp2
= false ;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 char * kwnames
[] = {
27198 (char *) "self",(char *) "date", NULL
27201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27203 if (!SWIG_IsOK(res1
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27206 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27208 arg2
= wxString_in_helper(obj1
);
27209 if (arg2
== NULL
) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_From_int(static_cast< int >(result
));
27233 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
= 0;
27235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27236 wxString
*arg2
= 0 ;
27240 bool temp2
= false ;
27241 PyObject
* obj0
= 0 ;
27242 PyObject
* obj1
= 0 ;
27243 char * kwnames
[] = {
27244 (char *) "self",(char *) "time", NULL
27247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27249 if (!SWIG_IsOK(res1
)) {
27250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27252 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27254 arg2
= wxString_in_helper(obj1
);
27255 if (arg2
== NULL
) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27264 resultobj
= SWIG_From_int(static_cast< int >(result
));
27279 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
= 0;
27281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27282 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27283 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27284 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27285 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27289 bool temp2
= false ;
27290 bool temp3
= false ;
27291 PyObject
* obj0
= 0 ;
27292 PyObject
* obj1
= 0 ;
27293 PyObject
* obj2
= 0 ;
27294 char * kwnames
[] = {
27295 (char *) "self",(char *) "format",(char *) "tz", NULL
27298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27303 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27306 arg2
= wxString_in_helper(obj1
);
27307 if (arg2
== NULL
) SWIG_fail
;
27313 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27335 if (temp3
) delete arg3
;
27344 if (temp3
) delete arg3
;
27350 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27351 PyObject
*resultobj
= 0;
27352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27356 PyObject
*swig_obj
[1] ;
27358 if (!args
) SWIG_fail
;
27359 swig_obj
[0] = args
;
27360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27361 if (!SWIG_IsOK(res1
)) {
27362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27364 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27384 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27385 PyObject
*resultobj
= 0;
27386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27390 PyObject
*swig_obj
[1] ;
27392 if (!args
) SWIG_fail
;
27393 swig_obj
[0] = args
;
27394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27398 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27418 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27419 PyObject
*resultobj
= 0;
27420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27424 PyObject
*swig_obj
[1] ;
27426 if (!args
) SWIG_fail
;
27427 swig_obj
[0] = args
;
27428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27429 if (!SWIG_IsOK(res1
)) {
27430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27432 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27452 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27453 PyObject
*resultobj
= 0;
27454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27458 PyObject
*swig_obj
[1] ;
27460 if (!args
) SWIG_fail
;
27461 swig_obj
[0] = args
;
27462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27463 if (!SWIG_IsOK(res1
)) {
27464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27466 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27486 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27489 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27490 return SWIG_Py_Void();
27493 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27494 return SWIG_Python_InitShadowInstance(args
);
27497 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
= 0;
27503 PyObject
* obj0
= 0 ;
27504 char * kwnames
[] = {
27505 (char *) "ms", NULL
27508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27509 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27510 if (!SWIG_IsOK(ecode1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27513 arg1
= static_cast< long >(val1
);
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= wxTimeSpan::Milliseconds(arg1
);
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27527 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 PyObject
*resultobj
= 0;
27531 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 result
= wxTimeSpan::Millisecond();
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27545 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
= 0;
27551 PyObject
* obj0
= 0 ;
27552 char * kwnames
[] = {
27553 (char *) "sec", NULL
27556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27557 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27558 if (!SWIG_IsOK(ecode1
)) {
27559 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27561 arg1
= static_cast< long >(val1
);
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 result
= wxTimeSpan::Seconds(arg1
);
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27575 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27579 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 result
= wxTimeSpan::Second();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27593 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
= 0;
27599 PyObject
* obj0
= 0 ;
27600 char * kwnames
[] = {
27601 (char *) "min", NULL
27604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27605 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27606 if (!SWIG_IsOK(ecode1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27609 arg1
= static_cast< long >(val1
);
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= wxTimeSpan::Minutes(arg1
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27623 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27624 PyObject
*resultobj
= 0;
27627 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 result
= wxTimeSpan::Minute();
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27641 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
= 0;
27647 PyObject
* obj0
= 0 ;
27648 char * kwnames
[] = {
27649 (char *) "hours", NULL
27652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27653 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27654 if (!SWIG_IsOK(ecode1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27657 arg1
= static_cast< long >(val1
);
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 result
= wxTimeSpan::Hours(arg1
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27671 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27672 PyObject
*resultobj
= 0;
27675 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 result
= wxTimeSpan::Hour();
27679 wxPyEndAllowThreads(__tstate
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27682 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27689 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27690 PyObject
*resultobj
= 0;
27695 PyObject
* obj0
= 0 ;
27696 char * kwnames
[] = {
27697 (char *) "days", NULL
27700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27701 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27702 if (!SWIG_IsOK(ecode1
)) {
27703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27705 arg1
= static_cast< long >(val1
);
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= wxTimeSpan::Days(arg1
);
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27719 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27720 PyObject
*resultobj
= 0;
27723 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 result
= wxTimeSpan::Day();
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27737 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
= 0;
27743 PyObject
* obj0
= 0 ;
27744 char * kwnames
[] = {
27745 (char *) "days", NULL
27748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27749 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27750 if (!SWIG_IsOK(ecode1
)) {
27751 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27753 arg1
= static_cast< long >(val1
);
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 result
= wxTimeSpan::Weeks(arg1
);
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27767 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27768 PyObject
*resultobj
= 0;
27771 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 result
= wxTimeSpan::Week();
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27785 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
= 0;
27787 long arg1
= (long) 0 ;
27788 long arg2
= (long) 0 ;
27789 long arg3
= (long) 0 ;
27790 long arg4
= (long) 0 ;
27791 wxTimeSpan
*result
= 0 ;
27800 PyObject
* obj0
= 0 ;
27801 PyObject
* obj1
= 0 ;
27802 PyObject
* obj2
= 0 ;
27803 PyObject
* obj3
= 0 ;
27804 char * kwnames
[] = {
27805 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27810 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27811 if (!SWIG_IsOK(ecode1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27814 arg1
= static_cast< long >(val1
);
27817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27818 if (!SWIG_IsOK(ecode2
)) {
27819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27821 arg2
= static_cast< long >(val2
);
27824 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27825 if (!SWIG_IsOK(ecode3
)) {
27826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27828 arg3
= static_cast< long >(val3
);
27831 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27832 if (!SWIG_IsOK(ecode4
)) {
27833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27835 arg4
= static_cast< long >(val4
);
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27850 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27851 PyObject
*resultobj
= 0;
27852 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27855 PyObject
*swig_obj
[1] ;
27857 if (!args
) SWIG_fail
;
27858 swig_obj
[0] = args
;
27859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27860 if (!SWIG_IsOK(res1
)) {
27861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27863 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 wxPyEndAllowThreads(__tstate
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27871 resultobj
= SWIG_Py_Void();
27878 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
= 0;
27880 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27881 wxTimeSpan
*arg2
= 0 ;
27882 wxTimeSpan
*result
= 0 ;
27887 PyObject
* obj0
= 0 ;
27888 PyObject
* obj1
= 0 ;
27889 char * kwnames
[] = {
27890 (char *) "self",(char *) "diff", NULL
27893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27898 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27900 if (!SWIG_IsOK(res2
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27906 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27911 result
= (wxTimeSpan
*) &_result_ref
;
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27923 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
= 0;
27925 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27926 wxTimeSpan
*arg2
= 0 ;
27927 wxTimeSpan
*result
= 0 ;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 char * kwnames
[] = {
27935 (char *) "self",(char *) "diff", NULL
27938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27940 if (!SWIG_IsOK(res1
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27943 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27945 if (!SWIG_IsOK(res2
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27951 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27956 result
= (wxTimeSpan
*) &_result_ref
;
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27968 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
= 0;
27970 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27972 wxTimeSpan
*result
= 0 ;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 char * kwnames
[] = {
27980 (char *) "self",(char *) "n", NULL
27983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27988 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27990 if (!SWIG_IsOK(ecode2
)) {
27991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27993 arg2
= static_cast< int >(val2
);
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27998 result
= (wxTimeSpan
*) &_result_ref
;
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28010 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28011 PyObject
*resultobj
= 0;
28012 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28013 wxTimeSpan
*result
= 0 ;
28016 PyObject
*swig_obj
[1] ;
28018 if (!args
) SWIG_fail
;
28019 swig_obj
[0] = args
;
28020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28021 if (!SWIG_IsOK(res1
)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28024 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
28029 result
= (wxTimeSpan
*) &_result_ref
;
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28041 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28042 PyObject
*resultobj
= 0;
28043 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28047 PyObject
*swig_obj
[1] ;
28049 if (!args
) SWIG_fail
;
28050 swig_obj
[0] = args
;
28051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28052 if (!SWIG_IsOK(res1
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28055 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 result
= ((wxTimeSpan
const *)arg1
)->Abs();
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28069 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
= 0;
28071 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28072 wxTimeSpan
*arg2
= 0 ;
28073 wxTimeSpan
*result
= 0 ;
28078 PyObject
* obj0
= 0 ;
28079 PyObject
* obj1
= 0 ;
28080 char * kwnames
[] = {
28081 (char *) "self",(char *) "diff", NULL
28084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28086 if (!SWIG_IsOK(res1
)) {
28087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28089 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28091 if (!SWIG_IsOK(res2
)) {
28092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28097 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
28102 result
= (wxTimeSpan
*) &_result_ref
;
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28114 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
= 0;
28116 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28117 wxTimeSpan
*arg2
= 0 ;
28118 wxTimeSpan
*result
= 0 ;
28123 PyObject
* obj0
= 0 ;
28124 PyObject
* obj1
= 0 ;
28125 char * kwnames
[] = {
28126 (char *) "self",(char *) "diff", NULL
28129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28131 if (!SWIG_IsOK(res1
)) {
28132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28134 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28136 if (!SWIG_IsOK(res2
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28142 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
28147 result
= (wxTimeSpan
*) &_result_ref
;
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28159 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
= 0;
28161 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28163 wxTimeSpan
*result
= 0 ;
28168 PyObject
* obj0
= 0 ;
28169 PyObject
* obj1
= 0 ;
28170 char * kwnames
[] = {
28171 (char *) "self",(char *) "n", NULL
28174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28176 if (!SWIG_IsOK(res1
)) {
28177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28179 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28181 if (!SWIG_IsOK(ecode2
)) {
28182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
28184 arg2
= static_cast< int >(val2
);
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
28189 result
= (wxTimeSpan
*) &_result_ref
;
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28201 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28202 PyObject
*resultobj
= 0;
28203 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28204 wxTimeSpan
*result
= 0 ;
28207 PyObject
*swig_obj
[1] ;
28209 if (!args
) SWIG_fail
;
28210 swig_obj
[0] = args
;
28211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28215 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28220 result
= (wxTimeSpan
*) &_result_ref
;
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28232 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
= 0;
28234 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28235 wxTimeSpan
*arg2
= 0 ;
28241 PyObject
* obj0
= 0 ;
28242 PyObject
* obj1
= 0 ;
28243 char * kwnames
[] = {
28244 (char *) "self",(char *) "other", NULL
28247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28249 if (!SWIG_IsOK(res1
)) {
28250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28252 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28254 if (!SWIG_IsOK(res2
)) {
28255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28260 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28264 wxPyEndAllowThreads(__tstate
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28267 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28274 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
= 0;
28276 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28277 wxTimeSpan
*arg2
= 0 ;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 char * kwnames
[] = {
28286 (char *) "self",(char *) "other", NULL
28289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28291 if (!SWIG_IsOK(res1
)) {
28292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28294 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28296 if (!SWIG_IsOK(res2
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28302 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28316 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
= 0;
28318 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 PyObject
* obj1
= 0 ;
28327 char * kwnames
[] = {
28328 (char *) "self",(char *) "n", NULL
28331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28333 if (!SWIG_IsOK(res1
)) {
28334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28336 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28338 if (!SWIG_IsOK(ecode2
)) {
28339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28341 arg2
= static_cast< int >(val2
);
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 result
= wxTimeSpan___mul__(arg1
,arg2
);
28345 wxPyEndAllowThreads(__tstate
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28355 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
= 0;
28357 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28364 PyObject
* obj0
= 0 ;
28365 PyObject
* obj1
= 0 ;
28366 char * kwnames
[] = {
28367 (char *) "self",(char *) "n", NULL
28370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28372 if (!SWIG_IsOK(res1
)) {
28373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28375 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28377 if (!SWIG_IsOK(ecode2
)) {
28378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28380 arg2
= static_cast< int >(val2
);
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28394 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
= 0;
28396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28397 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28403 PyObject
* obj0
= 0 ;
28404 PyObject
* obj1
= 0 ;
28405 char * kwnames
[] = {
28406 (char *) "self",(char *) "other", NULL
28409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28411 if (!SWIG_IsOK(res1
)) {
28412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28414 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28416 if (!SWIG_IsOK(res2
)) {
28417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28419 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28435 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28436 PyObject
*resultobj
= 0;
28437 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28438 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28444 PyObject
* obj0
= 0 ;
28445 PyObject
* obj1
= 0 ;
28446 char * kwnames
[] = {
28447 (char *) "self",(char *) "other", NULL
28450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28455 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28457 if (!SWIG_IsOK(res2
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28460 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28476 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
= 0;
28478 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28479 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28485 PyObject
* obj0
= 0 ;
28486 PyObject
* obj1
= 0 ;
28487 char * kwnames
[] = {
28488 (char *) "self",(char *) "other", NULL
28491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28493 if (!SWIG_IsOK(res1
)) {
28494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28496 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28498 if (!SWIG_IsOK(res2
)) {
28499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28501 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28517 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
= 0;
28519 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28520 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28526 PyObject
* obj0
= 0 ;
28527 PyObject
* obj1
= 0 ;
28528 char * kwnames
[] = {
28529 (char *) "self",(char *) "other", NULL
28532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28534 if (!SWIG_IsOK(res1
)) {
28535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28537 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28539 if (!SWIG_IsOK(res2
)) {
28540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28542 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28558 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
= 0;
28560 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28561 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28567 PyObject
* obj0
= 0 ;
28568 PyObject
* obj1
= 0 ;
28569 char * kwnames
[] = {
28570 (char *) "self",(char *) "other", NULL
28573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28575 if (!SWIG_IsOK(res1
)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28578 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28580 if (!SWIG_IsOK(res2
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28583 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28599 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
= 0;
28601 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28602 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 char * kwnames
[] = {
28611 (char *) "self",(char *) "other", NULL
28614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28616 if (!SWIG_IsOK(res1
)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28619 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28621 if (!SWIG_IsOK(res2
)) {
28622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28624 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= (bool)wxTimeSpan___ne__(arg1
,(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_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28641 PyObject
*resultobj
= 0;
28642 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28646 PyObject
*swig_obj
[1] ;
28648 if (!args
) SWIG_fail
;
28649 swig_obj
[0] = args
;
28650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28651 if (!SWIG_IsOK(res1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28654 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28670 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28671 PyObject
*resultobj
= 0;
28672 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28676 PyObject
*swig_obj
[1] ;
28678 if (!args
) SWIG_fail
;
28679 swig_obj
[0] = args
;
28680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28681 if (!SWIG_IsOK(res1
)) {
28682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28684 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28700 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28701 PyObject
*resultobj
= 0;
28702 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28706 PyObject
*swig_obj
[1] ;
28708 if (!args
) SWIG_fail
;
28709 swig_obj
[0] = args
;
28710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28711 if (!SWIG_IsOK(res1
)) {
28712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28714 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28730 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
= 0;
28732 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28733 wxTimeSpan
*arg2
= 0 ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 char * kwnames
[] = {
28742 (char *) "self",(char *) "ts", NULL
28745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28747 if (!SWIG_IsOK(res1
)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28750 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28752 if (!SWIG_IsOK(res2
)) {
28753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28758 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28774 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
= 0;
28776 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28777 wxTimeSpan
*arg2
= 0 ;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 char * kwnames
[] = {
28786 (char *) "self",(char *) "ts", NULL
28789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28791 if (!SWIG_IsOK(res1
)) {
28792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28794 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28796 if (!SWIG_IsOK(res2
)) {
28797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28802 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28818 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28819 PyObject
*resultobj
= 0;
28820 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28821 wxTimeSpan
*arg2
= 0 ;
28827 PyObject
* obj0
= 0 ;
28828 PyObject
* obj1
= 0 ;
28829 char * kwnames
[] = {
28830 (char *) "self",(char *) "t", NULL
28833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28835 if (!SWIG_IsOK(res1
)) {
28836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28838 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28840 if (!SWIG_IsOK(res2
)) {
28841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28846 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28862 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28863 PyObject
*resultobj
= 0;
28864 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28868 PyObject
*swig_obj
[1] ;
28870 if (!args
) SWIG_fail
;
28871 swig_obj
[0] = args
;
28872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28873 if (!SWIG_IsOK(res1
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28876 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_From_int(static_cast< int >(result
));
28890 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28891 PyObject
*resultobj
= 0;
28892 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28896 PyObject
*swig_obj
[1] ;
28898 if (!args
) SWIG_fail
;
28899 swig_obj
[0] = args
;
28900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28901 if (!SWIG_IsOK(res1
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28904 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_From_int(static_cast< int >(result
));
28918 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28919 PyObject
*resultobj
= 0;
28920 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28924 PyObject
*swig_obj
[1] ;
28926 if (!args
) SWIG_fail
;
28927 swig_obj
[0] = args
;
28928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28932 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= SWIG_From_int(static_cast< int >(result
));
28946 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28947 PyObject
*resultobj
= 0;
28948 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28952 PyObject
*swig_obj
[1] ;
28954 if (!args
) SWIG_fail
;
28955 swig_obj
[0] = args
;
28956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28957 if (!SWIG_IsOK(res1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28960 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_From_int(static_cast< int >(result
));
28974 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28975 PyObject
*resultobj
= 0;
28976 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28980 PyObject
*swig_obj
[1] ;
28982 if (!args
) SWIG_fail
;
28983 swig_obj
[0] = args
;
28984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28988 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28996 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28997 hi
= PyLong_FromLong( (&result
)->GetHi() );
28998 lo
= PyLong_FromLong( (&result
)->GetLo() );
28999 shifter
= PyLong_FromLong(32);
29000 shifted
= PyNumber_Lshift(hi
, shifter
);
29001 resultobj
= PyNumber_Or(shifted
, lo
);
29004 Py_DECREF(shifter
);
29005 Py_DECREF(shifted
);
29013 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29014 PyObject
*resultobj
= 0;
29015 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29019 PyObject
*swig_obj
[1] ;
29021 if (!args
) SWIG_fail
;
29022 swig_obj
[0] = args
;
29023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29027 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29035 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29036 hi
= PyLong_FromLong( (&result
)->GetHi() );
29037 lo
= PyLong_FromLong( (&result
)->GetLo() );
29038 shifter
= PyLong_FromLong(32);
29039 shifted
= PyNumber_Lshift(hi
, shifter
);
29040 resultobj
= PyNumber_Or(shifted
, lo
);
29043 Py_DECREF(shifter
);
29044 Py_DECREF(shifted
);
29052 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
= 0;
29054 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29055 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
29056 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
29060 bool temp2
= false ;
29061 PyObject
* obj0
= 0 ;
29062 PyObject
* obj1
= 0 ;
29063 char * kwnames
[] = {
29064 (char *) "self",(char *) "format", NULL
29067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29069 if (!SWIG_IsOK(res1
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29072 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29075 arg2
= wxString_in_helper(obj1
);
29076 if (arg2
== NULL
) SWIG_fail
;
29081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29082 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29107 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29110 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
29111 return SWIG_Py_Void();
29114 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29115 return SWIG_Python_InitShadowInstance(args
);
29118 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
= 0;
29120 int arg1
= (int) 0 ;
29121 int arg2
= (int) 0 ;
29122 int arg3
= (int) 0 ;
29123 int arg4
= (int) 0 ;
29124 wxDateSpan
*result
= 0 ;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 PyObject
* obj2
= 0 ;
29136 PyObject
* obj3
= 0 ;
29137 char * kwnames
[] = {
29138 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
29141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29144 if (!SWIG_IsOK(ecode1
)) {
29145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
29147 arg1
= static_cast< int >(val1
);
29150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29151 if (!SWIG_IsOK(ecode2
)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
29154 arg2
= static_cast< int >(val2
);
29157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29158 if (!SWIG_IsOK(ecode3
)) {
29159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
29161 arg3
= static_cast< int >(val3
);
29164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29165 if (!SWIG_IsOK(ecode4
)) {
29166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
29168 arg4
= static_cast< int >(val4
);
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
29183 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29184 PyObject
*resultobj
= 0;
29185 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29188 PyObject
*swig_obj
[1] ;
29190 if (!args
) SWIG_fail
;
29191 swig_obj
[0] = args
;
29192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29193 if (!SWIG_IsOK(res1
)) {
29194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29196 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= SWIG_Py_Void();
29211 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
= 0;
29217 PyObject
* obj0
= 0 ;
29218 char * kwnames
[] = {
29219 (char *) "days", NULL
29222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29224 if (!SWIG_IsOK(ecode1
)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29227 arg1
= static_cast< int >(val1
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= wxDateSpan::Days(arg1
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29241 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29242 PyObject
*resultobj
= 0;
29245 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 result
= wxDateSpan::Day();
29249 wxPyEndAllowThreads(__tstate
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29259 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29260 PyObject
*resultobj
= 0;
29265 PyObject
* obj0
= 0 ;
29266 char * kwnames
[] = {
29267 (char *) "weeks", NULL
29270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29272 if (!SWIG_IsOK(ecode1
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29275 arg1
= static_cast< int >(val1
);
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= wxDateSpan::Weeks(arg1
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29289 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29290 PyObject
*resultobj
= 0;
29293 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= wxDateSpan::Week();
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29307 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29313 PyObject
* obj0
= 0 ;
29314 char * kwnames
[] = {
29315 (char *) "mon", NULL
29318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29320 if (!SWIG_IsOK(ecode1
)) {
29321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29323 arg1
= static_cast< int >(val1
);
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 result
= wxDateSpan::Months(arg1
);
29327 wxPyEndAllowThreads(__tstate
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29337 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29338 PyObject
*resultobj
= 0;
29341 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= wxDateSpan::Month();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29355 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29361 PyObject
* obj0
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "years", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29368 if (!SWIG_IsOK(ecode1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29371 arg1
= static_cast< int >(val1
);
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 result
= wxDateSpan::Years(arg1
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29385 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29386 PyObject
*resultobj
= 0;
29389 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= wxDateSpan::Year();
29393 wxPyEndAllowThreads(__tstate
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29396 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29403 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
= 0;
29405 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29407 wxDateSpan
*result
= 0 ;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 char * kwnames
[] = {
29415 (char *) "self",(char *) "n", NULL
29418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29420 if (!SWIG_IsOK(res1
)) {
29421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29423 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29425 if (!SWIG_IsOK(ecode2
)) {
29426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29428 arg2
= static_cast< int >(val2
);
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29433 result
= (wxDateSpan
*) &_result_ref
;
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29445 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
= 0;
29447 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29449 wxDateSpan
*result
= 0 ;
29454 PyObject
* obj0
= 0 ;
29455 PyObject
* obj1
= 0 ;
29456 char * kwnames
[] = {
29457 (char *) "self",(char *) "n", NULL
29460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29462 if (!SWIG_IsOK(res1
)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29465 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29467 if (!SWIG_IsOK(ecode2
)) {
29468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29470 arg2
= static_cast< int >(val2
);
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29475 result
= (wxDateSpan
*) &_result_ref
;
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29487 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
= 0;
29489 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29491 wxDateSpan
*result
= 0 ;
29496 PyObject
* obj0
= 0 ;
29497 PyObject
* obj1
= 0 ;
29498 char * kwnames
[] = {
29499 (char *) "self",(char *) "n", NULL
29502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29504 if (!SWIG_IsOK(res1
)) {
29505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29507 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29509 if (!SWIG_IsOK(ecode2
)) {
29510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29512 arg2
= static_cast< int >(val2
);
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29517 result
= (wxDateSpan
*) &_result_ref
;
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29529 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29530 PyObject
*resultobj
= 0;
29531 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29533 wxDateSpan
*result
= 0 ;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 char * kwnames
[] = {
29541 (char *) "self",(char *) "n", NULL
29544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29546 if (!SWIG_IsOK(res1
)) {
29547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29549 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29551 if (!SWIG_IsOK(ecode2
)) {
29552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29554 arg2
= static_cast< int >(val2
);
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29559 result
= (wxDateSpan
*) &_result_ref
;
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29571 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29572 PyObject
*resultobj
= 0;
29573 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29577 PyObject
*swig_obj
[1] ;
29579 if (!args
) SWIG_fail
;
29580 swig_obj
[0] = args
;
29581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29585 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_From_int(static_cast< int >(result
));
29599 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29600 PyObject
*resultobj
= 0;
29601 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29605 PyObject
*swig_obj
[1] ;
29607 if (!args
) SWIG_fail
;
29608 swig_obj
[0] = args
;
29609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29613 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_From_int(static_cast< int >(result
));
29627 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29633 PyObject
*swig_obj
[1] ;
29635 if (!args
) SWIG_fail
;
29636 swig_obj
[0] = args
;
29637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29638 if (!SWIG_IsOK(res1
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29641 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= SWIG_From_int(static_cast< int >(result
));
29655 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29656 PyObject
*resultobj
= 0;
29657 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29661 PyObject
*swig_obj
[1] ;
29663 if (!args
) SWIG_fail
;
29664 swig_obj
[0] = args
;
29665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29666 if (!SWIG_IsOK(res1
)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29669 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= SWIG_From_int(static_cast< int >(result
));
29683 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29684 PyObject
*resultobj
= 0;
29685 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29689 PyObject
*swig_obj
[1] ;
29691 if (!args
) SWIG_fail
;
29692 swig_obj
[0] = args
;
29693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29694 if (!SWIG_IsOK(res1
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29697 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= SWIG_From_int(static_cast< int >(result
));
29711 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
= 0;
29713 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29714 wxDateSpan
*arg2
= 0 ;
29715 wxDateSpan
*result
= 0 ;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 char * kwnames
[] = {
29723 (char *) "self",(char *) "other", NULL
29726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29728 if (!SWIG_IsOK(res1
)) {
29729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29731 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29733 if (!SWIG_IsOK(res2
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29739 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29744 result
= (wxDateSpan
*) &_result_ref
;
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29756 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
= 0;
29758 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29759 wxDateSpan
*arg2
= 0 ;
29760 wxDateSpan
*result
= 0 ;
29765 PyObject
* obj0
= 0 ;
29766 PyObject
* obj1
= 0 ;
29767 char * kwnames
[] = {
29768 (char *) "self",(char *) "other", NULL
29771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29773 if (!SWIG_IsOK(res1
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29776 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29777 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29778 if (!SWIG_IsOK(res2
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29784 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29789 result
= (wxDateSpan
*) &_result_ref
;
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29801 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29802 PyObject
*resultobj
= 0;
29803 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29804 wxDateSpan
*result
= 0 ;
29807 PyObject
*swig_obj
[1] ;
29809 if (!args
) SWIG_fail
;
29810 swig_obj
[0] = args
;
29811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29812 if (!SWIG_IsOK(res1
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29815 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29820 result
= (wxDateSpan
*) &_result_ref
;
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29832 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
= 0;
29834 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29836 wxDateSpan
*result
= 0 ;
29841 PyObject
* obj0
= 0 ;
29842 PyObject
* obj1
= 0 ;
29843 char * kwnames
[] = {
29844 (char *) "self",(char *) "factor", NULL
29847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29849 if (!SWIG_IsOK(res1
)) {
29850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29852 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29854 if (!SWIG_IsOK(ecode2
)) {
29855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29857 arg2
= static_cast< int >(val2
);
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29861 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29862 result
= (wxDateSpan
*) &_result_ref
;
29864 wxPyEndAllowThreads(__tstate
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29874 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
= 0;
29876 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29877 wxDateSpan
*arg2
= 0 ;
29878 wxDateSpan
*result
= 0 ;
29883 PyObject
* obj0
= 0 ;
29884 PyObject
* obj1
= 0 ;
29885 char * kwnames
[] = {
29886 (char *) "self",(char *) "other", NULL
29889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29891 if (!SWIG_IsOK(res1
)) {
29892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29894 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29896 if (!SWIG_IsOK(res2
)) {
29897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29902 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29907 result
= (wxDateSpan
*) &_result_ref
;
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29919 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
= 0;
29921 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29922 wxDateSpan
*arg2
= 0 ;
29923 wxDateSpan
*result
= 0 ;
29928 PyObject
* obj0
= 0 ;
29929 PyObject
* obj1
= 0 ;
29930 char * kwnames
[] = {
29931 (char *) "self",(char *) "other", NULL
29934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29936 if (!SWIG_IsOK(res1
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29939 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29941 if (!SWIG_IsOK(res2
)) {
29942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29947 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29952 result
= (wxDateSpan
*) &_result_ref
;
29954 wxPyEndAllowThreads(__tstate
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29964 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29965 PyObject
*resultobj
= 0;
29966 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29967 wxDateSpan
*result
= 0 ;
29970 PyObject
*swig_obj
[1] ;
29972 if (!args
) SWIG_fail
;
29973 swig_obj
[0] = args
;
29974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29978 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29983 result
= (wxDateSpan
*) &_result_ref
;
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29995 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
= 0;
29997 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29999 wxDateSpan
*result
= 0 ;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 char * kwnames
[] = {
30007 (char *) "self",(char *) "factor", NULL
30010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30015 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30017 if (!SWIG_IsOK(ecode2
)) {
30018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
30020 arg2
= static_cast< int >(val2
);
30022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30024 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
30025 result
= (wxDateSpan
*) &_result_ref
;
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30037 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
= 0;
30039 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30040 wxDateSpan
*arg2
= 0 ;
30046 PyObject
* obj0
= 0 ;
30047 PyObject
* obj1
= 0 ;
30048 char * kwnames
[] = {
30049 (char *) "self",(char *) "other", NULL
30052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30054 if (!SWIG_IsOK(res1
)) {
30055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30057 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30059 if (!SWIG_IsOK(res2
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30065 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30079 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
= 0;
30081 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30082 wxDateSpan
*arg2
= 0 ;
30088 PyObject
* obj0
= 0 ;
30089 PyObject
* obj1
= 0 ;
30090 char * kwnames
[] = {
30091 (char *) "self",(char *) "other", NULL
30094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30096 if (!SWIG_IsOK(res1
)) {
30097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30099 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30101 if (!SWIG_IsOK(res2
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30107 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30121 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
= 0;
30123 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 char * kwnames
[] = {
30133 (char *) "self",(char *) "n", NULL
30136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30138 if (!SWIG_IsOK(res1
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30141 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30143 if (!SWIG_IsOK(ecode2
)) {
30144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
30146 arg2
= static_cast< int >(val2
);
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 result
= wxDateSpan___mul__(arg1
,arg2
);
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30153 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30160 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30161 PyObject
*resultobj
= 0;
30162 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 char * kwnames
[] = {
30172 (char *) "self",(char *) "n", NULL
30175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30177 if (!SWIG_IsOK(res1
)) {
30178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30180 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30182 if (!SWIG_IsOK(ecode2
)) {
30183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
30185 arg2
= static_cast< int >(val2
);
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= wxDateSpan___rmul__(arg1
,arg2
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30199 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
= 0;
30201 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30202 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 char * kwnames
[] = {
30211 (char *) "self",(char *) "other", NULL
30214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30216 if (!SWIG_IsOK(res1
)) {
30217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30219 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30221 if (!SWIG_IsOK(res2
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30224 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30240 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
= 0;
30242 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30243 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 char * kwnames
[] = {
30252 (char *) "self",(char *) "other", NULL
30255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30257 if (!SWIG_IsOK(res1
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30260 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30262 if (!SWIG_IsOK(res2
)) {
30263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30265 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30281 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30284 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30285 return SWIG_Py_Void();
30288 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30289 return SWIG_Python_InitShadowInstance(args
);
30292 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30293 PyObject
*resultobj
= 0;
30296 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 result
= (long)wxGetLocalTime();
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_From_long(static_cast< long >(result
));
30310 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30311 PyObject
*resultobj
= 0;
30314 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30317 result
= (long)wxGetUTCTime();
30318 wxPyEndAllowThreads(__tstate
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30321 resultobj
= SWIG_From_long(static_cast< long >(result
));
30328 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30329 PyObject
*resultobj
= 0;
30332 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 result
= (long)wxGetCurrentTime();
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= SWIG_From_long(static_cast< long >(result
));
30346 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30347 PyObject
*resultobj
= 0;
30350 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= wxGetLocalTimeMillis();
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30358 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30359 hi
= PyLong_FromLong( (&result
)->GetHi() );
30360 lo
= PyLong_FromLong( (&result
)->GetLo() );
30361 shifter
= PyLong_FromLong(32);
30362 shifted
= PyNumber_Lshift(hi
, shifter
);
30363 resultobj
= PyNumber_Or(shifted
, lo
);
30366 Py_DECREF(shifter
);
30367 Py_DECREF(shifted
);
30375 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30376 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30381 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30382 PyObject
*pyobj
= 0;
30384 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30389 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30390 PyObject
*resultobj
= 0;
30391 wxDataFormatId arg1
;
30392 wxDataFormat
*result
= 0 ;
30395 PyObject
* obj0
= 0 ;
30396 char * kwnames
[] = {
30397 (char *) "type", NULL
30400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30402 if (!SWIG_IsOK(ecode1
)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30405 arg1
= static_cast< wxDataFormatId
>(val1
);
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30408 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30419 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
= 0;
30421 wxString
*arg1
= 0 ;
30422 wxDataFormat
*result
= 0 ;
30423 bool temp1
= false ;
30424 PyObject
* obj0
= 0 ;
30425 char * kwnames
[] = {
30426 (char *) "format", NULL
30429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30431 arg1
= wxString_in_helper(obj0
);
30432 if (arg1
== NULL
) SWIG_fail
;
30436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30437 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30456 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30457 PyObject
*resultobj
= 0;
30458 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30461 PyObject
*swig_obj
[1] ;
30463 if (!args
) SWIG_fail
;
30464 swig_obj
[0] = args
;
30465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30469 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 resultobj
= SWIG_Py_Void();
30484 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30485 PyObject
*resultobj
= 0;
30486 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30487 wxDataFormatId arg2
;
30494 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30499 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30500 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30501 if (!SWIG_IsOK(ecode2
)) {
30502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30504 arg2
= static_cast< wxDataFormatId
>(val2
);
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30520 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30521 PyObject
*resultobj
= 0;
30522 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30523 wxDataFormatId arg2
;
30530 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30532 if (!SWIG_IsOK(res1
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30535 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30536 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30537 if (!SWIG_IsOK(ecode2
)) {
30538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30540 arg2
= static_cast< wxDataFormatId
>(val2
);
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30556 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30557 PyObject
*resultobj
= 0;
30558 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30559 wxDataFormat
*arg2
= 0 ;
30566 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30568 if (!SWIG_IsOK(res1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30571 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30572 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30573 if (!SWIG_IsOK(res2
)) {
30574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30579 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30595 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30599 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30604 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30605 _v
= SWIG_CheckState(res
);
30607 if (!_v
) goto check_1
;
30608 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30613 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30617 Py_INCREF(Py_NotImplemented
);
30618 return Py_NotImplemented
;
30622 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30623 PyObject
*resultobj
= 0;
30624 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30625 wxDataFormat
*arg2
= 0 ;
30632 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30634 if (!SWIG_IsOK(res1
)) {
30635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30637 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30638 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30639 if (!SWIG_IsOK(res2
)) {
30640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30645 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30649 wxPyEndAllowThreads(__tstate
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30661 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30665 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30670 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30671 _v
= SWIG_CheckState(res
);
30673 if (!_v
) goto check_1
;
30674 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30679 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30683 Py_INCREF(Py_NotImplemented
);
30684 return Py_NotImplemented
;
30688 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
= 0;
30690 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30691 wxDataFormatId arg2
;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 char * kwnames
[] = {
30699 (char *) "self",(char *) "format", NULL
30702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30704 if (!SWIG_IsOK(res1
)) {
30705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30707 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30709 if (!SWIG_IsOK(ecode2
)) {
30710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30712 arg2
= static_cast< wxDataFormatId
>(val2
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 (arg1
)->SetType(arg2
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_Py_Void();
30726 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30727 PyObject
*resultobj
= 0;
30728 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30729 wxDataFormatId result
;
30732 PyObject
*swig_obj
[1] ;
30734 if (!args
) SWIG_fail
;
30735 swig_obj
[0] = args
;
30736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30740 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= SWIG_From_int(static_cast< int >(result
));
30754 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30755 PyObject
*resultobj
= 0;
30756 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30760 PyObject
*swig_obj
[1] ;
30762 if (!args
) SWIG_fail
;
30763 swig_obj
[0] = args
;
30764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30768 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= ((wxDataFormat
const *)arg1
)->GetId();
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30788 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
= 0;
30790 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30791 wxString
*arg2
= 0 ;
30794 bool temp2
= false ;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 char * kwnames
[] = {
30798 (char *) "self",(char *) "format", NULL
30801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30803 if (!SWIG_IsOK(res1
)) {
30804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30806 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30808 arg2
= wxString_in_helper(obj1
);
30809 if (arg2
== NULL
) SWIG_fail
;
30813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 (arg1
)->SetId((wxString
const &)*arg2
);
30815 wxPyEndAllowThreads(__tstate
);
30816 if (PyErr_Occurred()) SWIG_fail
;
30818 resultobj
= SWIG_Py_Void();
30833 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30836 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30837 return SWIG_Py_Void();
30840 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30841 return SWIG_Python_InitShadowInstance(args
);
30844 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30845 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30850 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30851 PyObject
*pyobj
= 0;
30853 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30858 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30859 PyObject
*resultobj
= 0;
30860 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30863 PyObject
*swig_obj
[1] ;
30865 if (!args
) SWIG_fail
;
30866 swig_obj
[0] = args
;
30867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30868 if (!SWIG_IsOK(res1
)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30871 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 wxPyEndAllowThreads(__tstate
);
30877 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= SWIG_Py_Void();
30886 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
= 0;
30888 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30889 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30890 SwigValueWrapper
<wxDataFormat
> result
;
30895 PyObject
* obj0
= 0 ;
30896 PyObject
* obj1
= 0 ;
30897 char * kwnames
[] = {
30898 (char *) "self",(char *) "dir", NULL
30901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30903 if (!SWIG_IsOK(res1
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30906 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30909 if (!SWIG_IsOK(ecode2
)) {
30910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30912 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30927 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
= 0;
30929 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30930 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30936 PyObject
* obj0
= 0 ;
30937 PyObject
* obj1
= 0 ;
30938 char * kwnames
[] = {
30939 (char *) "self",(char *) "dir", NULL
30942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30944 if (!SWIG_IsOK(res1
)) {
30945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30947 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30950 if (!SWIG_IsOK(ecode2
)) {
30951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30953 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30957 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30958 wxPyEndAllowThreads(__tstate
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30961 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30968 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
= 0;
30970 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30971 wxDataFormat
*arg2
= 0 ;
30972 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30980 PyObject
* obj0
= 0 ;
30981 PyObject
* obj1
= 0 ;
30982 PyObject
* obj2
= 0 ;
30983 char * kwnames
[] = {
30984 (char *) "self",(char *) "format",(char *) "dir", NULL
30987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",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_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30992 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30994 if (!SWIG_IsOK(res2
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31000 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31003 if (!SWIG_IsOK(ecode3
)) {
31004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
31006 arg3
= static_cast< wxDataObject::Direction
>(val3
);
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31023 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
= 0;
31025 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31026 wxDataFormat
*arg2
= 0 ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 char * kwnames
[] = {
31035 (char *) "self",(char *) "format", NULL
31038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31040 if (!SWIG_IsOK(res1
)) {
31041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31043 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31045 if (!SWIG_IsOK(res2
)) {
31046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31051 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31054 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31065 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
= 0;
31067 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31068 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31069 PyObject
*result
= 0 ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 char * kwnames
[] = {
31077 (char *) "self",(char *) "dir", NULL
31080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31082 if (!SWIG_IsOK(res1
)) {
31083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
31085 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31088 if (!SWIG_IsOK(ecode2
)) {
31089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31091 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= result
;
31106 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
= 0;
31108 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31109 wxDataFormat
*arg2
= 0 ;
31110 PyObject
*result
= 0 ;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 char * kwnames
[] = {
31118 (char *) "self",(char *) "format", NULL
31121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31123 if (!SWIG_IsOK(res1
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
31126 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31128 if (!SWIG_IsOK(res2
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31134 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= result
;
31148 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
= 0;
31150 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31151 wxDataFormat
*arg2
= 0 ;
31152 PyObject
*arg3
= (PyObject
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 PyObject
* obj2
= 0 ;
31161 char * kwnames
[] = {
31162 (char *) "self",(char *) "format",(char *) "data", NULL
31165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31167 if (!SWIG_IsOK(res1
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
31170 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31172 if (!SWIG_IsOK(res2
)) {
31173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31178 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31195 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31198 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31199 return SWIG_Py_Void();
31202 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31203 PyObject
*resultobj
= 0;
31204 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31205 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31206 wxDataObjectSimple
*result
= 0 ;
31209 PyObject
* obj0
= 0 ;
31210 char * kwnames
[] = {
31211 (char *) "format", NULL
31214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31216 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31217 if (!SWIG_IsOK(res1
)) {
31218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31223 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31238 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31239 PyObject
*resultobj
= 0;
31240 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31241 wxDataFormat
*result
= 0 ;
31244 PyObject
*swig_obj
[1] ;
31246 if (!args
) SWIG_fail
;
31247 swig_obj
[0] = args
;
31248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31249 if (!SWIG_IsOK(res1
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31252 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31257 result
= (wxDataFormat
*) &_result_ref
;
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31269 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
= 0;
31271 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31272 wxDataFormat
*arg2
= 0 ;
31277 PyObject
* obj0
= 0 ;
31278 PyObject
* obj1
= 0 ;
31279 char * kwnames
[] = {
31280 (char *) "self",(char *) "format", NULL
31283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31285 if (!SWIG_IsOK(res1
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31288 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31290 if (!SWIG_IsOK(res2
)) {
31291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31296 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= SWIG_Py_Void();
31310 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31311 PyObject
*resultobj
= 0;
31312 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31316 PyObject
*swig_obj
[1] ;
31318 if (!args
) SWIG_fail
;
31319 swig_obj
[0] = args
;
31320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31321 if (!SWIG_IsOK(res1
)) {
31322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31324 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31338 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31339 PyObject
*resultobj
= 0;
31340 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31341 PyObject
*result
= 0 ;
31344 PyObject
*swig_obj
[1] ;
31346 if (!args
) SWIG_fail
;
31347 swig_obj
[0] = args
;
31348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31349 if (!SWIG_IsOK(res1
)) {
31350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31352 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31355 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 resultobj
= result
;
31366 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
= 0;
31368 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31369 PyObject
*arg2
= (PyObject
*) 0 ;
31373 PyObject
* obj0
= 0 ;
31374 PyObject
* obj1
= 0 ;
31375 char * kwnames
[] = {
31376 (char *) "self",(char *) "data", NULL
31379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31381 if (!SWIG_IsOK(res1
)) {
31382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31384 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31389 wxPyEndAllowThreads(__tstate
);
31390 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31401 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31404 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31405 return SWIG_Py_Void();
31408 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31409 return SWIG_Python_InitShadowInstance(args
);
31412 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31413 PyObject
*resultobj
= 0;
31414 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31415 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31416 wxPyDataObjectSimple
*result
= 0 ;
31419 PyObject
* obj0
= 0 ;
31420 char * kwnames
[] = {
31421 (char *) "format", NULL
31424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31426 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31427 if (!SWIG_IsOK(res1
)) {
31428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31433 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31448 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31449 PyObject
*resultobj
= 0;
31450 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31451 PyObject
*arg2
= (PyObject
*) 0 ;
31452 PyObject
*arg3
= (PyObject
*) 0 ;
31455 PyObject
* obj0
= 0 ;
31456 PyObject
* obj1
= 0 ;
31457 PyObject
* obj2
= 0 ;
31458 char * kwnames
[] = {
31459 (char *) "self",(char *) "self",(char *) "_class", NULL
31462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31464 if (!SWIG_IsOK(res1
)) {
31465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31467 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= SWIG_Py_Void();
31483 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31486 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31487 return SWIG_Py_Void();
31490 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31491 return SWIG_Python_InitShadowInstance(args
);
31494 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31495 PyObject
*resultobj
= 0;
31496 wxDataObjectComposite
*result
= 0 ;
31498 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31512 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
= 0;
31514 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31515 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31516 bool arg3
= (bool) false ;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 PyObject
* obj2
= 0 ;
31525 char * kwnames
[] = {
31526 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31531 if (!SWIG_IsOK(res1
)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31534 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31535 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31536 if (!SWIG_IsOK(res2
)) {
31537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31540 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31541 if (!SWIG_IsOK(ecode3
)) {
31542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31544 arg3
= static_cast< bool >(val3
);
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 (arg1
)->Add(arg2
,arg3
);
31549 wxPyEndAllowThreads(__tstate
);
31550 if (PyErr_Occurred()) SWIG_fail
;
31552 resultobj
= SWIG_Py_Void();
31559 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31560 PyObject
*resultobj
= 0;
31561 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31562 SwigValueWrapper
<wxDataFormat
> result
;
31565 PyObject
*swig_obj
[1] ;
31567 if (!args
) SWIG_fail
;
31568 swig_obj
[0] = args
;
31569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31570 if (!SWIG_IsOK(res1
)) {
31571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31573 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31587 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31590 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31591 return SWIG_Py_Void();
31594 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31595 return SWIG_Python_InitShadowInstance(args
);
31598 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
= 0;
31600 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31601 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31602 wxTextDataObject
*result
= 0 ;
31603 bool temp1
= false ;
31604 PyObject
* obj0
= 0 ;
31605 char * kwnames
[] = {
31606 (char *) "text", NULL
31609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31612 arg1
= wxString_in_helper(obj0
);
31613 if (arg1
== NULL
) SWIG_fail
;
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31638 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31639 PyObject
*resultobj
= 0;
31640 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31644 PyObject
*swig_obj
[1] ;
31646 if (!args
) SWIG_fail
;
31647 swig_obj
[0] = args
;
31648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31649 if (!SWIG_IsOK(res1
)) {
31650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31652 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 result
= (size_t)(arg1
)->GetTextLength();
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31666 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31667 PyObject
*resultobj
= 0;
31668 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31672 PyObject
*swig_obj
[1] ;
31674 if (!args
) SWIG_fail
;
31675 swig_obj
[0] = args
;
31676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31677 if (!SWIG_IsOK(res1
)) {
31678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31680 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 result
= (arg1
)->GetText();
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31700 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31701 PyObject
*resultobj
= 0;
31702 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31703 wxString
*arg2
= 0 ;
31706 bool temp2
= false ;
31707 PyObject
* obj0
= 0 ;
31708 PyObject
* obj1
= 0 ;
31709 char * kwnames
[] = {
31710 (char *) "self",(char *) "text", NULL
31713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31715 if (!SWIG_IsOK(res1
)) {
31716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31718 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31720 arg2
= wxString_in_helper(obj1
);
31721 if (arg2
== NULL
) SWIG_fail
;
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 (arg1
)->SetText((wxString
const &)*arg2
);
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= SWIG_Py_Void();
31745 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31748 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31749 return SWIG_Py_Void();
31752 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31753 return SWIG_Python_InitShadowInstance(args
);
31756 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31757 PyObject
*resultobj
= 0;
31758 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31759 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31760 wxPyTextDataObject
*result
= 0 ;
31761 bool temp1
= false ;
31762 PyObject
* obj0
= 0 ;
31763 char * kwnames
[] = {
31764 (char *) "text", NULL
31767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31770 arg1
= wxString_in_helper(obj0
);
31771 if (arg1
== NULL
) SWIG_fail
;
31776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31796 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31797 PyObject
*resultobj
= 0;
31798 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31799 PyObject
*arg2
= (PyObject
*) 0 ;
31800 PyObject
*arg3
= (PyObject
*) 0 ;
31803 PyObject
* obj0
= 0 ;
31804 PyObject
* obj1
= 0 ;
31805 PyObject
* obj2
= 0 ;
31806 char * kwnames
[] = {
31807 (char *) "self",(char *) "self",(char *) "_class", NULL
31810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31812 if (!SWIG_IsOK(res1
)) {
31813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31815 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31820 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31824 resultobj
= SWIG_Py_Void();
31831 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31834 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31835 return SWIG_Py_Void();
31838 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31839 return SWIG_Python_InitShadowInstance(args
);
31842 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
= 0;
31844 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31845 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31846 wxBitmapDataObject
*result
= 0 ;
31849 PyObject
* obj0
= 0 ;
31850 char * kwnames
[] = {
31851 (char *) "bitmap", NULL
31854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31856 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31857 if (!SWIG_IsOK(res1
)) {
31858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31863 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31868 wxPyEndAllowThreads(__tstate
);
31869 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31878 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31879 PyObject
*resultobj
= 0;
31880 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31884 PyObject
*swig_obj
[1] ;
31886 if (!args
) SWIG_fail
;
31887 swig_obj
[0] = args
;
31888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31889 if (!SWIG_IsOK(res1
)) {
31890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31892 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31896 wxPyEndAllowThreads(__tstate
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31899 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31906 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31907 PyObject
*resultobj
= 0;
31908 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31909 wxBitmap
*arg2
= 0 ;
31914 PyObject
* obj0
= 0 ;
31915 PyObject
* obj1
= 0 ;
31916 char * kwnames
[] = {
31917 (char *) "self",(char *) "bitmap", NULL
31920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31922 if (!SWIG_IsOK(res1
)) {
31923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31925 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31927 if (!SWIG_IsOK(res2
)) {
31928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31933 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31940 resultobj
= SWIG_Py_Void();
31947 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31950 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31951 return SWIG_Py_Void();
31954 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31955 return SWIG_Python_InitShadowInstance(args
);
31958 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
= 0;
31960 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31961 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31962 wxPyBitmapDataObject
*result
= 0 ;
31965 PyObject
* obj0
= 0 ;
31966 char * kwnames
[] = {
31967 (char *) "bitmap", NULL
31970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31972 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31973 if (!SWIG_IsOK(res1
)) {
31974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31979 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31994 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
= 0;
31996 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31997 PyObject
*arg2
= (PyObject
*) 0 ;
31998 PyObject
*arg3
= (PyObject
*) 0 ;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 PyObject
* obj2
= 0 ;
32004 char * kwnames
[] = {
32005 (char *) "self",(char *) "self",(char *) "_class", NULL
32008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
32010 if (!SWIG_IsOK(res1
)) {
32011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
32013 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32022 resultobj
= SWIG_Py_Void();
32029 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32032 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
32033 return SWIG_Py_Void();
32036 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32037 return SWIG_Python_InitShadowInstance(args
);
32040 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32041 PyObject
*resultobj
= 0;
32042 wxFileDataObject
*result
= 0 ;
32044 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 result
= (wxFileDataObject
*)new wxFileDataObject();
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
32058 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32059 PyObject
*resultobj
= 0;
32060 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32061 wxArrayString
*result
= 0 ;
32064 PyObject
*swig_obj
[1] ;
32066 if (!args
) SWIG_fail
;
32067 swig_obj
[0] = args
;
32068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32069 if (!SWIG_IsOK(res1
)) {
32070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32072 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
32077 result
= (wxArrayString
*) &_result_ref
;
32079 wxPyEndAllowThreads(__tstate
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= wxArrayString2PyList_helper(*result
);
32091 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
= 0;
32093 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32094 wxString
*arg2
= 0 ;
32097 bool temp2
= false ;
32098 PyObject
* obj0
= 0 ;
32099 PyObject
* obj1
= 0 ;
32100 char * kwnames
[] = {
32101 (char *) "self",(char *) "filename", NULL
32104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32106 if (!SWIG_IsOK(res1
)) {
32107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32109 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32111 arg2
= wxString_in_helper(obj1
);
32112 if (arg2
== NULL
) SWIG_fail
;
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 (arg1
)->AddFile((wxString
const &)*arg2
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= SWIG_Py_Void();
32136 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32139 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
32140 return SWIG_Py_Void();
32143 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32144 return SWIG_Python_InitShadowInstance(args
);
32147 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32148 PyObject
*resultobj
= 0;
32149 wxDataFormat
*arg1
= 0 ;
32150 wxCustomDataObject
*result
= 0 ;
32154 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32156 if (!SWIG_IsOK(res1
)) {
32157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32162 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32176 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32177 PyObject
*resultobj
= 0;
32178 wxString
*arg1
= 0 ;
32179 wxCustomDataObject
*result
= 0 ;
32180 bool temp1
= false ;
32182 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32184 arg1
= wxString_in_helper(swig_obj
[0]);
32185 if (arg1
== NULL
) SWIG_fail
;
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
32191 wxPyEndAllowThreads(__tstate
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32209 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32210 PyObject
*resultobj
= 0;
32211 wxCustomDataObject
*result
= 0 ;
32213 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32216 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32227 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32231 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32234 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32240 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32243 if (!_v
) goto check_2
;
32244 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32249 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32253 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32258 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
= 0;
32260 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32261 PyObject
*arg2
= (PyObject
*) 0 ;
32265 PyObject
* obj0
= 0 ;
32266 PyObject
* obj1
= 0 ;
32267 char * kwnames
[] = {
32268 (char *) "self",(char *) "data", NULL
32271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32273 if (!SWIG_IsOK(res1
)) {
32274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32276 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32280 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32281 wxPyEndAllowThreads(__tstate
);
32282 if (PyErr_Occurred()) SWIG_fail
;
32285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32293 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32294 PyObject
*resultobj
= 0;
32295 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32299 PyObject
*swig_obj
[1] ;
32301 if (!args
) SWIG_fail
;
32302 swig_obj
[0] = args
;
32303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32304 if (!SWIG_IsOK(res1
)) {
32305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32307 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 result
= (size_t)(arg1
)->GetSize();
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32321 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32322 PyObject
*resultobj
= 0;
32323 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32324 PyObject
*result
= 0 ;
32327 PyObject
*swig_obj
[1] ;
32329 if (!args
) SWIG_fail
;
32330 swig_obj
[0] = args
;
32331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32332 if (!SWIG_IsOK(res1
)) {
32333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32335 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= result
;
32349 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32352 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32353 return SWIG_Py_Void();
32356 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32357 return SWIG_Python_InitShadowInstance(args
);
32360 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32361 PyObject
*resultobj
= 0;
32362 wxURLDataObject
*result
= 0 ;
32364 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32367 result
= (wxURLDataObject
*)new wxURLDataObject();
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32378 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32379 PyObject
*resultobj
= 0;
32380 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32384 PyObject
*swig_obj
[1] ;
32386 if (!args
) SWIG_fail
;
32387 swig_obj
[0] = args
;
32388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32389 if (!SWIG_IsOK(res1
)) {
32390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32392 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32395 result
= (arg1
)->GetURL();
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32412 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
= 0;
32414 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32415 wxString
*arg2
= 0 ;
32418 bool temp2
= false ;
32419 PyObject
* obj0
= 0 ;
32420 PyObject
* obj1
= 0 ;
32421 char * kwnames
[] = {
32422 (char *) "self",(char *) "url", NULL
32425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32427 if (!SWIG_IsOK(res1
)) {
32428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32430 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32432 arg2
= wxString_in_helper(obj1
);
32433 if (arg2
== NULL
) SWIG_fail
;
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 (arg1
)->SetURL((wxString
const &)*arg2
);
32439 wxPyEndAllowThreads(__tstate
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32442 resultobj
= SWIG_Py_Void();
32457 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32460 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32461 return SWIG_Py_Void();
32464 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32465 return SWIG_Python_InitShadowInstance(args
);
32468 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32469 PyObject
*resultobj
= 0;
32470 wxMetafileDataObject
*result
= 0 ;
32472 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32486 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32487 PyObject
*resultobj
= 0;
32488 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32489 wxMetafile
*arg2
= 0 ;
32494 PyObject
* obj0
= 0 ;
32495 PyObject
* obj1
= 0 ;
32496 char * kwnames
[] = {
32497 (char *) "self",(char *) "metafile", NULL
32500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32502 if (!SWIG_IsOK(res1
)) {
32503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32505 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32507 if (!SWIG_IsOK(res2
)) {
32508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32513 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32516 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32520 resultobj
= SWIG_Py_Void();
32527 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32528 PyObject
*resultobj
= 0;
32529 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32533 PyObject
*swig_obj
[1] ;
32535 if (!args
) SWIG_fail
;
32536 swig_obj
[0] = args
;
32537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32538 if (!SWIG_IsOK(res1
)) {
32539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32541 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32545 wxPyEndAllowThreads(__tstate
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32548 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32555 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32558 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32559 return SWIG_Py_Void();
32562 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32563 return SWIG_Python_InitShadowInstance(args
);
32566 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
= 0;
32568 wxDragResult arg1
;
32572 PyObject
* obj0
= 0 ;
32573 char * kwnames
[] = {
32574 (char *) "res", NULL
32577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32578 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32579 if (!SWIG_IsOK(ecode1
)) {
32580 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32582 arg1
= static_cast< wxDragResult
>(val1
);
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32585 result
= (bool)wxIsDragResultOk(arg1
);
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32598 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32599 PyObject
*resultobj
= 0;
32600 wxWindow
*arg1
= (wxWindow
*) 0 ;
32601 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32602 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32603 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32604 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32605 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32606 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32607 wxPyDropSource
*result
= 0 ;
32616 PyObject
* obj0
= 0 ;
32617 PyObject
* obj1
= 0 ;
32618 PyObject
* obj2
= 0 ;
32619 PyObject
* obj3
= 0 ;
32620 char * kwnames
[] = {
32621 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32626 if (!SWIG_IsOK(res1
)) {
32627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32632 if (!SWIG_IsOK(res2
)) {
32633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32638 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32641 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32642 if (!SWIG_IsOK(res3
)) {
32643 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32648 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32651 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32652 if (!SWIG_IsOK(res4
)) {
32653 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32658 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32662 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32673 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
= 0;
32675 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32676 PyObject
*arg2
= (PyObject
*) 0 ;
32677 PyObject
*arg3
= (PyObject
*) 0 ;
32683 PyObject
* obj0
= 0 ;
32684 PyObject
* obj1
= 0 ;
32685 PyObject
* obj2
= 0 ;
32686 PyObject
* obj3
= 0 ;
32687 char * kwnames
[] = {
32688 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32693 if (!SWIG_IsOK(res1
)) {
32694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32696 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32700 if (!SWIG_IsOK(ecode4
)) {
32701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32703 arg4
= static_cast< int >(val4
);
32705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32706 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32707 wxPyEndAllowThreads(__tstate
);
32708 if (PyErr_Occurred()) SWIG_fail
;
32710 resultobj
= SWIG_Py_Void();
32717 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32718 PyObject
*resultobj
= 0;
32719 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32722 PyObject
*swig_obj
[1] ;
32724 if (!args
) SWIG_fail
;
32725 swig_obj
[0] = args
;
32726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32727 if (!SWIG_IsOK(res1
)) {
32728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32730 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 wxPyEndAllowThreads(__tstate
);
32736 if (PyErr_Occurred()) SWIG_fail
;
32738 resultobj
= SWIG_Py_Void();
32745 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32746 PyObject
*resultobj
= 0;
32747 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32748 wxDataObject
*arg2
= 0 ;
32753 PyObject
* obj0
= 0 ;
32754 PyObject
* obj1
= 0 ;
32755 char * kwnames
[] = {
32756 (char *) "self",(char *) "data", NULL
32759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32761 if (!SWIG_IsOK(res1
)) {
32762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32764 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32766 if (!SWIG_IsOK(res2
)) {
32767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32772 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32775 (arg1
)->SetData(*arg2
);
32776 wxPyEndAllowThreads(__tstate
);
32777 if (PyErr_Occurred()) SWIG_fail
;
32779 resultobj
= SWIG_Py_Void();
32786 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32787 PyObject
*resultobj
= 0;
32788 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32789 wxDataObject
*result
= 0 ;
32792 PyObject
*swig_obj
[1] ;
32794 if (!args
) SWIG_fail
;
32795 swig_obj
[0] = args
;
32796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32797 if (!SWIG_IsOK(res1
)) {
32798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32800 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32814 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32815 PyObject
*resultobj
= 0;
32816 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32817 wxDragResult arg2
;
32818 wxCursor
*arg3
= 0 ;
32825 PyObject
* obj0
= 0 ;
32826 PyObject
* obj1
= 0 ;
32827 PyObject
* obj2
= 0 ;
32828 char * kwnames
[] = {
32829 (char *) "self",(char *) "res",(char *) "cursor", NULL
32832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32834 if (!SWIG_IsOK(res1
)) {
32835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32837 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32839 if (!SWIG_IsOK(ecode2
)) {
32840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32842 arg2
= static_cast< wxDragResult
>(val2
);
32843 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32844 if (!SWIG_IsOK(res3
)) {
32845 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32850 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= SWIG_Py_Void();
32864 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32865 PyObject
*resultobj
= 0;
32866 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32867 int arg2
= (int) wxDrag_CopyOnly
;
32868 wxDragResult result
;
32873 PyObject
* obj0
= 0 ;
32874 PyObject
* obj1
= 0 ;
32875 char * kwnames
[] = {
32876 (char *) "self",(char *) "flags", NULL
32879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32881 if (!SWIG_IsOK(res1
)) {
32882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32884 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32887 if (!SWIG_IsOK(ecode2
)) {
32888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32890 arg2
= static_cast< int >(val2
);
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32898 resultobj
= SWIG_From_int(static_cast< int >(result
));
32905 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32906 PyObject
*resultobj
= 0;
32907 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32908 wxDragResult arg2
;
32914 PyObject
* obj0
= 0 ;
32915 PyObject
* obj1
= 0 ;
32916 char * kwnames
[] = {
32917 (char *) "self",(char *) "effect", NULL
32920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32922 if (!SWIG_IsOK(res1
)) {
32923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32925 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32927 if (!SWIG_IsOK(ecode2
)) {
32928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32930 arg2
= static_cast< wxDragResult
>(val2
);
32932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32933 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32934 wxPyEndAllowThreads(__tstate
);
32935 if (PyErr_Occurred()) SWIG_fail
;
32938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32946 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32949 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32950 return SWIG_Py_Void();
32953 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32954 return SWIG_Python_InitShadowInstance(args
);
32957 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
= 0;
32959 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32960 wxPyDropTarget
*result
= 0 ;
32962 PyObject
* obj0
= 0 ;
32963 char * kwnames
[] = {
32964 (char *) "dataObject", NULL
32967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32969 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32970 if (!SWIG_IsOK(res1
)) {
32971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32977 wxPyEndAllowThreads(__tstate
);
32978 if (PyErr_Occurred()) SWIG_fail
;
32980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32987 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32988 PyObject
*resultobj
= 0;
32989 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32990 PyObject
*arg2
= (PyObject
*) 0 ;
32991 PyObject
*arg3
= (PyObject
*) 0 ;
32994 PyObject
* obj0
= 0 ;
32995 PyObject
* obj1
= 0 ;
32996 PyObject
* obj2
= 0 ;
32997 char * kwnames
[] = {
32998 (char *) "self",(char *) "self",(char *) "_class", NULL
33001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33003 if (!SWIG_IsOK(res1
)) {
33004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33006 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33011 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33015 resultobj
= SWIG_Py_Void();
33022 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33023 PyObject
*resultobj
= 0;
33024 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33027 PyObject
*swig_obj
[1] ;
33029 if (!args
) SWIG_fail
;
33030 swig_obj
[0] = args
;
33031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33035 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= SWIG_Py_Void();
33050 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33051 PyObject
*resultobj
= 0;
33052 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33053 wxDataObject
*result
= 0 ;
33056 PyObject
*swig_obj
[1] ;
33058 if (!args
) SWIG_fail
;
33059 swig_obj
[0] = args
;
33060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33061 if (!SWIG_IsOK(res1
)) {
33062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33064 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33078 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
= 0;
33080 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33081 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
33085 PyObject
* obj0
= 0 ;
33086 PyObject
* obj1
= 0 ;
33087 char * kwnames
[] = {
33088 (char *) "self",(char *) "dataObject", NULL
33091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33093 if (!SWIG_IsOK(res1
)) {
33094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33096 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33097 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33098 if (!SWIG_IsOK(res2
)) {
33099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
33102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33103 (arg1
)->SetDataObject(arg2
);
33104 wxPyEndAllowThreads(__tstate
);
33105 if (PyErr_Occurred()) SWIG_fail
;
33107 resultobj
= SWIG_Py_Void();
33114 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33115 PyObject
*resultobj
= 0;
33116 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33119 wxDragResult arg4
;
33120 wxDragResult result
;
33129 PyObject
* obj0
= 0 ;
33130 PyObject
* obj1
= 0 ;
33131 PyObject
* obj2
= 0 ;
33132 PyObject
* obj3
= 0 ;
33133 char * kwnames
[] = {
33134 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33139 if (!SWIG_IsOK(res1
)) {
33140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33142 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33144 if (!SWIG_IsOK(ecode2
)) {
33145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33147 arg2
= static_cast< int >(val2
);
33148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33149 if (!SWIG_IsOK(ecode3
)) {
33150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33152 arg3
= static_cast< int >(val3
);
33153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33154 if (!SWIG_IsOK(ecode4
)) {
33155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33157 arg4
= static_cast< wxDragResult
>(val4
);
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= SWIG_From_int(static_cast< int >(result
));
33171 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33172 PyObject
*resultobj
= 0;
33173 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33176 wxDragResult arg4
;
33177 wxDragResult result
;
33186 PyObject
* obj0
= 0 ;
33187 PyObject
* obj1
= 0 ;
33188 PyObject
* obj2
= 0 ;
33189 PyObject
* obj3
= 0 ;
33190 char * kwnames
[] = {
33191 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33196 if (!SWIG_IsOK(res1
)) {
33197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33199 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33201 if (!SWIG_IsOK(ecode2
)) {
33202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33204 arg2
= static_cast< int >(val2
);
33205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33206 if (!SWIG_IsOK(ecode3
)) {
33207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33209 arg3
= static_cast< int >(val3
);
33210 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33211 if (!SWIG_IsOK(ecode4
)) {
33212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33214 arg4
= static_cast< wxDragResult
>(val4
);
33216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33218 wxPyEndAllowThreads(__tstate
);
33219 if (PyErr_Occurred()) SWIG_fail
;
33221 resultobj
= SWIG_From_int(static_cast< int >(result
));
33228 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33229 PyObject
*resultobj
= 0;
33230 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33233 PyObject
*swig_obj
[1] ;
33235 if (!args
) SWIG_fail
;
33236 swig_obj
[0] = args
;
33237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33238 if (!SWIG_IsOK(res1
)) {
33239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33241 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33248 resultobj
= SWIG_Py_Void();
33255 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33256 PyObject
*resultobj
= 0;
33257 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33267 PyObject
* obj0
= 0 ;
33268 PyObject
* obj1
= 0 ;
33269 PyObject
* obj2
= 0 ;
33270 char * kwnames
[] = {
33271 (char *) "self",(char *) "x",(char *) "y", NULL
33274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33276 if (!SWIG_IsOK(res1
)) {
33277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33279 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33281 if (!SWIG_IsOK(ecode2
)) {
33282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33284 arg2
= static_cast< int >(val2
);
33285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33286 if (!SWIG_IsOK(ecode3
)) {
33287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33289 arg3
= static_cast< int >(val3
);
33291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33292 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33305 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33306 PyObject
*resultobj
= 0;
33307 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33311 PyObject
*swig_obj
[1] ;
33313 if (!args
) SWIG_fail
;
33314 swig_obj
[0] = args
;
33315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33316 if (!SWIG_IsOK(res1
)) {
33317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33319 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33322 result
= (bool)(arg1
)->GetData();
33323 wxPyEndAllowThreads(__tstate
);
33324 if (PyErr_Occurred()) SWIG_fail
;
33327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33335 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33336 PyObject
*resultobj
= 0;
33337 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33338 wxDragResult arg2
;
33343 PyObject
* obj0
= 0 ;
33344 PyObject
* obj1
= 0 ;
33345 char * kwnames
[] = {
33346 (char *) "self",(char *) "action", NULL
33349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33351 if (!SWIG_IsOK(res1
)) {
33352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33354 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33356 if (!SWIG_IsOK(ecode2
)) {
33357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33359 arg2
= static_cast< wxDragResult
>(val2
);
33361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33362 (arg1
)->SetDefaultAction(arg2
);
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33366 resultobj
= SWIG_Py_Void();
33373 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33374 PyObject
*resultobj
= 0;
33375 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33376 wxDragResult result
;
33379 PyObject
*swig_obj
[1] ;
33381 if (!args
) SWIG_fail
;
33382 swig_obj
[0] = args
;
33383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33384 if (!SWIG_IsOK(res1
)) {
33385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33387 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33390 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33391 wxPyEndAllowThreads(__tstate
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= SWIG_From_int(static_cast< int >(result
));
33401 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33404 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33405 return SWIG_Py_Void();
33408 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33409 return SWIG_Python_InitShadowInstance(args
);
33412 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33413 PyObject
*resultobj
= 0;
33414 wxPyTextDropTarget
*result
= 0 ;
33416 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33430 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33431 PyObject
*resultobj
= 0;
33432 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33433 PyObject
*arg2
= (PyObject
*) 0 ;
33434 PyObject
*arg3
= (PyObject
*) 0 ;
33437 PyObject
* obj0
= 0 ;
33438 PyObject
* obj1
= 0 ;
33439 PyObject
* obj2
= 0 ;
33440 char * kwnames
[] = {
33441 (char *) "self",(char *) "self",(char *) "_class", NULL
33444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33446 if (!SWIG_IsOK(res1
)) {
33447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33449 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= SWIG_Py_Void();
33465 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33466 PyObject
*resultobj
= 0;
33467 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33470 wxString
*arg4
= 0 ;
33478 bool temp4
= false ;
33479 PyObject
* obj0
= 0 ;
33480 PyObject
* obj1
= 0 ;
33481 PyObject
* obj2
= 0 ;
33482 PyObject
* obj3
= 0 ;
33483 char * kwnames
[] = {
33484 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33489 if (!SWIG_IsOK(res1
)) {
33490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33492 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33494 if (!SWIG_IsOK(ecode2
)) {
33495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33497 arg2
= static_cast< int >(val2
);
33498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33499 if (!SWIG_IsOK(ecode3
)) {
33500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33502 arg3
= static_cast< int >(val3
);
33504 arg4
= wxString_in_helper(obj3
);
33505 if (arg4
== NULL
) SWIG_fail
;
33509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33531 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33532 PyObject
*resultobj
= 0;
33533 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33536 wxDragResult arg4
;
33537 wxDragResult result
;
33546 PyObject
* obj0
= 0 ;
33547 PyObject
* obj1
= 0 ;
33548 PyObject
* obj2
= 0 ;
33549 PyObject
* obj3
= 0 ;
33550 char * kwnames
[] = {
33551 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33556 if (!SWIG_IsOK(res1
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33559 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33561 if (!SWIG_IsOK(ecode2
)) {
33562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33564 arg2
= static_cast< int >(val2
);
33565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33566 if (!SWIG_IsOK(ecode3
)) {
33567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33569 arg3
= static_cast< int >(val3
);
33570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33571 if (!SWIG_IsOK(ecode4
)) {
33572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33574 arg4
= static_cast< wxDragResult
>(val4
);
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33577 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33581 resultobj
= SWIG_From_int(static_cast< int >(result
));
33588 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33589 PyObject
*resultobj
= 0;
33590 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33593 wxDragResult arg4
;
33594 wxDragResult result
;
33603 PyObject
* obj0
= 0 ;
33604 PyObject
* obj1
= 0 ;
33605 PyObject
* obj2
= 0 ;
33606 PyObject
* obj3
= 0 ;
33607 char * kwnames
[] = {
33608 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33613 if (!SWIG_IsOK(res1
)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33616 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33618 if (!SWIG_IsOK(ecode2
)) {
33619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33621 arg2
= static_cast< int >(val2
);
33622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33623 if (!SWIG_IsOK(ecode3
)) {
33624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33626 arg3
= static_cast< int >(val3
);
33627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33628 if (!SWIG_IsOK(ecode4
)) {
33629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33631 arg4
= static_cast< wxDragResult
>(val4
);
33633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33634 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33635 wxPyEndAllowThreads(__tstate
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33638 resultobj
= SWIG_From_int(static_cast< int >(result
));
33645 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33646 PyObject
*resultobj
= 0;
33647 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33650 PyObject
*swig_obj
[1] ;
33652 if (!args
) SWIG_fail
;
33653 swig_obj
[0] = args
;
33654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33655 if (!SWIG_IsOK(res1
)) {
33656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33658 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33665 resultobj
= SWIG_Py_Void();
33672 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33673 PyObject
*resultobj
= 0;
33674 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33684 PyObject
* obj0
= 0 ;
33685 PyObject
* obj1
= 0 ;
33686 PyObject
* obj2
= 0 ;
33687 char * kwnames
[] = {
33688 (char *) "self",(char *) "x",(char *) "y", NULL
33691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33693 if (!SWIG_IsOK(res1
)) {
33694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33696 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33698 if (!SWIG_IsOK(ecode2
)) {
33699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33701 arg2
= static_cast< int >(val2
);
33702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33703 if (!SWIG_IsOK(ecode3
)) {
33704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33706 arg3
= static_cast< int >(val3
);
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33722 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33723 PyObject
*resultobj
= 0;
33724 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33727 wxDragResult arg4
;
33728 wxDragResult result
;
33737 PyObject
* obj0
= 0 ;
33738 PyObject
* obj1
= 0 ;
33739 PyObject
* obj2
= 0 ;
33740 PyObject
* obj3
= 0 ;
33741 char * kwnames
[] = {
33742 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33747 if (!SWIG_IsOK(res1
)) {
33748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33750 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33752 if (!SWIG_IsOK(ecode2
)) {
33753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33755 arg2
= static_cast< int >(val2
);
33756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33757 if (!SWIG_IsOK(ecode3
)) {
33758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33760 arg3
= static_cast< int >(val3
);
33761 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33762 if (!SWIG_IsOK(ecode4
)) {
33763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33765 arg4
= static_cast< wxDragResult
>(val4
);
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= SWIG_From_int(static_cast< int >(result
));
33779 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33782 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33783 return SWIG_Py_Void();
33786 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33787 return SWIG_Python_InitShadowInstance(args
);
33790 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33791 PyObject
*resultobj
= 0;
33792 wxPyFileDropTarget
*result
= 0 ;
33794 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33797 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33798 wxPyEndAllowThreads(__tstate
);
33799 if (PyErr_Occurred()) SWIG_fail
;
33801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33808 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33809 PyObject
*resultobj
= 0;
33810 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33811 PyObject
*arg2
= (PyObject
*) 0 ;
33812 PyObject
*arg3
= (PyObject
*) 0 ;
33815 PyObject
* obj0
= 0 ;
33816 PyObject
* obj1
= 0 ;
33817 PyObject
* obj2
= 0 ;
33818 char * kwnames
[] = {
33819 (char *) "self",(char *) "self",(char *) "_class", NULL
33822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33824 if (!SWIG_IsOK(res1
)) {
33825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33827 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33832 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33836 resultobj
= SWIG_Py_Void();
33843 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33844 PyObject
*resultobj
= 0;
33845 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33848 wxArrayString
*arg4
= 0 ;
33856 bool temp4
= false ;
33857 PyObject
* obj0
= 0 ;
33858 PyObject
* obj1
= 0 ;
33859 PyObject
* obj2
= 0 ;
33860 PyObject
* obj3
= 0 ;
33861 char * kwnames
[] = {
33862 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33867 if (!SWIG_IsOK(res1
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33870 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33872 if (!SWIG_IsOK(ecode2
)) {
33873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33875 arg2
= static_cast< int >(val2
);
33876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33877 if (!SWIG_IsOK(ecode3
)) {
33878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33880 arg3
= static_cast< int >(val3
);
33882 if (! PySequence_Check(obj3
)) {
33883 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33886 arg4
= new wxArrayString
;
33888 int i
, len
=PySequence_Length(obj3
);
33889 for (i
=0; i
<len
; i
++) {
33890 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33891 wxString
* s
= wxString_in_helper(item
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33908 if (temp4
) delete arg4
;
33913 if (temp4
) delete arg4
;
33919 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33920 PyObject
*resultobj
= 0;
33921 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33924 wxDragResult arg4
;
33925 wxDragResult result
;
33934 PyObject
* obj0
= 0 ;
33935 PyObject
* obj1
= 0 ;
33936 PyObject
* obj2
= 0 ;
33937 PyObject
* obj3
= 0 ;
33938 char * kwnames
[] = {
33939 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33944 if (!SWIG_IsOK(res1
)) {
33945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33947 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33949 if (!SWIG_IsOK(ecode2
)) {
33950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33952 arg2
= static_cast< int >(val2
);
33953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33954 if (!SWIG_IsOK(ecode3
)) {
33955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33957 arg3
= static_cast< int >(val3
);
33958 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33959 if (!SWIG_IsOK(ecode4
)) {
33960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33962 arg4
= static_cast< wxDragResult
>(val4
);
33964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33965 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33969 resultobj
= SWIG_From_int(static_cast< int >(result
));
33976 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
= 0;
33978 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33981 wxDragResult arg4
;
33982 wxDragResult result
;
33991 PyObject
* obj0
= 0 ;
33992 PyObject
* obj1
= 0 ;
33993 PyObject
* obj2
= 0 ;
33994 PyObject
* obj3
= 0 ;
33995 char * kwnames
[] = {
33996 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34001 if (!SWIG_IsOK(res1
)) {
34002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34004 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34006 if (!SWIG_IsOK(ecode2
)) {
34007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34009 arg2
= static_cast< int >(val2
);
34010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34011 if (!SWIG_IsOK(ecode3
)) {
34012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34014 arg3
= static_cast< int >(val3
);
34015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34016 if (!SWIG_IsOK(ecode4
)) {
34017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34019 arg4
= static_cast< wxDragResult
>(val4
);
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= SWIG_From_int(static_cast< int >(result
));
34033 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34034 PyObject
*resultobj
= 0;
34035 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34038 PyObject
*swig_obj
[1] ;
34040 if (!args
) SWIG_fail
;
34041 swig_obj
[0] = args
;
34042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34043 if (!SWIG_IsOK(res1
)) {
34044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34046 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= SWIG_Py_Void();
34060 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
= 0;
34062 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34072 PyObject
* obj0
= 0 ;
34073 PyObject
* obj1
= 0 ;
34074 PyObject
* obj2
= 0 ;
34075 char * kwnames
[] = {
34076 (char *) "self",(char *) "x",(char *) "y", NULL
34079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34081 if (!SWIG_IsOK(res1
)) {
34082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34084 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34086 if (!SWIG_IsOK(ecode2
)) {
34087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34089 arg2
= static_cast< int >(val2
);
34090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34091 if (!SWIG_IsOK(ecode3
)) {
34092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34094 arg3
= static_cast< int >(val3
);
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34110 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
= 0;
34112 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34115 wxDragResult arg4
;
34116 wxDragResult result
;
34125 PyObject
* obj0
= 0 ;
34126 PyObject
* obj1
= 0 ;
34127 PyObject
* obj2
= 0 ;
34128 PyObject
* obj3
= 0 ;
34129 char * kwnames
[] = {
34130 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34135 if (!SWIG_IsOK(res1
)) {
34136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34138 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34140 if (!SWIG_IsOK(ecode2
)) {
34141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34143 arg2
= static_cast< int >(val2
);
34144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34145 if (!SWIG_IsOK(ecode3
)) {
34146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34148 arg3
= static_cast< int >(val3
);
34149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34150 if (!SWIG_IsOK(ecode4
)) {
34151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34153 arg4
= static_cast< wxDragResult
>(val4
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34160 resultobj
= SWIG_From_int(static_cast< int >(result
));
34167 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34170 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
34171 return SWIG_Py_Void();
34174 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34175 return SWIG_Python_InitShadowInstance(args
);
34178 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34179 PyObject
*resultobj
= 0;
34180 wxClipboard
*result
= 0 ;
34182 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 result
= (wxClipboard
*)new wxClipboard();
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
34196 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34197 PyObject
*resultobj
= 0;
34198 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34201 PyObject
*swig_obj
[1] ;
34203 if (!args
) SWIG_fail
;
34204 swig_obj
[0] = args
;
34205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34206 if (!SWIG_IsOK(res1
)) {
34207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34209 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= SWIG_Py_Void();
34224 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34225 PyObject
*resultobj
= 0;
34226 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34230 PyObject
*swig_obj
[1] ;
34232 if (!args
) SWIG_fail
;
34233 swig_obj
[0] = args
;
34234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34235 if (!SWIG_IsOK(res1
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34238 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 result
= (bool)(arg1
)->Open();
34242 wxPyEndAllowThreads(__tstate
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34254 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34255 PyObject
*resultobj
= 0;
34256 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34259 PyObject
*swig_obj
[1] ;
34261 if (!args
) SWIG_fail
;
34262 swig_obj
[0] = args
;
34263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34264 if (!SWIG_IsOK(res1
)) {
34265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34267 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= SWIG_Py_Void();
34281 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34282 PyObject
*resultobj
= 0;
34283 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34287 PyObject
*swig_obj
[1] ;
34289 if (!args
) SWIG_fail
;
34290 swig_obj
[0] = args
;
34291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34292 if (!SWIG_IsOK(res1
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34295 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34298 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34311 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
= 0;
34313 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34314 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "data", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34330 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34331 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34332 if (!SWIG_IsOK(res2
)) {
34333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 result
= (bool)(arg1
)->AddData(arg2
);
34338 wxPyEndAllowThreads(__tstate
);
34339 if (PyErr_Occurred()) SWIG_fail
;
34342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34350 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
= 0;
34352 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34353 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34358 PyObject
* obj0
= 0 ;
34359 PyObject
* obj1
= 0 ;
34360 char * kwnames
[] = {
34361 (char *) "self",(char *) "data", NULL
34364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34366 if (!SWIG_IsOK(res1
)) {
34367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34369 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34370 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34371 if (!SWIG_IsOK(res2
)) {
34372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 result
= (bool)(arg1
)->SetData(arg2
);
34377 wxPyEndAllowThreads(__tstate
);
34378 if (PyErr_Occurred()) SWIG_fail
;
34381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34389 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34390 PyObject
*resultobj
= 0;
34391 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34392 wxDataFormat
*arg2
= 0 ;
34398 PyObject
* obj0
= 0 ;
34399 PyObject
* obj1
= 0 ;
34400 char * kwnames
[] = {
34401 (char *) "self",(char *) "format", NULL
34404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34406 if (!SWIG_IsOK(res1
)) {
34407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34409 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34410 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34411 if (!SWIG_IsOK(res2
)) {
34412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34417 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34420 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34421 wxPyEndAllowThreads(__tstate
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34433 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34434 PyObject
*resultobj
= 0;
34435 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34436 wxDataObject
*arg2
= 0 ;
34442 PyObject
* obj0
= 0 ;
34443 PyObject
* obj1
= 0 ;
34444 char * kwnames
[] = {
34445 (char *) "self",(char *) "data", NULL
34448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34450 if (!SWIG_IsOK(res1
)) {
34451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34453 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34455 if (!SWIG_IsOK(res2
)) {
34456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34461 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 result
= (bool)(arg1
)->GetData(*arg2
);
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34477 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34478 PyObject
*resultobj
= 0;
34479 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34482 PyObject
*swig_obj
[1] ;
34484 if (!args
) SWIG_fail
;
34485 swig_obj
[0] = args
;
34486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34487 if (!SWIG_IsOK(res1
)) {
34488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34490 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 resultobj
= SWIG_Py_Void();
34504 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34505 PyObject
*resultobj
= 0;
34506 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34510 PyObject
*swig_obj
[1] ;
34512 if (!args
) SWIG_fail
;
34513 swig_obj
[0] = args
;
34514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34515 if (!SWIG_IsOK(res1
)) {
34516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34518 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34521 result
= (bool)(arg1
)->Flush();
34522 wxPyEndAllowThreads(__tstate
);
34523 if (PyErr_Occurred()) SWIG_fail
;
34526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34534 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34535 PyObject
*resultobj
= 0;
34536 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34537 bool arg2
= (bool) true ;
34542 PyObject
* obj0
= 0 ;
34543 PyObject
* obj1
= 0 ;
34544 char * kwnames
[] = {
34545 (char *) "self",(char *) "primary", NULL
34548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34550 if (!SWIG_IsOK(res1
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34553 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34555 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34556 if (!SWIG_IsOK(ecode2
)) {
34557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34559 arg2
= static_cast< bool >(val2
);
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 (arg1
)->UsePrimarySelection(arg2
);
34564 wxPyEndAllowThreads(__tstate
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34567 resultobj
= SWIG_Py_Void();
34574 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34575 PyObject
*resultobj
= 0;
34576 wxClipboard
*result
= 0 ;
34578 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34581 result
= (wxClipboard
*)wxClipboard::Get();
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34592 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34594 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34595 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34596 return SWIG_Py_Void();
34599 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34600 return SWIG_Python_InitShadowInstance(args
);
34603 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34604 PyObject
*resultobj
= 0;
34605 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34606 wxClipboardLocker
*result
= 0 ;
34609 PyObject
* obj0
= 0 ;
34610 char * kwnames
[] = {
34611 (char *) "clipboard", NULL
34614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34617 if (!SWIG_IsOK(res1
)) {
34618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34620 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34635 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34636 PyObject
*resultobj
= 0;
34637 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34640 PyObject
*swig_obj
[1] ;
34642 if (!args
) SWIG_fail
;
34643 swig_obj
[0] = args
;
34644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34645 if (!SWIG_IsOK(res1
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34648 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= SWIG_Py_Void();
34663 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34664 PyObject
*resultobj
= 0;
34665 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 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_wxClipboardLocker
, 0 | 0 );
34674 if (!SWIG_IsOK(res1
)) {
34675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34677 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34693 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34696 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34697 return SWIG_Py_Void();
34700 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34701 return SWIG_Python_InitShadowInstance(args
);
34704 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
= 0;
34706 int arg1
= (int) 0 ;
34707 int arg2
= (int) 0 ;
34708 int arg3
= (int) 0 ;
34709 int arg4
= (int) 0 ;
34710 wxVideoMode
*result
= 0 ;
34719 PyObject
* obj0
= 0 ;
34720 PyObject
* obj1
= 0 ;
34721 PyObject
* obj2
= 0 ;
34722 PyObject
* obj3
= 0 ;
34723 char * kwnames
[] = {
34724 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34730 if (!SWIG_IsOK(ecode1
)) {
34731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34733 arg1
= static_cast< int >(val1
);
34736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34737 if (!SWIG_IsOK(ecode2
)) {
34738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34740 arg2
= static_cast< int >(val2
);
34743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34744 if (!SWIG_IsOK(ecode3
)) {
34745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34747 arg3
= static_cast< int >(val3
);
34750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34751 if (!SWIG_IsOK(ecode4
)) {
34752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34754 arg4
= static_cast< int >(val4
);
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34769 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34770 PyObject
*resultobj
= 0;
34771 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34774 PyObject
*swig_obj
[1] ;
34776 if (!args
) SWIG_fail
;
34777 swig_obj
[0] = args
;
34778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34779 if (!SWIG_IsOK(res1
)) {
34780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34782 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34790 resultobj
= SWIG_Py_Void();
34797 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34798 PyObject
*resultobj
= 0;
34799 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34800 wxVideoMode
*arg2
= 0 ;
34806 PyObject
* obj0
= 0 ;
34807 PyObject
* obj1
= 0 ;
34808 char * kwnames
[] = {
34809 (char *) "self",(char *) "other", NULL
34812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34814 if (!SWIG_IsOK(res1
)) {
34815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34817 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34819 if (!SWIG_IsOK(res2
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34825 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34828 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34829 wxPyEndAllowThreads(__tstate
);
34830 if (PyErr_Occurred()) SWIG_fail
;
34833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34841 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34842 PyObject
*resultobj
= 0;
34843 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34847 PyObject
*swig_obj
[1] ;
34849 if (!args
) SWIG_fail
;
34850 swig_obj
[0] = args
;
34851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34852 if (!SWIG_IsOK(res1
)) {
34853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34855 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34862 resultobj
= SWIG_From_int(static_cast< int >(result
));
34869 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34870 PyObject
*resultobj
= 0;
34871 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34875 PyObject
*swig_obj
[1] ;
34877 if (!args
) SWIG_fail
;
34878 swig_obj
[0] = args
;
34879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34883 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34887 wxPyEndAllowThreads(__tstate
);
34888 if (PyErr_Occurred()) SWIG_fail
;
34890 resultobj
= SWIG_From_int(static_cast< int >(result
));
34897 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34898 PyObject
*resultobj
= 0;
34899 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34903 PyObject
*swig_obj
[1] ;
34905 if (!args
) SWIG_fail
;
34906 swig_obj
[0] = args
;
34907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34908 if (!SWIG_IsOK(res1
)) {
34909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34911 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34914 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34915 wxPyEndAllowThreads(__tstate
);
34916 if (PyErr_Occurred()) SWIG_fail
;
34918 resultobj
= SWIG_From_int(static_cast< int >(result
));
34925 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34926 PyObject
*resultobj
= 0;
34927 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34931 PyObject
*swig_obj
[1] ;
34933 if (!args
) SWIG_fail
;
34934 swig_obj
[0] = args
;
34935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34936 if (!SWIG_IsOK(res1
)) {
34937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34939 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34942 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34943 wxPyEndAllowThreads(__tstate
);
34944 if (PyErr_Occurred()) SWIG_fail
;
34947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34955 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34956 PyObject
*resultobj
= 0;
34957 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34958 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34964 PyObject
* obj0
= 0 ;
34965 PyObject
* obj1
= 0 ;
34966 char * kwnames
[] = {
34967 (char *) "self",(char *) "other", NULL
34970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34972 if (!SWIG_IsOK(res1
)) {
34973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34975 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34976 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34977 if (!SWIG_IsOK(res2
)) {
34978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34980 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34996 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
= 0;
34998 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34999 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35005 PyObject
* obj0
= 0 ;
35006 PyObject
* obj1
= 0 ;
35007 char * kwnames
[] = {
35008 (char *) "self",(char *) "other", NULL
35011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35013 if (!SWIG_IsOK(res1
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35016 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35018 if (!SWIG_IsOK(res2
)) {
35019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35021 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35024 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
35025 wxPyEndAllowThreads(__tstate
);
35026 if (PyErr_Occurred()) SWIG_fail
;
35029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35037 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35038 PyObject
*resultobj
= 0;
35039 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35045 PyObject
*swig_obj
[2] ;
35047 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
35048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35049 if (!SWIG_IsOK(res1
)) {
35050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35052 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35053 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35054 if (!SWIG_IsOK(ecode2
)) {
35055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
35057 arg2
= static_cast< int >(val2
);
35058 if (arg1
) (arg1
)->w
= arg2
;
35060 resultobj
= SWIG_Py_Void();
35067 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35068 PyObject
*resultobj
= 0;
35069 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35073 PyObject
*swig_obj
[1] ;
35075 if (!args
) SWIG_fail
;
35076 swig_obj
[0] = args
;
35077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35078 if (!SWIG_IsOK(res1
)) {
35079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35081 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35082 result
= (int) ((arg1
)->w
);
35083 resultobj
= SWIG_From_int(static_cast< int >(result
));
35090 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35091 PyObject
*resultobj
= 0;
35092 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35098 PyObject
*swig_obj
[2] ;
35100 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
35101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35102 if (!SWIG_IsOK(res1
)) {
35103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35105 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35106 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35107 if (!SWIG_IsOK(ecode2
)) {
35108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
35110 arg2
= static_cast< int >(val2
);
35111 if (arg1
) (arg1
)->h
= arg2
;
35113 resultobj
= SWIG_Py_Void();
35120 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35121 PyObject
*resultobj
= 0;
35122 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35126 PyObject
*swig_obj
[1] ;
35128 if (!args
) SWIG_fail
;
35129 swig_obj
[0] = args
;
35130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35131 if (!SWIG_IsOK(res1
)) {
35132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35134 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35135 result
= (int) ((arg1
)->h
);
35136 resultobj
= SWIG_From_int(static_cast< int >(result
));
35143 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35144 PyObject
*resultobj
= 0;
35145 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35151 PyObject
*swig_obj
[2] ;
35153 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
35154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35155 if (!SWIG_IsOK(res1
)) {
35156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35158 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35159 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35160 if (!SWIG_IsOK(ecode2
)) {
35161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
35163 arg2
= static_cast< int >(val2
);
35164 if (arg1
) (arg1
)->bpp
= arg2
;
35166 resultobj
= SWIG_Py_Void();
35173 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35174 PyObject
*resultobj
= 0;
35175 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35179 PyObject
*swig_obj
[1] ;
35181 if (!args
) SWIG_fail
;
35182 swig_obj
[0] = args
;
35183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35184 if (!SWIG_IsOK(res1
)) {
35185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35187 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35188 result
= (int) ((arg1
)->bpp
);
35189 resultobj
= SWIG_From_int(static_cast< int >(result
));
35196 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35197 PyObject
*resultobj
= 0;
35198 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35204 PyObject
*swig_obj
[2] ;
35206 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35208 if (!SWIG_IsOK(res1
)) {
35209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35211 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35212 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35213 if (!SWIG_IsOK(ecode2
)) {
35214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35216 arg2
= static_cast< int >(val2
);
35217 if (arg1
) (arg1
)->refresh
= arg2
;
35219 resultobj
= SWIG_Py_Void();
35226 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35227 PyObject
*resultobj
= 0;
35228 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35232 PyObject
*swig_obj
[1] ;
35234 if (!args
) SWIG_fail
;
35235 swig_obj
[0] = args
;
35236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35237 if (!SWIG_IsOK(res1
)) {
35238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35240 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35241 result
= (int) ((arg1
)->refresh
);
35242 resultobj
= SWIG_From_int(static_cast< int >(result
));
35249 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35252 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35253 return SWIG_Py_Void();
35256 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35257 return SWIG_Python_InitShadowInstance(args
);
35260 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35261 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35266 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35267 PyObject
*pyobj
= 0;
35269 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35274 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
= 0;
35276 size_t arg1
= (size_t) 0 ;
35277 wxDisplay
*result
= 0 ;
35280 PyObject
* obj0
= 0 ;
35281 char * kwnames
[] = {
35282 (char *) "index", NULL
35285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35287 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35288 if (!SWIG_IsOK(ecode1
)) {
35289 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35291 arg1
= static_cast< size_t >(val1
);
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35295 result
= (wxDisplay
*)new wxDisplay(arg1
);
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35306 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35307 PyObject
*resultobj
= 0;
35308 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35311 PyObject
*swig_obj
[1] ;
35313 if (!args
) SWIG_fail
;
35314 swig_obj
[0] = args
;
35315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35316 if (!SWIG_IsOK(res1
)) {
35317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35319 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35324 wxPyEndAllowThreads(__tstate
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35327 resultobj
= SWIG_Py_Void();
35334 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35335 PyObject
*resultobj
= 0;
35338 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35341 result
= (size_t)wxDisplay::GetCount();
35342 wxPyEndAllowThreads(__tstate
);
35343 if (PyErr_Occurred()) SWIG_fail
;
35345 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35352 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35353 PyObject
*resultobj
= 0;
35354 wxPoint
*arg1
= 0 ;
35357 PyObject
* obj0
= 0 ;
35358 char * kwnames
[] = {
35359 (char *) "pt", NULL
35362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35365 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35369 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35373 resultobj
= SWIG_From_int(static_cast< int >(result
));
35380 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35381 PyObject
*resultobj
= 0;
35382 wxWindow
*arg1
= (wxWindow
*) 0 ;
35386 PyObject
* obj0
= 0 ;
35387 char * kwnames
[] = {
35388 (char *) "window", NULL
35391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35393 if (!SWIG_IsOK(res1
)) {
35394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35396 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35399 result
= (int)wxDisplay::GetFromWindow(arg1
);
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35403 resultobj
= SWIG_From_int(static_cast< int >(result
));
35410 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35411 PyObject
*resultobj
= 0;
35412 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35416 PyObject
*swig_obj
[1] ;
35418 if (!args
) SWIG_fail
;
35419 swig_obj
[0] = args
;
35420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35421 if (!SWIG_IsOK(res1
)) {
35422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35424 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35427 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35428 wxPyEndAllowThreads(__tstate
);
35429 if (PyErr_Occurred()) SWIG_fail
;
35432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35440 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35441 PyObject
*resultobj
= 0;
35442 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35446 PyObject
*swig_obj
[1] ;
35448 if (!args
) SWIG_fail
;
35449 swig_obj
[0] = args
;
35450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35451 if (!SWIG_IsOK(res1
)) {
35452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35454 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35457 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35461 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35468 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35469 PyObject
*resultobj
= 0;
35470 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35474 PyObject
*swig_obj
[1] ;
35476 if (!args
) SWIG_fail
;
35477 swig_obj
[0] = args
;
35478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35479 if (!SWIG_IsOK(res1
)) {
35480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35482 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35485 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35486 wxPyEndAllowThreads(__tstate
);
35487 if (PyErr_Occurred()) SWIG_fail
;
35489 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35496 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35497 PyObject
*resultobj
= 0;
35498 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35502 PyObject
*swig_obj
[1] ;
35504 if (!args
) SWIG_fail
;
35505 swig_obj
[0] = args
;
35506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35507 if (!SWIG_IsOK(res1
)) {
35508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35510 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35513 result
= ((wxDisplay
const *)arg1
)->GetName();
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35530 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35531 PyObject
*resultobj
= 0;
35532 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35536 PyObject
*swig_obj
[1] ;
35538 if (!args
) SWIG_fail
;
35539 swig_obj
[0] = args
;
35540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35541 if (!SWIG_IsOK(res1
)) {
35542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35544 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35560 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35561 PyObject
*resultobj
= 0;
35562 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35563 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35564 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35565 PyObject
*result
= 0 ;
35570 PyObject
* obj0
= 0 ;
35571 PyObject
* obj1
= 0 ;
35572 char * kwnames
[] = {
35573 (char *) "self",(char *) "mode", NULL
35576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35578 if (!SWIG_IsOK(res1
)) {
35579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35581 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35584 if (!SWIG_IsOK(res2
)) {
35585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35590 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35594 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35595 wxPyEndAllowThreads(__tstate
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= result
;
35605 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35606 PyObject
*resultobj
= 0;
35607 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35608 wxVideoMode result
;
35611 PyObject
*swig_obj
[1] ;
35613 if (!args
) SWIG_fail
;
35614 swig_obj
[0] = args
;
35615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35616 if (!SWIG_IsOK(res1
)) {
35617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35619 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35622 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35623 wxPyEndAllowThreads(__tstate
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35626 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35633 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35634 PyObject
*resultobj
= 0;
35635 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35636 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35637 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35643 PyObject
* obj0
= 0 ;
35644 PyObject
* obj1
= 0 ;
35645 char * kwnames
[] = {
35646 (char *) "self",(char *) "mode", NULL
35649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35651 if (!SWIG_IsOK(res1
)) {
35652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35654 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35657 if (!SWIG_IsOK(res2
)) {
35658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35663 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35667 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35668 wxPyEndAllowThreads(__tstate
);
35669 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35680 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35681 PyObject
*resultobj
= 0;
35682 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35685 PyObject
*swig_obj
[1] ;
35687 if (!args
) SWIG_fail
;
35688 swig_obj
[0] = args
;
35689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35690 if (!SWIG_IsOK(res1
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35693 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35696 wxDisplay_ResetMode(arg1
);
35697 wxPyEndAllowThreads(__tstate
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35700 resultobj
= SWIG_Py_Void();
35707 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35710 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35711 return SWIG_Py_Void();
35714 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35715 return SWIG_Python_InitShadowInstance(args
);
35718 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35719 PyObject
*resultobj
= 0;
35720 wxStandardPaths
*result
= 0 ;
35722 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35725 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35726 wxPyEndAllowThreads(__tstate
);
35727 if (PyErr_Occurred()) SWIG_fail
;
35729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35736 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35737 PyObject
*resultobj
= 0;
35738 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35742 PyObject
*swig_obj
[1] ;
35744 if (!args
) SWIG_fail
;
35745 swig_obj
[0] = args
;
35746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35747 if (!SWIG_IsOK(res1
)) {
35748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35750 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35753 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35754 wxPyEndAllowThreads(__tstate
);
35755 if (PyErr_Occurred()) SWIG_fail
;
35759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35770 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35771 PyObject
*resultobj
= 0;
35772 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35776 PyObject
*swig_obj
[1] ;
35778 if (!args
) SWIG_fail
;
35779 swig_obj
[0] = args
;
35780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35781 if (!SWIG_IsOK(res1
)) {
35782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35784 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35787 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35788 wxPyEndAllowThreads(__tstate
);
35789 if (PyErr_Occurred()) SWIG_fail
;
35793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35804 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35805 PyObject
*resultobj
= 0;
35806 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35810 PyObject
*swig_obj
[1] ;
35812 if (!args
) SWIG_fail
;
35813 swig_obj
[0] = args
;
35814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35815 if (!SWIG_IsOK(res1
)) {
35816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35818 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35821 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35838 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35839 PyObject
*resultobj
= 0;
35840 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35844 PyObject
*swig_obj
[1] ;
35846 if (!args
) SWIG_fail
;
35847 swig_obj
[0] = args
;
35848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35849 if (!SWIG_IsOK(res1
)) {
35850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35852 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35855 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35856 wxPyEndAllowThreads(__tstate
);
35857 if (PyErr_Occurred()) SWIG_fail
;
35861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35872 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35873 PyObject
*resultobj
= 0;
35874 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35878 PyObject
*swig_obj
[1] ;
35880 if (!args
) SWIG_fail
;
35881 swig_obj
[0] = args
;
35882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35883 if (!SWIG_IsOK(res1
)) {
35884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35886 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35890 wxPyEndAllowThreads(__tstate
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35906 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35907 PyObject
*resultobj
= 0;
35908 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35912 PyObject
*swig_obj
[1] ;
35914 if (!args
) SWIG_fail
;
35915 swig_obj
[0] = args
;
35916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35917 if (!SWIG_IsOK(res1
)) {
35918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35920 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35940 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35941 PyObject
*resultobj
= 0;
35942 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35946 PyObject
*swig_obj
[1] ;
35948 if (!args
) SWIG_fail
;
35949 swig_obj
[0] = args
;
35950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35951 if (!SWIG_IsOK(res1
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35954 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35957 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35974 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35975 PyObject
*resultobj
= 0;
35976 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35980 PyObject
*swig_obj
[1] ;
35982 if (!args
) SWIG_fail
;
35983 swig_obj
[0] = args
;
35984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35985 if (!SWIG_IsOK(res1
)) {
35986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35988 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35992 wxPyEndAllowThreads(__tstate
);
35993 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36008 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36009 PyObject
*resultobj
= 0;
36010 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36011 wxString
*arg2
= 0 ;
36012 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
36016 bool temp2
= false ;
36019 PyObject
* obj0
= 0 ;
36020 PyObject
* obj1
= 0 ;
36021 PyObject
* obj2
= 0 ;
36022 char * kwnames
[] = {
36023 (char *) "self",(char *) "lang",(char *) "category", NULL
36026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36028 if (!SWIG_IsOK(res1
)) {
36029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36031 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36033 arg2
= wxString_in_helper(obj1
);
36034 if (arg2
== NULL
) SWIG_fail
;
36038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36039 if (!SWIG_IsOK(ecode3
)) {
36040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
36042 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
36047 wxPyEndAllowThreads(__tstate
);
36048 if (PyErr_Occurred()) SWIG_fail
;
36052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36071 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36072 PyObject
*resultobj
= 0;
36073 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36077 PyObject
*swig_obj
[1] ;
36079 if (!args
) SWIG_fail
;
36080 swig_obj
[0] = args
;
36081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36082 if (!SWIG_IsOK(res1
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36085 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36088 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
36089 wxPyEndAllowThreads(__tstate
);
36090 if (PyErr_Occurred()) SWIG_fail
;
36094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36105 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
= 0;
36107 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36108 wxString
*arg2
= 0 ;
36111 bool temp2
= false ;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 char * kwnames
[] = {
36115 (char *) "self",(char *) "prefix", NULL
36118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36120 if (!SWIG_IsOK(res1
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36123 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36125 arg2
= wxString_in_helper(obj1
);
36126 if (arg2
== NULL
) SWIG_fail
;
36130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36131 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
36132 wxPyEndAllowThreads(__tstate
);
36133 if (PyErr_Occurred()) SWIG_fail
;
36135 resultobj
= SWIG_Py_Void();
36150 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36151 PyObject
*resultobj
= 0;
36152 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36156 PyObject
*swig_obj
[1] ;
36158 if (!args
) SWIG_fail
;
36159 swig_obj
[0] = args
;
36160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36161 if (!SWIG_IsOK(res1
)) {
36162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36164 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 result
= wxStandardPaths_GetInstallPrefix(arg1
);
36168 wxPyEndAllowThreads(__tstate
);
36169 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36184 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36187 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
36188 return SWIG_Py_Void();
36191 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36192 PyObject
*resultobj
= 0;
36194 wxPowerEvent
*result
= 0 ;
36197 PyObject
* obj0
= 0 ;
36198 char * kwnames
[] = {
36199 (char *) "evtType", NULL
36202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
36203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36204 if (!SWIG_IsOK(ecode1
)) {
36205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
36207 arg1
= static_cast< wxEventType
>(val1
);
36209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36210 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
36211 wxPyEndAllowThreads(__tstate
);
36212 if (PyErr_Occurred()) SWIG_fail
;
36214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
36221 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36222 PyObject
*resultobj
= 0;
36223 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36226 PyObject
*swig_obj
[1] ;
36228 if (!args
) SWIG_fail
;
36229 swig_obj
[0] = args
;
36230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36231 if (!SWIG_IsOK(res1
)) {
36232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
36234 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 wxPyEndAllowThreads(__tstate
);
36239 if (PyErr_Occurred()) SWIG_fail
;
36241 resultobj
= SWIG_Py_Void();
36248 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36249 PyObject
*resultobj
= 0;
36250 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36254 PyObject
*swig_obj
[1] ;
36256 if (!args
) SWIG_fail
;
36257 swig_obj
[0] = args
;
36258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36259 if (!SWIG_IsOK(res1
)) {
36260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
36262 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36265 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
36266 wxPyEndAllowThreads(__tstate
);
36267 if (PyErr_Occurred()) SWIG_fail
;
36270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36278 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
36282 return SWIG_Py_Void();
36285 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36286 return SWIG_Python_InitShadowInstance(args
);
36289 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36290 PyObject
*resultobj
= 0;
36291 wxPowerType result
;
36293 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
36295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36296 result
= (wxPowerType
)wxGetPowerType();
36297 wxPyEndAllowThreads(__tstate
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36300 resultobj
= SWIG_From_int(static_cast< int >(result
));
36307 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36308 PyObject
*resultobj
= 0;
36309 wxBatteryState result
;
36311 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
36313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36314 result
= (wxBatteryState
)wxGetBatteryState();
36315 wxPyEndAllowThreads(__tstate
);
36316 if (PyErr_Occurred()) SWIG_fail
;
36318 resultobj
= SWIG_From_int(static_cast< int >(result
));
36325 static PyMethodDef SwigMethods
[] = {
36326 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36328 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36329 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
36331 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36332 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
36333 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
36334 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36335 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36336 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36337 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36341 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36342 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36343 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36345 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36347 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36349 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36350 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36351 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36352 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36353 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36354 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36355 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36356 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36357 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36358 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36364 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36365 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36366 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36367 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36368 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36369 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36370 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36371 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36372 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36373 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36376 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36378 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36379 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36384 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36385 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36386 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36387 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36388 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36389 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36390 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36391 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36392 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36393 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36394 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36396 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36397 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36398 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36399 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36402 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36404 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36405 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36406 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36407 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36408 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36409 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36410 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36411 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36412 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36413 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36414 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36415 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36419 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36425 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36426 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36427 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36428 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36429 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36430 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36431 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36432 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36433 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36434 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36435 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36437 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36439 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36440 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36443 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36444 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36446 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36447 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36448 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36449 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36450 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36451 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36452 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36453 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36454 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36458 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36460 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36461 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36463 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36464 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36466 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36467 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36468 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36470 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36471 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36472 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36473 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36474 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36475 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36476 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36477 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36479 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36480 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36481 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36482 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36483 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36485 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36488 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36493 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36496 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36497 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36498 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36500 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36501 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36502 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36503 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36504 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36505 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36507 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36508 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36509 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36511 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36514 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36515 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36519 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36522 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36524 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36525 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36526 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36527 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36528 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36529 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36530 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36531 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36533 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36534 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36535 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36536 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36537 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36539 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36540 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36541 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36542 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36543 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36546 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36547 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36548 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36550 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36551 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36554 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
36556 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36560 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36561 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36563 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36564 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36565 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36566 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36567 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36568 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36569 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36570 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36571 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36572 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36573 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36574 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36576 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36577 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36578 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36579 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36580 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36583 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36584 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36585 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36587 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36588 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36592 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36593 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36594 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36595 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36596 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36597 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36598 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36599 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36600 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36606 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36607 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36608 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36613 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36615 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36616 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36617 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36618 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36619 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36621 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36622 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36629 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36630 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36631 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36632 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36633 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36634 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36635 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36636 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36637 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36638 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36639 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36640 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36642 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36643 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36644 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36645 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36646 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36647 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36648 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36649 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36653 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36654 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36655 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36656 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36657 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36658 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36659 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36660 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36661 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36662 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36664 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36665 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36666 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36667 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36668 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36669 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36670 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36671 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36672 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36673 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36674 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36675 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36676 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36677 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36678 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36679 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36680 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36681 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36682 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36683 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36684 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36685 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36686 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36687 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36688 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36689 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36690 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36691 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36692 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36693 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36695 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36696 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36697 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36699 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36700 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36701 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36702 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36703 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36709 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36710 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36711 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36715 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36716 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36719 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36722 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36725 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36726 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36727 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36730 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36731 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36734 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36735 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36736 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36737 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36738 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36739 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36740 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36741 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36742 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36743 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36744 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36746 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36747 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36748 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36749 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36750 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36751 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36752 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36758 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36760 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36761 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36763 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36765 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36770 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36774 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36775 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36776 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36777 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36778 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36781 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36786 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36787 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36788 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36789 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36792 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36793 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36795 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36796 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36798 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36819 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36821 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36823 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36825 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36826 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36830 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36831 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36833 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36834 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36835 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36837 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36838 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36839 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36841 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36842 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36843 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36844 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36847 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36858 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36862 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36863 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36864 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36865 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36871 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36872 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36877 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36901 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36902 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36903 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36904 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36905 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36910 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36917 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36918 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36944 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36945 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36946 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36947 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36954 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36955 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36960 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36961 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36962 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36963 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36964 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36965 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36967 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36969 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36970 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36971 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36973 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36974 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36975 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36977 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36979 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36983 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36984 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36988 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36989 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36990 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36994 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36999 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
37000 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
37001 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37002 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37004 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
37005 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
37006 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
37007 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
37008 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
37009 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
37010 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
37012 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
37013 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
37015 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
37017 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
37019 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
37021 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
37023 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37026 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37027 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
37028 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
37029 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
37030 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
37031 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
37032 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37034 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
37035 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
37039 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37042 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37046 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
37047 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
37048 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
37049 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
37050 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
37051 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
37052 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37054 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
37055 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
37056 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
37057 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37058 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
37059 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
37060 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37061 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
37062 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
37063 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
37064 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37065 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37066 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37067 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37068 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37070 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37071 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
37072 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37073 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
37074 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37075 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
37076 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
37077 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37079 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37080 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37081 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37082 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37083 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37084 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
37085 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37086 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
37087 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
37088 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
37089 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37090 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
37091 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
37092 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
37094 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
37095 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37097 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
37098 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
37099 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37100 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
37101 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37102 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37103 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37104 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37105 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37106 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37107 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37108 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
37109 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
37110 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37111 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
37112 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
37113 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
37114 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37115 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
37116 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
37117 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
37118 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
37119 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
37120 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
37121 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37122 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
37123 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
37124 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
37125 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37126 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
37127 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
37128 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
37129 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37130 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37131 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37132 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
37133 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37134 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
37135 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37136 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37137 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37138 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
37139 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
37140 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37141 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37142 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
37143 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
37144 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37145 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37146 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37147 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
37148 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37149 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
37150 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37151 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
37152 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
37153 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
37154 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
37155 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37156 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37157 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37158 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37159 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
37160 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37161 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37162 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
37163 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
37164 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
37165 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37166 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37167 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37168 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37169 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
37170 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37171 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37172 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
37173 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
37174 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
37175 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
37176 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
37177 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
37178 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
37179 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37180 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37181 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37182 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37183 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
37184 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
37185 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37186 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
37187 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
37188 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
37189 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37190 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
37191 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
37192 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
37193 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
37194 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37195 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
37196 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37197 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
37198 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
37199 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
37200 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
37201 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37202 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37203 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
37204 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
37205 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
37206 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
37207 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
37208 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
37209 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
37210 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
37211 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
37212 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
37213 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37214 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
37215 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
37216 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37217 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37218 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
37219 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
37220 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
37221 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
37222 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
37223 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37224 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
37225 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37226 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
37227 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
37228 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
37229 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
37230 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
37231 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
37232 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
37233 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
37234 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
37235 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
37236 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
37237 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
37238 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37239 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
37240 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37241 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
37242 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
37243 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37244 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
37245 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
37246 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
37247 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
37248 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
37249 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
37250 { NULL
, NULL
, 0, NULL
}
37254 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37256 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37257 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37259 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37260 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37262 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37263 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37265 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37266 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37268 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37269 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37271 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37272 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37274 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
37275 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
37277 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
37278 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
37280 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37281 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37283 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37284 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37286 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37287 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37289 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37290 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37292 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
37293 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
37295 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37296 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37298 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37299 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37301 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37302 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37304 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37305 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37307 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37308 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37310 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37311 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37313 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37314 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37316 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37317 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37319 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37320 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37322 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
37323 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37325 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37326 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37328 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37329 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37331 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37332 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37334 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37335 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37337 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37338 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37340 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37341 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37343 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37344 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37346 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37347 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37349 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37350 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37352 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37353 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37355 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37356 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37358 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37359 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37361 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37362 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37364 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37365 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37367 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37368 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37370 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37371 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37373 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37374 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37376 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37377 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37379 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37380 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37382 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37383 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37385 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37386 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37388 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37389 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37391 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37392 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37394 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37395 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37397 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37398 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37400 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37401 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37403 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37404 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37406 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37407 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37409 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37410 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37412 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37413 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37415 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37416 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37418 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37419 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37421 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37422 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37424 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37425 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37427 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37428 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37430 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37431 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37433 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37434 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37436 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37437 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37439 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37440 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37442 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37443 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37445 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37446 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37448 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37449 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37451 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37452 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37454 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37457 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37458 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37460 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37461 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37463 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37464 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37466 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37467 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37469 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37470 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37472 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37473 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37475 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37476 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37478 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37479 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37481 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37482 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37484 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37485 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37487 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37488 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37490 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37493 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37494 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37496 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37497 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37499 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37500 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37502 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37503 return (void *)((wxObject
*) ((wxSizer
*) x
));
37505 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37506 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37508 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37509 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37511 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37514 static void *_p_wxEventTo_p_wxObject(void *x
) {
37515 return (void *)((wxObject
*) ((wxEvent
*) x
));
37517 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37518 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37520 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37521 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37523 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37524 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37526 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37529 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37530 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37532 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37533 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37535 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37536 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37538 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37539 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37541 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37542 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37544 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37545 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37547 static void *_p_wxControlTo_p_wxObject(void *x
) {
37548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37550 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37551 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37553 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37554 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37556 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
37557 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
37559 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37560 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37562 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37563 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37565 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37566 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37568 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37569 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37571 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37572 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37574 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37575 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37577 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37578 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37580 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37581 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37583 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37586 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37587 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37589 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37592 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37593 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37595 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37596 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37598 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37599 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37601 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37602 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37604 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37605 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37607 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37608 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37610 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37611 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37613 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37614 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37616 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37619 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37620 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37622 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37623 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37625 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37626 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37628 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37629 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37631 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37632 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37634 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37635 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37637 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37638 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37640 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37641 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37643 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37644 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37646 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37647 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37649 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37650 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37652 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37653 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37655 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37656 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37658 static void *_p_wxImageTo_p_wxObject(void *x
) {
37659 return (void *)((wxObject
*) ((wxImage
*) x
));
37661 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37662 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37664 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37665 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37667 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37668 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37670 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37673 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37674 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37676 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37677 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37679 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37680 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37682 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37683 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37685 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37688 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37689 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37691 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37692 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37694 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37695 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37697 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37698 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37700 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37701 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37703 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37704 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37706 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37707 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37709 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37710 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37712 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37713 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37715 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37718 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37719 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37721 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37722 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37724 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37725 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37727 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37730 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37731 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37733 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37736 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37739 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37740 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37742 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37743 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37745 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37746 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37748 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37749 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37751 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37752 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37754 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37755 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37757 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37758 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37760 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37761 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37763 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37764 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37766 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37767 return (void *)((wxWindow
*) ((wxControl
*) x
));
37769 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37770 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37772 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37773 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37775 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37776 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37778 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37779 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37781 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37782 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};
37783 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37784 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37785 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37786 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37787 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37788 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37789 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37790 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37791 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37792 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37793 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37794 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37795 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37796 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37797 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37798 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37799 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37800 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37801 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37802 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37803 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37804 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37805 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37806 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37807 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37808 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37809 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37810 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37811 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37812 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37813 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37814 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37815 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37816 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37817 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37818 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37819 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37820 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37821 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37822 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37823 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37824 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37825 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37826 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37827 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37828 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37829 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37830 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37831 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37832 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37833 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37834 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37835 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37836 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37837 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37838 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37839 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37840 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37841 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37842 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37843 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37844 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37845 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37846 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37847 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37848 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37849 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37850 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37851 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37852 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37853 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37854 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37855 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37856 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37857 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37858 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37859 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37860 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37861 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37862 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37863 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37864 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37865 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37866 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37867 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37868 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37869 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37870 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37871 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37872 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37873 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37874 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37875 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37876 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37877 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37878 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37879 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37880 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37881 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37882 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37883 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37884 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37885 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37886 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37887 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37888 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37889 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37890 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37891 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37892 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37893 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37894 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37895 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37896 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37897 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37898 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37899 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37900 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37901 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37902 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37903 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37904 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37905 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37906 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37907 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37908 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37909 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37910 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37911 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37912 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37913 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37914 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37915 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37916 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37917 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
37918 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37919 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37920 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37921 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37922 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37923 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37924 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37925 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37926 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37927 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37928 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37929 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37930 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37931 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37932 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37933 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37934 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37935 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37936 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37937 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37938 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37939 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37940 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37941 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37942 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37943 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37944 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37945 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37946 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37947 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37948 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37949 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37950 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37951 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37953 static swig_type_info
*swig_type_initial
[] = {
37955 &_swigt__p_form_ops_t
,
37957 &_swigt__p_unsigned_char
,
37958 &_swigt__p_unsigned_int
,
37959 &_swigt__p_unsigned_long
,
37961 &_swigt__p_wxANIHandler
,
37962 &_swigt__p_wxAcceleratorTable
,
37963 &_swigt__p_wxActivateEvent
,
37964 &_swigt__p_wxArrayString
,
37965 &_swigt__p_wxBMPHandler
,
37966 &_swigt__p_wxBitmap
,
37967 &_swigt__p_wxBitmapDataObject
,
37968 &_swigt__p_wxBoxSizer
,
37969 &_swigt__p_wxBusyCursor
,
37970 &_swigt__p_wxBusyInfo
,
37971 &_swigt__p_wxCURHandler
,
37972 &_swigt__p_wxCaret
,
37974 &_swigt__p_wxChildFocusEvent
,
37975 &_swigt__p_wxClipboard
,
37976 &_swigt__p_wxClipboardLocker
,
37977 &_swigt__p_wxClipboardTextEvent
,
37978 &_swigt__p_wxCloseEvent
,
37979 &_swigt__p_wxColour
,
37980 &_swigt__p_wxCommandEvent
,
37981 &_swigt__p_wxConfig
,
37982 &_swigt__p_wxConfigBase
,
37983 &_swigt__p_wxConfigPathChanger
,
37984 &_swigt__p_wxContextMenuEvent
,
37985 &_swigt__p_wxControl
,
37986 &_swigt__p_wxControlWithItems
,
37987 &_swigt__p_wxCursor
,
37988 &_swigt__p_wxCustomDataObject
,
37990 &_swigt__p_wxDataFormat
,
37991 &_swigt__p_wxDataObject
,
37992 &_swigt__p_wxDataObjectComposite
,
37993 &_swigt__p_wxDataObjectSimple
,
37994 &_swigt__p_wxDateEvent
,
37995 &_swigt__p_wxDateSpan
,
37996 &_swigt__p_wxDateTime
,
37997 &_swigt__p_wxDateTime__TimeZone
,
37998 &_swigt__p_wxDisplay
,
37999 &_swigt__p_wxDisplayChangedEvent
,
38000 &_swigt__p_wxDropFilesEvent
,
38001 &_swigt__p_wxDuplexMode
,
38002 &_swigt__p_wxEraseEvent
,
38003 &_swigt__p_wxEvent
,
38004 &_swigt__p_wxEvtHandler
,
38005 &_swigt__p_wxFSFile
,
38006 &_swigt__p_wxFileConfig
,
38007 &_swigt__p_wxFileDataObject
,
38008 &_swigt__p_wxFileHistory
,
38009 &_swigt__p_wxFileSystem
,
38010 &_swigt__p_wxFileType
,
38011 &_swigt__p_wxFileTypeInfo
,
38012 &_swigt__p_wxFlexGridSizer
,
38013 &_swigt__p_wxFocusEvent
,
38015 &_swigt__p_wxFrame
,
38016 &_swigt__p_wxGBSizerItem
,
38017 &_swigt__p_wxGIFHandler
,
38018 &_swigt__p_wxGridBagSizer
,
38019 &_swigt__p_wxGridSizer
,
38020 &_swigt__p_wxICOHandler
,
38022 &_swigt__p_wxIconizeEvent
,
38023 &_swigt__p_wxIdleEvent
,
38024 &_swigt__p_wxImage
,
38025 &_swigt__p_wxImageHandler
,
38026 &_swigt__p_wxIndividualLayoutConstraint
,
38027 &_swigt__p_wxInitDialogEvent
,
38028 &_swigt__p_wxJPEGHandler
,
38029 &_swigt__p_wxJoystick
,
38030 &_swigt__p_wxJoystickEvent
,
38031 &_swigt__p_wxKeyEvent
,
38032 &_swigt__p_wxKillError
,
38033 &_swigt__p_wxLayoutConstraints
,
38035 &_swigt__p_wxLogBuffer
,
38036 &_swigt__p_wxLogChain
,
38037 &_swigt__p_wxLogGui
,
38038 &_swigt__p_wxLogNull
,
38039 &_swigt__p_wxLogStderr
,
38040 &_swigt__p_wxLogTextCtrl
,
38041 &_swigt__p_wxLogWindow
,
38042 &_swigt__p_wxMaximizeEvent
,
38044 &_swigt__p_wxMenuBar
,
38045 &_swigt__p_wxMenuEvent
,
38046 &_swigt__p_wxMenuItem
,
38047 &_swigt__p_wxMetafile
,
38048 &_swigt__p_wxMetafileDataObject
,
38049 &_swigt__p_wxMimeTypesManager
,
38050 &_swigt__p_wxMouseCaptureChangedEvent
,
38051 &_swigt__p_wxMouseEvent
,
38052 &_swigt__p_wxMouseState
,
38053 &_swigt__p_wxMoveEvent
,
38054 &_swigt__p_wxMutexGuiLocker
,
38055 &_swigt__p_wxNavigationKeyEvent
,
38056 &_swigt__p_wxNcPaintEvent
,
38057 &_swigt__p_wxNotifyEvent
,
38058 &_swigt__p_wxObject
,
38059 &_swigt__p_wxOutputStream
,
38060 &_swigt__p_wxPCXHandler
,
38061 &_swigt__p_wxPNGHandler
,
38062 &_swigt__p_wxPNMHandler
,
38063 &_swigt__p_wxPaintEvent
,
38064 &_swigt__p_wxPaletteChangedEvent
,
38065 &_swigt__p_wxPaperSize
,
38066 &_swigt__p_wxPoint
,
38067 &_swigt__p_wxPowerEvent
,
38068 &_swigt__p_wxProcessEvent
,
38069 &_swigt__p_wxPyApp
,
38070 &_swigt__p_wxPyArtProvider
,
38071 &_swigt__p_wxPyBitmapDataObject
,
38072 &_swigt__p_wxPyCommandEvent
,
38073 &_swigt__p_wxPyDataObjectSimple
,
38074 &_swigt__p_wxPyDropSource
,
38075 &_swigt__p_wxPyDropTarget
,
38076 &_swigt__p_wxPyEvent
,
38077 &_swigt__p_wxPyFileDropTarget
,
38078 &_swigt__p_wxPyImageHandler
,
38079 &_swigt__p_wxPyLog
,
38080 &_swigt__p_wxPyProcess
,
38081 &_swigt__p_wxPySizer
,
38082 &_swigt__p_wxPyTextDataObject
,
38083 &_swigt__p_wxPyTextDropTarget
,
38084 &_swigt__p_wxPyTimer
,
38085 &_swigt__p_wxPyTipProvider
,
38086 &_swigt__p_wxPyValidator
,
38087 &_swigt__p_wxQueryNewPaletteEvent
,
38089 &_swigt__p_wxScrollEvent
,
38090 &_swigt__p_wxScrollWinEvent
,
38091 &_swigt__p_wxSetCursorEvent
,
38092 &_swigt__p_wxShowEvent
,
38093 &_swigt__p_wxSingleInstanceChecker
,
38095 &_swigt__p_wxSizeEvent
,
38096 &_swigt__p_wxSizer
,
38097 &_swigt__p_wxSizerItem
,
38098 &_swigt__p_wxSound
,
38099 &_swigt__p_wxStandardPaths
,
38100 &_swigt__p_wxStaticBoxSizer
,
38101 &_swigt__p_wxStdDialogButtonSizer
,
38102 &_swigt__p_wxStopWatch
,
38103 &_swigt__p_wxString
,
38104 &_swigt__p_wxSysColourChangedEvent
,
38105 &_swigt__p_wxSystemOptions
,
38106 &_swigt__p_wxSystemSettings
,
38107 &_swigt__p_wxTIFFHandler
,
38108 &_swigt__p_wxTextCtrl
,
38109 &_swigt__p_wxTextDataObject
,
38110 &_swigt__p_wxTimeSpan
,
38111 &_swigt__p_wxTimer
,
38112 &_swigt__p_wxTimerEvent
,
38113 &_swigt__p_wxTimerRunner
,
38114 &_swigt__p_wxTipProvider
,
38115 &_swigt__p_wxToolTip
,
38116 &_swigt__p_wxURLDataObject
,
38117 &_swigt__p_wxUpdateUIEvent
,
38118 &_swigt__p_wxValidator
,
38119 &_swigt__p_wxVideoMode
,
38120 &_swigt__p_wxWindow
,
38121 &_swigt__p_wxWindowCreateEvent
,
38122 &_swigt__p_wxWindowDestroyEvent
,
38123 &_swigt__p_wxWindowDisabler
,
38124 &_swigt__p_wxXPMHandler
,
38127 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38128 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38129 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38130 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38131 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38132 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38133 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38134 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38135 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38136 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}};
38137 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
38138 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
38139 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
38140 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
38141 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
38142 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
38143 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38144 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
38145 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}};
38146 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
38147 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38148 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38149 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38150 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
38151 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}};
38152 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
38153 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}};
38154 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
38155 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38156 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
38157 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
38158 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38159 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38160 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38161 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38162 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38163 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38164 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38165 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38166 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38167 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38168 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38169 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38170 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38171 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38172 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38173 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38174 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38175 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38176 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38177 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38178 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
38179 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38180 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38181 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38182 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38183 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38184 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38185 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38186 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38187 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38188 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38189 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38190 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38191 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38192 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38193 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38194 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38195 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38196 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}};
38197 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
38198 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
38199 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38200 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38201 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
38202 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38203 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}};
38204 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
38205 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38206 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
38207 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
38208 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
38209 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38210 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
38211 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38212 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
38213 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
38214 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
38215 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}};
38216 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
38217 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
38218 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
38219 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
38220 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
38221 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38222 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
38223 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38224 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
38225 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38226 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
38227 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
38228 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
38229 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38230 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38231 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38232 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38233 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38234 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38235 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38236 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38237 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38238 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38239 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38240 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38241 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38242 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38243 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38244 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38245 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38246 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38247 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38248 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38249 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38250 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38251 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38252 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38253 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38254 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38255 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38256 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38257 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38258 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38259 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}};
38260 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
38261 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38262 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38263 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38264 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
38265 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
38266 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38267 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
38268 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
38269 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}};
38270 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38271 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
38272 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
38273 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38274 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38275 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
38276 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
38277 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38278 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
38279 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38280 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
38281 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
38282 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
38283 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38284 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
38285 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
38286 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38287 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}};
38288 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
38289 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
38290 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38291 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
38292 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}};
38293 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
38294 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38295 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
38296 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}};
38297 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
38299 static swig_cast_info
*swig_cast_initial
[] = {
38301 _swigc__p_form_ops_t
,
38303 _swigc__p_unsigned_char
,
38304 _swigc__p_unsigned_int
,
38305 _swigc__p_unsigned_long
,
38307 _swigc__p_wxANIHandler
,
38308 _swigc__p_wxAcceleratorTable
,
38309 _swigc__p_wxActivateEvent
,
38310 _swigc__p_wxArrayString
,
38311 _swigc__p_wxBMPHandler
,
38312 _swigc__p_wxBitmap
,
38313 _swigc__p_wxBitmapDataObject
,
38314 _swigc__p_wxBoxSizer
,
38315 _swigc__p_wxBusyCursor
,
38316 _swigc__p_wxBusyInfo
,
38317 _swigc__p_wxCURHandler
,
38320 _swigc__p_wxChildFocusEvent
,
38321 _swigc__p_wxClipboard
,
38322 _swigc__p_wxClipboardLocker
,
38323 _swigc__p_wxClipboardTextEvent
,
38324 _swigc__p_wxCloseEvent
,
38325 _swigc__p_wxColour
,
38326 _swigc__p_wxCommandEvent
,
38327 _swigc__p_wxConfig
,
38328 _swigc__p_wxConfigBase
,
38329 _swigc__p_wxConfigPathChanger
,
38330 _swigc__p_wxContextMenuEvent
,
38331 _swigc__p_wxControl
,
38332 _swigc__p_wxControlWithItems
,
38333 _swigc__p_wxCursor
,
38334 _swigc__p_wxCustomDataObject
,
38336 _swigc__p_wxDataFormat
,
38337 _swigc__p_wxDataObject
,
38338 _swigc__p_wxDataObjectComposite
,
38339 _swigc__p_wxDataObjectSimple
,
38340 _swigc__p_wxDateEvent
,
38341 _swigc__p_wxDateSpan
,
38342 _swigc__p_wxDateTime
,
38343 _swigc__p_wxDateTime__TimeZone
,
38344 _swigc__p_wxDisplay
,
38345 _swigc__p_wxDisplayChangedEvent
,
38346 _swigc__p_wxDropFilesEvent
,
38347 _swigc__p_wxDuplexMode
,
38348 _swigc__p_wxEraseEvent
,
38350 _swigc__p_wxEvtHandler
,
38351 _swigc__p_wxFSFile
,
38352 _swigc__p_wxFileConfig
,
38353 _swigc__p_wxFileDataObject
,
38354 _swigc__p_wxFileHistory
,
38355 _swigc__p_wxFileSystem
,
38356 _swigc__p_wxFileType
,
38357 _swigc__p_wxFileTypeInfo
,
38358 _swigc__p_wxFlexGridSizer
,
38359 _swigc__p_wxFocusEvent
,
38362 _swigc__p_wxGBSizerItem
,
38363 _swigc__p_wxGIFHandler
,
38364 _swigc__p_wxGridBagSizer
,
38365 _swigc__p_wxGridSizer
,
38366 _swigc__p_wxICOHandler
,
38368 _swigc__p_wxIconizeEvent
,
38369 _swigc__p_wxIdleEvent
,
38371 _swigc__p_wxImageHandler
,
38372 _swigc__p_wxIndividualLayoutConstraint
,
38373 _swigc__p_wxInitDialogEvent
,
38374 _swigc__p_wxJPEGHandler
,
38375 _swigc__p_wxJoystick
,
38376 _swigc__p_wxJoystickEvent
,
38377 _swigc__p_wxKeyEvent
,
38378 _swigc__p_wxKillError
,
38379 _swigc__p_wxLayoutConstraints
,
38381 _swigc__p_wxLogBuffer
,
38382 _swigc__p_wxLogChain
,
38383 _swigc__p_wxLogGui
,
38384 _swigc__p_wxLogNull
,
38385 _swigc__p_wxLogStderr
,
38386 _swigc__p_wxLogTextCtrl
,
38387 _swigc__p_wxLogWindow
,
38388 _swigc__p_wxMaximizeEvent
,
38390 _swigc__p_wxMenuBar
,
38391 _swigc__p_wxMenuEvent
,
38392 _swigc__p_wxMenuItem
,
38393 _swigc__p_wxMetafile
,
38394 _swigc__p_wxMetafileDataObject
,
38395 _swigc__p_wxMimeTypesManager
,
38396 _swigc__p_wxMouseCaptureChangedEvent
,
38397 _swigc__p_wxMouseEvent
,
38398 _swigc__p_wxMouseState
,
38399 _swigc__p_wxMoveEvent
,
38400 _swigc__p_wxMutexGuiLocker
,
38401 _swigc__p_wxNavigationKeyEvent
,
38402 _swigc__p_wxNcPaintEvent
,
38403 _swigc__p_wxNotifyEvent
,
38404 _swigc__p_wxObject
,
38405 _swigc__p_wxOutputStream
,
38406 _swigc__p_wxPCXHandler
,
38407 _swigc__p_wxPNGHandler
,
38408 _swigc__p_wxPNMHandler
,
38409 _swigc__p_wxPaintEvent
,
38410 _swigc__p_wxPaletteChangedEvent
,
38411 _swigc__p_wxPaperSize
,
38413 _swigc__p_wxPowerEvent
,
38414 _swigc__p_wxProcessEvent
,
38416 _swigc__p_wxPyArtProvider
,
38417 _swigc__p_wxPyBitmapDataObject
,
38418 _swigc__p_wxPyCommandEvent
,
38419 _swigc__p_wxPyDataObjectSimple
,
38420 _swigc__p_wxPyDropSource
,
38421 _swigc__p_wxPyDropTarget
,
38422 _swigc__p_wxPyEvent
,
38423 _swigc__p_wxPyFileDropTarget
,
38424 _swigc__p_wxPyImageHandler
,
38426 _swigc__p_wxPyProcess
,
38427 _swigc__p_wxPySizer
,
38428 _swigc__p_wxPyTextDataObject
,
38429 _swigc__p_wxPyTextDropTarget
,
38430 _swigc__p_wxPyTimer
,
38431 _swigc__p_wxPyTipProvider
,
38432 _swigc__p_wxPyValidator
,
38433 _swigc__p_wxQueryNewPaletteEvent
,
38435 _swigc__p_wxScrollEvent
,
38436 _swigc__p_wxScrollWinEvent
,
38437 _swigc__p_wxSetCursorEvent
,
38438 _swigc__p_wxShowEvent
,
38439 _swigc__p_wxSingleInstanceChecker
,
38441 _swigc__p_wxSizeEvent
,
38443 _swigc__p_wxSizerItem
,
38445 _swigc__p_wxStandardPaths
,
38446 _swigc__p_wxStaticBoxSizer
,
38447 _swigc__p_wxStdDialogButtonSizer
,
38448 _swigc__p_wxStopWatch
,
38449 _swigc__p_wxString
,
38450 _swigc__p_wxSysColourChangedEvent
,
38451 _swigc__p_wxSystemOptions
,
38452 _swigc__p_wxSystemSettings
,
38453 _swigc__p_wxTIFFHandler
,
38454 _swigc__p_wxTextCtrl
,
38455 _swigc__p_wxTextDataObject
,
38456 _swigc__p_wxTimeSpan
,
38458 _swigc__p_wxTimerEvent
,
38459 _swigc__p_wxTimerRunner
,
38460 _swigc__p_wxTipProvider
,
38461 _swigc__p_wxToolTip
,
38462 _swigc__p_wxURLDataObject
,
38463 _swigc__p_wxUpdateUIEvent
,
38464 _swigc__p_wxValidator
,
38465 _swigc__p_wxVideoMode
,
38466 _swigc__p_wxWindow
,
38467 _swigc__p_wxWindowCreateEvent
,
38468 _swigc__p_wxWindowDestroyEvent
,
38469 _swigc__p_wxWindowDisabler
,
38470 _swigc__p_wxXPMHandler
,
38474 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38476 static swig_const_info swig_const_table
[] = {
38477 {0, 0, 0, 0.0, 0, 0}};
38482 /* -----------------------------------------------------------------------------
38483 * Type initialization:
38484 * This problem is tough by the requirement that no dynamic
38485 * memory is used. Also, since swig_type_info structures store pointers to
38486 * swig_cast_info structures and swig_cast_info structures store pointers back
38487 * to swig_type_info structures, we need some lookup code at initialization.
38488 * The idea is that swig generates all the structures that are needed.
38489 * The runtime then collects these partially filled structures.
38490 * The SWIG_InitializeModule function takes these initial arrays out of
38491 * swig_module, and does all the lookup, filling in the swig_module.types
38492 * array with the correct data and linking the correct swig_cast_info
38493 * structures together.
38495 * The generated swig_type_info structures are assigned staticly to an initial
38496 * array. We just loop though that array, and handle each type individually.
38497 * First we lookup if this type has been already loaded, and if so, use the
38498 * loaded structure instead of the generated one. Then we have to fill in the
38499 * cast linked list. The cast data is initially stored in something like a
38500 * two-dimensional array. Each row corresponds to a type (there are the same
38501 * number of rows as there are in the swig_type_initial array). Each entry in
38502 * a column is one of the swig_cast_info structures for that type.
38503 * The cast_initial array is actually an array of arrays, because each row has
38504 * a variable number of columns. So to actually build the cast linked list,
38505 * we find the array of casts associated with the type, and loop through it
38506 * adding the casts to the list. The one last trick we need to do is making
38507 * sure the type pointer in the swig_cast_info struct is correct.
38509 * First off, we lookup the cast->type name to see if it is already loaded.
38510 * There are three cases to handle:
38511 * 1) If the cast->type has already been loaded AND the type we are adding
38512 * casting info to has not been loaded (it is in this module), THEN we
38513 * replace the cast->type pointer with the type pointer that has already
38515 * 2) If BOTH types (the one we are adding casting info to, and the
38516 * cast->type) are loaded, THEN the cast info has already been loaded by
38517 * the previous module so we just ignore it.
38518 * 3) Finally, if cast->type has not already been loaded, then we add that
38519 * swig_cast_info to the linked list (because the cast->type) pointer will
38521 * ----------------------------------------------------------------------------- */
38531 #define SWIGRUNTIME_DEBUG
38535 SWIG_InitializeModule(void *clientdata
) {
38537 swig_module_info
*module_head
;
38538 static int init_run
= 0;
38540 clientdata
= clientdata
;
38542 if (init_run
) return;
38545 /* Initialize the swig_module */
38546 swig_module
.type_initial
= swig_type_initial
;
38547 swig_module
.cast_initial
= swig_cast_initial
;
38549 /* Try and load any already created modules */
38550 module_head
= SWIG_GetModule(clientdata
);
38552 swig_module
.next
= module_head
->next
;
38553 module_head
->next
= &swig_module
;
38555 /* This is the first module loaded */
38556 swig_module
.next
= &swig_module
;
38557 SWIG_SetModule(clientdata
, &swig_module
);
38560 /* Now work on filling in swig_module.types */
38561 #ifdef SWIGRUNTIME_DEBUG
38562 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38564 for (i
= 0; i
< swig_module
.size
; ++i
) {
38565 swig_type_info
*type
= 0;
38566 swig_type_info
*ret
;
38567 swig_cast_info
*cast
;
38569 #ifdef SWIGRUNTIME_DEBUG
38570 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38573 /* if there is another module already loaded */
38574 if (swig_module
.next
!= &swig_module
) {
38575 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38578 /* Overwrite clientdata field */
38579 #ifdef SWIGRUNTIME_DEBUG
38580 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38582 if (swig_module
.type_initial
[i
]->clientdata
) {
38583 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38584 #ifdef SWIGRUNTIME_DEBUG
38585 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38589 type
= swig_module
.type_initial
[i
];
38592 /* Insert casting types */
38593 cast
= swig_module
.cast_initial
[i
];
38594 while (cast
->type
) {
38595 /* Don't need to add information already in the list */
38597 #ifdef SWIGRUNTIME_DEBUG
38598 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38600 if (swig_module
.next
!= &swig_module
) {
38601 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38602 #ifdef SWIGRUNTIME_DEBUG
38603 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38607 if (type
== swig_module
.type_initial
[i
]) {
38608 #ifdef SWIGRUNTIME_DEBUG
38609 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38614 /* Check for casting already in the list */
38615 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38616 #ifdef SWIGRUNTIME_DEBUG
38617 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38619 if (!ocast
) ret
= 0;
38624 #ifdef SWIGRUNTIME_DEBUG
38625 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38628 type
->cast
->prev
= cast
;
38629 cast
->next
= type
->cast
;
38635 /* Set entry in modules->types array equal to the type */
38636 swig_module
.types
[i
] = type
;
38638 swig_module
.types
[i
] = 0;
38640 #ifdef SWIGRUNTIME_DEBUG
38641 printf("**** SWIG_InitializeModule: Cast List ******\n");
38642 for (i
= 0; i
< swig_module
.size
; ++i
) {
38644 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38645 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38646 while (cast
->type
) {
38647 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38651 printf("---- Total casts: %d\n",j
);
38653 printf("**** SWIG_InitializeModule: Cast List ******\n");
38657 /* This function will propagate the clientdata field of type to
38658 * any new swig_type_info structures that have been added into the list
38659 * of equivalent types. It is like calling
38660 * SWIG_TypeClientData(type, clientdata) a second time.
38663 SWIG_PropagateClientData(void) {
38665 swig_cast_info
*equiv
;
38666 static int init_run
= 0;
38668 if (init_run
) return;
38671 for (i
= 0; i
< swig_module
.size
; i
++) {
38672 if (swig_module
.types
[i
]->clientdata
) {
38673 equiv
= swig_module
.types
[i
]->cast
;
38675 if (!equiv
->converter
) {
38676 if (equiv
->type
&& !equiv
->type
->clientdata
)
38677 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38679 equiv
= equiv
->next
;
38699 /* Python-specific SWIG API */
38700 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38701 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38702 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38704 /* -----------------------------------------------------------------------------
38705 * global variable support code.
38706 * ----------------------------------------------------------------------------- */
38708 typedef struct swig_globalvar
{
38709 char *name
; /* Name of global variable */
38710 PyObject
*(*get_attr
)(void); /* Return the current value */
38711 int (*set_attr
)(PyObject
*); /* Set the value */
38712 struct swig_globalvar
*next
;
38715 typedef struct swig_varlinkobject
{
38717 swig_globalvar
*vars
;
38718 } swig_varlinkobject
;
38720 SWIGINTERN PyObject
*
38721 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38722 return PyString_FromString("<Swig global variables>");
38725 SWIGINTERN PyObject
*
38726 swig_varlink_str(swig_varlinkobject
*v
) {
38727 PyObject
*str
= PyString_FromString("(");
38728 swig_globalvar
*var
;
38729 for (var
= v
->vars
; var
; var
=var
->next
) {
38730 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38731 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38733 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38738 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38739 PyObject
*str
= swig_varlink_str(v
);
38740 fprintf(fp
,"Swig global variables ");
38741 fprintf(fp
,"%s\n", PyString_AsString(str
));
38747 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38748 swig_globalvar
*var
= v
->vars
;
38750 swig_globalvar
*n
= var
->next
;
38757 SWIGINTERN PyObject
*
38758 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38759 PyObject
*res
= NULL
;
38760 swig_globalvar
*var
= v
->vars
;
38762 if (strcmp(var
->name
,n
) == 0) {
38763 res
= (*var
->get_attr
)();
38768 if (res
== NULL
&& !PyErr_Occurred()) {
38769 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38775 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38777 swig_globalvar
*var
= v
->vars
;
38779 if (strcmp(var
->name
,n
) == 0) {
38780 res
= (*var
->set_attr
)(p
);
38785 if (res
== 1 && !PyErr_Occurred()) {
38786 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38791 SWIGINTERN PyTypeObject
*
38792 swig_varlink_type(void) {
38793 static char varlink__doc__
[] = "Swig var link object";
38794 static PyTypeObject varlink_type
;
38795 static int type_init
= 0;
38797 const PyTypeObject tmp
38799 PyObject_HEAD_INIT(NULL
)
38800 0, /* Number of items in variable part (ob_size) */
38801 (char *)"swigvarlink", /* Type name (tp_name) */
38802 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38803 0, /* Itemsize (tp_itemsize) */
38804 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38805 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38806 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38807 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38808 0, /* tp_compare */
38809 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38810 0, /* tp_as_number */
38811 0, /* tp_as_sequence */
38812 0, /* tp_as_mapping */
38815 (reprfunc
)swig_varlink_str
, /* tp_str */
38816 0, /* tp_getattro */
38817 0, /* tp_setattro */
38818 0, /* tp_as_buffer */
38820 varlink__doc__
, /* tp_doc */
38821 0, /* tp_traverse */
38823 0, /* tp_richcompare */
38824 0, /* tp_weaklistoffset */
38825 #if PY_VERSION_HEX >= 0x02020000
38826 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38828 #if PY_VERSION_HEX >= 0x02030000
38831 #ifdef COUNT_ALLOCS
38832 0,0,0,0 /* tp_alloc -> tp_next */
38835 varlink_type
= tmp
;
38836 varlink_type
.ob_type
= &PyType_Type
;
38839 return &varlink_type
;
38842 /* Create a variable linking object for use later */
38843 SWIGINTERN PyObject
*
38844 SWIG_Python_newvarlink(void) {
38845 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38849 return ((PyObject
*) result
);
38853 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38854 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38855 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38857 size_t size
= strlen(name
)+1;
38858 gv
->name
= (char *)malloc(size
);
38860 strncpy(gv
->name
,name
,size
);
38861 gv
->get_attr
= get_attr
;
38862 gv
->set_attr
= set_attr
;
38863 gv
->next
= v
->vars
;
38869 SWIGINTERN PyObject
*
38871 static PyObject
*_SWIG_globals
= 0;
38872 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38873 return _SWIG_globals
;
38876 /* -----------------------------------------------------------------------------
38877 * constants/methods manipulation
38878 * ----------------------------------------------------------------------------- */
38880 /* Install Constants */
38882 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38885 for (i
= 0; constants
[i
].type
; ++i
) {
38886 switch(constants
[i
].type
) {
38887 case SWIG_PY_POINTER
:
38888 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38890 case SWIG_PY_BINARY
:
38891 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38898 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38904 /* -----------------------------------------------------------------------------*/
38905 /* Fix SwigMethods to carry the callback ptrs when needed */
38906 /* -----------------------------------------------------------------------------*/
38909 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38910 swig_const_info
*const_table
,
38911 swig_type_info
**types
,
38912 swig_type_info
**types_initial
) {
38914 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38915 const char *c
= methods
[i
].ml_doc
;
38916 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38918 swig_const_info
*ci
= 0;
38919 const char *name
= c
+ 10;
38920 for (j
= 0; const_table
[j
].type
; ++j
) {
38921 if (strncmp(const_table
[j
].name
, name
,
38922 strlen(const_table
[j
].name
)) == 0) {
38923 ci
= &(const_table
[j
]);
38928 size_t shift
= (ci
->ptype
) - types
;
38929 swig_type_info
*ty
= types_initial
[shift
];
38930 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38931 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38932 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38935 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38937 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38939 strncpy(buff
, "swig_ptr: ", 10);
38941 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38942 methods
[i
].ml_doc
= ndoc
;
38954 /* -----------------------------------------------------------------------------*
38955 * Partial Init method
38956 * -----------------------------------------------------------------------------*/
38961 SWIGEXPORT
void SWIG_init(void) {
38964 /* Fix SwigMethods to carry the callback ptrs when needed */
38965 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38967 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38968 d
= PyModule_GetDict(m
);
38970 SWIG_InitializeModule(0);
38971 SWIG_InstallConstants(d
,swig_const_table
);
38974 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38975 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38976 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38977 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38978 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38979 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38980 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38981 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38982 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38983 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38984 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38985 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38986 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38987 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38988 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38989 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38990 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38991 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38992 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38993 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38994 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38995 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38996 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38997 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38998 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38999 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
39000 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
39001 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
39002 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
39003 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
39004 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
39005 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
39006 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
39007 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
39008 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
39009 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
39010 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
39011 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
39012 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
39013 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
39014 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
39015 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
39016 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
39017 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
39018 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
39019 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
39020 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
39021 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
39022 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
39023 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
39024 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
39025 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
39026 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
39027 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
39028 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
39029 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
39030 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
39031 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
39032 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
39033 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
39034 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
39035 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
39036 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
39037 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
39038 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
39039 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
39040 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
39041 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
39042 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
39043 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
39044 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
39045 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
39046 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
39047 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
39048 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
39049 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
39050 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
39051 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
39052 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
39053 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
39054 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
39055 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
39056 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
39057 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
39058 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
39059 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
39060 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
39061 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
39062 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
39063 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
39064 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
39065 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
39066 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
39067 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
39068 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
39069 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
39070 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
39071 SWIG_Python_SetConstant(d
, "UNKNOWN_PLATFORM",SWIG_From_int(static_cast< int >(wxUNKNOWN_PLATFORM
)));
39072 SWIG_Python_SetConstant(d
, "CURSES",SWIG_From_int(static_cast< int >(wxCURSES
)));
39073 SWIG_Python_SetConstant(d
, "XVIEW_X",SWIG_From_int(static_cast< int >(wxXVIEW_X
)));
39074 SWIG_Python_SetConstant(d
, "MOTIF_X",SWIG_From_int(static_cast< int >(wxMOTIF_X
)));
39075 SWIG_Python_SetConstant(d
, "COSE_X",SWIG_From_int(static_cast< int >(wxCOSE_X
)));
39076 SWIG_Python_SetConstant(d
, "NEXTSTEP",SWIG_From_int(static_cast< int >(wxNEXTSTEP
)));
39077 SWIG_Python_SetConstant(d
, "MAC",SWIG_From_int(static_cast< int >(wxMAC
)));
39078 SWIG_Python_SetConstant(d
, "MAC_DARWIN",SWIG_From_int(static_cast< int >(wxMAC_DARWIN
)));
39079 SWIG_Python_SetConstant(d
, "BEOS",SWIG_From_int(static_cast< int >(wxBEOS
)));
39080 SWIG_Python_SetConstant(d
, "GTK",SWIG_From_int(static_cast< int >(wxGTK
)));
39081 SWIG_Python_SetConstant(d
, "GTK_WIN32",SWIG_From_int(static_cast< int >(wxGTK_WIN32
)));
39082 SWIG_Python_SetConstant(d
, "GTK_OS2",SWIG_From_int(static_cast< int >(wxGTK_OS2
)));
39083 SWIG_Python_SetConstant(d
, "GTK_BEOS",SWIG_From_int(static_cast< int >(wxGTK_BEOS
)));
39084 SWIG_Python_SetConstant(d
, "GEOS",SWIG_From_int(static_cast< int >(wxGEOS
)));
39085 SWIG_Python_SetConstant(d
, "OS2_PM",SWIG_From_int(static_cast< int >(wxOS2_PM
)));
39086 SWIG_Python_SetConstant(d
, "WINDOWS",SWIG_From_int(static_cast< int >(wxWINDOWS
)));
39087 SWIG_Python_SetConstant(d
, "MICROWINDOWS",SWIG_From_int(static_cast< int >(wxMICROWINDOWS
)));
39088 SWIG_Python_SetConstant(d
, "PENWINDOWS",SWIG_From_int(static_cast< int >(wxPENWINDOWS
)));
39089 SWIG_Python_SetConstant(d
, "WINDOWS_NT",SWIG_From_int(static_cast< int >(wxWINDOWS_NT
)));
39090 SWIG_Python_SetConstant(d
, "WIN32S",SWIG_From_int(static_cast< int >(wxWIN32S
)));
39091 SWIG_Python_SetConstant(d
, "WIN95",SWIG_From_int(static_cast< int >(wxWIN95
)));
39092 SWIG_Python_SetConstant(d
, "WIN386",SWIG_From_int(static_cast< int >(wxWIN386
)));
39093 SWIG_Python_SetConstant(d
, "WINDOWS_CE",SWIG_From_int(static_cast< int >(wxWINDOWS_CE
)));
39094 SWIG_Python_SetConstant(d
, "WINDOWS_POCKETPC",SWIG_From_int(static_cast< int >(wxWINDOWS_POCKETPC
)));
39095 SWIG_Python_SetConstant(d
, "WINDOWS_SMARTPHONE",SWIG_From_int(static_cast< int >(wxWINDOWS_SMARTPHONE
)));
39096 SWIG_Python_SetConstant(d
, "MGL_UNIX",SWIG_From_int(static_cast< int >(wxMGL_UNIX
)));
39097 SWIG_Python_SetConstant(d
, "MGL_X",SWIG_From_int(static_cast< int >(wxMGL_X
)));
39098 SWIG_Python_SetConstant(d
, "MGL_WIN32",SWIG_From_int(static_cast< int >(wxMGL_WIN32
)));
39099 SWIG_Python_SetConstant(d
, "MGL_OS2",SWIG_From_int(static_cast< int >(wxMGL_OS2
)));
39100 SWIG_Python_SetConstant(d
, "MGL_DOS",SWIG_From_int(static_cast< int >(wxMGL_DOS
)));
39101 SWIG_Python_SetConstant(d
, "WINDOWS_OS2",SWIG_From_int(static_cast< int >(wxWINDOWS_OS2
)));
39102 SWIG_Python_SetConstant(d
, "UNIX",SWIG_From_int(static_cast< int >(wxUNIX
)));
39103 SWIG_Python_SetConstant(d
, "X11",SWIG_From_int(static_cast< int >(wxX11
)));
39104 SWIG_Python_SetConstant(d
, "PALMOS",SWIG_From_int(static_cast< int >(wxPALMOS
)));
39105 SWIG_Python_SetConstant(d
, "DOS",SWIG_From_int(static_cast< int >(wxDOS
)));
39106 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
39107 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
39108 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
39109 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
39110 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
39112 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
39114 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
39115 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
39116 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
39117 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
39118 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
39119 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
39120 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
39121 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
39122 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
39123 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
39124 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
39125 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
39126 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
39127 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
39128 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
39129 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
39130 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
39131 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
39132 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
39133 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
39134 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
39135 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
39136 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
39137 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
39138 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
39139 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
39140 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
39141 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
39142 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
39143 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
39144 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
39145 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
39146 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
39147 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
39148 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
39149 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
39150 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
39151 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
39152 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
39153 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
39154 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
39155 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
39156 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
39157 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
39158 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
39159 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
39160 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
39161 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
39162 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
39163 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
39164 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
39165 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
39166 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
39168 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
39170 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
39171 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
39172 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
39173 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
39174 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
39175 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
39176 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
39177 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
39178 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
39179 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
39180 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
39181 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
39182 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
39183 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
39184 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
39185 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
39186 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
39187 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
39188 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
39189 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
39190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
39191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
39192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
39193 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
39194 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
39195 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
39196 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
39197 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
39198 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
39199 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
39200 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
39201 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
39202 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
39203 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
39204 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
39205 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
39206 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
39207 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
39208 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
39209 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
39210 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
39211 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
39212 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
39213 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
39214 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
39215 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
39216 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
39217 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
39218 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
39219 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
39220 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
39221 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
39222 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
39223 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
39224 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
39225 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
39226 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
39227 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
39228 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
39229 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
39230 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
39231 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
39232 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
39233 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
39234 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
39235 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
39236 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
39237 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
39238 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
39239 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
39240 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
39241 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
39242 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
39243 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
39244 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
39245 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
39247 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
39249 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
39250 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
39251 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
39252 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
39253 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
39254 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
39255 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
39256 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
39257 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
39258 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
39259 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
39260 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
39261 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
39262 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
39263 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
39264 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
39265 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
39266 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
39267 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
39268 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
39269 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
39270 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
39271 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
39272 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
39273 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
39274 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
39275 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
39276 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
39277 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
39278 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
39279 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
39280 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
39281 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
39282 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
39283 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
39284 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
39285 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
39286 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
39287 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
39288 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
39289 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
39290 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
39291 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
39292 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
39293 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
39294 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
39295 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
39296 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
39297 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
39298 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
39299 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
39300 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
39301 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
39302 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
39303 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
39304 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
39305 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
39306 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
39307 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
39308 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
39309 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
39310 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
39311 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
39312 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
39313 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
39314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
39315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
39316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
39317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
39318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
39319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
39320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
39321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
39322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
39323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
39324 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
39325 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
39326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
39327 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
39328 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
39329 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
39330 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
39331 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
39332 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
39333 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
39334 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
39335 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
39336 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
39337 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
39338 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
39339 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
39340 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
39341 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
39342 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
39343 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
39344 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
39345 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
39346 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
39347 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
39348 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
39349 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
39350 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
39351 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
39352 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
39353 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
39354 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
39355 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
39356 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
39357 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
39358 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
39359 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
39360 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
39361 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
39362 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
39363 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
39364 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
39365 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
39366 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
39367 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
39368 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
39369 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
39370 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
39371 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
39372 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
39373 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
39374 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
39375 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
39376 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
39377 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
39378 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
39379 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
39380 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
39381 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
39382 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
39383 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
39384 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
39385 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39386 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39387 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39388 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39389 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39390 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39391 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39392 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39393 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39394 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39395 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39396 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39397 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39398 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39399 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39400 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39401 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39402 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39403 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39404 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39405 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39406 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39407 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39408 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39409 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39410 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39411 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39412 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39413 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39414 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39415 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39416 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39417 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39418 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39419 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39420 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39421 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39422 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39423 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39424 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39425 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39426 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39427 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39428 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39429 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39430 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39431 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39432 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39433 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39434 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39435 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39436 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39437 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39438 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39439 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39440 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39441 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39442 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39443 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39444 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39445 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39446 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39447 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39448 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39450 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39451 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39452 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39453 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39455 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39456 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39457 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39458 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
39459 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
39460 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
39461 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
39462 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
39463 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
39464 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
39465 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
39466 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
39467 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
39468 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
39469 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
39470 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));