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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_void swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2476 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2477 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2478 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxCaret swig_types[18]
2481 #define SWIGTYPE_p_wxChar swig_types[19]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2483 #define SWIGTYPE_p_wxClipboard swig_types[21]
2484 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2485 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
2486 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2487 #define SWIGTYPE_p_wxColour swig_types[25]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2489 #define SWIGTYPE_p_wxConfig swig_types[27]
2490 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2491 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2492 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2493 #define SWIGTYPE_p_wxControl swig_types[31]
2494 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2495 #define SWIGTYPE_p_wxCursor swig_types[33]
2496 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2497 #define SWIGTYPE_p_wxDC swig_types[35]
2498 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2499 #define SWIGTYPE_p_wxDataObject swig_types[37]
2500 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2501 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2502 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2503 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime swig_types[42]
2505 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2506 #define SWIGTYPE_p_wxDisplay swig_types[44]
2507 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2509 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2510 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvent swig_types[49]
2512 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2513 #define SWIGTYPE_p_wxFSFile swig_types[51]
2514 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2515 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2516 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2517 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2518 #define SWIGTYPE_p_wxFileType swig_types[56]
2519 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2522 #define SWIGTYPE_p_wxFont swig_types[60]
2523 #define SWIGTYPE_p_wxFrame swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2527 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2528 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2529 #define SWIGTYPE_p_wxIcon swig_types[67]
2530 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2532 #define SWIGTYPE_p_wxImage swig_types[70]
2533 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2534 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2535 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2536 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2537 #define SWIGTYPE_p_wxJoystick swig_types[75]
2538 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2539 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxKillError swig_types[78]
2541 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2542 #define SWIGTYPE_p_wxLog swig_types[80]
2543 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2544 #define SWIGTYPE_p_wxLogChain swig_types[82]
2545 #define SWIGTYPE_p_wxLogGui swig_types[83]
2546 #define SWIGTYPE_p_wxLogNull swig_types[84]
2547 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2548 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2549 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2550 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2551 #define SWIGTYPE_p_wxMemorySize swig_types[89]
2552 #define SWIGTYPE_p_wxMenu swig_types[90]
2553 #define SWIGTYPE_p_wxMenuBar swig_types[91]
2554 #define SWIGTYPE_p_wxMenuEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMenuItem swig_types[93]
2556 #define SWIGTYPE_p_wxMetafile swig_types[94]
2557 #define SWIGTYPE_p_wxMetafileDataObject swig_types[95]
2558 #define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
2559 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMouseEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMouseState swig_types[99]
2562 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxObject swig_types[105]
2568 #define SWIGTYPE_p_wxOutputStream swig_types[106]
2569 #define SWIGTYPE_p_wxPCXHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPNGHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNMHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPaintEvent swig_types[110]
2573 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaperSize swig_types[112]
2575 #define SWIGTYPE_p_wxPoint swig_types[113]
2576 #define SWIGTYPE_p_wxPowerEvent swig_types[114]
2577 #define SWIGTYPE_p_wxProcessEvent swig_types[115]
2578 #define SWIGTYPE_p_wxPyApp swig_types[116]
2579 #define SWIGTYPE_p_wxPyArtProvider swig_types[117]
2580 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[118]
2581 #define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[120]
2583 #define SWIGTYPE_p_wxPyDropSource swig_types[121]
2584 #define SWIGTYPE_p_wxPyDropTarget swig_types[122]
2585 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2586 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[124]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2588 #define SWIGTYPE_p_wxPyLog swig_types[126]
2589 #define SWIGTYPE_p_wxPyProcess swig_types[127]
2590 #define SWIGTYPE_p_wxPySizer swig_types[128]
2591 #define SWIGTYPE_p_wxPyTextDataObject swig_types[129]
2592 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[130]
2593 #define SWIGTYPE_p_wxPyTimer swig_types[131]
2594 #define SWIGTYPE_p_wxPyTipProvider swig_types[132]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[133]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[134]
2597 #define SWIGTYPE_p_wxRect swig_types[135]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[140]
2603 #define SWIGTYPE_p_wxSize swig_types[141]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSizer swig_types[143]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2607 #define SWIGTYPE_p_wxSound swig_types[145]
2608 #define SWIGTYPE_p_wxStandardPaths swig_types[146]
2609 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2610 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2611 #define SWIGTYPE_p_wxStopWatch swig_types[149]
2612 #define SWIGTYPE_p_wxString swig_types[150]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614 #define SWIGTYPE_p_wxSystemOptions swig_types[152]
2615 #define SWIGTYPE_p_wxSystemSettings swig_types[153]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2617 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2618 #define SWIGTYPE_p_wxTextDataObject swig_types[156]
2619 #define SWIGTYPE_p_wxTimeSpan swig_types[157]
2620 #define SWIGTYPE_p_wxTimer swig_types[158]
2621 #define SWIGTYPE_p_wxTimerEvent swig_types[159]
2622 #define SWIGTYPE_p_wxTimerRunner swig_types[160]
2623 #define SWIGTYPE_p_wxTipProvider swig_types[161]
2624 #define SWIGTYPE_p_wxToolTip swig_types[162]
2625 #define SWIGTYPE_p_wxURLDataObject swig_types[163]
2626 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2627 #define SWIGTYPE_p_wxValidator swig_types[165]
2628 #define SWIGTYPE_p_wxVideoMode swig_types[166]
2629 #define SWIGTYPE_p_wxWindow swig_types[167]
2630 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[168]
2631 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2632 #define SWIGTYPE_p_wxWindowDisabler swig_types[170]
2633 #define SWIGTYPE_p_wxXPMHandler swig_types[171]
2634 static swig_type_info
*swig_types
[173];
2635 static swig_module_info swig_module
= {swig_types
, 172, 0, 0, 0, 0};
2636 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2637 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2639 /* -------- TYPES TABLE (END) -------- */
2641 #if (PY_VERSION_HEX <= 0x02000000)
2642 # if !defined(SWIG_PYTHON_CLASSIC)
2643 # error "This python version requires to use swig with the '-classic' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodern' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodernargs' option"
2653 # error "This python version requires to use swig with the '-nofastunpack' option"
2656 /*-----------------------------------------------
2657 @(target):= _misc_.so
2658 ------------------------------------------------*/
2659 #define SWIG_init init_misc_
2661 #define SWIG_name "_misc_"
2663 #define SWIGVERSION 0x010329
2666 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2667 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2670 #include <stdexcept>
2674 class PyObject_ptr
{
2679 PyObject_ptr() :_obj(0)
2683 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2688 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2690 if (initial_ref
) Py_XINCREF(_obj
);
2693 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2695 Py_XINCREF(item
._obj
);
2706 operator PyObject
*() const
2711 PyObject
*operator->() const
2720 struct PyObject_var
: PyObject_ptr
{
2721 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2723 PyObject_var
& operator = (PyObject
* obj
)
2733 #include "wx/wxPython/wxPython.h"
2734 #include "wx/wxPython/pyclasses.h"
2735 #include "wx/wxPython/pyistream.h"
2737 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2778 int res
= SWIG_AsVal_long (obj
, &v
);
2779 if (SWIG_IsOK(res
)) {
2780 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2781 return SWIG_OverflowError
;
2783 if (val
) *val
= static_cast< int >(v
);
2789 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2791 #include <wx/stockitem.h>
2793 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2794 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2795 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2798 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2800 if (obj
== Py_True
) {
2801 if (val
) *val
= true;
2803 } else if (obj
== Py_False
) {
2804 if (val
) *val
= false;
2808 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2809 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2816 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2819 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2820 return SWIG_TypeError
;
2823 *val
= (unsigned long)v
;
2828 SWIGINTERNINLINE PyObject
*
2829 SWIG_From_unsigned_SS_long (unsigned long value
)
2831 return (value
> LONG_MAX
) ?
2832 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2836 void* wxGetXDisplay()
2839 return wxGetDisplay();
2846 wxWindow
* FindWindowAtPointer() {
2848 return wxFindWindowAtPointer(unused
);
2852 bool wxThread_IsMain() {
2853 #ifdef WXP_WITH_THREAD
2854 return wxThread::IsMain();
2860 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2864 #include <wx/snglinst.h>
2868 #include <wx/msw/private.h>
2869 #include <wx/dynload.h>
2874 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2885 // This one only partially works. Appears to be an undocumented
2886 // "standard" convention that not all widgets adhear to. For
2887 // example, for some widgets backgrounds or non-client areas may
2889 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2894 // This one works much better, nearly all widgets and their
2895 // children are captured correctly[**]. Prior to the big
2896 // background erase changes that Vadim did in 2004-2005 this
2897 // method failed badly on XP with Themes activated, most native
2898 // widgets draw only partially, if at all. Without themes it
2899 // worked just like on Win2k. After those changes this method
2902 // ** For example the radio buttons in a wxRadioBox are not its
2903 // children by default, but you can capture it via the panel
2904 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2905 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2906 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2907 PRF_ERASEBKGND
| PRF_OWNED
);
2913 // This one is only defined in the latest SDK and is only
2914 // available on XP. MSDN says it is similar to sending WM_PRINT
2915 // so I expect that it will work similar to the above. Since it
2916 // is avaialble only on XP, it can't be compiled like this and
2917 // will have to be loaded dynamically.
2918 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2923 // Use PrintWindow if available, or fallback to WM_PRINT
2924 // otherwise. Unfortunately using PrintWindow is even worse than
2925 // WM_PRINT. For most native widgets nothing is drawn to the dc
2926 // at all, with or without Themes.
2927 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2928 static bool s_triedToLoad
= false;
2929 static PrintWindow_t pfnPrintWindow
= NULL
;
2930 if ( !s_triedToLoad
)
2933 s_triedToLoad
= true;
2934 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2935 if ( dllUser32
.IsLoaded() )
2937 wxLogNull nolog
; // Don't report errors here
2938 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2943 //printf("Using PrintWindow\n");
2944 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2948 //printf("Using WM_PRINT\n");
2949 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2950 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2951 PRF_ERASEBKGND
| PRF_OWNED
);
2962 #include <wx/tipdlg.h>
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_size_t (size_t value
)
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2972 class wxPyTipProvider
: public wxTipProvider
{
2974 wxPyTipProvider(size_t currentTip
)
2975 : wxTipProvider(currentTip
) {}
2977 DEC_PYCALLBACK_STRING__pure(GetTip
);
2978 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2982 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2983 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2986 SWIGINTERNINLINE
int
2987 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2990 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2991 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2996 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2998 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3000 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3001 : wxTimer(owner
, id
)
3008 SWIGINTERN swig_type_info
*
3009 SWIG_pchar_descriptor()
3011 static int init
= 0;
3012 static swig_type_info
* info
= 0;
3014 info
= SWIG_TypeQuery("_p_char");
3021 SWIGINTERNINLINE PyObject
*
3022 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3025 if (size
> INT_MAX
) {
3026 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3027 return pchar_descriptor
?
3028 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3030 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3033 return SWIG_Py_Void();
3038 SWIGINTERNINLINE PyObject
*
3039 SWIG_FromCharPtr(const char *cptr
)
3041 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3046 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3049 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3050 if (SWIG_IsOK(res
)) {
3051 if ((v
> UINT_MAX
)) {
3052 return SWIG_OverflowError
;
3054 if (val
) *val
= static_cast< unsigned int >(v
);
3060 SWIGINTERN wxString
wxLog_TimeStamp(){
3062 wxLog::TimeStamp(&msg
);
3065 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3066 // Make some wrappers that double any % signs so they are 'escaped'
3067 void wxPyLogFatalError(const wxString
& msg
)
3070 m
.Replace(wxT("%"), wxT("%%"));
3074 void wxPyLogError(const wxString
& msg
)
3077 m
.Replace(wxT("%"), wxT("%%"));
3081 void wxPyLogWarning(const wxString
& msg
)
3084 m
.Replace(wxT("%"), wxT("%%"));
3088 void wxPyLogMessage(const wxString
& msg
)
3091 m
.Replace(wxT("%"), wxT("%%"));
3095 void wxPyLogInfo(const wxString
& msg
)
3098 m
.Replace(wxT("%"), wxT("%%"));
3102 void wxPyLogDebug(const wxString
& msg
)
3105 m
.Replace(wxT("%"), wxT("%%"));
3109 void wxPyLogVerbose(const wxString
& msg
)
3112 m
.Replace(wxT("%"), wxT("%%"));
3116 void wxPyLogStatus(const wxString
& msg
)
3119 m
.Replace(wxT("%"), wxT("%%"));
3123 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3126 m
.Replace(wxT("%"), wxT("%%"));
3127 wxLogStatus(pFrame
, m
);
3130 void wxPyLogSysError(const wxString
& msg
)
3133 m
.Replace(wxT("%"), wxT("%%"));
3137 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3140 m
.Replace(wxT("%"), wxT("%%"));
3141 wxLogGeneric(level
, m
);
3144 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3147 m
.Replace(wxT("%"), wxT("%%"));
3148 wxLogTrace(mask
, m
);
3151 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3154 m
.Replace(wxT("%"), wxT("%%"));
3155 wxLogTrace(mask
, m
);
3160 // A wxLog class that can be derived from in wxPython
3161 class wxPyLog
: public wxLog
{
3163 wxPyLog() : wxLog() {}
3165 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3167 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3168 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3169 PyObject
* s
= wx2PyString(szString
);
3170 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3173 wxPyEndBlockThreads(blocked
);
3175 wxLog::DoLog(level
, szString
, t
);
3178 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3180 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3181 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3182 PyObject
* s
= wx2PyString(szString
);
3183 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3186 wxPyEndBlockThreads(blocked
);
3188 wxLog::DoLogString(szString
, t
);
3191 DEC_PYCALLBACK_VOID_(Flush
);
3194 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3199 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3202 #include <wx/joystick.h>
3205 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3206 // A C++ stub class for wxJoystick for platforms that don't have it.
3207 class wxJoystick
: public wxObject
{
3209 wxJoystick(int joystick
= wxJOYSTICK1
) {
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyErr_SetString(PyExc_NotImplementedError
,
3212 "wxJoystick is not available on this platform.");
3213 wxPyEndBlockThreads(blocked
);
3215 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3216 int GetZPosition() { return -1; }
3217 int GetButtonState() { return -1; }
3218 int GetPOVPosition() { return -1; }
3219 int GetPOVCTSPosition() { return -1; }
3220 int GetRudderPosition() { return -1; }
3221 int GetUPosition() { return -1; }
3222 int GetVPosition() { return -1; }
3223 int GetMovementThreshold() { return -1; }
3224 void SetMovementThreshold(int threshold
) {}
3226 bool IsOk(void) { return false; }
3227 int GetNumberJoysticks() { return -1; }
3228 int GetManufacturerId() { return -1; }
3229 int GetProductId() { return -1; }
3230 wxString
GetProductName() { return wxEmptyString
; }
3231 int GetXMin() { return -1; }
3232 int GetYMin() { return -1; }
3233 int GetZMin() { return -1; }
3234 int GetXMax() { return -1; }
3235 int GetYMax() { return -1; }
3236 int GetZMax() { return -1; }
3237 int GetNumberButtons() { return -1; }
3238 int GetNumberAxes() { return -1; }
3239 int GetMaxButtons() { return -1; }
3240 int GetMaxAxes() { return -1; }
3241 int GetPollingMin() { return -1; }
3242 int GetPollingMax() { return -1; }
3243 int GetRudderMin() { return -1; }
3244 int GetRudderMax() { return -1; }
3245 int GetUMin() { return -1; }
3246 int GetUMax() { return -1; }
3247 int GetVMin() { return -1; }
3248 int GetVMax() { return -1; }
3250 bool HasRudder() { return false; }
3251 bool HasZ() { return false; }
3252 bool HasU() { return false; }
3253 bool HasV() { return false; }
3254 bool HasPOV() { return false; }
3255 bool HasPOV4Dir() { return false; }
3256 bool HasPOVCTS() { return false; }
3258 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3259 bool ReleaseCapture() { return false; }
3264 #include <wx/sound.h>
3268 // A C++ stub class for wxWave for platforms that don't have it.
3269 class wxSound
: public wxObject
3273 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3274 PyErr_SetString(PyExc_NotImplementedError
,
3275 "wxSound is not available on this platform.");
3276 wxPyEndBlockThreads(blocked
);
3278 wxSound(const wxString
&/*, bool*/) {
3279 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3280 PyErr_SetString(PyExc_NotImplementedError
,
3281 "wxSound is not available on this platform.");
3282 wxPyEndBlockThreads(blocked
);
3284 wxSound(int, const wxByte
*) {
3285 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3286 PyErr_SetString(PyExc_NotImplementedError
,
3287 "wxSound is not available on this platform.");
3288 wxPyEndBlockThreads(blocked
);
3293 bool Create(const wxString
&/*, bool*/) { return false; }
3294 bool Create(int, const wxByte
*) { return false; };
3295 bool IsOk() { return false; };
3296 bool Play(unsigned) const { return false; }
3297 static bool Play(const wxString
&, unsigned) { return false; }
3298 static void Stop() {}
3303 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3304 if (fileName
.Length() == 0)
3307 return new wxSound(fileName
);
3309 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3310 unsigned char* buffer
; int size
;
3311 wxSound
*sound
= NULL
;
3313 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3314 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3316 sound
= new wxSound(size
, buffer
);
3318 wxPyEndBlockThreads(blocked
);
3321 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3323 unsigned char* buffer
;
3327 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3328 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3330 rv
= self
->Create(size
, buffer
);
3332 wxPyEndBlockThreads(blocked
);
3335 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3336 PyErr_SetString(PyExc_NotImplementedError
,
3337 "Create from data is not available on this platform.");
3338 wxPyEndBlockThreads(blocked
);
3343 #include <wx/mimetype.h>
3345 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3347 if (self
->GetMimeType(&str
))
3348 return wx2PyString(str
);
3352 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3354 if (self
->GetMimeTypes(arr
))
3355 return wxArrayString2PyList_helper(arr
);
3359 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3361 if (self
->GetExtensions(arr
))
3362 return wxArrayString2PyList_helper(arr
);
3366 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3368 if (self
->GetIcon(&loc
))
3369 return new wxIcon(loc
);
3373 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3375 if (self
->GetIcon(&loc
)) {
3376 wxString iconFile
= loc
.GetFileName();
3381 // Make a tuple and put the values in it
3382 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3383 PyObject
* tuple
= PyTuple_New(3);
3384 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3385 wxT("wxIcon"), true));
3386 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3387 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3388 wxPyEndBlockThreads(blocked
);
3394 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3396 if (self
->GetDescription(&str
))
3397 return wx2PyString(str
);
3401 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3403 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3404 return wx2PyString(str
);
3408 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3410 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3411 return wx2PyString(str
);
3415 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3416 wxArrayString verbs
;
3417 wxArrayString commands
;
3418 if (self
->GetAllCommands(&verbs
, &commands
,
3419 wxFileType::MessageParameters(filename
, mimetype
))) {
3420 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3421 PyObject
* tuple
= PyTuple_New(2);
3422 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3423 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3424 wxPyEndBlockThreads(blocked
);
3430 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3431 return wxFileType::ExpandCommand(command
,
3432 wxFileType::MessageParameters(filename
, mimetype
));
3434 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3436 self
->EnumAllFileTypes(arr
);
3437 return wxArrayString2PyList_helper(arr
);
3440 #include <wx/artprov.h>
3442 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3443 static const wxString
wxPyART_MENU(wxART_MENU
);
3444 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3445 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3446 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3447 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3448 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3449 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3450 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3451 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3452 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3453 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3454 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3455 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3456 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3457 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3458 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3459 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3460 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3461 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3462 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3463 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3464 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3465 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3466 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3467 static const wxString
wxPyART_HELP(wxART_HELP
);
3468 static const wxString
wxPyART_TIP(wxART_TIP
);
3469 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3470 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3471 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3472 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3473 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3474 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3475 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3476 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3477 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3478 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3479 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3480 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3481 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3482 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3483 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3484 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3485 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3486 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3487 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3488 static const wxString
wxPyART_COPY(wxART_COPY
);
3489 static const wxString
wxPyART_CUT(wxART_CUT
);
3490 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3491 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3492 static const wxString
wxPyART_NEW(wxART_NEW
);
3493 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3494 static const wxString
wxPyART_REDO(wxART_REDO
);
3495 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3496 static const wxString
wxPyART_FIND(wxART_FIND
);
3497 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3498 // Python aware wxArtProvider
3499 class wxPyArtProvider
: public wxArtProvider
{
3502 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3503 const wxArtClient
& client
,
3504 const wxSize
& size
) {
3505 wxBitmap rval
= wxNullBitmap
;
3506 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3507 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3508 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3512 s1
= wx2PyString(id
);
3513 s2
= wx2PyString(client
);
3514 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3519 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3524 wxPyEndBlockThreads(blocked
);
3531 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3535 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3536 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3537 PyObject
* ret
= PyTuple_New(3);
3539 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3540 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3541 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3543 wxPyEndBlockThreads(blocked
);
3547 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3552 cont
= self
->GetFirstGroup(value
, index
);
3553 return __EnumerationHelper(cont
, value
, index
);
3555 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3559 cont
= self
->GetNextGroup(value
, index
);
3560 return __EnumerationHelper(cont
, value
, index
);
3562 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3567 cont
= self
->GetFirstEntry(value
, index
);
3568 return __EnumerationHelper(cont
, value
, index
);
3570 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3574 cont
= self
->GetNextEntry(value
, index
);
3575 return __EnumerationHelper(cont
, value
, index
);
3577 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3579 self
->Read(key
, &rv
, defaultVal
);
3584 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3586 if (PyNumber_Check(obj
)) {
3587 if (val
) *val
= PyFloat_AsDouble(obj
);
3590 return SWIG_TypeError
;
3593 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3595 self
->Read(key
, &rv
, defaultVal
);
3599 #define SWIG_From_double PyFloat_FromDouble
3601 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3603 self
->Read(key
, &rv
, defaultVal
);
3607 #include <wx/datetime.h>
3609 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3610 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3612 #define LOCAL_TZ wxDateTime::Local
3614 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3617 wxDateTime::GetAmPmStrings(&am
, &pm
);
3618 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3619 PyObject
* tup
= PyTuple_New(2);
3620 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3621 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3622 wxPyEndBlockThreads(blocked
);
3626 SWIGINTERNINLINE PyObject
*
3627 SWIG_From_unsigned_SS_int (unsigned int value
)
3629 return SWIG_From_unsigned_SS_long (value
);
3632 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3633 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3634 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3635 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3636 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3637 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3638 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3639 return (*self
< *other
);
3641 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3642 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3643 return (*self
<= *other
);
3645 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3646 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3647 return (*self
> *other
);
3649 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3650 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3651 return (*self
>= *other
);
3653 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3654 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3655 return (*self
== *other
);
3657 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3658 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3659 return (*self
!= *other
);
3661 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3663 const wxChar
* _date
= date
;
3664 rv
= self
->ParseRfc822Date(_date
);
3665 if (rv
== NULL
) return -1;
3668 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3670 const wxChar
* _date
= date
;
3671 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3672 if (rv
== NULL
) return -1;
3675 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3677 const wxChar
* _datetime
= datetime
;
3678 rv
= self
->ParseDateTime(_datetime
);
3679 if (rv
== NULL
) return -1;
3680 return rv
- _datetime
;
3682 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3684 const wxChar
* _date
= date
;
3685 rv
= self
->ParseDate(_date
);
3686 if (rv
== NULL
) return -1;
3689 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3691 const wxChar
* _time
= time
;
3692 rv
= self
->ParseTime(_time
);
3693 if (rv
== NULL
) return -1;
3696 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3697 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3698 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3699 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3700 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3701 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3702 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3703 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3704 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3705 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3706 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3707 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3708 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3709 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3710 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3711 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3713 #include <wx/dataobj.h>
3715 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3716 size_t count
= self
->GetFormatCount(dir
);
3717 wxDataFormat
* formats
= new wxDataFormat
[count
];
3718 self
->GetAllFormats(formats
, dir
);
3720 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3721 PyObject
* list
= PyList_New(count
);
3722 for (size_t i
=0; i
<count
; i
++) {
3723 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3724 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3725 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3727 wxPyEndBlockThreads(blocked
);
3731 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3732 PyObject
* rval
= NULL
;
3733 size_t size
= self
->GetDataSize(format
);
3734 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3736 char* buf
= new char[size
];
3737 if (self
->GetDataHere(format
, buf
))
3738 rval
= PyString_FromStringAndSize(buf
, size
);
3745 wxPyEndBlockThreads(blocked
);
3748 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3750 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3751 if (PyString_Check(data
)) {
3752 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3755 // raise a TypeError if not a string
3756 PyErr_SetString(PyExc_TypeError
, "String expected.");
3759 wxPyEndBlockThreads(blocked
);
3762 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3763 PyObject
* rval
= NULL
;
3764 size_t size
= self
->GetDataSize();
3765 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3767 char* buf
= new char[size
];
3768 if (self
->GetDataHere(buf
))
3769 rval
= PyString_FromStringAndSize(buf
, size
);
3776 wxPyEndBlockThreads(blocked
);
3779 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3781 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3782 if (PyString_Check(data
)) {
3783 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3786 // raise a TypeError if not a string
3787 PyErr_SetString(PyExc_TypeError
, "String expected.");
3790 wxPyEndBlockThreads(blocked
);
3793 // Create a new class for wxPython to use
3794 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3796 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3797 : wxDataObjectSimple(format
) {}
3799 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3800 bool GetDataHere(void *buf
) const;
3801 bool SetData(size_t len
, const void *buf
) const;
3805 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3807 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3808 // We need to get the data for this object and write it to buf. I think
3809 // the best way to do this for wxPython is to have the Python method
3810 // return either a string or None and then act appropriately with the
3814 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3815 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3817 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3819 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3821 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3825 wxPyEndBlockThreads(blocked
);
3829 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3830 // For this one we simply need to make a string from buf and len
3831 // and send it to the Python method.
3833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3834 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3835 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3836 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3839 wxPyEndBlockThreads(blocked
);
3843 // Create a new class for wxPython to use
3844 class wxPyTextDataObject
: public wxTextDataObject
{
3846 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3847 : wxTextDataObject(text
) {}
3849 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3850 DEC_PYCALLBACK_STRING__const(GetText
);
3851 DEC_PYCALLBACK__STRING(SetText
);
3855 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3856 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3857 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3860 // Create a new class for wxPython to use
3861 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3863 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3864 : wxBitmapDataObject(bitmap
) {}
3866 wxBitmap
GetBitmap() const;
3867 void SetBitmap(const wxBitmap
& bitmap
);
3871 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3872 wxBitmap
* rval
= &wxNullBitmap
;
3873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3874 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3877 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3879 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3884 wxPyEndBlockThreads(blocked
);
3888 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3889 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3890 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3891 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3892 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3895 wxPyEndBlockThreads(blocked
);
3898 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3899 return new wxCustomDataObject(wxDataFormat(formatName
));
3901 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3904 if (PyString_Check(data
)) {
3905 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3908 // raise a TypeError if not a string
3909 PyErr_SetString(PyExc_TypeError
, "String expected.");
3912 wxPyEndBlockThreads(blocked
);
3915 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3917 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3918 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3919 wxPyEndBlockThreads(blocked
);
3923 #include <wx/metafile.h>
3926 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3929 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3930 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3931 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3932 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3933 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3936 class wxPyTextDropTarget
: public wxTextDropTarget
{
3938 wxPyTextDropTarget() {}
3940 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3942 DEC_PYCALLBACK__(OnLeave
);
3943 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3944 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3945 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3946 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3951 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3952 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3953 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3954 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3955 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3956 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3960 class wxPyFileDropTarget
: public wxFileDropTarget
{
3962 wxPyFileDropTarget() {}
3964 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3966 DEC_PYCALLBACK__(OnLeave
);
3967 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3968 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3969 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3970 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3975 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3976 const wxArrayString
& filenames
) {
3978 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3979 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3980 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3981 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3984 wxPyEndBlockThreads(blocked
);
3990 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3991 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3992 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3993 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3994 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3999 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4001 #include <wx/display.h>
4003 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4004 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4007 const wxVideoMode wxDefaultVideoMode
;
4010 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4012 PyObject
* pyList
= NULL
;
4013 wxArrayVideoModes arr
= self
->GetModes(mode
);
4014 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4015 pyList
= PyList_New(0);
4016 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4018 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4019 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4020 PyList_Append(pyList
, pyObj
);
4023 wxPyEndBlockThreads(blocked
);
4026 wxPyRaiseNotImplemented();
4030 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4032 return self
->GetCurrentMode();
4034 wxPyRaiseNotImplemented();
4035 return wxDefaultVideoMode
;
4038 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4040 return self
->ChangeMode(mode
);
4042 wxPyRaiseNotImplemented();
4046 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4050 wxPyRaiseNotImplemented();
4054 #include <wx/stdpaths.h>
4056 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4057 return (wxStandardPaths
*) &wxStandardPaths::Get();
4059 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4060 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4062 #ifndef wxHAS_POWER_EVENTS
4063 // Dummy class and other definitions for platforms that don't have them
4065 // See wxPython_int.h for wxPowerEvent
4068 wxEVT_POWER_SUSPENDING
,
4069 wxEVT_POWER_SUSPENDED
,
4070 wxEVT_POWER_SUSPEND_CANCEL
,
4074 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4075 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4082 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
= 0;
4084 wxSystemColour arg1
;
4088 PyObject
* obj0
= 0 ;
4089 char * kwnames
[] = {
4090 (char *) "index", NULL
4093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4095 if (!SWIG_IsOK(ecode1
)) {
4096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4098 arg1
= static_cast< wxSystemColour
>(val1
);
4100 if (!wxPyCheckForApp()) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= wxSystemSettings::GetColour(arg1
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4113 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
= 0;
4119 PyObject
* obj0
= 0 ;
4120 char * kwnames
[] = {
4121 (char *) "index", NULL
4124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4125 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4126 if (!SWIG_IsOK(ecode1
)) {
4127 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4129 arg1
= static_cast< wxSystemFont
>(val1
);
4131 if (!wxPyCheckForApp()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= wxSystemSettings::GetFont(arg1
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4144 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
= 0;
4146 wxSystemMetric arg1
;
4147 wxWindow
*arg2
= (wxWindow
*) NULL
;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4155 char * kwnames
[] = {
4156 (char *) "index",(char *) "win", NULL
4159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4160 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4161 if (!SWIG_IsOK(ecode1
)) {
4162 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4164 arg1
= static_cast< wxSystemMetric
>(val1
);
4166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4167 if (!SWIG_IsOK(res2
)) {
4168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4173 if (!wxPyCheckForApp()) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= SWIG_From_int(static_cast< int >(result
));
4186 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
= 0;
4188 wxSystemFeature arg1
;
4192 PyObject
* obj0
= 0 ;
4193 char * kwnames
[] = {
4194 (char *) "index", NULL
4197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4199 if (!SWIG_IsOK(ecode1
)) {
4200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4202 arg1
= static_cast< wxSystemFeature
>(val1
);
4204 if (!wxPyCheckForApp()) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4219 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4220 PyObject
*resultobj
= 0;
4221 wxSystemScreenType result
;
4223 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4225 if (!wxPyCheckForApp()) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_From_int(static_cast< int >(result
));
4238 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
= 0;
4240 wxSystemScreenType arg1
;
4243 PyObject
* obj0
= 0 ;
4244 char * kwnames
[] = {
4245 (char *) "screen", NULL
4248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4249 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4250 if (!SWIG_IsOK(ecode1
)) {
4251 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4253 arg1
= static_cast< wxSystemScreenType
>(val1
);
4255 if (!wxPyCheckForApp()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 wxSystemSettings::SetScreenType(arg1
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= SWIG_Py_Void();
4268 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4271 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4272 return SWIG_Py_Void();
4275 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4276 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4281 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4282 PyObject
*pyobj
= 0;
4286 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4288 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4295 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4296 PyObject
*resultobj
= 0;
4297 wxSystemOptions
*result
= 0 ;
4299 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= (wxSystemOptions
*)new wxSystemOptions();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4313 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
= 0;
4315 wxString
*arg1
= 0 ;
4316 wxString
*arg2
= 0 ;
4317 bool temp1
= false ;
4318 bool temp2
= false ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4321 char * kwnames
[] = {
4322 (char *) "name",(char *) "value", NULL
4325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4327 arg1
= wxString_in_helper(obj0
);
4328 if (arg1
== NULL
) SWIG_fail
;
4332 arg2
= wxString_in_helper(obj1
);
4333 if (arg2
== NULL
) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= SWIG_Py_Void();
4365 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
= 0;
4367 wxString
*arg1
= 0 ;
4369 bool temp1
= false ;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 char * kwnames
[] = {
4375 (char *) "name",(char *) "value", NULL
4378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4380 arg1
= wxString_in_helper(obj0
);
4381 if (arg1
== NULL
) SWIG_fail
;
4384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4385 if (!SWIG_IsOK(ecode2
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4388 arg2
= static_cast< int >(val2
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_Py_Void();
4410 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
= 0;
4412 wxString
*arg1
= 0 ;
4414 bool temp1
= false ;
4415 PyObject
* obj0
= 0 ;
4416 char * kwnames
[] = {
4417 (char *) "name", NULL
4420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4422 arg1
= wxString_in_helper(obj0
);
4423 if (arg1
== NULL
) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4453 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
= 0;
4455 wxString
*arg1
= 0 ;
4457 bool temp1
= false ;
4458 PyObject
* obj0
= 0 ;
4459 char * kwnames
[] = {
4460 (char *) "name", NULL
4463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4465 arg1
= wxString_in_helper(obj0
);
4466 if (arg1
== NULL
) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 resultobj
= SWIG_From_int(static_cast< int >(result
));
4490 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
= 0;
4492 wxString
*arg1
= 0 ;
4494 bool temp1
= false ;
4495 PyObject
* obj0
= 0 ;
4496 char * kwnames
[] = {
4497 (char *) "name", NULL
4500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4502 arg1
= wxString_in_helper(obj0
);
4503 if (arg1
== NULL
) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4529 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
= 0;
4531 wxString
*arg1
= 0 ;
4533 bool temp1
= false ;
4534 PyObject
* obj0
= 0 ;
4535 char * kwnames
[] = {
4536 (char *) "name", NULL
4539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4541 arg1
= wxString_in_helper(obj0
);
4542 if (arg1
== NULL
) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4568 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4571 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4572 return SWIG_Py_Void();
4575 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4576 return SWIG_Python_InitShadowInstance(args
);
4579 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4580 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4585 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4586 PyObject
*pyobj
= 0;
4590 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4592 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4599 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4600 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4605 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4606 PyObject
*pyobj
= 0;
4610 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4612 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4619 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4620 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4625 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4626 PyObject
*pyobj
= 0;
4630 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4632 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4639 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4640 PyObject
*resultobj
= 0;
4643 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (long)wxNewId();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_From_long(static_cast< long >(result
));
4657 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
= 0;
4662 PyObject
* obj0
= 0 ;
4663 char * kwnames
[] = {
4667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4668 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4669 if (!SWIG_IsOK(ecode1
)) {
4670 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4672 arg1
= static_cast< long >(val1
);
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= SWIG_Py_Void();
4686 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4687 PyObject
*resultobj
= 0;
4690 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (long)wxGetCurrentId();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_From_long(static_cast< long >(result
));
4704 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
= 0;
4710 PyObject
* obj0
= 0 ;
4711 char * kwnames
[] = {
4715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4717 if (!SWIG_IsOK(ecode1
)) {
4718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4720 arg1
= static_cast< int >(val1
);
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (bool)wxIsStockID(arg1
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4736 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
= 0;
4739 wxString
*arg2
= 0 ;
4743 bool temp2
= false ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4746 char * kwnames
[] = {
4747 (char *) "id",(char *) "label", NULL
4750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4752 if (!SWIG_IsOK(ecode1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4755 arg1
= static_cast< int >(val1
);
4757 arg2
= wxString_in_helper(obj1
);
4758 if (arg2
== NULL
) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4784 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
= 0;
4787 bool arg2
= (bool) true ;
4788 wxString arg3
= (wxString
) wxPyEmptyString
;
4794 PyObject
* obj0
= 0 ;
4795 PyObject
* obj1
= 0 ;
4796 PyObject
* obj2
= 0 ;
4797 char * kwnames
[] = {
4798 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4802 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4803 if (!SWIG_IsOK(ecode1
)) {
4804 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4806 arg1
= static_cast< int >(val1
);
4808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4809 if (!SWIG_IsOK(ecode2
)) {
4810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4812 arg2
= static_cast< bool >(val2
);
4816 wxString
* sptr
= wxString_in_helper(obj2
);
4817 if (sptr
== NULL
) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4841 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4842 PyObject
*resultobj
= 0;
4844 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4846 if (!wxPyCheckForApp()) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_Py_Void();
4859 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4860 PyObject
*resultobj
= 0;
4862 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4864 if (!wxPyCheckForApp()) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= SWIG_Py_Void();
4877 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
= 0;
4879 bool arg1
= (bool) true ;
4883 PyObject
* obj0
= 0 ;
4884 char * kwnames
[] = {
4885 (char *) "resetTimer", NULL
4888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4890 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4891 if (!SWIG_IsOK(ecode1
)) {
4892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4894 arg1
= static_cast< bool >(val1
);
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (long)wxGetElapsedTime(arg1
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_From_long(static_cast< long >(result
));
4909 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4910 PyObject
*resultobj
= 0;
4913 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (bool)wxIsBusy();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4929 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4930 PyObject
*resultobj
= 0;
4933 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4953 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
= 0;
4955 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4956 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4958 bool temp1
= false ;
4959 PyObject
* obj0
= 0 ;
4960 char * kwnames
[] = {
4961 (char *) "command", NULL
4964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4967 arg1
= wxString_in_helper(obj0
);
4968 if (arg1
== NULL
) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (bool)wxShell((wxString
const &)*arg1
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4998 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_Py_Void();
5012 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5013 PyObject
*resultobj
= 0;
5014 int *arg1
= (int *) 0 ;
5015 int *arg2
= (int *) 0 ;
5018 int res1
= SWIG_TMPOBJ
;
5020 int res2
= SWIG_TMPOBJ
;
5024 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (int)wxGetOsVersion(arg1
,arg2
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_From_int(static_cast< int >(result
));
5032 if (SWIG_IsTmpObj(res1
)) {
5033 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5035 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5038 if (SWIG_IsTmpObj(res2
)) {
5039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5041 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5050 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 PyObject
*resultobj
= 0;
5054 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= wxGetOsDescription();
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5074 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5075 PyObject
*resultobj
= 0;
5076 wxMemorySize result
;
5078 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= wxGetFreeMemory();
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5092 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
= 0;
5094 wxShutdownFlags arg1
;
5098 PyObject
* obj0
= 0 ;
5099 char * kwnames
[] = {
5100 (char *) "wFlags", NULL
5103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5105 if (!SWIG_IsOK(ecode1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5108 arg1
= static_cast< wxShutdownFlags
>(val1
);
5110 if (!wxPyCheckForApp()) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (bool)wxShutdown(arg1
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5125 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
= 0;
5130 PyObject
* obj0
= 0 ;
5131 char * kwnames
[] = {
5132 (char *) "secs", NULL
5135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5137 if (!SWIG_IsOK(ecode1
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5140 arg1
= static_cast< int >(val1
);
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 resultobj
= SWIG_Py_Void();
5154 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
= 0;
5156 unsigned long arg1
;
5157 unsigned long val1
;
5159 PyObject
* obj0
= 0 ;
5160 char * kwnames
[] = {
5161 (char *) "milliseconds", NULL
5164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5165 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5166 if (!SWIG_IsOK(ecode1
)) {
5167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5169 arg1
= static_cast< unsigned long >(val1
);
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_Py_Void();
5183 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
= 0;
5185 unsigned long arg1
;
5186 unsigned long val1
;
5188 PyObject
* obj0
= 0 ;
5189 char * kwnames
[] = {
5190 (char *) "microseconds", NULL
5193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5194 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5195 if (!SWIG_IsOK(ecode1
)) {
5196 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5198 arg1
= static_cast< unsigned long >(val1
);
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_Py_Void();
5212 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
= 0;
5217 PyObject
* obj0
= 0 ;
5218 char * kwnames
[] = {
5219 (char *) "enable", NULL
5222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5223 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5224 if (!SWIG_IsOK(ecode1
)) {
5225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5227 arg1
= static_cast< bool >(val1
);
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 wxEnableTopLevelWindows(arg1
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= SWIG_Py_Void();
5241 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
= 0;
5243 wxString
*arg1
= 0 ;
5245 bool temp1
= false ;
5246 PyObject
* obj0
= 0 ;
5247 char * kwnames
[] = {
5251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5253 arg1
= wxString_in_helper(obj0
);
5254 if (arg1
== NULL
) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5284 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 PyObject
*resultobj
= 0;
5288 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 result
= wxGetEmailAddress();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5308 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5309 PyObject
*resultobj
= 0;
5312 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 result
= wxGetHostName();
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5332 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5333 PyObject
*resultobj
= 0;
5336 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 result
= wxGetFullHostName();
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5356 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5357 PyObject
*resultobj
= 0;
5360 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= wxGetUserId();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5380 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5381 PyObject
*resultobj
= 0;
5384 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= wxGetUserName();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5404 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5405 PyObject
*resultobj
= 0;
5408 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= wxGetHomeDir();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5428 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
= 0;
5430 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5431 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5433 bool temp1
= false ;
5434 PyObject
* obj0
= 0 ;
5435 char * kwnames
[] = {
5436 (char *) "user", NULL
5439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5442 arg1
= wxString_in_helper(obj0
);
5443 if (arg1
== NULL
) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= wxGetUserHome((wxString
const &)*arg1
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5474 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5475 PyObject
*resultobj
= 0;
5476 unsigned long result
;
5478 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (unsigned long)wxGetProcessId();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5492 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5493 PyObject
*resultobj
= 0;
5495 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_Py_Void();
5509 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
= 0;
5511 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5512 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5513 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5514 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5515 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5516 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5517 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5518 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5519 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5520 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5521 int arg6
= (int) 0 ;
5522 wxWindow
*arg7
= (wxWindow
*) NULL
;
5523 int arg8
= (int) -1 ;
5524 int arg9
= (int) -1 ;
5526 bool temp1
= false ;
5527 bool temp2
= false ;
5528 bool temp3
= false ;
5529 bool temp4
= false ;
5530 bool temp5
= false ;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5541 PyObject
* obj2
= 0 ;
5542 PyObject
* obj3
= 0 ;
5543 PyObject
* obj4
= 0 ;
5544 PyObject
* obj5
= 0 ;
5545 PyObject
* obj6
= 0 ;
5546 PyObject
* obj7
= 0 ;
5547 PyObject
* obj8
= 0 ;
5548 char * kwnames
[] = {
5549 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5555 arg1
= wxString_in_helper(obj0
);
5556 if (arg1
== NULL
) SWIG_fail
;
5562 arg2
= wxString_in_helper(obj1
);
5563 if (arg2
== NULL
) SWIG_fail
;
5569 arg3
= wxString_in_helper(obj2
);
5570 if (arg3
== NULL
) SWIG_fail
;
5576 arg4
= wxString_in_helper(obj3
);
5577 if (arg4
== NULL
) SWIG_fail
;
5583 arg5
= wxString_in_helper(obj4
);
5584 if (arg5
== NULL
) SWIG_fail
;
5589 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5590 if (!SWIG_IsOK(ecode6
)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5593 arg6
= static_cast< int >(val6
);
5596 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5597 if (!SWIG_IsOK(res7
)) {
5598 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5600 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5603 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5604 if (!SWIG_IsOK(ecode8
)) {
5605 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5607 arg8
= static_cast< int >(val8
);
5610 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5611 if (!SWIG_IsOK(ecode9
)) {
5612 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5614 arg9
= static_cast< int >(val9
);
5617 if (!wxPyCheckForApp()) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5676 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
= 0;
5678 wxString
*arg1
= 0 ;
5679 wxString
*arg2
= 0 ;
5680 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5681 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5682 wxWindow
*arg4
= (wxWindow
*) NULL
;
5684 bool temp1
= false ;
5685 bool temp2
= false ;
5686 bool temp3
= false ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5692 PyObject
* obj3
= 0 ;
5693 char * kwnames
[] = {
5694 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5699 arg1
= wxString_in_helper(obj0
);
5700 if (arg1
== NULL
) SWIG_fail
;
5704 arg2
= wxString_in_helper(obj1
);
5705 if (arg2
== NULL
) SWIG_fail
;
5710 arg3
= wxString_in_helper(obj2
);
5711 if (arg3
== NULL
) SWIG_fail
;
5716 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5717 if (!SWIG_IsOK(res4
)) {
5718 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5720 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5723 if (!wxPyCheckForApp()) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5766 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
= 0;
5768 wxString
*arg1
= 0 ;
5769 wxString
*arg2
= 0 ;
5770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5772 wxWindow
*arg4
= (wxWindow
*) NULL
;
5774 bool temp1
= false ;
5775 bool temp2
= false ;
5776 bool temp3
= false ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5781 PyObject
* obj2
= 0 ;
5782 PyObject
* obj3
= 0 ;
5783 char * kwnames
[] = {
5784 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5789 arg1
= wxString_in_helper(obj0
);
5790 if (arg1
== NULL
) SWIG_fail
;
5794 arg2
= wxString_in_helper(obj1
);
5795 if (arg2
== NULL
) SWIG_fail
;
5800 arg3
= wxString_in_helper(obj2
);
5801 if (arg3
== NULL
) SWIG_fail
;
5806 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5807 if (!SWIG_IsOK(res4
)) {
5808 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5810 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5813 if (!wxPyCheckForApp()) SWIG_fail
;
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5856 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
= 0;
5858 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5859 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5860 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5861 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5862 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5863 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5864 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5865 wxWindow
*arg5
= (wxWindow
*) NULL
;
5867 bool temp1
= false ;
5868 bool temp2
= false ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5876 PyObject
* obj2
= 0 ;
5877 PyObject
* obj3
= 0 ;
5878 PyObject
* obj4
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5886 arg1
= wxString_in_helper(obj0
);
5887 if (arg1
== NULL
) SWIG_fail
;
5893 arg2
= wxString_in_helper(obj1
);
5894 if (arg2
== NULL
) SWIG_fail
;
5899 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5900 if (!SWIG_IsOK(ecode3
)) {
5901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5903 arg3
= static_cast< long >(val3
);
5908 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5912 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5913 if (!SWIG_IsOK(res5
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5916 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5919 if (!wxPyCheckForApp()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5954 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
= 0;
5956 wxString
*arg1
= 0 ;
5957 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5958 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5961 wxWindow
*arg4
= (wxWindow
*) NULL
;
5962 int arg5
= (int) -1 ;
5963 int arg6
= (int) -1 ;
5964 bool arg7
= (bool) true ;
5966 bool temp1
= false ;
5967 bool temp2
= false ;
5968 bool temp3
= false ;
5977 PyObject
* obj0
= 0 ;
5978 PyObject
* obj1
= 0 ;
5979 PyObject
* obj2
= 0 ;
5980 PyObject
* obj3
= 0 ;
5981 PyObject
* obj4
= 0 ;
5982 PyObject
* obj5
= 0 ;
5983 PyObject
* obj6
= 0 ;
5984 char * kwnames
[] = {
5985 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5990 arg1
= wxString_in_helper(obj0
);
5991 if (arg1
== NULL
) SWIG_fail
;
5996 arg2
= wxString_in_helper(obj1
);
5997 if (arg2
== NULL
) SWIG_fail
;
6003 arg3
= wxString_in_helper(obj2
);
6004 if (arg3
== NULL
) SWIG_fail
;
6009 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6010 if (!SWIG_IsOK(res4
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6013 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6016 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6017 if (!SWIG_IsOK(ecode5
)) {
6018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6020 arg5
= static_cast< int >(val5
);
6023 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6024 if (!SWIG_IsOK(ecode6
)) {
6025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6027 arg6
= static_cast< int >(val6
);
6030 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6031 if (!SWIG_IsOK(ecode7
)) {
6032 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6034 arg7
= static_cast< bool >(val7
);
6037 if (!wxPyCheckForApp()) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6080 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
= 0;
6082 wxString
*arg1
= 0 ;
6083 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6084 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6085 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6086 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6087 wxWindow
*arg4
= (wxWindow
*) NULL
;
6089 bool temp1
= false ;
6090 bool temp2
= false ;
6091 bool temp3
= false ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6096 PyObject
* obj2
= 0 ;
6097 PyObject
* obj3
= 0 ;
6098 char * kwnames
[] = {
6099 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6104 arg1
= wxString_in_helper(obj0
);
6105 if (arg1
== NULL
) SWIG_fail
;
6110 arg2
= wxString_in_helper(obj1
);
6111 if (arg2
== NULL
) SWIG_fail
;
6117 arg3
= wxString_in_helper(obj2
);
6118 if (arg3
== NULL
) SWIG_fail
;
6123 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6124 if (!SWIG_IsOK(res4
)) {
6125 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6127 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6130 if (!wxPyCheckForApp()) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6173 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
= 0;
6175 wxString
*arg1
= 0 ;
6176 wxString
*arg2
= 0 ;
6178 wxString
*arg4
= (wxString
*) 0 ;
6179 wxWindow
*arg5
= (wxWindow
*) NULL
;
6180 int arg6
= (int) -1 ;
6181 int arg7
= (int) -1 ;
6182 bool arg8
= (bool) true ;
6183 int arg9
= (int) 150 ;
6184 int arg10
= (int) 200 ;
6186 bool temp1
= false ;
6187 bool temp2
= false ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6202 PyObject
* obj2
= 0 ;
6203 PyObject
* obj3
= 0 ;
6204 PyObject
* obj4
= 0 ;
6205 PyObject
* obj5
= 0 ;
6206 PyObject
* obj6
= 0 ;
6207 PyObject
* obj7
= 0 ;
6208 PyObject
* obj8
= 0 ;
6209 char * kwnames
[] = {
6210 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6215 arg1
= wxString_in_helper(obj0
);
6216 if (arg1
== NULL
) SWIG_fail
;
6220 arg2
= wxString_in_helper(obj1
);
6221 if (arg2
== NULL
) SWIG_fail
;
6225 arg3
= PyList_Size(obj2
);
6226 arg4
= wxString_LIST_helper(obj2
);
6227 if (arg4
== NULL
) SWIG_fail
;
6230 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6231 if (!SWIG_IsOK(res5
)) {
6232 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6234 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6237 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6238 if (!SWIG_IsOK(ecode6
)) {
6239 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6241 arg6
= static_cast< int >(val6
);
6244 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6245 if (!SWIG_IsOK(ecode7
)) {
6246 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6248 arg7
= static_cast< int >(val7
);
6251 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6252 if (!SWIG_IsOK(ecode8
)) {
6253 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6255 arg8
= static_cast< bool >(val8
);
6258 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6259 if (!SWIG_IsOK(ecode9
)) {
6260 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6262 arg9
= static_cast< int >(val9
);
6265 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6266 if (!SWIG_IsOK(ecode10
)) {
6267 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6269 arg10
= static_cast< int >(val10
);
6272 if (!wxPyCheckForApp()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6294 if (arg4
) delete [] arg4
;
6307 if (arg4
) delete [] arg4
;
6313 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
= 0;
6315 wxString
*arg1
= 0 ;
6316 wxString
*arg2
= 0 ;
6318 wxString
*arg4
= (wxString
*) 0 ;
6319 wxWindow
*arg5
= (wxWindow
*) NULL
;
6320 int arg6
= (int) -1 ;
6321 int arg7
= (int) -1 ;
6322 bool arg8
= (bool) true ;
6323 int arg9
= (int) 150 ;
6324 int arg10
= (int) 200 ;
6326 bool temp1
= false ;
6327 bool temp2
= false ;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6342 PyObject
* obj2
= 0 ;
6343 PyObject
* obj3
= 0 ;
6344 PyObject
* obj4
= 0 ;
6345 PyObject
* obj5
= 0 ;
6346 PyObject
* obj6
= 0 ;
6347 PyObject
* obj7
= 0 ;
6348 PyObject
* obj8
= 0 ;
6349 char * kwnames
[] = {
6350 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6355 arg1
= wxString_in_helper(obj0
);
6356 if (arg1
== NULL
) SWIG_fail
;
6360 arg2
= wxString_in_helper(obj1
);
6361 if (arg2
== NULL
) SWIG_fail
;
6365 arg3
= PyList_Size(obj2
);
6366 arg4
= wxString_LIST_helper(obj2
);
6367 if (arg4
== NULL
) SWIG_fail
;
6370 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6371 if (!SWIG_IsOK(res5
)) {
6372 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6374 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6377 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6378 if (!SWIG_IsOK(ecode6
)) {
6379 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6381 arg6
= static_cast< int >(val6
);
6384 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6385 if (!SWIG_IsOK(ecode7
)) {
6386 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6388 arg7
= static_cast< int >(val7
);
6391 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6392 if (!SWIG_IsOK(ecode8
)) {
6393 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6395 arg8
= static_cast< bool >(val8
);
6398 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6399 if (!SWIG_IsOK(ecode9
)) {
6400 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6402 arg9
= static_cast< int >(val9
);
6405 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6406 if (!SWIG_IsOK(ecode10
)) {
6407 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6409 arg10
= static_cast< int >(val10
);
6412 if (!wxPyCheckForApp()) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_From_int(static_cast< int >(result
));
6428 if (arg4
) delete [] arg4
;
6441 if (arg4
) delete [] arg4
;
6447 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
= 0;
6449 wxString
*arg1
= 0 ;
6450 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6451 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6452 int arg3
= (int) wxOK
|wxCENTRE
;
6453 wxWindow
*arg4
= (wxWindow
*) NULL
;
6454 int arg5
= (int) -1 ;
6455 int arg6
= (int) -1 ;
6457 bool temp1
= false ;
6458 bool temp2
= false ;
6467 PyObject
* obj0
= 0 ;
6468 PyObject
* obj1
= 0 ;
6469 PyObject
* obj2
= 0 ;
6470 PyObject
* obj3
= 0 ;
6471 PyObject
* obj4
= 0 ;
6472 PyObject
* obj5
= 0 ;
6473 char * kwnames
[] = {
6474 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6479 arg1
= wxString_in_helper(obj0
);
6480 if (arg1
== NULL
) SWIG_fail
;
6485 arg2
= wxString_in_helper(obj1
);
6486 if (arg2
== NULL
) SWIG_fail
;
6491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6492 if (!SWIG_IsOK(ecode3
)) {
6493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6495 arg3
= static_cast< int >(val3
);
6498 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6499 if (!SWIG_IsOK(res4
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6502 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6506 if (!SWIG_IsOK(ecode5
)) {
6507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6509 arg5
= static_cast< int >(val5
);
6512 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6513 if (!SWIG_IsOK(ecode6
)) {
6514 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6516 arg6
= static_cast< int >(val6
);
6519 if (!wxPyCheckForApp()) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_From_int(static_cast< int >(result
));
6548 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6549 PyObject
*resultobj
= 0;
6552 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6554 if (!wxPyCheckForApp()) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (bool)wxColourDisplay();
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6569 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6570 PyObject
*resultobj
= 0;
6573 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6575 if (!wxPyCheckForApp()) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (int)wxDisplayDepth();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_From_int(static_cast< int >(result
));
6588 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6592 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6594 if (!wxPyCheckForApp()) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (int)wxGetDisplayDepth();
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= SWIG_From_int(static_cast< int >(result
));
6607 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6608 PyObject
*resultobj
= 0;
6609 int *arg1
= (int *) 0 ;
6610 int *arg2
= (int *) 0 ;
6612 int res1
= SWIG_TMPOBJ
;
6614 int res2
= SWIG_TMPOBJ
;
6618 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6620 if (!wxPyCheckForApp()) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 wxDisplaySize(arg1
,arg2
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_Py_Void();
6627 if (SWIG_IsTmpObj(res1
)) {
6628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6630 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6633 if (SWIG_IsTmpObj(res2
)) {
6634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6636 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6645 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6649 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6651 if (!wxPyCheckForApp()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= wxGetDisplaySize();
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6664 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6665 PyObject
*resultobj
= 0;
6666 int *arg1
= (int *) 0 ;
6667 int *arg2
= (int *) 0 ;
6669 int res1
= SWIG_TMPOBJ
;
6671 int res2
= SWIG_TMPOBJ
;
6675 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6677 if (!wxPyCheckForApp()) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 wxDisplaySizeMM(arg1
,arg2
);
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= SWIG_Py_Void();
6684 if (SWIG_IsTmpObj(res1
)) {
6685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6687 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6690 if (SWIG_IsTmpObj(res2
)) {
6691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6693 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6702 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6703 PyObject
*resultobj
= 0;
6706 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxGetDisplaySizeMM();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6722 PyObject
*resultobj
= 0;
6723 int *arg1
= (int *) 0 ;
6724 int *arg2
= (int *) 0 ;
6725 int *arg3
= (int *) 0 ;
6726 int *arg4
= (int *) 0 ;
6728 int res1
= SWIG_TMPOBJ
;
6730 int res2
= SWIG_TMPOBJ
;
6732 int res3
= SWIG_TMPOBJ
;
6734 int res4
= SWIG_TMPOBJ
;
6740 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6742 if (!wxPyCheckForApp()) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= SWIG_Py_Void();
6749 if (SWIG_IsTmpObj(res1
)) {
6750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6752 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6755 if (SWIG_IsTmpObj(res2
)) {
6756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6758 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6761 if (SWIG_IsTmpObj(res3
)) {
6762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6764 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6767 if (SWIG_IsTmpObj(res4
)) {
6768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6770 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6779 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6780 PyObject
*resultobj
= 0;
6783 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6785 if (!wxPyCheckForApp()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= wxGetClientDisplayRect();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6798 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
= 0;
6800 wxCursor
*arg1
= 0 ;
6803 PyObject
* obj0
= 0 ;
6804 char * kwnames
[] = {
6805 (char *) "cursor", NULL
6808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6809 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6810 if (!SWIG_IsOK(res1
)) {
6811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6816 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6818 if (!wxPyCheckForApp()) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_Py_Void();
6831 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6832 PyObject
*resultobj
= 0;
6835 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6837 if (!wxPyCheckForApp()) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (void *)wxGetXDisplay();
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6850 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
= 0;
6852 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6855 PyObject
* obj0
= 0 ;
6856 char * kwnames
[] = {
6857 (char *) "cursor", NULL
6860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6863 if (!SWIG_IsOK(res1
)) {
6864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6866 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6869 if (!wxPyCheckForApp()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 wxBeginBusyCursor(arg1
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_Py_Void();
6882 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6883 PyObject
*resultobj
= 0;
6886 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6888 if (!wxPyCheckForApp()) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= wxGetMousePosition();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6901 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6902 PyObject
*resultobj
= 0;
6903 wxWindow
*result
= 0 ;
6905 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6907 if (!wxPyCheckForApp()) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (wxWindow
*)FindWindowAtPointer();
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= wxPyMake_wxObject(result
, 0);
6922 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6923 PyObject
*resultobj
= 0;
6924 wxWindow
*result
= 0 ;
6926 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6928 if (!wxPyCheckForApp()) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (wxWindow
*)wxGetActiveWindow();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= wxPyMake_wxObject(result
, 0);
6943 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
= 0;
6946 wxWindow
*result
= 0 ;
6948 PyObject
* obj0
= 0 ;
6949 char * kwnames
[] = {
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6956 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6959 if (!wxPyCheckForApp()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= wxPyMake_wxObject(result
, 0);
6974 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= 0;
6977 wxWindow
*result
= 0 ;
6979 PyObject
* obj0
= 0 ;
6980 char * kwnames
[] = {
6984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6987 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6990 if (!wxPyCheckForApp()) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= wxPyMake_wxObject(result
, 0);
7005 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
= 0;
7007 wxWindow
*arg1
= (wxWindow
*) 0 ;
7008 wxWindow
*result
= 0 ;
7011 PyObject
* obj0
= 0 ;
7012 char * kwnames
[] = {
7013 (char *) "win", NULL
7016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7018 if (!SWIG_IsOK(res1
)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7021 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7023 if (!wxPyCheckForApp()) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= wxPyMake_wxObject(result
, 0);
7038 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxString
*arg1
= 0 ;
7042 bool temp1
= false ;
7043 PyObject
* obj0
= 0 ;
7044 char * kwnames
[] = {
7045 (char *) "url", NULL
7048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7050 arg1
= wxString_in_helper(obj0
);
7051 if (arg1
== NULL
) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7077 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
= 0;
7083 PyObject
* obj0
= 0 ;
7084 char * kwnames
[] = {
7085 (char *) "key", NULL
7088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7090 if (!SWIG_IsOK(ecode1
)) {
7091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7093 arg1
= static_cast< wxKeyCode
>(val1
);
7095 if (!wxPyCheckForApp()) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (bool)wxGetKeyState(arg1
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7110 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7111 PyObject
*resultobj
= 0;
7112 wxMouseState
*result
= 0 ;
7114 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (wxMouseState
*)new wxMouseState();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7128 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7129 PyObject
*resultobj
= 0;
7130 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7133 PyObject
*swig_obj
[1] ;
7135 if (!args
) SWIG_fail
;
7137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7138 if (!SWIG_IsOK(res1
)) {
7139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7141 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= SWIG_Py_Void();
7156 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7157 PyObject
*resultobj
= 0;
7158 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7162 PyObject
*swig_obj
[1] ;
7164 if (!args
) SWIG_fail
;
7166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7167 if (!SWIG_IsOK(res1
)) {
7168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7170 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (int)(arg1
)->GetX();
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_From_int(static_cast< int >(result
));
7184 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7185 PyObject
*resultobj
= 0;
7186 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7190 PyObject
*swig_obj
[1] ;
7192 if (!args
) SWIG_fail
;
7194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7195 if (!SWIG_IsOK(res1
)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7198 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (int)(arg1
)->GetY();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= SWIG_From_int(static_cast< int >(result
));
7212 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7213 PyObject
*resultobj
= 0;
7214 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7218 PyObject
*swig_obj
[1] ;
7220 if (!args
) SWIG_fail
;
7222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7223 if (!SWIG_IsOK(res1
)) {
7224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7226 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (bool)(arg1
)->LeftDown();
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7242 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7243 PyObject
*resultobj
= 0;
7244 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7248 PyObject
*swig_obj
[1] ;
7250 if (!args
) SWIG_fail
;
7252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7253 if (!SWIG_IsOK(res1
)) {
7254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7256 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (bool)(arg1
)->MiddleDown();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7272 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7273 PyObject
*resultobj
= 0;
7274 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7278 PyObject
*swig_obj
[1] ;
7280 if (!args
) SWIG_fail
;
7282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7283 if (!SWIG_IsOK(res1
)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7286 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (bool)(arg1
)->RightDown();
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7302 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7303 PyObject
*resultobj
= 0;
7304 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7308 PyObject
*swig_obj
[1] ;
7310 if (!args
) SWIG_fail
;
7312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7313 if (!SWIG_IsOK(res1
)) {
7314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7316 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (bool)(arg1
)->ControlDown();
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7332 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7333 PyObject
*resultobj
= 0;
7334 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7338 PyObject
*swig_obj
[1] ;
7340 if (!args
) SWIG_fail
;
7342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7343 if (!SWIG_IsOK(res1
)) {
7344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7346 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= (bool)(arg1
)->ShiftDown();
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7362 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7363 PyObject
*resultobj
= 0;
7364 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7368 PyObject
*swig_obj
[1] ;
7370 if (!args
) SWIG_fail
;
7372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7373 if (!SWIG_IsOK(res1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7376 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (bool)(arg1
)->AltDown();
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7392 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7393 PyObject
*resultobj
= 0;
7394 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7398 PyObject
*swig_obj
[1] ;
7400 if (!args
) SWIG_fail
;
7402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7403 if (!SWIG_IsOK(res1
)) {
7404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7406 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (bool)(arg1
)->MetaDown();
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7422 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 PyObject
*resultobj
= 0;
7424 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7428 PyObject
*swig_obj
[1] ;
7430 if (!args
) SWIG_fail
;
7432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7433 if (!SWIG_IsOK(res1
)) {
7434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7436 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)(arg1
)->CmdDown();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7452 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
= 0;
7454 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "self",(char *) "x", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7471 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7473 if (!SWIG_IsOK(ecode2
)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7476 arg2
= static_cast< int >(val2
);
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_Py_Void();
7490 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
= 0;
7492 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7500 char * kwnames
[] = {
7501 (char *) "self",(char *) "y", NULL
7504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7506 if (!SWIG_IsOK(res1
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7509 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7511 if (!SWIG_IsOK(ecode2
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7514 arg2
= static_cast< int >(val2
);
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_Py_Void();
7528 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
= 0;
7530 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7538 char * kwnames
[] = {
7539 (char *) "self",(char *) "down", NULL
7542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7544 if (!SWIG_IsOK(res1
)) {
7545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7547 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7548 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7549 if (!SWIG_IsOK(ecode2
)) {
7550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7552 arg2
= static_cast< bool >(val2
);
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 (arg1
)->SetLeftDown(arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_Py_Void();
7566 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
= 0;
7568 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 char * kwnames
[] = {
7577 (char *) "self",(char *) "down", NULL
7580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7582 if (!SWIG_IsOK(res1
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7585 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7586 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7587 if (!SWIG_IsOK(ecode2
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7590 arg2
= static_cast< bool >(val2
);
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 (arg1
)->SetMiddleDown(arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_Py_Void();
7604 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
= 0;
7606 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7613 PyObject
* obj1
= 0 ;
7614 char * kwnames
[] = {
7615 (char *) "self",(char *) "down", NULL
7618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7620 if (!SWIG_IsOK(res1
)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7623 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7624 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7625 if (!SWIG_IsOK(ecode2
)) {
7626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7628 arg2
= static_cast< bool >(val2
);
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 (arg1
)->SetRightDown(arg2
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_Py_Void();
7642 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "self",(char *) "down", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7661 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7663 if (!SWIG_IsOK(ecode2
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7666 arg2
= static_cast< bool >(val2
);
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 (arg1
)->SetControlDown(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_Py_Void();
7680 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
= 0;
7682 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7689 PyObject
* obj1
= 0 ;
7690 char * kwnames
[] = {
7691 (char *) "self",(char *) "down", NULL
7694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7696 if (!SWIG_IsOK(res1
)) {
7697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7699 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7700 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7701 if (!SWIG_IsOK(ecode2
)) {
7702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7704 arg2
= static_cast< bool >(val2
);
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 (arg1
)->SetShiftDown(arg2
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_Py_Void();
7718 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
= 0;
7720 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7728 char * kwnames
[] = {
7729 (char *) "self",(char *) "down", NULL
7732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7734 if (!SWIG_IsOK(res1
)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7737 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7738 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7739 if (!SWIG_IsOK(ecode2
)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7742 arg2
= static_cast< bool >(val2
);
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->SetAltDown(arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_Py_Void();
7756 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7765 PyObject
* obj1
= 0 ;
7766 char * kwnames
[] = {
7767 (char *) "self",(char *) "down", NULL
7770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7772 if (!SWIG_IsOK(res1
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7775 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7776 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7777 if (!SWIG_IsOK(ecode2
)) {
7778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7780 arg2
= static_cast< bool >(val2
);
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 (arg1
)->SetMetaDown(arg2
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_Py_Void();
7794 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7797 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7798 return SWIG_Py_Void();
7801 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 return SWIG_Python_InitShadowInstance(args
);
7805 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7806 PyObject
*resultobj
= 0;
7807 wxMouseState result
;
7809 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= wxGetMouseState();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7823 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 PyObject
*resultobj
= 0;
7826 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 wxWakeUpMainThread();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_Py_Void();
7841 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7842 PyObject
*resultobj
= 0;
7844 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7846 if (!wxPyCheckForApp()) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= SWIG_Py_Void();
7859 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7860 PyObject
*resultobj
= 0;
7862 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7864 if (!wxPyCheckForApp()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_Py_Void();
7877 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7878 PyObject
*resultobj
= 0;
7879 wxMutexGuiLocker
*result
= 0 ;
7881 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7883 if (!wxPyCheckForApp()) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7896 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7897 PyObject
*resultobj
= 0;
7898 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7901 PyObject
*swig_obj
[1] ;
7903 if (!args
) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7909 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= SWIG_Py_Void();
7924 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7926 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7927 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7928 return SWIG_Py_Void();
7931 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7932 return SWIG_Python_InitShadowInstance(args
);
7935 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7936 PyObject
*resultobj
= 0;
7939 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (bool)wxThread_IsMain();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7955 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
= 0;
7957 wxString
*arg1
= 0 ;
7958 wxToolTip
*result
= 0 ;
7959 bool temp1
= false ;
7960 PyObject
* obj0
= 0 ;
7961 char * kwnames
[] = {
7962 (char *) "tip", NULL
7965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7967 arg1
= wxString_in_helper(obj0
);
7968 if (arg1
== NULL
) SWIG_fail
;
7972 if (!wxPyCheckForApp()) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
7993 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7994 PyObject
*resultobj
= 0;
7995 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7998 PyObject
*swig_obj
[1] ;
8000 if (!args
) SWIG_fail
;
8002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8003 if (!SWIG_IsOK(res1
)) {
8004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8006 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= SWIG_Py_Void();
8021 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
= 0;
8023 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8024 wxString
*arg2
= 0 ;
8027 bool temp2
= false ;
8028 PyObject
* obj0
= 0 ;
8029 PyObject
* obj1
= 0 ;
8030 char * kwnames
[] = {
8031 (char *) "self",(char *) "tip", NULL
8034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8036 if (!SWIG_IsOK(res1
)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8039 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8041 arg2
= wxString_in_helper(obj1
);
8042 if (arg2
== NULL
) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 (arg1
)->SetTip((wxString
const &)*arg2
);
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_Py_Void();
8066 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8067 PyObject
*resultobj
= 0;
8068 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8072 PyObject
*swig_obj
[1] ;
8074 if (!args
) SWIG_fail
;
8076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8077 if (!SWIG_IsOK(res1
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8080 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= (arg1
)->GetTip();
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8100 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8101 PyObject
*resultobj
= 0;
8102 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8103 wxWindow
*result
= 0 ;
8106 PyObject
*swig_obj
[1] ;
8108 if (!args
) SWIG_fail
;
8110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8111 if (!SWIG_IsOK(res1
)) {
8112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8114 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= (wxWindow
*)(arg1
)->GetWindow();
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= wxPyMake_wxObject(result
, 0);
8130 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
= 0;
8135 PyObject
* obj0
= 0 ;
8136 char * kwnames
[] = {
8137 (char *) "flag", NULL
8140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8141 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8142 if (!SWIG_IsOK(ecode1
)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8145 arg1
= static_cast< bool >(val1
);
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 wxToolTip::Enable(arg1
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_Py_Void();
8159 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
= 0;
8164 PyObject
* obj0
= 0 ;
8165 char * kwnames
[] = {
8166 (char *) "milliseconds", NULL
8169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8170 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8171 if (!SWIG_IsOK(ecode1
)) {
8172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8174 arg1
= static_cast< long >(val1
);
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 wxToolTip::SetDelay(arg1
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_Py_Void();
8188 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8191 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8192 return SWIG_Py_Void();
8195 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8196 return SWIG_Python_InitShadowInstance(args
);
8199 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
= 0;
8201 wxWindow
*arg1
= (wxWindow
*) 0 ;
8203 wxCaret
*result
= 0 ;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8209 char * kwnames
[] = {
8210 (char *) "window",(char *) "size", NULL
8213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8215 if (!SWIG_IsOK(res1
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8218 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8221 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8224 if (!wxPyCheckForApp()) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8237 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8238 PyObject
*resultobj
= 0;
8239 wxCaret
*arg1
= (wxCaret
*) 0 ;
8242 PyObject
*swig_obj
[1] ;
8244 if (!args
) SWIG_fail
;
8246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8247 if (!SWIG_IsOK(res1
)) {
8248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8250 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= SWIG_Py_Void();
8265 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8266 PyObject
*resultobj
= 0;
8267 wxCaret
*arg1
= (wxCaret
*) 0 ;
8270 PyObject
*swig_obj
[1] ;
8272 if (!args
) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8278 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 wxCaret_Destroy(arg1
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_Py_Void();
8292 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8293 PyObject
*resultobj
= 0;
8294 wxCaret
*arg1
= (wxCaret
*) 0 ;
8298 PyObject
*swig_obj
[1] ;
8300 if (!args
) SWIG_fail
;
8302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8303 if (!SWIG_IsOK(res1
)) {
8304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8306 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 result
= (bool)(arg1
)->IsOk();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8322 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8323 PyObject
*resultobj
= 0;
8324 wxCaret
*arg1
= (wxCaret
*) 0 ;
8328 PyObject
*swig_obj
[1] ;
8330 if (!args
) SWIG_fail
;
8332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8333 if (!SWIG_IsOK(res1
)) {
8334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8336 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (bool)(arg1
)->IsVisible();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8352 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8353 PyObject
*resultobj
= 0;
8354 wxCaret
*arg1
= (wxCaret
*) 0 ;
8358 PyObject
*swig_obj
[1] ;
8360 if (!args
) SWIG_fail
;
8362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8363 if (!SWIG_IsOK(res1
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8366 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (arg1
)->GetPosition();
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8380 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8381 PyObject
*resultobj
= 0;
8382 wxCaret
*arg1
= (wxCaret
*) 0 ;
8383 int *arg2
= (int *) 0 ;
8384 int *arg3
= (int *) 0 ;
8388 int res2
= SWIG_TMPOBJ
;
8390 int res3
= SWIG_TMPOBJ
;
8391 PyObject
*swig_obj
[1] ;
8395 if (!args
) SWIG_fail
;
8397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8398 if (!SWIG_IsOK(res1
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8401 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->GetPosition(arg2
,arg3
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 resultobj
= SWIG_Py_Void();
8409 if (SWIG_IsTmpObj(res2
)) {
8410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8412 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8415 if (SWIG_IsTmpObj(res3
)) {
8416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8418 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8427 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8428 PyObject
*resultobj
= 0;
8429 wxCaret
*arg1
= (wxCaret
*) 0 ;
8433 PyObject
*swig_obj
[1] ;
8435 if (!args
) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8441 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (arg1
)->GetSize();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8455 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 PyObject
*resultobj
= 0;
8457 wxCaret
*arg1
= (wxCaret
*) 0 ;
8458 int *arg2
= (int *) 0 ;
8459 int *arg3
= (int *) 0 ;
8463 int res2
= SWIG_TMPOBJ
;
8465 int res3
= SWIG_TMPOBJ
;
8466 PyObject
*swig_obj
[1] ;
8470 if (!args
) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8476 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 (arg1
)->GetSize(arg2
,arg3
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_Py_Void();
8484 if (SWIG_IsTmpObj(res2
)) {
8485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8487 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8490 if (SWIG_IsTmpObj(res3
)) {
8491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8493 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8502 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 PyObject
*resultobj
= 0;
8504 wxCaret
*arg1
= (wxCaret
*) 0 ;
8505 wxWindow
*result
= 0 ;
8508 PyObject
*swig_obj
[1] ;
8510 if (!args
) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8516 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (wxWindow
*)(arg1
)->GetWindow();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= wxPyMake_wxObject(result
, 0);
8532 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
= 0;
8534 wxCaret
*arg1
= (wxCaret
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8544 PyObject
* obj1
= 0 ;
8545 PyObject
* obj2
= 0 ;
8546 char * kwnames
[] = {
8547 (char *) "self",(char *) "x",(char *) "y", NULL
8550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8552 if (!SWIG_IsOK(res1
)) {
8553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8555 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8557 if (!SWIG_IsOK(ecode2
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8560 arg2
= static_cast< int >(val2
);
8561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8562 if (!SWIG_IsOK(ecode3
)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8565 arg3
= static_cast< int >(val3
);
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 (arg1
)->Move(arg2
,arg3
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= SWIG_Py_Void();
8579 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
= 0;
8581 wxCaret
*arg1
= (wxCaret
*) 0 ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 char * kwnames
[] = {
8589 (char *) "self",(char *) "pt", NULL
8592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8594 if (!SWIG_IsOK(res1
)) {
8595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8597 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 (arg1
)->Move((wxPoint
const &)*arg2
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= SWIG_Py_Void();
8615 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
= 0;
8617 wxCaret
*arg1
= (wxCaret
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8629 char * kwnames
[] = {
8630 (char *) "self",(char *) "width",(char *) "height", NULL
8633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8638 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8640 if (!SWIG_IsOK(ecode2
)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8643 arg2
= static_cast< int >(val2
);
8644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8645 if (!SWIG_IsOK(ecode3
)) {
8646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8648 arg3
= static_cast< int >(val3
);
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 (arg1
)->SetSize(arg2
,arg3
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_Py_Void();
8662 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
= 0;
8664 wxCaret
*arg1
= (wxCaret
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8671 char * kwnames
[] = {
8672 (char *) "self",(char *) "size", NULL
8675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8677 if (!SWIG_IsOK(res1
)) {
8678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8680 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8683 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 (arg1
)->SetSize((wxSize
const &)*arg2
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= SWIG_Py_Void();
8698 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
= 0;
8700 wxCaret
*arg1
= (wxCaret
*) 0 ;
8701 int arg2
= (int) true ;
8706 PyObject
* obj0
= 0 ;
8707 PyObject
* obj1
= 0 ;
8708 char * kwnames
[] = {
8709 (char *) "self",(char *) "show", NULL
8712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8714 if (!SWIG_IsOK(res1
)) {
8715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8717 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8720 if (!SWIG_IsOK(ecode2
)) {
8721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8723 arg2
= static_cast< int >(val2
);
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 resultobj
= SWIG_Py_Void();
8738 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8739 PyObject
*resultobj
= 0;
8740 wxCaret
*arg1
= (wxCaret
*) 0 ;
8743 PyObject
*swig_obj
[1] ;
8745 if (!args
) SWIG_fail
;
8747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8748 if (!SWIG_IsOK(res1
)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8751 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= SWIG_Py_Void();
8765 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8766 PyObject
*resultobj
= 0;
8769 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (int)wxCaret::GetBlinkTime();
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= SWIG_From_int(static_cast< int >(result
));
8783 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
= 0;
8788 PyObject
* obj0
= 0 ;
8789 char * kwnames
[] = {
8790 (char *) "milliseconds", NULL
8793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8794 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8795 if (!SWIG_IsOK(ecode1
)) {
8796 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8798 arg1
= static_cast< int >(val1
);
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 wxCaret::SetBlinkTime(arg1
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= SWIG_Py_Void();
8812 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8815 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8816 return SWIG_Py_Void();
8819 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8820 return SWIG_Python_InitShadowInstance(args
);
8823 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
= 0;
8825 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8826 wxBusyCursor
*result
= 0 ;
8829 PyObject
* obj0
= 0 ;
8830 char * kwnames
[] = {
8831 (char *) "cursor", NULL
8834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8837 if (!SWIG_IsOK(res1
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8840 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8843 if (!wxPyCheckForApp()) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8856 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8857 PyObject
*resultobj
= 0;
8858 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8861 PyObject
*swig_obj
[1] ;
8863 if (!args
) SWIG_fail
;
8865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8866 if (!SWIG_IsOK(res1
)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8869 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= SWIG_Py_Void();
8884 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8886 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8887 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8888 return SWIG_Py_Void();
8891 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8892 return SWIG_Python_InitShadowInstance(args
);
8895 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
= 0;
8897 wxWindow
*arg1
= (wxWindow
*) NULL
;
8898 wxWindowDisabler
*result
= 0 ;
8901 PyObject
* obj0
= 0 ;
8902 char * kwnames
[] = {
8903 (char *) "winToSkip", NULL
8906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8909 if (!SWIG_IsOK(res1
)) {
8910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8912 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8915 if (!wxPyCheckForApp()) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8928 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8933 PyObject
*swig_obj
[1] ;
8935 if (!args
) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8941 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_Py_Void();
8956 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8959 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8960 return SWIG_Py_Void();
8963 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8964 return SWIG_Python_InitShadowInstance(args
);
8967 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
= 0;
8969 wxString
*arg1
= 0 ;
8970 wxBusyInfo
*result
= 0 ;
8971 bool temp1
= false ;
8972 PyObject
* obj0
= 0 ;
8973 char * kwnames
[] = {
8974 (char *) "message", NULL
8977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8979 arg1
= wxString_in_helper(obj0
);
8980 if (arg1
== NULL
) SWIG_fail
;
8984 if (!wxPyCheckForApp()) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9005 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9006 PyObject
*resultobj
= 0;
9007 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9010 PyObject
*swig_obj
[1] ;
9012 if (!args
) SWIG_fail
;
9014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9015 if (!SWIG_IsOK(res1
)) {
9016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9018 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= SWIG_Py_Void();
9033 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9036 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9037 return SWIG_Py_Void();
9040 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9041 return SWIG_Python_InitShadowInstance(args
);
9044 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9045 PyObject
*resultobj
= 0;
9046 wxStopWatch
*result
= 0 ;
9048 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (wxStopWatch
*)new wxStopWatch();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9062 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= 0;
9064 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9065 long arg2
= (long) 0 ;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9072 char * kwnames
[] = {
9073 (char *) "self",(char *) "t0", NULL
9076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9078 if (!SWIG_IsOK(res1
)) {
9079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9081 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9083 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9084 if (!SWIG_IsOK(ecode2
)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9087 arg2
= static_cast< long >(val2
);
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 (arg1
)->Start(arg2
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_Py_Void();
9102 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9103 PyObject
*resultobj
= 0;
9104 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9107 PyObject
*swig_obj
[1] ;
9109 if (!args
) SWIG_fail
;
9111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9112 if (!SWIG_IsOK(res1
)) {
9113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9115 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_Py_Void();
9129 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9130 PyObject
*resultobj
= 0;
9131 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9134 PyObject
*swig_obj
[1] ;
9136 if (!args
) SWIG_fail
;
9138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9139 if (!SWIG_IsOK(res1
)) {
9140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9142 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= SWIG_Py_Void();
9156 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9157 PyObject
*resultobj
= 0;
9158 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9162 PyObject
*swig_obj
[1] ;
9164 if (!args
) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9170 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_From_long(static_cast< long >(result
));
9184 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9187 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9188 return SWIG_Py_Void();
9191 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9192 return SWIG_Python_InitShadowInstance(args
);
9195 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 int arg1
= (int) 9 ;
9198 int arg2
= (int) wxID_FILE1
;
9199 wxFileHistory
*result
= 0 ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 char * kwnames
[] = {
9207 (char *) "maxFiles",(char *) "idBase", NULL
9210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9213 if (!SWIG_IsOK(ecode1
)) {
9214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9216 arg1
= static_cast< int >(val1
);
9219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9220 if (!SWIG_IsOK(ecode2
)) {
9221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9223 arg2
= static_cast< int >(val2
);
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9238 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9239 PyObject
*resultobj
= 0;
9240 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9243 PyObject
*swig_obj
[1] ;
9245 if (!args
) SWIG_fail
;
9247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9248 if (!SWIG_IsOK(res1
)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9251 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_Py_Void();
9266 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
= 0;
9268 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9269 wxString
*arg2
= 0 ;
9272 bool temp2
= false ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "self",(char *) "file", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9284 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9286 arg2
= wxString_in_helper(obj1
);
9287 if (arg2
== NULL
) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_Py_Void();
9311 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
= 0;
9313 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9321 char * kwnames
[] = {
9322 (char *) "self",(char *) "i", NULL
9325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9327 if (!SWIG_IsOK(res1
)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9330 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9332 if (!SWIG_IsOK(ecode2
)) {
9333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9335 arg2
= static_cast< int >(val2
);
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 (arg1
)->RemoveFileFromHistory(arg2
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= SWIG_Py_Void();
9349 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9350 PyObject
*resultobj
= 0;
9351 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9355 PyObject
*swig_obj
[1] ;
9357 if (!args
) SWIG_fail
;
9359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9360 if (!SWIG_IsOK(res1
)) {
9361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9363 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_From_int(static_cast< int >(result
));
9377 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= 0;
9379 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9380 wxMenu
*arg2
= (wxMenu
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "self",(char *) "menu", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9396 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9398 if (!SWIG_IsOK(res2
)) {
9399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9401 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->UseMenu(arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_Py_Void();
9415 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= 0;
9417 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9418 wxMenu
*arg2
= (wxMenu
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "self",(char *) "menu", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9434 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9436 if (!SWIG_IsOK(res2
)) {
9437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9439 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->RemoveMenu(arg2
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_Py_Void();
9453 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= 0;
9455 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9456 wxConfigBase
*arg2
= 0 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "config", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9472 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9474 if (!SWIG_IsOK(res2
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9480 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 (arg1
)->Load(*arg2
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_Py_Void();
9494 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
= 0;
9496 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9497 wxConfigBase
*arg2
= 0 ;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9504 char * kwnames
[] = {
9505 (char *) "self",(char *) "config", NULL
9508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9513 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9515 if (!SWIG_IsOK(res2
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9521 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 (arg1
)->Save(*arg2
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_Py_Void();
9535 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9536 PyObject
*resultobj
= 0;
9537 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9540 PyObject
*swig_obj
[1] ;
9542 if (!args
) SWIG_fail
;
9544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9545 if (!SWIG_IsOK(res1
)) {
9546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9548 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 (arg1
)->AddFilesToMenu();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_Py_Void();
9562 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
= 0;
9564 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9565 wxMenu
*arg2
= (wxMenu
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9571 PyObject
* obj1
= 0 ;
9572 char * kwnames
[] = {
9573 (char *) "self",(char *) "menu", NULL
9576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9578 if (!SWIG_IsOK(res1
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9581 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9583 if (!SWIG_IsOK(res2
)) {
9584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9586 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 (arg1
)->AddFilesToMenu(arg2
);
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= SWIG_Py_Void();
9600 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
= 0;
9602 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "i", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9620 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9622 if (!SWIG_IsOK(ecode2
)) {
9623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9625 arg2
= static_cast< int >(val2
);
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9645 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9646 PyObject
*resultobj
= 0;
9647 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9651 PyObject
*swig_obj
[1] ;
9653 if (!args
) SWIG_fail
;
9655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9656 if (!SWIG_IsOK(res1
)) {
9657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9659 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_From_int(static_cast< int >(result
));
9673 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9676 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9677 return SWIG_Py_Void();
9680 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9681 return SWIG_Python_InitShadowInstance(args
);
9684 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= 0;
9686 wxString
*arg1
= 0 ;
9687 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9688 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9689 wxSingleInstanceChecker
*result
= 0 ;
9690 bool temp1
= false ;
9691 bool temp2
= false ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "name",(char *) "path", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9700 arg1
= wxString_in_helper(obj0
);
9701 if (arg1
== NULL
) SWIG_fail
;
9706 arg2
= wxString_in_helper(obj1
);
9707 if (arg2
== NULL
) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9740 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9741 PyObject
*resultobj
= 0;
9742 wxSingleInstanceChecker
*result
= 0 ;
9744 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9758 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9759 PyObject
*resultobj
= 0;
9760 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9763 PyObject
*swig_obj
[1] ;
9765 if (!args
) SWIG_fail
;
9767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9768 if (!SWIG_IsOK(res1
)) {
9769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9771 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_Py_Void();
9786 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
= 0;
9788 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9789 wxString
*arg2
= 0 ;
9790 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9791 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9795 bool temp2
= false ;
9796 bool temp3
= false ;
9797 PyObject
* obj0
= 0 ;
9798 PyObject
* obj1
= 0 ;
9799 PyObject
* obj2
= 0 ;
9800 char * kwnames
[] = {
9801 (char *) "self",(char *) "name",(char *) "path", NULL
9804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9806 if (!SWIG_IsOK(res1
)) {
9807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9809 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9811 arg2
= wxString_in_helper(obj1
);
9812 if (arg2
== NULL
) SWIG_fail
;
9817 arg3
= wxString_in_helper(obj2
);
9818 if (arg3
== NULL
) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9853 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9854 PyObject
*resultobj
= 0;
9855 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9859 PyObject
*swig_obj
[1] ;
9861 if (!args
) SWIG_fail
;
9863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9864 if (!SWIG_IsOK(res1
)) {
9865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9867 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9883 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9886 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9887 return SWIG_Py_Void();
9890 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9891 return SWIG_Python_InitShadowInstance(args
);
9894 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
= 0;
9896 wxWindow
*arg1
= (wxWindow
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj1
= 0 ;
9905 char * kwnames
[] = {
9906 (char *) "window",(char *) "dc", NULL
9909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9911 if (!SWIG_IsOK(res1
)) {
9912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9914 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9916 if (!SWIG_IsOK(res2
)) {
9917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9922 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9938 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9939 PyObject
*resultobj
= 0;
9940 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9943 PyObject
*swig_obj
[1] ;
9945 if (!args
) SWIG_fail
;
9947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9948 if (!SWIG_IsOK(res1
)) {
9949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9951 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_Py_Void();
9966 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9967 PyObject
*resultobj
= 0;
9968 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9972 PyObject
*swig_obj
[1] ;
9974 if (!args
) SWIG_fail
;
9976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9977 if (!SWIG_IsOK(res1
)) {
9978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9980 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (arg1
)->GetTip();
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10000 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10001 PyObject
*resultobj
= 0;
10002 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10006 PyObject
*swig_obj
[1] ;
10008 if (!args
) SWIG_fail
;
10009 swig_obj
[0] = args
;
10010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10011 if (!SWIG_IsOK(res1
)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10014 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (size_t)(arg1
)->GetCurrentTip();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10028 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10031 wxString
*arg2
= 0 ;
10035 bool temp2
= false ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 char * kwnames
[] = {
10039 (char *) "self",(char *) "tip", NULL
10042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10044 if (!SWIG_IsOK(res1
)) {
10045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10047 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10049 arg2
= wxString_in_helper(obj1
);
10050 if (arg2
== NULL
) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10080 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10083 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10084 return SWIG_Py_Void();
10087 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
= 0;
10090 wxPyTipProvider
*result
= 0 ;
10093 PyObject
* obj0
= 0 ;
10094 char * kwnames
[] = {
10095 (char *) "currentTip", NULL
10098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10099 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10100 if (!SWIG_IsOK(ecode1
)) {
10101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10103 arg1
= static_cast< size_t >(val1
);
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10117 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
= 0;
10119 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10120 PyObject
*arg2
= (PyObject
*) 0 ;
10121 PyObject
*arg3
= (PyObject
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 PyObject
* obj2
= 0 ;
10127 char * kwnames
[] = {
10128 (char *) "self",(char *) "self",(char *) "_class", NULL
10131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10133 if (!SWIG_IsOK(res1
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10136 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_Py_Void();
10152 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10155 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10156 return SWIG_Py_Void();
10159 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 return SWIG_Python_InitShadowInstance(args
);
10163 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
= 0;
10165 wxWindow
*arg1
= (wxWindow
*) 0 ;
10166 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10167 bool arg3
= (bool) true ;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 PyObject
* obj2
= 0 ;
10178 char * kwnames
[] = {
10179 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10184 if (!SWIG_IsOK(res1
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10189 if (!SWIG_IsOK(res2
)) {
10190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10192 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10194 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10195 if (!SWIG_IsOK(ecode3
)) {
10196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10198 arg3
= static_cast< bool >(val3
);
10201 if (!wxPyCheckForApp()) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10216 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
= 0;
10218 wxString
*arg1
= 0 ;
10220 wxTipProvider
*result
= 0 ;
10221 bool temp1
= false ;
10224 PyObject
* obj0
= 0 ;
10225 PyObject
* obj1
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "filename",(char *) "currentTip", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10232 arg1
= wxString_in_helper(obj0
);
10233 if (arg1
== NULL
) SWIG_fail
;
10236 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10237 if (!SWIG_IsOK(ecode2
)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10240 arg2
= static_cast< size_t >(val2
);
10242 if (!wxPyCheckForApp()) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10263 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
= 0;
10265 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10266 int arg2
= (int) wxID_ANY
;
10267 wxPyTimer
*result
= 0 ;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 char * kwnames
[] = {
10275 (char *) "owner",(char *) "id", NULL
10278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10284 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10288 if (!SWIG_IsOK(ecode2
)) {
10289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10291 arg2
= static_cast< int >(val2
);
10294 if (!wxPyCheckForApp()) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10307 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10308 PyObject
*resultobj
= 0;
10309 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10312 PyObject
*swig_obj
[1] ;
10314 if (!args
) SWIG_fail
;
10315 swig_obj
[0] = args
;
10316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10317 if (!SWIG_IsOK(res1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10320 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_Py_Void();
10335 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10338 PyObject
*arg2
= (PyObject
*) 0 ;
10339 PyObject
*arg3
= (PyObject
*) 0 ;
10340 int arg4
= (int) 1 ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 PyObject
* obj2
= 0 ;
10348 PyObject
* obj3
= 0 ;
10349 char * kwnames
[] = {
10350 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10355 if (!SWIG_IsOK(res1
)) {
10356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10358 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10362 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10363 if (!SWIG_IsOK(ecode4
)) {
10364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10366 arg4
= static_cast< int >(val4
);
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 resultobj
= SWIG_Py_Void();
10381 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
= 0;
10383 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10384 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10385 int arg3
= (int) wxID_ANY
;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 PyObject
* obj2
= 0 ;
10395 char * kwnames
[] = {
10396 (char *) "self",(char *) "owner",(char *) "id", NULL
10399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10401 if (!SWIG_IsOK(res1
)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10404 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10406 if (!SWIG_IsOK(res2
)) {
10407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10409 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10412 if (!SWIG_IsOK(ecode3
)) {
10413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10415 arg3
= static_cast< int >(val3
);
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 (arg1
)->SetOwner(arg2
,arg3
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= SWIG_Py_Void();
10430 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10431 PyObject
*resultobj
= 0;
10432 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10433 wxEvtHandler
*result
= 0 ;
10436 PyObject
*swig_obj
[1] ;
10438 if (!args
) SWIG_fail
;
10439 swig_obj
[0] = args
;
10440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10441 if (!SWIG_IsOK(res1
)) {
10442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10444 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= wxPyMake_wxObject(result
, 0);
10460 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
= 0;
10462 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10463 int arg2
= (int) -1 ;
10464 bool arg3
= (bool) false ;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 char * kwnames
[] = {
10476 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10481 if (!SWIG_IsOK(res1
)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10484 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10487 if (!SWIG_IsOK(ecode2
)) {
10488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10490 arg2
= static_cast< int >(val2
);
10493 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10494 if (!SWIG_IsOK(ecode3
)) {
10495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10497 arg3
= static_cast< bool >(val3
);
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10514 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10519 PyObject
*swig_obj
[1] ;
10521 if (!args
) SWIG_fail
;
10522 swig_obj
[0] = args
;
10523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10527 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_Py_Void();
10541 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10542 PyObject
*resultobj
= 0;
10543 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10546 PyObject
*swig_obj
[1] ;
10548 if (!args
) SWIG_fail
;
10549 swig_obj
[0] = args
;
10550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10551 if (!SWIG_IsOK(res1
)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10554 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_Py_Void();
10568 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10569 PyObject
*resultobj
= 0;
10570 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10574 PyObject
*swig_obj
[1] ;
10576 if (!args
) SWIG_fail
;
10577 swig_obj
[0] = args
;
10578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10579 if (!SWIG_IsOK(res1
)) {
10580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10582 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10598 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10599 PyObject
*resultobj
= 0;
10600 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10604 PyObject
*swig_obj
[1] ;
10606 if (!args
) SWIG_fail
;
10607 swig_obj
[0] = args
;
10608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10609 if (!SWIG_IsOK(res1
)) {
10610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10612 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= SWIG_From_int(static_cast< int >(result
));
10626 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10627 PyObject
*resultobj
= 0;
10628 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10632 PyObject
*swig_obj
[1] ;
10634 if (!args
) SWIG_fail
;
10635 swig_obj
[0] = args
;
10636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10637 if (!SWIG_IsOK(res1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10640 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_From_int(static_cast< int >(result
));
10654 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10655 PyObject
*resultobj
= 0;
10656 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10660 PyObject
*swig_obj
[1] ;
10662 if (!args
) SWIG_fail
;
10663 swig_obj
[0] = args
;
10664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10668 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10684 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10687 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10688 return SWIG_Py_Void();
10691 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10692 return SWIG_Python_InitShadowInstance(args
);
10695 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
= 0;
10697 int arg1
= (int) 0 ;
10698 int arg2
= (int) 0 ;
10699 wxTimerEvent
*result
= 0 ;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 char * kwnames
[] = {
10707 (char *) "timerid",(char *) "interval", NULL
10710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10712 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10713 if (!SWIG_IsOK(ecode1
)) {
10714 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10716 arg1
= static_cast< int >(val1
);
10719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10720 if (!SWIG_IsOK(ecode2
)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10723 arg2
= static_cast< int >(val2
);
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10738 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10739 PyObject
*resultobj
= 0;
10740 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10744 PyObject
*swig_obj
[1] ;
10746 if (!args
) SWIG_fail
;
10747 swig_obj
[0] = args
;
10748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10749 if (!SWIG_IsOK(res1
)) {
10750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10752 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 resultobj
= SWIG_From_int(static_cast< int >(result
));
10766 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10769 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10770 return SWIG_Py_Void();
10773 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10774 return SWIG_Python_InitShadowInstance(args
);
10777 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10778 PyObject
*resultobj
= 0;
10779 wxTimer
*arg1
= 0 ;
10780 wxTimerRunner
*result
= 0 ;
10784 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10786 if (!SWIG_IsOK(res1
)) {
10787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10792 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10794 if (!wxPyCheckForApp()) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10807 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10808 PyObject
*resultobj
= 0;
10809 wxTimer
*arg1
= 0 ;
10811 bool arg3
= (bool) false ;
10812 wxTimerRunner
*result
= 0 ;
10820 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10822 if (!SWIG_IsOK(res1
)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10828 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10829 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10830 if (!SWIG_IsOK(ecode2
)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10833 arg2
= static_cast< int >(val2
);
10835 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10836 if (!SWIG_IsOK(ecode3
)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10839 arg3
= static_cast< bool >(val3
);
10842 if (!wxPyCheckForApp()) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10855 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10859 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10862 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10864 if ((argc
>= 2) && (argc
<= 3)) {
10865 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10869 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10874 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10875 PyObject
*resultobj
= 0;
10876 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10879 PyObject
*swig_obj
[1] ;
10881 if (!args
) SWIG_fail
;
10882 swig_obj
[0] = args
;
10883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10884 if (!SWIG_IsOK(res1
)) {
10885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10887 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_Py_Void();
10902 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
= 0;
10904 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10906 bool arg3
= (bool) false ;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 PyObject
* obj2
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10925 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10927 if (!SWIG_IsOK(ecode2
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10930 arg2
= static_cast< int >(val2
);
10932 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10933 if (!SWIG_IsOK(ecode3
)) {
10934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10936 arg3
= static_cast< bool >(val3
);
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 (arg1
)->Start(arg2
,arg3
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_Py_Void();
10951 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10954 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10955 return SWIG_Py_Void();
10958 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10959 return SWIG_Python_InitShadowInstance(args
);
10962 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 PyObject
*resultobj
= 0;
10964 wxLog
*result
= 0 ;
10966 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (wxLog
*)new wxLog();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10980 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10981 PyObject
*resultobj
= 0;
10982 wxLog
*arg1
= (wxLog
*) 0 ;
10985 PyObject
*swig_obj
[1] ;
10987 if (!args
) SWIG_fail
;
10988 swig_obj
[0] = args
;
10989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
10990 if (!SWIG_IsOK(res1
)) {
10991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
10993 arg1
= reinterpret_cast< wxLog
* >(argp1
);
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= SWIG_Py_Void();
11008 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11009 PyObject
*resultobj
= 0;
11012 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 result
= (bool)wxLog::IsEnabled();
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11028 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= 0;
11030 bool arg1
= (bool) true ;
11034 PyObject
* obj0
= 0 ;
11035 char * kwnames
[] = {
11036 (char *) "doIt", NULL
11039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11041 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11042 if (!SWIG_IsOK(ecode1
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11045 arg1
= static_cast< bool >(val1
);
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (bool)wxLog::EnableLogging(arg1
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11062 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
= 0;
11065 wxChar
*arg2
= (wxChar
*) 0 ;
11067 unsigned long val1
;
11071 unsigned int val3
;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 PyObject
* obj2
= 0 ;
11076 char * kwnames
[] = {
11077 (char *) "level",(char *) "szString",(char *) "t", NULL
11080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11081 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11082 if (!SWIG_IsOK(ecode1
)) {
11083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11085 arg1
= static_cast< wxLogLevel
>(val1
);
11086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11087 if (!SWIG_IsOK(res2
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11090 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11091 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11092 if (!SWIG_IsOK(ecode3
)) {
11093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11095 arg3
= static_cast< time_t >(val3
);
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= SWIG_Py_Void();
11109 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11110 PyObject
*resultobj
= 0;
11111 wxLog
*arg1
= (wxLog
*) 0 ;
11114 PyObject
*swig_obj
[1] ;
11116 if (!args
) SWIG_fail
;
11117 swig_obj
[0] = args
;
11118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11119 if (!SWIG_IsOK(res1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11122 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11129 resultobj
= SWIG_Py_Void();
11136 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11137 PyObject
*resultobj
= 0;
11139 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 wxLog::FlushActive();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= SWIG_Py_Void();
11153 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11154 PyObject
*resultobj
= 0;
11155 wxLog
*result
= 0 ;
11157 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (wxLog
*)wxLog::GetActiveTarget();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11171 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
= 0;
11173 wxLog
*arg1
= (wxLog
*) 0 ;
11174 wxLog
*result
= 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char * kwnames
[] = {
11178 (char *) "pLogger", NULL
11181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11182 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11183 if (!SWIG_IsOK(res1
)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11199 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11200 PyObject
*resultobj
= 0;
11202 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= SWIG_Py_Void();
11216 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11217 PyObject
*resultobj
= 0;
11219 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= SWIG_Py_Void();
11233 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 bool arg1
= (bool) true ;
11238 PyObject
* obj0
= 0 ;
11239 char * kwnames
[] = {
11240 (char *) "bVerbose", NULL
11243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11245 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11246 if (!SWIG_IsOK(ecode1
)) {
11247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11249 arg1
= static_cast< bool >(val1
);
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 wxLog::SetVerbose(arg1
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= SWIG_Py_Void();
11264 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
= 0;
11267 unsigned long val1
;
11269 PyObject
* obj0
= 0 ;
11270 char * kwnames
[] = {
11271 (char *) "logLevel", NULL
11274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11275 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11276 if (!SWIG_IsOK(ecode1
)) {
11277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11279 arg1
= static_cast< wxLogLevel
>(val1
);
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 wxLog::SetLogLevel(arg1
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_Py_Void();
11293 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11294 PyObject
*resultobj
= 0;
11296 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 wxLog::DontCreateOnDemand();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= SWIG_Py_Void();
11310 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
= 0;
11313 unsigned long val1
;
11315 PyObject
* obj0
= 0 ;
11316 char * kwnames
[] = {
11317 (char *) "ulMask", NULL
11320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11321 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11322 if (!SWIG_IsOK(ecode1
)) {
11323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11325 arg1
= static_cast< wxTraceMask
>(val1
);
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 wxLog::SetTraceMask(arg1
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= SWIG_Py_Void();
11339 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
= 0;
11341 wxString
*arg1
= 0 ;
11342 bool temp1
= false ;
11343 PyObject
* obj0
= 0 ;
11344 char * kwnames
[] = {
11345 (char *) "str", NULL
11348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11350 arg1
= wxString_in_helper(obj0
);
11351 if (arg1
== NULL
) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 wxLog::AddTraceMask((wxString
const &)*arg1
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= SWIG_Py_Void();
11375 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
= 0;
11377 wxString
*arg1
= 0 ;
11378 bool temp1
= false ;
11379 PyObject
* obj0
= 0 ;
11380 char * kwnames
[] = {
11381 (char *) "str", NULL
11384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11386 arg1
= wxString_in_helper(obj0
);
11387 if (arg1
== NULL
) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_Py_Void();
11411 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11412 PyObject
*resultobj
= 0;
11414 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 wxLog::ClearTraceMasks();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_Py_Void();
11428 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 PyObject
*resultobj
= 0;
11430 wxArrayString
*result
= 0 ;
11432 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11437 result
= (wxArrayString
*) &_result_ref
;
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= wxArrayString2PyList_helper(*result
);
11451 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
= 0;
11453 wxChar
*arg1
= (wxChar
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 char * kwnames
[] = {
11458 (char *) "ts", NULL
11461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11463 if (!SWIG_IsOK(res1
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11466 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 wxLog::SetTimestamp((wxChar
const *)arg1
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_Py_Void();
11480 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11481 PyObject
*resultobj
= 0;
11484 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (bool)wxLog::GetVerbose();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11500 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11501 PyObject
*resultobj
= 0;
11502 wxTraceMask result
;
11504 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= (wxTraceMask
)wxLog::GetTraceMask();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11518 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
= 0;
11520 wxChar
*arg1
= (wxChar
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 char * kwnames
[] = {
11526 (char *) "mask", NULL
11529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11531 if (!SWIG_IsOK(res1
)) {
11532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11534 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11550 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11551 PyObject
*resultobj
= 0;
11554 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (wxLogLevel
)wxLog::GetLogLevel();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11568 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 PyObject
*resultobj
= 0;
11570 wxChar
*result
= 0 ;
11572 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (wxChar
*)wxLog::GetTimestamp();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11586 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11587 PyObject
*resultobj
= 0;
11590 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= wxLog_TimeStamp();
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11610 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11611 PyObject
*resultobj
= 0;
11612 wxLog
*arg1
= (wxLog
*) 0 ;
11615 PyObject
*swig_obj
[1] ;
11617 if (!args
) SWIG_fail
;
11618 swig_obj
[0] = args
;
11619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11623 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 wxLog_Destroy(arg1
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_Py_Void();
11637 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11640 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11641 return SWIG_Py_Void();
11644 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11645 return SWIG_Python_InitShadowInstance(args
);
11648 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11649 PyObject
*resultobj
= 0;
11650 wxLogStderr
*result
= 0 ;
11652 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (wxLogStderr
*)new wxLogStderr();
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11666 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11669 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11670 return SWIG_Py_Void();
11673 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11674 return SWIG_Python_InitShadowInstance(args
);
11677 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
= 0;
11679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11680 wxLogTextCtrl
*result
= 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char * kwnames
[] = {
11685 (char *) "pTextCtrl", NULL
11688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11690 if (!SWIG_IsOK(res1
)) {
11691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11693 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11707 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11710 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11711 return SWIG_Py_Void();
11714 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11715 return SWIG_Python_InitShadowInstance(args
);
11718 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11719 PyObject
*resultobj
= 0;
11720 wxLogGui
*result
= 0 ;
11722 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (wxLogGui
*)new wxLogGui();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11736 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11739 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11740 return SWIG_Py_Void();
11743 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11744 return SWIG_Python_InitShadowInstance(args
);
11747 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
= 0;
11749 wxFrame
*arg1
= (wxFrame
*) 0 ;
11750 wxString
*arg2
= 0 ;
11751 bool arg3
= (bool) true ;
11752 bool arg4
= (bool) true ;
11753 wxLogWindow
*result
= 0 ;
11756 bool temp2
= false ;
11761 PyObject
* obj0
= 0 ;
11762 PyObject
* obj1
= 0 ;
11763 PyObject
* obj2
= 0 ;
11764 PyObject
* obj3
= 0 ;
11765 char * kwnames
[] = {
11766 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11774 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11776 arg2
= wxString_in_helper(obj1
);
11777 if (arg2
== NULL
) SWIG_fail
;
11781 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11782 if (!SWIG_IsOK(ecode3
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11785 arg3
= static_cast< bool >(val3
);
11788 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11789 if (!SWIG_IsOK(ecode4
)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11792 arg4
= static_cast< bool >(val4
);
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11815 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
= 0;
11817 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11818 bool arg2
= (bool) true ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char * kwnames
[] = {
11826 (char *) "self",(char *) "bShow", NULL
11829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11834 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11836 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11837 if (!SWIG_IsOK(ecode2
)) {
11838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11840 arg2
= static_cast< bool >(val2
);
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 (arg1
)->Show(arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= SWIG_Py_Void();
11855 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11856 PyObject
*resultobj
= 0;
11857 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11858 wxFrame
*result
= 0 ;
11861 PyObject
*swig_obj
[1] ;
11863 if (!args
) SWIG_fail
;
11864 swig_obj
[0] = args
;
11865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11866 if (!SWIG_IsOK(res1
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11869 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11885 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11886 PyObject
*resultobj
= 0;
11887 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11888 wxLog
*result
= 0 ;
11891 PyObject
*swig_obj
[1] ;
11893 if (!args
) SWIG_fail
;
11894 swig_obj
[0] = args
;
11895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11896 if (!SWIG_IsOK(res1
)) {
11897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11899 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11913 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11914 PyObject
*resultobj
= 0;
11915 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11919 PyObject
*swig_obj
[1] ;
11921 if (!args
) SWIG_fail
;
11922 swig_obj
[0] = args
;
11923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11924 if (!SWIG_IsOK(res1
)) {
11925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11927 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11943 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
= 0;
11945 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 char * kwnames
[] = {
11954 (char *) "self",(char *) "bDoPass", NULL
11957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11962 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11964 if (!SWIG_IsOK(ecode2
)) {
11965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11967 arg2
= static_cast< bool >(val2
);
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->PassMessages(arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_Py_Void();
11981 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11984 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11985 return SWIG_Py_Void();
11988 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11989 return SWIG_Python_InitShadowInstance(args
);
11992 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
= 0;
11994 wxLog
*arg1
= (wxLog
*) 0 ;
11995 wxLogChain
*result
= 0 ;
11998 PyObject
* obj0
= 0 ;
11999 char * kwnames
[] = {
12000 (char *) "logger", NULL
12003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
12004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12005 if (!SWIG_IsOK(res1
)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12008 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (wxLogChain
*)new wxLogChain(arg1
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12022 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
= 0;
12024 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12025 wxLog
*arg2
= (wxLog
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 char * kwnames
[] = {
12033 (char *) "self",(char *) "logger", NULL
12036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12038 if (!SWIG_IsOK(res1
)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12041 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12042 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12043 if (!SWIG_IsOK(res2
)) {
12044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12046 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 (arg1
)->SetLog(arg2
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_Py_Void();
12060 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= 0;
12062 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 char * kwnames
[] = {
12071 (char *) "self",(char *) "bDoPass", NULL
12074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12079 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12080 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12081 if (!SWIG_IsOK(ecode2
)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12084 arg2
= static_cast< bool >(val2
);
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 (arg1
)->PassMessages(arg2
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= SWIG_Py_Void();
12098 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12099 PyObject
*resultobj
= 0;
12100 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12104 PyObject
*swig_obj
[1] ;
12106 if (!args
) SWIG_fail
;
12107 swig_obj
[0] = args
;
12108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12109 if (!SWIG_IsOK(res1
)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12112 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (bool)(arg1
)->IsPassingMessages();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12128 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12129 PyObject
*resultobj
= 0;
12130 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12131 wxLog
*result
= 0 ;
12134 PyObject
*swig_obj
[1] ;
12136 if (!args
) SWIG_fail
;
12137 swig_obj
[0] = args
;
12138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12139 if (!SWIG_IsOK(res1
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12142 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (wxLog
*)(arg1
)->GetOldLog();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12156 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12159 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12160 return SWIG_Py_Void();
12163 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12164 return SWIG_Python_InitShadowInstance(args
);
12167 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12168 PyObject
*resultobj
= 0;
12169 wxLogBuffer
*result
= 0 ;
12171 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 result
= (wxLogBuffer
*)new wxLogBuffer();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12185 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12186 PyObject
*resultobj
= 0;
12187 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12188 wxString
*result
= 0 ;
12191 PyObject
*swig_obj
[1] ;
12193 if (!args
) SWIG_fail
;
12194 swig_obj
[0] = args
;
12195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12199 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12204 result
= (wxString
*) &_result_ref
;
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12213 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12222 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12225 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12226 return SWIG_Py_Void();
12229 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12230 return SWIG_Python_InitShadowInstance(args
);
12233 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12234 PyObject
*resultobj
= 0;
12235 unsigned long result
;
12237 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (unsigned long)wxSysErrorCode();
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12251 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
= 0;
12253 unsigned long arg1
= (unsigned long) 0 ;
12255 unsigned long val1
;
12257 PyObject
* obj0
= 0 ;
12258 char * kwnames
[] = {
12259 (char *) "nErrCode", NULL
12262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12264 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12265 if (!SWIG_IsOK(ecode1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12268 arg1
= static_cast< unsigned long >(val1
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= wxSysErrorMsg(arg1
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12289 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
= 0;
12291 wxString
*arg1
= 0 ;
12292 bool temp1
= false ;
12293 PyObject
* obj0
= 0 ;
12294 char * kwnames
[] = {
12295 (char *) "msg", NULL
12298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12300 arg1
= wxString_in_helper(obj0
);
12301 if (arg1
== NULL
) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 wxPyLogFatalError((wxString
const &)*arg1
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_Py_Void();
12325 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
= 0;
12327 wxString
*arg1
= 0 ;
12328 bool temp1
= false ;
12329 PyObject
* obj0
= 0 ;
12330 char * kwnames
[] = {
12331 (char *) "msg", NULL
12334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12336 arg1
= wxString_in_helper(obj0
);
12337 if (arg1
== NULL
) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 wxPyLogError((wxString
const &)*arg1
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= SWIG_Py_Void();
12361 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
= 0;
12363 wxString
*arg1
= 0 ;
12364 bool temp1
= false ;
12365 PyObject
* obj0
= 0 ;
12366 char * kwnames
[] = {
12367 (char *) "msg", NULL
12370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12372 arg1
= wxString_in_helper(obj0
);
12373 if (arg1
== NULL
) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 wxPyLogWarning((wxString
const &)*arg1
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxString
*arg1
= 0 ;
12400 bool temp1
= false ;
12401 PyObject
* obj0
= 0 ;
12402 char * kwnames
[] = {
12403 (char *) "msg", NULL
12406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12408 arg1
= wxString_in_helper(obj0
);
12409 if (arg1
== NULL
) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 wxPyLogMessage((wxString
const &)*arg1
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= SWIG_Py_Void();
12433 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12435 wxString
*arg1
= 0 ;
12436 bool temp1
= false ;
12437 PyObject
* obj0
= 0 ;
12438 char * kwnames
[] = {
12439 (char *) "msg", NULL
12442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12444 arg1
= wxString_in_helper(obj0
);
12445 if (arg1
== NULL
) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 wxPyLogInfo((wxString
const &)*arg1
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_Py_Void();
12469 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
= 0;
12471 wxString
*arg1
= 0 ;
12472 bool temp1
= false ;
12473 PyObject
* obj0
= 0 ;
12474 char * kwnames
[] = {
12475 (char *) "msg", NULL
12478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12480 arg1
= wxString_in_helper(obj0
);
12481 if (arg1
== NULL
) SWIG_fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 wxPyLogDebug((wxString
const &)*arg1
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_Py_Void();
12505 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
= 0;
12507 wxString
*arg1
= 0 ;
12508 bool temp1
= false ;
12509 PyObject
* obj0
= 0 ;
12510 char * kwnames
[] = {
12511 (char *) "msg", NULL
12514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12516 arg1
= wxString_in_helper(obj0
);
12517 if (arg1
== NULL
) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 wxPyLogVerbose((wxString
const &)*arg1
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= SWIG_Py_Void();
12541 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
= 0;
12543 wxString
*arg1
= 0 ;
12544 bool temp1
= false ;
12545 PyObject
* obj0
= 0 ;
12546 char * kwnames
[] = {
12547 (char *) "msg", NULL
12550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12552 arg1
= wxString_in_helper(obj0
);
12553 if (arg1
== NULL
) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 wxPyLogStatus((wxString
const &)*arg1
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_Py_Void();
12577 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
= 0;
12579 wxFrame
*arg1
= (wxFrame
*) 0 ;
12580 wxString
*arg2
= 0 ;
12583 bool temp2
= false ;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 char * kwnames
[] = {
12587 (char *) "pFrame",(char *) "msg", NULL
12590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12592 if (!SWIG_IsOK(res1
)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12595 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12597 arg2
= wxString_in_helper(obj1
);
12598 if (arg2
== NULL
) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_Py_Void();
12622 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
= 0;
12624 wxString
*arg1
= 0 ;
12625 bool temp1
= false ;
12626 PyObject
* obj0
= 0 ;
12627 char * kwnames
[] = {
12628 (char *) "msg", NULL
12631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12633 arg1
= wxString_in_helper(obj0
);
12634 if (arg1
== NULL
) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 wxPyLogSysError((wxString
const &)*arg1
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= SWIG_Py_Void();
12658 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
= 0;
12660 unsigned long arg1
;
12661 wxString
*arg2
= 0 ;
12662 unsigned long val1
;
12664 bool temp2
= false ;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char * kwnames
[] = {
12668 (char *) "level",(char *) "msg", NULL
12671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12672 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12673 if (!SWIG_IsOK(ecode1
)) {
12674 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12676 arg1
= static_cast< unsigned long >(val1
);
12678 arg2
= wxString_in_helper(obj1
);
12679 if (arg2
== NULL
) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_Py_Void();
12703 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12704 PyObject
*resultobj
= 0;
12705 unsigned long arg1
;
12706 wxString
*arg2
= 0 ;
12707 unsigned long val1
;
12709 bool temp2
= false ;
12711 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12712 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12713 if (!SWIG_IsOK(ecode1
)) {
12714 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12716 arg1
= static_cast< unsigned long >(val1
);
12718 arg2
= wxString_in_helper(swig_obj
[1]);
12719 if (arg2
== NULL
) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= SWIG_Py_Void();
12743 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12744 PyObject
*resultobj
= 0;
12745 wxString
*arg1
= 0 ;
12746 wxString
*arg2
= 0 ;
12747 bool temp1
= false ;
12748 bool temp2
= false ;
12750 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12752 arg1
= wxString_in_helper(swig_obj
[0]);
12753 if (arg1
== NULL
) SWIG_fail
;
12757 arg2
= wxString_in_helper(swig_obj
[1]);
12758 if (arg2
== NULL
) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 resultobj
= SWIG_Py_Void();
12790 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12794 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12800 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12803 if (!_v
) goto check_1
;
12804 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12809 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12813 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12818 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
= 0;
12820 wxString
*arg1
= 0 ;
12821 wxString
*arg2
= 0 ;
12822 bool temp1
= false ;
12823 bool temp2
= false ;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 char * kwnames
[] = {
12827 (char *) "title",(char *) "text", NULL
12830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12832 arg1
= wxString_in_helper(obj0
);
12833 if (arg1
== NULL
) SWIG_fail
;
12837 arg2
= wxString_in_helper(obj1
);
12838 if (arg2
== NULL
) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= SWIG_Py_Void();
12870 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12871 PyObject
*resultobj
= 0;
12872 wxLogNull
*result
= 0 ;
12874 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (wxLogNull
*)new wxLogNull();
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12888 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12889 PyObject
*resultobj
= 0;
12890 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12893 PyObject
*swig_obj
[1] ;
12895 if (!args
) SWIG_fail
;
12896 swig_obj
[0] = args
;
12897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12898 if (!SWIG_IsOK(res1
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12901 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= SWIG_Py_Void();
12916 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12919 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12920 return SWIG_Py_Void();
12923 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12924 return SWIG_Python_InitShadowInstance(args
);
12927 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12928 PyObject
*resultobj
= 0;
12929 wxPyLog
*result
= 0 ;
12931 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (wxPyLog
*)new wxPyLog();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12945 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
= 0;
12947 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12948 PyObject
*arg2
= (PyObject
*) 0 ;
12949 PyObject
*arg3
= (PyObject
*) 0 ;
12952 PyObject
* obj0
= 0 ;
12953 PyObject
* obj1
= 0 ;
12954 PyObject
* obj2
= 0 ;
12955 char * kwnames
[] = {
12956 (char *) "self",(char *) "self",(char *) "_class", NULL
12959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12961 if (!SWIG_IsOK(res1
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12964 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_Py_Void();
12980 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12983 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12984 return SWIG_Py_Void();
12987 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12988 return SWIG_Python_InitShadowInstance(args
);
12991 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= 0;
12994 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12995 int arg3
= (int) wxKILL_NOCHILDREN
;
12996 wxKillError result
;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 PyObject
* obj2
= 0 ;
13006 char * kwnames
[] = {
13007 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13012 if (!SWIG_IsOK(ecode1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13015 arg1
= static_cast< int >(val1
);
13017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13018 if (!SWIG_IsOK(ecode2
)) {
13019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13021 arg2
= static_cast< wxSignal
>(val2
);
13024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13025 if (!SWIG_IsOK(ecode3
)) {
13026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13028 arg3
= static_cast< int >(val3
);
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= SWIG_From_int(static_cast< int >(result
));
13043 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
= 0;
13049 PyObject
* obj0
= 0 ;
13050 char * kwnames
[] = {
13051 (char *) "pid", NULL
13054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13055 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13056 if (!SWIG_IsOK(ecode1
)) {
13057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13059 arg1
= static_cast< int >(val1
);
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= (bool)wxPyProcess::Exists(arg1
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13075 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxString
*arg1
= 0 ;
13078 int arg2
= (int) wxEXEC_ASYNC
;
13079 wxPyProcess
*result
= 0 ;
13080 bool temp1
= false ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char * kwnames
[] = {
13086 (char *) "cmd",(char *) "flags", NULL
13089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13091 arg1
= wxString_in_helper(obj0
);
13092 if (arg1
== NULL
) SWIG_fail
;
13096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13097 if (!SWIG_IsOK(ecode2
)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13100 arg2
= static_cast< int >(val2
);
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13123 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
= 0;
13125 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13126 int arg2
= (int) -1 ;
13127 wxPyProcess
*result
= 0 ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char * kwnames
[] = {
13135 (char *) "parent",(char *) "id", NULL
13138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13144 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13148 if (!SWIG_IsOK(ecode2
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13151 arg2
= static_cast< int >(val2
);
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13166 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
= 0;
13168 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13169 PyObject
*arg2
= (PyObject
*) 0 ;
13170 PyObject
*arg3
= (PyObject
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 PyObject
* obj2
= 0 ;
13176 char * kwnames
[] = {
13177 (char *) "self",(char *) "self",(char *) "_class", NULL
13180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13182 if (!SWIG_IsOK(res1
)) {
13183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13185 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= SWIG_Py_Void();
13201 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
= 0;
13203 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 PyObject
* obj2
= 0 ;
13215 char * kwnames
[] = {
13216 (char *) "self",(char *) "pid",(char *) "status", NULL
13219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13221 if (!SWIG_IsOK(res1
)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13224 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13226 if (!SWIG_IsOK(ecode2
)) {
13227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13229 arg2
= static_cast< int >(val2
);
13230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13231 if (!SWIG_IsOK(ecode3
)) {
13232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13234 arg3
= static_cast< int >(val3
);
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 (arg1
)->OnTerminate(arg2
,arg3
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= SWIG_Py_Void();
13248 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13249 PyObject
*resultobj
= 0;
13250 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13253 PyObject
*swig_obj
[1] ;
13255 if (!args
) SWIG_fail
;
13256 swig_obj
[0] = args
;
13257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13258 if (!SWIG_IsOK(res1
)) {
13259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13261 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 (arg1
)->Redirect();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_Py_Void();
13275 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13276 PyObject
*resultobj
= 0;
13277 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13281 PyObject
*swig_obj
[1] ;
13283 if (!args
) SWIG_fail
;
13284 swig_obj
[0] = args
;
13285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13286 if (!SWIG_IsOK(res1
)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13289 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (bool)(arg1
)->IsRedirected();
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13305 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13306 PyObject
*resultobj
= 0;
13307 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13310 PyObject
*swig_obj
[1] ;
13312 if (!args
) SWIG_fail
;
13313 swig_obj
[0] = args
;
13314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13315 if (!SWIG_IsOK(res1
)) {
13316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13318 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= SWIG_Py_Void();
13332 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13333 PyObject
*resultobj
= 0;
13334 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13335 wxInputStream
*result
= 0 ;
13338 PyObject
*swig_obj
[1] ;
13340 if (!args
) SWIG_fail
;
13341 swig_obj
[0] = args
;
13342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13343 if (!SWIG_IsOK(res1
)) {
13344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13346 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13354 wxPyInputStream
* _ptr
= NULL
;
13357 _ptr
= new wxPyInputStream(result
);
13359 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13367 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13370 wxInputStream
*result
= 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13381 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 wxPyInputStream
* _ptr
= NULL
;
13392 _ptr
= new wxPyInputStream(result
);
13394 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13402 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13403 PyObject
*resultobj
= 0;
13404 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13405 wxOutputStream
*result
= 0 ;
13408 PyObject
*swig_obj
[1] ;
13410 if (!args
) SWIG_fail
;
13411 swig_obj
[0] = args
;
13412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13413 if (!SWIG_IsOK(res1
)) {
13414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13416 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13430 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(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_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13443 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 (arg1
)->CloseOutput();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= SWIG_Py_Void();
13457 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(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_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13471 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13487 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 PyObject
*resultobj
= 0;
13489 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13493 PyObject
*swig_obj
[1] ;
13495 if (!args
) SWIG_fail
;
13496 swig_obj
[0] = args
;
13497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13498 if (!SWIG_IsOK(res1
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13501 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13517 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13518 PyObject
*resultobj
= 0;
13519 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13523 PyObject
*swig_obj
[1] ;
13525 if (!args
) SWIG_fail
;
13526 swig_obj
[0] = args
;
13527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13528 if (!SWIG_IsOK(res1
)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13531 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13547 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13550 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13551 return SWIG_Py_Void();
13554 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13555 return SWIG_Python_InitShadowInstance(args
);
13558 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
= 0;
13560 int arg1
= (int) 0 ;
13561 int arg2
= (int) 0 ;
13562 int arg3
= (int) 0 ;
13563 wxProcessEvent
*result
= 0 ;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 PyObject
* obj2
= 0 ;
13573 char * kwnames
[] = {
13574 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13579 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13580 if (!SWIG_IsOK(ecode1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13583 arg1
= static_cast< int >(val1
);
13586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13587 if (!SWIG_IsOK(ecode2
)) {
13588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13590 arg2
= static_cast< int >(val2
);
13593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13594 if (!SWIG_IsOK(ecode3
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13597 arg3
= static_cast< int >(val3
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13612 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13613 PyObject
*resultobj
= 0;
13614 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13618 PyObject
*swig_obj
[1] ;
13620 if (!args
) SWIG_fail
;
13621 swig_obj
[0] = args
;
13622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13623 if (!SWIG_IsOK(res1
)) {
13624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13626 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (int)(arg1
)->GetPid();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_From_int(static_cast< int >(result
));
13640 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13641 PyObject
*resultobj
= 0;
13642 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13646 PyObject
*swig_obj
[1] ;
13648 if (!args
) SWIG_fail
;
13649 swig_obj
[0] = args
;
13650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13651 if (!SWIG_IsOK(res1
)) {
13652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13654 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 result
= (int)(arg1
)->GetExitCode();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_From_int(static_cast< int >(result
));
13668 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13669 PyObject
*resultobj
= 0;
13670 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13676 PyObject
*swig_obj
[2] ;
13678 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13680 if (!SWIG_IsOK(res1
)) {
13681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13683 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13684 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13685 if (!SWIG_IsOK(ecode2
)) {
13686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13688 arg2
= static_cast< int >(val2
);
13689 if (arg1
) (arg1
)->m_pid
= arg2
;
13691 resultobj
= SWIG_Py_Void();
13698 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13699 PyObject
*resultobj
= 0;
13700 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13704 PyObject
*swig_obj
[1] ;
13706 if (!args
) SWIG_fail
;
13707 swig_obj
[0] = args
;
13708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13709 if (!SWIG_IsOK(res1
)) {
13710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13712 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13713 result
= (int) ((arg1
)->m_pid
);
13714 resultobj
= SWIG_From_int(static_cast< int >(result
));
13721 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13722 PyObject
*resultobj
= 0;
13723 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13729 PyObject
*swig_obj
[2] ;
13731 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13733 if (!SWIG_IsOK(res1
)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13736 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13737 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13738 if (!SWIG_IsOK(ecode2
)) {
13739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13741 arg2
= static_cast< int >(val2
);
13742 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13744 resultobj
= SWIG_Py_Void();
13751 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13752 PyObject
*resultobj
= 0;
13753 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13757 PyObject
*swig_obj
[1] ;
13759 if (!args
) SWIG_fail
;
13760 swig_obj
[0] = args
;
13761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13762 if (!SWIG_IsOK(res1
)) {
13763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13765 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13766 result
= (int) ((arg1
)->m_exitcode
);
13767 resultobj
= SWIG_From_int(static_cast< int >(result
));
13774 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13777 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13778 return SWIG_Py_Void();
13781 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13782 return SWIG_Python_InitShadowInstance(args
);
13785 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
= 0;
13787 wxString
*arg1
= 0 ;
13788 int arg2
= (int) wxEXEC_ASYNC
;
13789 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13791 bool temp1
= false ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 PyObject
* obj2
= 0 ;
13799 char * kwnames
[] = {
13800 (char *) "command",(char *) "flags",(char *) "process", NULL
13803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13805 arg1
= wxString_in_helper(obj0
);
13806 if (arg1
== NULL
) SWIG_fail
;
13810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13811 if (!SWIG_IsOK(ecode2
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13814 arg2
= static_cast< int >(val2
);
13817 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13818 if (!SWIG_IsOK(res3
)) {
13819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13821 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13824 if (!wxPyCheckForApp()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_From_long(static_cast< long >(result
));
13845 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
= 0;
13848 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13849 wxKillError
*arg3
= (wxKillError
*) 0 ;
13850 int arg4
= (int) wxKILL_NOCHILDREN
;
13856 wxKillError temp3
;
13859 PyObject
* obj0
= 0 ;
13860 PyObject
* obj1
= 0 ;
13861 PyObject
* obj2
= 0 ;
13862 char * kwnames
[] = {
13863 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13870 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13871 if (!SWIG_IsOK(ecode1
)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13874 arg1
= static_cast< long >(val1
);
13876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13877 if (!SWIG_IsOK(ecode2
)) {
13878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13880 arg2
= static_cast< wxSignal
>(val2
);
13883 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13884 if (!SWIG_IsOK(ecode4
)) {
13885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13887 arg4
= static_cast< int >(val4
);
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_From_int(static_cast< int >(result
));
13898 o
= PyInt_FromLong((long) (*arg3
));
13902 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13911 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
= 0;
13913 int arg1
= (int) wxJOYSTICK1
;
13914 wxJoystick
*result
= 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char * kwnames
[] = {
13919 (char *) "joystick", NULL
13922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13925 if (!SWIG_IsOK(ecode1
)) {
13926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13928 arg1
= static_cast< int >(val1
);
13931 if (!wxPyCheckForApp()) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (wxJoystick
*)new wxJoystick(arg1
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13944 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13945 PyObject
*resultobj
= 0;
13946 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13949 PyObject
*swig_obj
[1] ;
13951 if (!args
) SWIG_fail
;
13952 swig_obj
[0] = args
;
13953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13954 if (!SWIG_IsOK(res1
)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13957 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= SWIG_Py_Void();
13972 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13973 PyObject
*resultobj
= 0;
13974 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13978 PyObject
*swig_obj
[1] ;
13980 if (!args
) SWIG_fail
;
13981 swig_obj
[0] = args
;
13982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13983 if (!SWIG_IsOK(res1
)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13986 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (arg1
)->GetPosition();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14000 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 PyObject
*resultobj
= 0;
14002 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14006 PyObject
*swig_obj
[1] ;
14008 if (!args
) SWIG_fail
;
14009 swig_obj
[0] = args
;
14010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14011 if (!SWIG_IsOK(res1
)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14014 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (int)(arg1
)->GetZPosition();
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_From_int(static_cast< int >(result
));
14028 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14029 PyObject
*resultobj
= 0;
14030 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14034 PyObject
*swig_obj
[1] ;
14036 if (!args
) SWIG_fail
;
14037 swig_obj
[0] = args
;
14038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14039 if (!SWIG_IsOK(res1
)) {
14040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14042 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 result
= (int)(arg1
)->GetButtonState();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_From_int(static_cast< int >(result
));
14056 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14057 PyObject
*resultobj
= 0;
14058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14062 PyObject
*swig_obj
[1] ;
14064 if (!args
) SWIG_fail
;
14065 swig_obj
[0] = args
;
14066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14067 if (!SWIG_IsOK(res1
)) {
14068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14070 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 result
= (int)(arg1
)->GetPOVPosition();
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= SWIG_From_int(static_cast< int >(result
));
14084 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14085 PyObject
*resultobj
= 0;
14086 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14090 PyObject
*swig_obj
[1] ;
14092 if (!args
) SWIG_fail
;
14093 swig_obj
[0] = args
;
14094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14095 if (!SWIG_IsOK(res1
)) {
14096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14098 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 result
= (int)(arg1
)->GetPOVCTSPosition();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= SWIG_From_int(static_cast< int >(result
));
14112 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14113 PyObject
*resultobj
= 0;
14114 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14118 PyObject
*swig_obj
[1] ;
14120 if (!args
) SWIG_fail
;
14121 swig_obj
[0] = args
;
14122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14123 if (!SWIG_IsOK(res1
)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14126 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= (int)(arg1
)->GetRudderPosition();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_From_int(static_cast< int >(result
));
14140 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14141 PyObject
*resultobj
= 0;
14142 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14146 PyObject
*swig_obj
[1] ;
14148 if (!args
) SWIG_fail
;
14149 swig_obj
[0] = args
;
14150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14151 if (!SWIG_IsOK(res1
)) {
14152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14154 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (int)(arg1
)->GetUPosition();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= SWIG_From_int(static_cast< int >(result
));
14168 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14169 PyObject
*resultobj
= 0;
14170 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14174 PyObject
*swig_obj
[1] ;
14176 if (!args
) SWIG_fail
;
14177 swig_obj
[0] = args
;
14178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14179 if (!SWIG_IsOK(res1
)) {
14180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14182 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= (int)(arg1
)->GetVPosition();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= SWIG_From_int(static_cast< int >(result
));
14196 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14197 PyObject
*resultobj
= 0;
14198 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14202 PyObject
*swig_obj
[1] ;
14204 if (!args
) SWIG_fail
;
14205 swig_obj
[0] = args
;
14206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14207 if (!SWIG_IsOK(res1
)) {
14208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14210 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (int)(arg1
)->GetMovementThreshold();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_From_int(static_cast< int >(result
));
14224 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
= 0;
14226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 char * kwnames
[] = {
14235 (char *) "self",(char *) "threshold", NULL
14238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14240 if (!SWIG_IsOK(res1
)) {
14241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14243 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14245 if (!SWIG_IsOK(ecode2
)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14248 arg2
= static_cast< int >(val2
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 (arg1
)->SetMovementThreshold(arg2
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_Py_Void();
14262 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14263 PyObject
*resultobj
= 0;
14264 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14268 PyObject
*swig_obj
[1] ;
14270 if (!args
) SWIG_fail
;
14271 swig_obj
[0] = args
;
14272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14276 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (bool)(arg1
)->IsOk();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14292 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14293 PyObject
*resultobj
= 0;
14294 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14298 PyObject
*swig_obj
[1] ;
14300 if (!args
) SWIG_fail
;
14301 swig_obj
[0] = args
;
14302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14303 if (!SWIG_IsOK(res1
)) {
14304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14306 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (int)(arg1
)->GetNumberJoysticks();
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= SWIG_From_int(static_cast< int >(result
));
14320 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14321 PyObject
*resultobj
= 0;
14322 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14326 PyObject
*swig_obj
[1] ;
14328 if (!args
) SWIG_fail
;
14329 swig_obj
[0] = args
;
14330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14331 if (!SWIG_IsOK(res1
)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14334 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (int)(arg1
)->GetManufacturerId();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_From_int(static_cast< int >(result
));
14348 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14349 PyObject
*resultobj
= 0;
14350 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14354 PyObject
*swig_obj
[1] ;
14356 if (!args
) SWIG_fail
;
14357 swig_obj
[0] = args
;
14358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14359 if (!SWIG_IsOK(res1
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14362 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= (int)(arg1
)->GetProductId();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_From_int(static_cast< int >(result
));
14376 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14377 PyObject
*resultobj
= 0;
14378 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14382 PyObject
*swig_obj
[1] ;
14384 if (!args
) SWIG_fail
;
14385 swig_obj
[0] = args
;
14386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14387 if (!SWIG_IsOK(res1
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14390 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (arg1
)->GetProductName();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14410 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14411 PyObject
*resultobj
= 0;
14412 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14416 PyObject
*swig_obj
[1] ;
14418 if (!args
) SWIG_fail
;
14419 swig_obj
[0] = args
;
14420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14421 if (!SWIG_IsOK(res1
)) {
14422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14424 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (int)(arg1
)->GetXMin();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_From_int(static_cast< int >(result
));
14438 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14439 PyObject
*resultobj
= 0;
14440 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14444 PyObject
*swig_obj
[1] ;
14446 if (!args
) SWIG_fail
;
14447 swig_obj
[0] = args
;
14448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14449 if (!SWIG_IsOK(res1
)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14452 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (int)(arg1
)->GetYMin();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= SWIG_From_int(static_cast< int >(result
));
14466 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14467 PyObject
*resultobj
= 0;
14468 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14472 PyObject
*swig_obj
[1] ;
14474 if (!args
) SWIG_fail
;
14475 swig_obj
[0] = args
;
14476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14477 if (!SWIG_IsOK(res1
)) {
14478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14480 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 result
= (int)(arg1
)->GetZMin();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= SWIG_From_int(static_cast< int >(result
));
14494 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14495 PyObject
*resultobj
= 0;
14496 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14500 PyObject
*swig_obj
[1] ;
14502 if (!args
) SWIG_fail
;
14503 swig_obj
[0] = args
;
14504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14505 if (!SWIG_IsOK(res1
)) {
14506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14508 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (int)(arg1
)->GetXMax();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_From_int(static_cast< int >(result
));
14522 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14523 PyObject
*resultobj
= 0;
14524 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14528 PyObject
*swig_obj
[1] ;
14530 if (!args
) SWIG_fail
;
14531 swig_obj
[0] = args
;
14532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14533 if (!SWIG_IsOK(res1
)) {
14534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14536 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (int)(arg1
)->GetYMax();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_From_int(static_cast< int >(result
));
14550 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14551 PyObject
*resultobj
= 0;
14552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14556 PyObject
*swig_obj
[1] ;
14558 if (!args
) SWIG_fail
;
14559 swig_obj
[0] = args
;
14560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14561 if (!SWIG_IsOK(res1
)) {
14562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14564 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (int)(arg1
)->GetZMax();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= SWIG_From_int(static_cast< int >(result
));
14578 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14579 PyObject
*resultobj
= 0;
14580 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14584 PyObject
*swig_obj
[1] ;
14586 if (!args
) SWIG_fail
;
14587 swig_obj
[0] = args
;
14588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14589 if (!SWIG_IsOK(res1
)) {
14590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14592 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (int)(arg1
)->GetNumberButtons();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= SWIG_From_int(static_cast< int >(result
));
14606 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14607 PyObject
*resultobj
= 0;
14608 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14612 PyObject
*swig_obj
[1] ;
14614 if (!args
) SWIG_fail
;
14615 swig_obj
[0] = args
;
14616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14620 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (int)(arg1
)->GetNumberAxes();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_From_int(static_cast< int >(result
));
14634 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14635 PyObject
*resultobj
= 0;
14636 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14640 PyObject
*swig_obj
[1] ;
14642 if (!args
) SWIG_fail
;
14643 swig_obj
[0] = args
;
14644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14648 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (int)(arg1
)->GetMaxButtons();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_From_int(static_cast< int >(result
));
14662 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14663 PyObject
*resultobj
= 0;
14664 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14668 PyObject
*swig_obj
[1] ;
14670 if (!args
) SWIG_fail
;
14671 swig_obj
[0] = args
;
14672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14673 if (!SWIG_IsOK(res1
)) {
14674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14676 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (int)(arg1
)->GetMaxAxes();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_From_int(static_cast< int >(result
));
14690 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14691 PyObject
*resultobj
= 0;
14692 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14696 PyObject
*swig_obj
[1] ;
14698 if (!args
) SWIG_fail
;
14699 swig_obj
[0] = args
;
14700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14701 if (!SWIG_IsOK(res1
)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14704 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (int)(arg1
)->GetPollingMin();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= SWIG_From_int(static_cast< int >(result
));
14718 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14719 PyObject
*resultobj
= 0;
14720 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14724 PyObject
*swig_obj
[1] ;
14726 if (!args
) SWIG_fail
;
14727 swig_obj
[0] = args
;
14728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14729 if (!SWIG_IsOK(res1
)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14732 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (int)(arg1
)->GetPollingMax();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_From_int(static_cast< int >(result
));
14746 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14747 PyObject
*resultobj
= 0;
14748 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14752 PyObject
*swig_obj
[1] ;
14754 if (!args
) SWIG_fail
;
14755 swig_obj
[0] = args
;
14756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14760 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (int)(arg1
)->GetRudderMin();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_From_int(static_cast< int >(result
));
14774 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14775 PyObject
*resultobj
= 0;
14776 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14780 PyObject
*swig_obj
[1] ;
14782 if (!args
) SWIG_fail
;
14783 swig_obj
[0] = args
;
14784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14785 if (!SWIG_IsOK(res1
)) {
14786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14788 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (int)(arg1
)->GetRudderMax();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_From_int(static_cast< int >(result
));
14802 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14803 PyObject
*resultobj
= 0;
14804 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14808 PyObject
*swig_obj
[1] ;
14810 if (!args
) SWIG_fail
;
14811 swig_obj
[0] = args
;
14812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14813 if (!SWIG_IsOK(res1
)) {
14814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14816 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (int)(arg1
)->GetUMin();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= SWIG_From_int(static_cast< int >(result
));
14830 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14831 PyObject
*resultobj
= 0;
14832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14836 PyObject
*swig_obj
[1] ;
14838 if (!args
) SWIG_fail
;
14839 swig_obj
[0] = args
;
14840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14841 if (!SWIG_IsOK(res1
)) {
14842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14844 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (int)(arg1
)->GetUMax();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= SWIG_From_int(static_cast< int >(result
));
14858 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14859 PyObject
*resultobj
= 0;
14860 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14864 PyObject
*swig_obj
[1] ;
14866 if (!args
) SWIG_fail
;
14867 swig_obj
[0] = args
;
14868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14869 if (!SWIG_IsOK(res1
)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14872 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (int)(arg1
)->GetVMin();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_From_int(static_cast< int >(result
));
14886 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14887 PyObject
*resultobj
= 0;
14888 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14892 PyObject
*swig_obj
[1] ;
14894 if (!args
) SWIG_fail
;
14895 swig_obj
[0] = args
;
14896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14900 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (int)(arg1
)->GetVMax();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= SWIG_From_int(static_cast< int >(result
));
14914 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14915 PyObject
*resultobj
= 0;
14916 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14920 PyObject
*swig_obj
[1] ;
14922 if (!args
) SWIG_fail
;
14923 swig_obj
[0] = args
;
14924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14928 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (bool)(arg1
)->HasRudder();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14944 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14945 PyObject
*resultobj
= 0;
14946 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14950 PyObject
*swig_obj
[1] ;
14952 if (!args
) SWIG_fail
;
14953 swig_obj
[0] = args
;
14954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14955 if (!SWIG_IsOK(res1
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14958 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (bool)(arg1
)->HasZ();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14974 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14975 PyObject
*resultobj
= 0;
14976 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14980 PyObject
*swig_obj
[1] ;
14982 if (!args
) SWIG_fail
;
14983 swig_obj
[0] = args
;
14984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14988 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)(arg1
)->HasU();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15004 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15005 PyObject
*resultobj
= 0;
15006 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15010 PyObject
*swig_obj
[1] ;
15012 if (!args
) SWIG_fail
;
15013 swig_obj
[0] = args
;
15014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15018 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 result
= (bool)(arg1
)->HasV();
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15034 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15035 PyObject
*resultobj
= 0;
15036 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15040 PyObject
*swig_obj
[1] ;
15042 if (!args
) SWIG_fail
;
15043 swig_obj
[0] = args
;
15044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15045 if (!SWIG_IsOK(res1
)) {
15046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15048 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= (bool)(arg1
)->HasPOV();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15064 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15065 PyObject
*resultobj
= 0;
15066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15070 PyObject
*swig_obj
[1] ;
15072 if (!args
) SWIG_fail
;
15073 swig_obj
[0] = args
;
15074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15075 if (!SWIG_IsOK(res1
)) {
15076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15078 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (bool)(arg1
)->HasPOV4Dir();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15094 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15095 PyObject
*resultobj
= 0;
15096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15100 PyObject
*swig_obj
[1] ;
15102 if (!args
) SWIG_fail
;
15103 swig_obj
[0] = args
;
15104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15105 if (!SWIG_IsOK(res1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15108 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= (bool)(arg1
)->HasPOVCTS();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15124 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
= 0;
15126 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15127 wxWindow
*arg2
= (wxWindow
*) 0 ;
15128 int arg3
= (int) 0 ;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 PyObject
* obj2
= 0 ;
15139 char * kwnames
[] = {
15140 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15145 if (!SWIG_IsOK(res1
)) {
15146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15148 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15150 if (!SWIG_IsOK(res2
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15156 if (!SWIG_IsOK(ecode3
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15159 arg3
= static_cast< int >(val3
);
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15176 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15177 PyObject
*resultobj
= 0;
15178 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15182 PyObject
*swig_obj
[1] ;
15184 if (!args
) SWIG_fail
;
15185 swig_obj
[0] = args
;
15186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15190 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)(arg1
)->ReleaseCapture();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15206 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15209 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15210 return SWIG_Py_Void();
15213 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15214 return SWIG_Python_InitShadowInstance(args
);
15217 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
= 0;
15219 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15220 int arg2
= (int) 0 ;
15221 int arg3
= (int) wxJOYSTICK1
;
15222 int arg4
= (int) 0 ;
15223 wxJoystickEvent
*result
= 0 ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 PyObject
* obj3
= 0 ;
15236 char * kwnames
[] = {
15237 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15242 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15243 if (!SWIG_IsOK(ecode1
)) {
15244 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15246 arg1
= static_cast< wxEventType
>(val1
);
15249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15250 if (!SWIG_IsOK(ecode2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15253 arg2
= static_cast< int >(val2
);
15256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15257 if (!SWIG_IsOK(ecode3
)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15260 arg3
= static_cast< int >(val3
);
15263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15264 if (!SWIG_IsOK(ecode4
)) {
15265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15267 arg4
= static_cast< int >(val4
);
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15282 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15283 PyObject
*resultobj
= 0;
15284 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15288 PyObject
*swig_obj
[1] ;
15290 if (!args
) SWIG_fail
;
15291 swig_obj
[0] = args
;
15292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15293 if (!SWIG_IsOK(res1
)) {
15294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15296 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15310 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15311 PyObject
*resultobj
= 0;
15312 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15316 PyObject
*swig_obj
[1] ;
15318 if (!args
) SWIG_fail
;
15319 swig_obj
[0] = args
;
15320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15321 if (!SWIG_IsOK(res1
)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15324 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= SWIG_From_int(static_cast< int >(result
));
15338 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15339 PyObject
*resultobj
= 0;
15340 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15344 PyObject
*swig_obj
[1] ;
15346 if (!args
) SWIG_fail
;
15347 swig_obj
[0] = args
;
15348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15349 if (!SWIG_IsOK(res1
)) {
15350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15352 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= SWIG_From_int(static_cast< int >(result
));
15366 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15367 PyObject
*resultobj
= 0;
15368 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15372 PyObject
*swig_obj
[1] ;
15374 if (!args
) SWIG_fail
;
15375 swig_obj
[0] = args
;
15376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15377 if (!SWIG_IsOK(res1
)) {
15378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15380 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= SWIG_From_int(static_cast< int >(result
));
15394 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15395 PyObject
*resultobj
= 0;
15396 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15400 PyObject
*swig_obj
[1] ;
15402 if (!args
) SWIG_fail
;
15403 swig_obj
[0] = args
;
15404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15408 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= SWIG_From_int(static_cast< int >(result
));
15422 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
= 0;
15424 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15430 PyObject
* obj0
= 0 ;
15431 PyObject
* obj1
= 0 ;
15432 char * kwnames
[] = {
15433 (char *) "self",(char *) "stick", NULL
15436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15438 if (!SWIG_IsOK(res1
)) {
15439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15441 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15443 if (!SWIG_IsOK(ecode2
)) {
15444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15446 arg2
= static_cast< int >(val2
);
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 (arg1
)->SetJoystick(arg2
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_Py_Void();
15460 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
= 0;
15462 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 char * kwnames
[] = {
15471 (char *) "self",(char *) "state", NULL
15474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15476 if (!SWIG_IsOK(res1
)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15479 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15481 if (!SWIG_IsOK(ecode2
)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15484 arg2
= static_cast< int >(val2
);
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 (arg1
)->SetButtonState(arg2
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= SWIG_Py_Void();
15498 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
= 0;
15500 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 char * kwnames
[] = {
15509 (char *) "self",(char *) "change", NULL
15512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15514 if (!SWIG_IsOK(res1
)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15517 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15519 if (!SWIG_IsOK(ecode2
)) {
15520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15522 arg2
= static_cast< int >(val2
);
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 (arg1
)->SetButtonChange(arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_Py_Void();
15536 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
= 0;
15538 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15539 wxPoint
*arg2
= 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 char * kwnames
[] = {
15546 (char *) "self",(char *) "pos", NULL
15549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15551 if (!SWIG_IsOK(res1
)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15554 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_Py_Void();
15572 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
= 0;
15574 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 PyObject
* obj1
= 0 ;
15582 char * kwnames
[] = {
15583 (char *) "self",(char *) "zPos", NULL
15586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15588 if (!SWIG_IsOK(res1
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15591 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15593 if (!SWIG_IsOK(ecode2
)) {
15594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15596 arg2
= static_cast< int >(val2
);
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 (arg1
)->SetZPosition(arg2
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 resultobj
= SWIG_Py_Void();
15610 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15611 PyObject
*resultobj
= 0;
15612 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15616 PyObject
*swig_obj
[1] ;
15618 if (!args
) SWIG_fail
;
15619 swig_obj
[0] = args
;
15620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15621 if (!SWIG_IsOK(res1
)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15624 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15640 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15641 PyObject
*resultobj
= 0;
15642 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15646 PyObject
*swig_obj
[1] ;
15648 if (!args
) SWIG_fail
;
15649 swig_obj
[0] = args
;
15650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15651 if (!SWIG_IsOK(res1
)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15654 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15670 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15671 PyObject
*resultobj
= 0;
15672 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15676 PyObject
*swig_obj
[1] ;
15678 if (!args
) SWIG_fail
;
15679 swig_obj
[0] = args
;
15680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15684 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15700 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
= 0;
15702 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15703 int arg2
= (int) wxJOY_BUTTON_ANY
;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 char * kwnames
[] = {
15712 (char *) "self",(char *) "but", NULL
15715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15717 if (!SWIG_IsOK(res1
)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15720 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15723 if (!SWIG_IsOK(ecode2
)) {
15724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15726 arg2
= static_cast< int >(val2
);
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15743 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
= 0;
15745 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15746 int arg2
= (int) wxJOY_BUTTON_ANY
;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 char * kwnames
[] = {
15755 (char *) "self",(char *) "but", NULL
15758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15760 if (!SWIG_IsOK(res1
)) {
15761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15763 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15766 if (!SWIG_IsOK(ecode2
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15769 arg2
= static_cast< int >(val2
);
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15786 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
= 0;
15788 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15789 int arg2
= (int) wxJOY_BUTTON_ANY
;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 char * kwnames
[] = {
15798 (char *) "self",(char *) "but", NULL
15801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15803 if (!SWIG_IsOK(res1
)) {
15804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15806 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15809 if (!SWIG_IsOK(ecode2
)) {
15810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15812 arg2
= static_cast< int >(val2
);
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15829 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15832 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15833 return SWIG_Py_Void();
15836 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 return SWIG_Python_InitShadowInstance(args
);
15840 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
= 0;
15842 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15843 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15844 wxSound
*result
= 0 ;
15845 bool temp1
= false ;
15846 PyObject
* obj0
= 0 ;
15847 char * kwnames
[] = {
15848 (char *) "fileName", NULL
15851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15854 arg1
= wxString_in_helper(obj0
);
15855 if (arg1
== NULL
) SWIG_fail
;
15860 if (!wxPyCheckForApp()) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15881 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
= 0;
15883 PyObject
*arg1
= (PyObject
*) 0 ;
15884 wxSound
*result
= 0 ;
15885 PyObject
* obj0
= 0 ;
15886 char * kwnames
[] = {
15887 (char *) "data", NULL
15890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15893 if (!wxPyCheckForApp()) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (wxSound
*)new_wxSound(arg1
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15906 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15907 PyObject
*resultobj
= 0;
15908 wxSound
*arg1
= (wxSound
*) 0 ;
15911 PyObject
*swig_obj
[1] ;
15913 if (!args
) SWIG_fail
;
15914 swig_obj
[0] = args
;
15915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15916 if (!SWIG_IsOK(res1
)) {
15917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15919 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_Py_Void();
15934 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
= 0;
15936 wxSound
*arg1
= (wxSound
*) 0 ;
15937 wxString
*arg2
= 0 ;
15941 bool temp2
= false ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char * kwnames
[] = {
15945 (char *) "self",(char *) "fileName", NULL
15948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15950 if (!SWIG_IsOK(res1
)) {
15951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15953 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15955 arg2
= wxString_in_helper(obj1
);
15956 if (arg2
== NULL
) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15982 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
= 0;
15984 wxSound
*arg1
= (wxSound
*) 0 ;
15985 PyObject
*arg2
= (PyObject
*) 0 ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char * kwnames
[] = {
15992 (char *) "self",(char *) "data", NULL
15995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15997 if (!SWIG_IsOK(res1
)) {
15998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
16000 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16017 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16018 PyObject
*resultobj
= 0;
16019 wxSound
*arg1
= (wxSound
*) 0 ;
16023 PyObject
*swig_obj
[1] ;
16025 if (!args
) SWIG_fail
;
16026 swig_obj
[0] = args
;
16027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16028 if (!SWIG_IsOK(res1
)) {
16029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16031 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (bool)(arg1
)->IsOk();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16047 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
= 0;
16049 wxSound
*arg1
= (wxSound
*) 0 ;
16050 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16054 unsigned int val2
;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 char * kwnames
[] = {
16059 (char *) "self",(char *) "flags", NULL
16062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16067 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16069 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16070 if (!SWIG_IsOK(ecode2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16073 arg2
= static_cast< unsigned int >(val2
);
16076 if (!wxPyCheckForApp()) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16091 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
= 0;
16093 wxString
*arg1
= 0 ;
16094 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16096 bool temp1
= false ;
16097 unsigned int val2
;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 char * kwnames
[] = {
16102 (char *) "filename",(char *) "flags", NULL
16105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16107 arg1
= wxString_in_helper(obj0
);
16108 if (arg1
== NULL
) SWIG_fail
;
16112 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16113 if (!SWIG_IsOK(ecode2
)) {
16114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16116 arg2
= static_cast< unsigned int >(val2
);
16119 if (!wxPyCheckForApp()) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16142 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16143 PyObject
*resultobj
= 0;
16145 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16147 if (!wxPyCheckForApp()) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_Py_Void();
16160 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16163 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16164 return SWIG_Py_Void();
16167 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16168 return SWIG_Python_InitShadowInstance(args
);
16171 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
= 0;
16173 wxString
*arg1
= 0 ;
16174 wxString
*arg2
= 0 ;
16175 wxString
*arg3
= 0 ;
16176 wxString
*arg4
= 0 ;
16177 wxFileTypeInfo
*result
= 0 ;
16178 bool temp1
= false ;
16179 bool temp2
= false ;
16180 bool temp3
= false ;
16181 bool temp4
= false ;
16182 PyObject
* obj0
= 0 ;
16183 PyObject
* obj1
= 0 ;
16184 PyObject
* obj2
= 0 ;
16185 PyObject
* obj3
= 0 ;
16186 char * kwnames
[] = {
16187 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16192 arg1
= wxString_in_helper(obj0
);
16193 if (arg1
== NULL
) SWIG_fail
;
16197 arg2
= wxString_in_helper(obj1
);
16198 if (arg2
== NULL
) SWIG_fail
;
16202 arg3
= wxString_in_helper(obj2
);
16203 if (arg3
== NULL
) SWIG_fail
;
16207 arg4
= wxString_in_helper(obj3
);
16208 if (arg4
== NULL
) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16256 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
= 0;
16258 wxArrayString
*arg1
= 0 ;
16259 wxFileTypeInfo
*result
= 0 ;
16260 bool temp1
= false ;
16261 PyObject
* obj0
= 0 ;
16262 char * kwnames
[] = {
16263 (char *) "sArray", NULL
16266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16268 if (! PySequence_Check(obj0
)) {
16269 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16272 arg1
= new wxArrayString
;
16274 int i
, len
=PySequence_Length(obj0
);
16275 for (i
=0; i
<len
; i
++) {
16276 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16277 wxString
* s
= wxString_in_helper(item
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16292 if (temp1
) delete arg1
;
16297 if (temp1
) delete arg1
;
16303 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16304 PyObject
*resultobj
= 0;
16305 wxFileTypeInfo
*result
= 0 ;
16307 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16321 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16322 PyObject
*resultobj
= 0;
16323 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16327 PyObject
*swig_obj
[1] ;
16329 if (!args
) SWIG_fail
;
16330 swig_obj
[0] = args
;
16331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16332 if (!SWIG_IsOK(res1
)) {
16333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16335 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
= 0;
16353 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16354 wxString
*arg2
= 0 ;
16355 int arg3
= (int) 0 ;
16358 bool temp2
= false ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 PyObject
* obj2
= 0 ;
16364 char * kwnames
[] = {
16365 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16370 if (!SWIG_IsOK(res1
)) {
16371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16373 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16375 arg2
= wxString_in_helper(obj1
);
16376 if (arg2
== NULL
) SWIG_fail
;
16380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16381 if (!SWIG_IsOK(ecode3
)) {
16382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16384 arg3
= static_cast< int >(val3
);
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= SWIG_Py_Void();
16407 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
= 0;
16409 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16410 wxString
*arg2
= 0 ;
16413 bool temp2
= false ;
16414 PyObject
* obj0
= 0 ;
16415 PyObject
* obj1
= 0 ;
16416 char * kwnames
[] = {
16417 (char *) "self",(char *) "shortDesc", NULL
16420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16422 if (!SWIG_IsOK(res1
)) {
16423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16425 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16427 arg2
= wxString_in_helper(obj1
);
16428 if (arg2
== NULL
) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= SWIG_Py_Void();
16452 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16453 PyObject
*resultobj
= 0;
16454 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16455 wxString
*result
= 0 ;
16458 PyObject
*swig_obj
[1] ;
16460 if (!args
) SWIG_fail
;
16461 swig_obj
[0] = args
;
16462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16463 if (!SWIG_IsOK(res1
)) {
16464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16466 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16471 result
= (wxString
*) &_result_ref
;
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16480 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16489 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16490 PyObject
*resultobj
= 0;
16491 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16492 wxString
*result
= 0 ;
16495 PyObject
*swig_obj
[1] ;
16497 if (!args
) SWIG_fail
;
16498 swig_obj
[0] = args
;
16499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16500 if (!SWIG_IsOK(res1
)) {
16501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16503 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16508 result
= (wxString
*) &_result_ref
;
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16517 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16526 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16527 PyObject
*resultobj
= 0;
16528 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16529 wxString
*result
= 0 ;
16532 PyObject
*swig_obj
[1] ;
16534 if (!args
) SWIG_fail
;
16535 swig_obj
[0] = args
;
16536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16537 if (!SWIG_IsOK(res1
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16540 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16545 result
= (wxString
*) &_result_ref
;
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16554 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16563 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16564 PyObject
*resultobj
= 0;
16565 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16566 wxString
*result
= 0 ;
16569 PyObject
*swig_obj
[1] ;
16571 if (!args
) SWIG_fail
;
16572 swig_obj
[0] = args
;
16573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16574 if (!SWIG_IsOK(res1
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16577 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16582 result
= (wxString
*) &_result_ref
;
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16591 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16600 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16601 PyObject
*resultobj
= 0;
16602 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16603 wxString
*result
= 0 ;
16606 PyObject
*swig_obj
[1] ;
16608 if (!args
) SWIG_fail
;
16609 swig_obj
[0] = args
;
16610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16611 if (!SWIG_IsOK(res1
)) {
16612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16614 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16619 result
= (wxString
*) &_result_ref
;
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16628 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16637 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16638 PyObject
*resultobj
= 0;
16639 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16640 wxArrayString
*result
= 0 ;
16643 PyObject
*swig_obj
[1] ;
16645 if (!args
) SWIG_fail
;
16646 swig_obj
[0] = args
;
16647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16648 if (!SWIG_IsOK(res1
)) {
16649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16651 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16656 result
= (wxArrayString
*) &_result_ref
;
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= wxArrayString2PyList_helper(*result
);
16670 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16671 PyObject
*resultobj
= 0;
16672 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16676 PyObject
*swig_obj
[1] ;
16678 if (!args
) SWIG_fail
;
16679 swig_obj
[0] = args
;
16680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16681 if (!SWIG_IsOK(res1
)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16684 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16698 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16699 PyObject
*resultobj
= 0;
16700 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16701 wxString
*result
= 0 ;
16704 PyObject
*swig_obj
[1] ;
16706 if (!args
) SWIG_fail
;
16707 swig_obj
[0] = args
;
16708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16709 if (!SWIG_IsOK(res1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16712 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16717 result
= (wxString
*) &_result_ref
;
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16735 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16736 PyObject
*resultobj
= 0;
16737 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16741 PyObject
*swig_obj
[1] ;
16743 if (!args
) SWIG_fail
;
16744 swig_obj
[0] = args
;
16745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16746 if (!SWIG_IsOK(res1
)) {
16747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16749 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= SWIG_From_int(static_cast< int >(result
));
16763 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16766 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16767 return SWIG_Py_Void();
16770 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16771 return SWIG_Python_InitShadowInstance(args
);
16774 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
= 0;
16776 wxFileTypeInfo
*arg1
= 0 ;
16777 wxFileType
*result
= 0 ;
16780 PyObject
* obj0
= 0 ;
16781 char * kwnames
[] = {
16782 (char *) "ftInfo", NULL
16785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16786 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16787 if (!SWIG_IsOK(res1
)) {
16788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16793 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16807 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16808 PyObject
*resultobj
= 0;
16809 wxFileType
*arg1
= (wxFileType
*) 0 ;
16812 PyObject
*swig_obj
[1] ;
16814 if (!args
) SWIG_fail
;
16815 swig_obj
[0] = args
;
16816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16817 if (!SWIG_IsOK(res1
)) {
16818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16820 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= SWIG_Py_Void();
16835 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16836 PyObject
*resultobj
= 0;
16837 wxFileType
*arg1
= (wxFileType
*) 0 ;
16838 PyObject
*result
= 0 ;
16841 PyObject
*swig_obj
[1] ;
16843 if (!args
) SWIG_fail
;
16844 swig_obj
[0] = args
;
16845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16846 if (!SWIG_IsOK(res1
)) {
16847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16849 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= result
;
16863 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16864 PyObject
*resultobj
= 0;
16865 wxFileType
*arg1
= (wxFileType
*) 0 ;
16866 PyObject
*result
= 0 ;
16869 PyObject
*swig_obj
[1] ;
16871 if (!args
) SWIG_fail
;
16872 swig_obj
[0] = args
;
16873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16874 if (!SWIG_IsOK(res1
)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16877 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= result
;
16891 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16892 PyObject
*resultobj
= 0;
16893 wxFileType
*arg1
= (wxFileType
*) 0 ;
16894 PyObject
*result
= 0 ;
16897 PyObject
*swig_obj
[1] ;
16899 if (!args
) SWIG_fail
;
16900 swig_obj
[0] = args
;
16901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16902 if (!SWIG_IsOK(res1
)) {
16903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16905 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= result
;
16919 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16920 PyObject
*resultobj
= 0;
16921 wxFileType
*arg1
= (wxFileType
*) 0 ;
16922 wxIcon
*result
= 0 ;
16925 PyObject
*swig_obj
[1] ;
16927 if (!args
) SWIG_fail
;
16928 swig_obj
[0] = args
;
16929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16930 if (!SWIG_IsOK(res1
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16933 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16947 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16948 PyObject
*resultobj
= 0;
16949 wxFileType
*arg1
= (wxFileType
*) 0 ;
16950 PyObject
*result
= 0 ;
16953 PyObject
*swig_obj
[1] ;
16955 if (!args
) SWIG_fail
;
16956 swig_obj
[0] = args
;
16957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16958 if (!SWIG_IsOK(res1
)) {
16959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16961 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= result
;
16975 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16976 PyObject
*resultobj
= 0;
16977 wxFileType
*arg1
= (wxFileType
*) 0 ;
16978 PyObject
*result
= 0 ;
16981 PyObject
*swig_obj
[1] ;
16983 if (!args
) SWIG_fail
;
16984 swig_obj
[0] = args
;
16985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16986 if (!SWIG_IsOK(res1
)) {
16987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
16989 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= result
;
17003 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
= 0;
17005 wxFileType
*arg1
= (wxFileType
*) 0 ;
17006 wxString
*arg2
= 0 ;
17007 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17008 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17009 PyObject
*result
= 0 ;
17012 bool temp2
= false ;
17013 bool temp3
= false ;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 PyObject
* obj2
= 0 ;
17017 char * kwnames
[] = {
17018 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17023 if (!SWIG_IsOK(res1
)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17026 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17028 arg2
= wxString_in_helper(obj1
);
17029 if (arg2
== NULL
) SWIG_fail
;
17034 arg3
= wxString_in_helper(obj2
);
17035 if (arg3
== NULL
) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= result
;
17068 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
= 0;
17070 wxFileType
*arg1
= (wxFileType
*) 0 ;
17071 wxString
*arg2
= 0 ;
17072 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17073 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17074 PyObject
*result
= 0 ;
17077 bool temp2
= false ;
17078 bool temp3
= false ;
17079 PyObject
* obj0
= 0 ;
17080 PyObject
* obj1
= 0 ;
17081 PyObject
* obj2
= 0 ;
17082 char * kwnames
[] = {
17083 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17088 if (!SWIG_IsOK(res1
)) {
17089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17091 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17093 arg2
= wxString_in_helper(obj1
);
17094 if (arg2
== NULL
) SWIG_fail
;
17099 arg3
= wxString_in_helper(obj2
);
17100 if (arg3
== NULL
) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= result
;
17133 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
= 0;
17135 wxFileType
*arg1
= (wxFileType
*) 0 ;
17136 wxString
*arg2
= 0 ;
17137 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17138 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17139 PyObject
*result
= 0 ;
17142 bool temp2
= false ;
17143 bool temp3
= false ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 PyObject
* obj2
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17156 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17158 arg2
= wxString_in_helper(obj1
);
17159 if (arg2
== NULL
) SWIG_fail
;
17164 arg3
= wxString_in_helper(obj2
);
17165 if (arg3
== NULL
) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= result
;
17198 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
= 0;
17200 wxFileType
*arg1
= (wxFileType
*) 0 ;
17201 wxString
*arg2
= 0 ;
17202 wxString
*arg3
= 0 ;
17203 bool arg4
= (bool) true ;
17207 bool temp2
= false ;
17208 bool temp3
= false ;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 PyObject
* obj2
= 0 ;
17214 PyObject
* obj3
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17224 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17226 arg2
= wxString_in_helper(obj1
);
17227 if (arg2
== NULL
) SWIG_fail
;
17231 arg3
= wxString_in_helper(obj2
);
17232 if (arg3
== NULL
) SWIG_fail
;
17236 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17237 if (!SWIG_IsOK(ecode4
)) {
17238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17240 arg4
= static_cast< bool >(val4
);
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17273 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
= 0;
17275 wxFileType
*arg1
= (wxFileType
*) 0 ;
17276 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17277 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17278 int arg3
= (int) 0 ;
17282 bool temp2
= false ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 PyObject
* obj2
= 0 ;
17288 char * kwnames
[] = {
17289 (char *) "self",(char *) "cmd",(char *) "index", NULL
17292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17294 if (!SWIG_IsOK(res1
)) {
17295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17297 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17300 arg2
= wxString_in_helper(obj1
);
17301 if (arg2
== NULL
) SWIG_fail
;
17306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17307 if (!SWIG_IsOK(ecode3
)) {
17308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17310 arg3
= static_cast< int >(val3
);
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17335 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17336 PyObject
*resultobj
= 0;
17337 wxFileType
*arg1
= (wxFileType
*) 0 ;
17341 PyObject
*swig_obj
[1] ;
17343 if (!args
) SWIG_fail
;
17344 swig_obj
[0] = args
;
17345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17349 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (bool)(arg1
)->Unassociate();
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17365 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
= 0;
17367 wxString
*arg1
= 0 ;
17368 wxString
*arg2
= 0 ;
17369 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17370 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17372 bool temp1
= false ;
17373 bool temp2
= false ;
17374 bool temp3
= false ;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 PyObject
* obj2
= 0 ;
17378 char * kwnames
[] = {
17379 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17384 arg1
= wxString_in_helper(obj0
);
17385 if (arg1
== NULL
) SWIG_fail
;
17389 arg2
= wxString_in_helper(obj1
);
17390 if (arg2
== NULL
) SWIG_fail
;
17395 arg3
= wxString_in_helper(obj2
);
17396 if (arg3
== NULL
) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17443 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17446 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17447 return SWIG_Py_Void();
17450 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17451 return SWIG_Python_InitShadowInstance(args
);
17454 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17455 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17460 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17461 PyObject
*pyobj
= 0;
17463 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17468 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
= 0;
17470 wxString
*arg1
= 0 ;
17471 wxString
*arg2
= 0 ;
17473 bool temp1
= false ;
17474 bool temp2
= false ;
17475 PyObject
* obj0
= 0 ;
17476 PyObject
* obj1
= 0 ;
17477 char * kwnames
[] = {
17478 (char *) "mimeType",(char *) "wildcard", NULL
17481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17483 arg1
= wxString_in_helper(obj0
);
17484 if (arg1
== NULL
) SWIG_fail
;
17488 arg2
= wxString_in_helper(obj1
);
17489 if (arg2
== NULL
) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17523 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17524 PyObject
*resultobj
= 0;
17525 wxMimeTypesManager
*result
= 0 ;
17527 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17541 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
= 0;
17543 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17544 int arg2
= (int) wxMAILCAP_ALL
;
17545 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17546 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17551 bool temp3
= false ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 char * kwnames
[] = {
17556 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17561 if (!SWIG_IsOK(res1
)) {
17562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17564 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17567 if (!SWIG_IsOK(ecode2
)) {
17568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17570 arg2
= static_cast< int >(val2
);
17574 arg3
= wxString_in_helper(obj2
);
17575 if (arg3
== NULL
) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_Py_Void();
17600 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17601 PyObject
*resultobj
= 0;
17602 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17605 PyObject
*swig_obj
[1] ;
17607 if (!args
) SWIG_fail
;
17608 swig_obj
[0] = args
;
17609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17610 if (!SWIG_IsOK(res1
)) {
17611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17613 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 (arg1
)->ClearData();
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= SWIG_Py_Void();
17627 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
= 0;
17629 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17630 wxString
*arg2
= 0 ;
17631 wxFileType
*result
= 0 ;
17634 bool temp2
= false ;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 char * kwnames
[] = {
17638 (char *) "self",(char *) "ext", NULL
17641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17643 if (!SWIG_IsOK(res1
)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17646 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17648 arg2
= wxString_in_helper(obj1
);
17649 if (arg2
== NULL
) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17673 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
= 0;
17675 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17676 wxString
*arg2
= 0 ;
17677 wxFileType
*result
= 0 ;
17680 bool temp2
= false ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 char * kwnames
[] = {
17684 (char *) "self",(char *) "mimeType", NULL
17687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17689 if (!SWIG_IsOK(res1
)) {
17690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17692 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17694 arg2
= wxString_in_helper(obj1
);
17695 if (arg2
== NULL
) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17719 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17722 wxString
*arg2
= 0 ;
17723 bool arg3
= (bool) false ;
17727 bool temp2
= false ;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 PyObject
* obj2
= 0 ;
17733 char * kwnames
[] = {
17734 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17739 if (!SWIG_IsOK(res1
)) {
17740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17742 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17744 arg2
= wxString_in_helper(obj1
);
17745 if (arg2
== NULL
) SWIG_fail
;
17749 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17750 if (!SWIG_IsOK(ecode3
)) {
17751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17753 arg3
= static_cast< bool >(val3
);
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17778 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
= 0;
17780 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17781 wxString
*arg2
= 0 ;
17785 bool temp2
= false ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 char * kwnames
[] = {
17789 (char *) "self",(char *) "filename", NULL
17792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17794 if (!SWIG_IsOK(res1
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17797 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17799 arg2
= wxString_in_helper(obj1
);
17800 if (arg2
== NULL
) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17826 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17827 PyObject
*resultobj
= 0;
17828 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17829 PyObject
*result
= 0 ;
17832 PyObject
*swig_obj
[1] ;
17834 if (!args
) SWIG_fail
;
17835 swig_obj
[0] = args
;
17836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17837 if (!SWIG_IsOK(res1
)) {
17838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17840 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= result
;
17854 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= 0;
17856 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17857 wxFileTypeInfo
*arg2
= 0 ;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 char * kwnames
[] = {
17865 (char *) "self",(char *) "ft", NULL
17868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17870 if (!SWIG_IsOK(res1
)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17873 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17875 if (!SWIG_IsOK(res2
)) {
17876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17881 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_Py_Void();
17895 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
= 0;
17897 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17898 wxFileTypeInfo
*arg2
= 0 ;
17899 wxFileType
*result
= 0 ;
17904 PyObject
* obj0
= 0 ;
17905 PyObject
* obj1
= 0 ;
17906 char * kwnames
[] = {
17907 (char *) "self",(char *) "ftInfo", NULL
17910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17912 if (!SWIG_IsOK(res1
)) {
17913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17915 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17916 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17917 if (!SWIG_IsOK(res2
)) {
17918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17923 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17937 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
= 0;
17939 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17940 wxFileType
*arg2
= (wxFileType
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 char * kwnames
[] = {
17949 (char *) "self",(char *) "ft", NULL
17952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17954 if (!SWIG_IsOK(res1
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17957 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17959 if (!SWIG_IsOK(res2
)) {
17960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17962 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (bool)(arg1
)->Unassociate(arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17978 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17979 PyObject
*resultobj
= 0;
17980 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17983 PyObject
*swig_obj
[1] ;
17985 if (!args
) SWIG_fail
;
17986 swig_obj
[0] = args
;
17987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17991 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= SWIG_Py_Void();
18006 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18009 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18010 return SWIG_Py_Void();
18013 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18014 return SWIG_Python_InitShadowInstance(args
);
18017 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18018 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18023 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18024 PyObject
*pyobj
= 0;
18028 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18030 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18037 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18038 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18043 SWIGINTERN PyObject
*ART_MENU_get(void) {
18044 PyObject
*pyobj
= 0;
18048 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18050 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18057 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18058 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18063 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18064 PyObject
*pyobj
= 0;
18068 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18070 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18077 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18078 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18083 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18084 PyObject
*pyobj
= 0;
18088 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18090 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18097 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18098 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18103 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18104 PyObject
*pyobj
= 0;
18108 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18110 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18117 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18118 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18123 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18124 PyObject
*pyobj
= 0;
18128 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18130 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18137 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18138 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18143 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18144 PyObject
*pyobj
= 0;
18148 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18150 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18157 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18158 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18163 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18164 PyObject
*pyobj
= 0;
18168 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18170 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18177 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18178 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18183 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18184 PyObject
*pyobj
= 0;
18188 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18190 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18197 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18198 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18203 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18204 PyObject
*pyobj
= 0;
18208 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18210 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18217 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18218 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18223 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18224 PyObject
*pyobj
= 0;
18228 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18230 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18237 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18238 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18243 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18244 PyObject
*pyobj
= 0;
18248 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18250 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18257 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18258 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18263 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18264 PyObject
*pyobj
= 0;
18268 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18270 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18277 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18278 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18283 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18284 PyObject
*pyobj
= 0;
18288 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18290 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18297 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18298 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18303 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18304 PyObject
*pyobj
= 0;
18308 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18310 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18317 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18318 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18323 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18324 PyObject
*pyobj
= 0;
18328 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18330 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18337 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18338 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18343 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18344 PyObject
*pyobj
= 0;
18348 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18350 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18357 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18358 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18363 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18364 PyObject
*pyobj
= 0;
18368 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18370 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18377 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18378 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18383 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18384 PyObject
*pyobj
= 0;
18388 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18390 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18397 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18398 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18403 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18404 PyObject
*pyobj
= 0;
18408 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18410 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18417 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18418 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18423 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18424 PyObject
*pyobj
= 0;
18428 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18430 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18437 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18438 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18443 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18444 PyObject
*pyobj
= 0;
18448 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18450 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18457 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18458 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18463 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18464 PyObject
*pyobj
= 0;
18468 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18470 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18477 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18478 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18483 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18484 PyObject
*pyobj
= 0;
18488 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18490 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18497 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18498 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18503 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18504 PyObject
*pyobj
= 0;
18508 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18510 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18517 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18518 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18523 SWIGINTERN PyObject
*ART_HELP_get(void) {
18524 PyObject
*pyobj
= 0;
18528 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18530 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18537 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18538 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18543 SWIGINTERN PyObject
*ART_TIP_get(void) {
18544 PyObject
*pyobj
= 0;
18548 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18550 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18557 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18558 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18563 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18564 PyObject
*pyobj
= 0;
18568 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18570 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18577 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18578 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18583 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18584 PyObject
*pyobj
= 0;
18588 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18590 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18597 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18598 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18603 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18604 PyObject
*pyobj
= 0;
18608 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18610 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18617 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18618 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18623 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18624 PyObject
*pyobj
= 0;
18628 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18630 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18637 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18638 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18643 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18644 PyObject
*pyobj
= 0;
18648 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18650 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18657 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18658 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18663 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18664 PyObject
*pyobj
= 0;
18668 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18670 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18677 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18678 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18683 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18684 PyObject
*pyobj
= 0;
18688 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18690 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18697 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18698 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18703 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18704 PyObject
*pyobj
= 0;
18708 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18710 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18717 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18718 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18723 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18724 PyObject
*pyobj
= 0;
18728 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18730 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18737 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18738 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18743 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18744 PyObject
*pyobj
= 0;
18748 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18750 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18757 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18758 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18763 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18764 PyObject
*pyobj
= 0;
18768 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18770 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18777 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18778 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18783 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18784 PyObject
*pyobj
= 0;
18788 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18790 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18797 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18798 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18803 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18804 PyObject
*pyobj
= 0;
18808 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18810 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18817 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18818 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18823 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18824 PyObject
*pyobj
= 0;
18828 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18830 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18837 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18838 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18843 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18844 PyObject
*pyobj
= 0;
18848 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18850 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18857 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18858 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18863 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18864 PyObject
*pyobj
= 0;
18868 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18870 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18877 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18878 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18883 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18884 PyObject
*pyobj
= 0;
18888 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18890 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18897 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18898 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18903 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18904 PyObject
*pyobj
= 0;
18908 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18910 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18917 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18918 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18923 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18924 PyObject
*pyobj
= 0;
18928 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18930 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18937 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18938 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18943 SWIGINTERN PyObject
*ART_COPY_get(void) {
18944 PyObject
*pyobj
= 0;
18948 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18950 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18957 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18958 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18963 SWIGINTERN PyObject
*ART_CUT_get(void) {
18964 PyObject
*pyobj
= 0;
18968 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18970 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18977 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18978 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18983 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18984 PyObject
*pyobj
= 0;
18988 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18990 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18997 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
18998 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
19003 SWIGINTERN PyObject
*ART_DELETE_get(void) {
19004 PyObject
*pyobj
= 0;
19008 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19010 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19017 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19018 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19023 SWIGINTERN PyObject
*ART_NEW_get(void) {
19024 PyObject
*pyobj
= 0;
19028 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19030 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19037 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19038 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19043 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19044 PyObject
*pyobj
= 0;
19048 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19050 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19057 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19058 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19063 SWIGINTERN PyObject
*ART_REDO_get(void) {
19064 PyObject
*pyobj
= 0;
19068 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19070 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19077 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19078 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19083 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19084 PyObject
*pyobj
= 0;
19088 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19090 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19097 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19098 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19103 SWIGINTERN PyObject
*ART_FIND_get(void) {
19104 PyObject
*pyobj
= 0;
19108 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19110 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19117 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19118 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19123 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19124 PyObject
*pyobj
= 0;
19128 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19130 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19137 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19138 PyObject
*resultobj
= 0;
19139 wxPyArtProvider
*result
= 0 ;
19141 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19143 if (!wxPyCheckForApp()) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19156 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19157 PyObject
*resultobj
= 0;
19158 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19161 PyObject
*swig_obj
[1] ;
19163 if (!args
) SWIG_fail
;
19164 swig_obj
[0] = args
;
19165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19166 if (!SWIG_IsOK(res1
)) {
19167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19169 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_Py_Void();
19184 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19187 PyObject
*arg2
= (PyObject
*) 0 ;
19188 PyObject
*arg3
= (PyObject
*) 0 ;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 PyObject
* obj2
= 0 ;
19194 char * kwnames
[] = {
19195 (char *) "self",(char *) "self",(char *) "_class", NULL
19198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19200 if (!SWIG_IsOK(res1
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19203 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_Py_Void();
19219 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
= 0;
19221 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19223 PyObject
* obj0
= 0 ;
19224 char * kwnames
[] = {
19225 (char *) "provider", NULL
19228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19229 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19230 if (!SWIG_IsOK(res1
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 wxPyArtProvider::PushProvider(arg1
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_Py_Void();
19246 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19247 PyObject
*resultobj
= 0;
19250 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= (bool)wxPyArtProvider::PopProvider();
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19266 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
= 0;
19268 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 char * kwnames
[] = {
19274 (char *) "provider", NULL
19277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19279 if (!SWIG_IsOK(res1
)) {
19280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19282 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19298 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
= 0;
19300 wxString
*arg1
= 0 ;
19301 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19302 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19303 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19304 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19306 bool temp1
= false ;
19307 bool temp2
= false ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 PyObject
* obj2
= 0 ;
19312 char * kwnames
[] = {
19313 (char *) "id",(char *) "client",(char *) "size", NULL
19316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19318 arg1
= wxString_in_helper(obj0
);
19319 if (arg1
== NULL
) SWIG_fail
;
19324 arg2
= wxString_in_helper(obj1
);
19325 if (arg2
== NULL
) SWIG_fail
;
19332 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19336 if (!wxPyCheckForApp()) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19365 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
= 0;
19367 wxString
*arg1
= 0 ;
19368 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19369 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19370 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19371 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19373 bool temp1
= false ;
19374 bool temp2
= false ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 PyObject
* obj2
= 0 ;
19379 char * kwnames
[] = {
19380 (char *) "id",(char *) "client",(char *) "size", NULL
19383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19385 arg1
= wxString_in_helper(obj0
);
19386 if (arg1
== NULL
) SWIG_fail
;
19391 arg2
= wxString_in_helper(obj1
);
19392 if (arg2
== NULL
) SWIG_fail
;
19399 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19403 if (!wxPyCheckForApp()) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19432 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxString
*arg1
= 0 ;
19435 bool arg2
= (bool) false ;
19437 bool temp1
= false ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char * kwnames
[] = {
19443 (char *) "client",(char *) "platform_dependent", NULL
19446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19448 arg1
= wxString_in_helper(obj0
);
19449 if (arg1
== NULL
) SWIG_fail
;
19453 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19454 if (!SWIG_IsOK(ecode2
)) {
19455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19457 arg2
= static_cast< bool >(val2
);
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19480 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19481 PyObject
*resultobj
= 0;
19482 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19485 PyObject
*swig_obj
[1] ;
19487 if (!args
) SWIG_fail
;
19488 swig_obj
[0] = args
;
19489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19493 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 wxPyArtProvider_Destroy(arg1
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_Py_Void();
19507 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19510 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19511 return SWIG_Py_Void();
19514 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19515 return SWIG_Python_InitShadowInstance(args
);
19518 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19519 PyObject
*resultobj
= 0;
19520 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19523 PyObject
*swig_obj
[1] ;
19525 if (!args
) SWIG_fail
;
19526 swig_obj
[0] = args
;
19527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19528 if (!SWIG_IsOK(res1
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19531 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= SWIG_Py_Void();
19546 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
= 0;
19548 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19549 wxConfigBase
*result
= 0 ;
19551 PyObject
* obj0
= 0 ;
19552 char * kwnames
[] = {
19553 (char *) "config", NULL
19556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19557 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19558 if (!SWIG_IsOK(res1
)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19574 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
= 0;
19576 bool arg1
= (bool) true ;
19577 wxConfigBase
*result
= 0 ;
19580 PyObject
* obj0
= 0 ;
19581 char * kwnames
[] = {
19582 (char *) "createOnDemand", NULL
19585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19587 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19588 if (!SWIG_IsOK(ecode1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19591 arg1
= static_cast< bool >(val1
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19606 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19607 PyObject
*resultobj
= 0;
19608 wxConfigBase
*result
= 0 ;
19610 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= (wxConfigBase
*)wxConfigBase::Create();
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19624 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19625 PyObject
*resultobj
= 0;
19627 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 wxConfigBase::DontCreateOnDemand();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_Py_Void();
19641 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
= 0;
19643 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19644 wxString
*arg2
= 0 ;
19647 bool temp2
= false ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 char * kwnames
[] = {
19651 (char *) "self",(char *) "path", NULL
19654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19656 if (!SWIG_IsOK(res1
)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19659 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19661 arg2
= wxString_in_helper(obj1
);
19662 if (arg2
== NULL
) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->SetPath((wxString
const &)*arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_Py_Void();
19686 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19687 PyObject
*resultobj
= 0;
19688 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19689 wxString
*result
= 0 ;
19692 PyObject
*swig_obj
[1] ;
19694 if (!args
) SWIG_fail
;
19695 swig_obj
[0] = args
;
19696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19697 if (!SWIG_IsOK(res1
)) {
19698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19700 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19705 result
= (wxString
*) &_result_ref
;
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19714 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19723 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19724 PyObject
*resultobj
= 0;
19725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19726 PyObject
*result
= 0 ;
19729 PyObject
*swig_obj
[1] ;
19731 if (!args
) SWIG_fail
;
19732 swig_obj
[0] = args
;
19733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19737 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= result
;
19751 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
= 0;
19753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19755 PyObject
*result
= 0 ;
19760 PyObject
* obj0
= 0 ;
19761 PyObject
* obj1
= 0 ;
19762 char * kwnames
[] = {
19763 (char *) "self",(char *) "index", NULL
19766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19768 if (!SWIG_IsOK(res1
)) {
19769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19771 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19772 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19773 if (!SWIG_IsOK(ecode2
)) {
19774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19776 arg2
= static_cast< long >(val2
);
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= result
;
19790 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19791 PyObject
*resultobj
= 0;
19792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19793 PyObject
*result
= 0 ;
19796 PyObject
*swig_obj
[1] ;
19798 if (!args
) SWIG_fail
;
19799 swig_obj
[0] = args
;
19800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19801 if (!SWIG_IsOK(res1
)) {
19802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19804 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= result
;
19818 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
= 0;
19820 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19822 PyObject
*result
= 0 ;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 char * kwnames
[] = {
19830 (char *) "self",(char *) "index", NULL
19833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19835 if (!SWIG_IsOK(res1
)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19838 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19839 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19840 if (!SWIG_IsOK(ecode2
)) {
19841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19843 arg2
= static_cast< long >(val2
);
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= result
;
19857 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
= 0;
19859 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19860 bool arg2
= (bool) false ;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj1
= 0 ;
19868 char * kwnames
[] = {
19869 (char *) "self",(char *) "recursive", NULL
19872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19874 if (!SWIG_IsOK(res1
)) {
19875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19877 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19879 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19880 if (!SWIG_IsOK(ecode2
)) {
19881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19883 arg2
= static_cast< bool >(val2
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19898 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
= 0;
19900 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19901 bool arg2
= (bool) false ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char * kwnames
[] = {
19910 (char *) "self",(char *) "recursive", NULL
19913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19915 if (!SWIG_IsOK(res1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19918 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19920 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19921 if (!SWIG_IsOK(ecode2
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19924 arg2
= static_cast< bool >(val2
);
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19939 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
= 0;
19941 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19942 wxString
*arg2
= 0 ;
19946 bool temp2
= false ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 char * kwnames
[] = {
19950 (char *) "self",(char *) "name", NULL
19953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19955 if (!SWIG_IsOK(res1
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19958 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19960 arg2
= wxString_in_helper(obj1
);
19961 if (arg2
== NULL
) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19987 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
= 0;
19989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19990 wxString
*arg2
= 0 ;
19994 bool temp2
= false ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char * kwnames
[] = {
19998 (char *) "self",(char *) "name", NULL
20001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20003 if (!SWIG_IsOK(res1
)) {
20004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20006 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20008 arg2
= wxString_in_helper(obj1
);
20009 if (arg2
== NULL
) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20035 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20038 wxString
*arg2
= 0 ;
20042 bool temp2
= false ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 char * kwnames
[] = {
20046 (char *) "self",(char *) "name", NULL
20049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20051 if (!SWIG_IsOK(res1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20054 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20056 arg2
= wxString_in_helper(obj1
);
20057 if (arg2
== NULL
) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20083 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
= 0;
20085 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20086 wxString
*arg2
= 0 ;
20087 wxConfigBase::EntryType result
;
20090 bool temp2
= false ;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 char * kwnames
[] = {
20094 (char *) "self",(char *) "name", NULL
20097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20099 if (!SWIG_IsOK(res1
)) {
20100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20102 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20104 arg2
= wxString_in_helper(obj1
);
20105 if (arg2
== NULL
) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_From_int(static_cast< int >(result
));
20129 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
= 0;
20131 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20132 wxString
*arg2
= 0 ;
20133 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20134 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20138 bool temp2
= false ;
20139 bool temp3
= false ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 PyObject
* obj2
= 0 ;
20143 char * kwnames
[] = {
20144 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20149 if (!SWIG_IsOK(res1
)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20152 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20154 arg2
= wxString_in_helper(obj1
);
20155 if (arg2
== NULL
) SWIG_fail
;
20160 arg3
= wxString_in_helper(obj2
);
20161 if (arg3
== NULL
) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20200 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
= 0;
20202 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20203 wxString
*arg2
= 0 ;
20204 long arg3
= (long) 0 ;
20208 bool temp2
= false ;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 PyObject
* obj2
= 0 ;
20214 char * kwnames
[] = {
20215 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20220 if (!SWIG_IsOK(res1
)) {
20221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20223 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20225 arg2
= wxString_in_helper(obj1
);
20226 if (arg2
== NULL
) SWIG_fail
;
20230 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20231 if (!SWIG_IsOK(ecode3
)) {
20232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20234 arg3
= static_cast< long >(val3
);
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 resultobj
= SWIG_From_long(static_cast< long >(result
));
20257 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
= 0;
20259 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20260 wxString
*arg2
= 0 ;
20261 double arg3
= (double) 0.0 ;
20265 bool temp2
= false ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 PyObject
* obj2
= 0 ;
20271 char * kwnames
[] = {
20272 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20277 if (!SWIG_IsOK(res1
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20280 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20282 arg2
= wxString_in_helper(obj1
);
20283 if (arg2
== NULL
) SWIG_fail
;
20287 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20288 if (!SWIG_IsOK(ecode3
)) {
20289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20291 arg3
= static_cast< double >(val3
);
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_From_double(static_cast< double >(result
));
20314 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
= 0;
20316 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20317 wxString
*arg2
= 0 ;
20318 bool arg3
= (bool) false ;
20322 bool temp2
= false ;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 PyObject
* obj2
= 0 ;
20328 char * kwnames
[] = {
20329 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20337 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20339 arg2
= wxString_in_helper(obj1
);
20340 if (arg2
== NULL
) SWIG_fail
;
20344 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20345 if (!SWIG_IsOK(ecode3
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20348 arg3
= static_cast< bool >(val3
);
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
= 0;
20375 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20376 wxString
*arg2
= 0 ;
20377 wxString
*arg3
= 0 ;
20381 bool temp2
= false ;
20382 bool temp3
= false ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 PyObject
* obj2
= 0 ;
20386 char * kwnames
[] = {
20387 (char *) "self",(char *) "key",(char *) "value", NULL
20390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20392 if (!SWIG_IsOK(res1
)) {
20393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20395 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20397 arg2
= wxString_in_helper(obj1
);
20398 if (arg2
== NULL
) SWIG_fail
;
20402 arg3
= wxString_in_helper(obj2
);
20403 if (arg3
== NULL
) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20437 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
= 0;
20439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20440 wxString
*arg2
= 0 ;
20445 bool temp2
= false ;
20448 PyObject
* obj0
= 0 ;
20449 PyObject
* obj1
= 0 ;
20450 PyObject
* obj2
= 0 ;
20451 char * kwnames
[] = {
20452 (char *) "self",(char *) "key",(char *) "value", NULL
20455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20457 if (!SWIG_IsOK(res1
)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20460 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20462 arg2
= wxString_in_helper(obj1
);
20463 if (arg2
== NULL
) SWIG_fail
;
20466 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20467 if (!SWIG_IsOK(ecode3
)) {
20468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20470 arg3
= static_cast< long >(val3
);
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20494 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
= 0;
20496 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20497 wxString
*arg2
= 0 ;
20502 bool temp2
= false ;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 PyObject
* obj2
= 0 ;
20508 char * kwnames
[] = {
20509 (char *) "self",(char *) "key",(char *) "value", NULL
20512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20517 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20519 arg2
= wxString_in_helper(obj1
);
20520 if (arg2
== NULL
) SWIG_fail
;
20523 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20524 if (!SWIG_IsOK(ecode3
)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20527 arg3
= static_cast< double >(val3
);
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20551 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
= 0;
20553 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20554 wxString
*arg2
= 0 ;
20559 bool temp2
= false ;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 PyObject
* obj2
= 0 ;
20565 char * kwnames
[] = {
20566 (char *) "self",(char *) "key",(char *) "value", NULL
20569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20571 if (!SWIG_IsOK(res1
)) {
20572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20574 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20576 arg2
= wxString_in_helper(obj1
);
20577 if (arg2
== NULL
) SWIG_fail
;
20580 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20581 if (!SWIG_IsOK(ecode3
)) {
20582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20584 arg3
= static_cast< bool >(val3
);
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20608 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
= 0;
20610 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20611 bool arg2
= (bool) false ;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20619 char * kwnames
[] = {
20620 (char *) "self",(char *) "currentOnly", NULL
20623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20625 if (!SWIG_IsOK(res1
)) {
20626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20628 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20630 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20631 if (!SWIG_IsOK(ecode2
)) {
20632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20634 arg2
= static_cast< bool >(val2
);
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (bool)(arg1
)->Flush(arg2
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20651 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
= 0;
20653 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20654 wxString
*arg2
= 0 ;
20655 wxString
*arg3
= 0 ;
20659 bool temp2
= false ;
20660 bool temp3
= false ;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 PyObject
* obj2
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20673 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20675 arg2
= wxString_in_helper(obj1
);
20676 if (arg2
== NULL
) SWIG_fail
;
20680 arg3
= wxString_in_helper(obj2
);
20681 if (arg3
== NULL
) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20715 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
= 0;
20717 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20718 wxString
*arg2
= 0 ;
20719 wxString
*arg3
= 0 ;
20723 bool temp2
= false ;
20724 bool temp3
= false ;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 PyObject
* obj2
= 0 ;
20728 char * kwnames
[] = {
20729 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20734 if (!SWIG_IsOK(res1
)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20737 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20739 arg2
= wxString_in_helper(obj1
);
20740 if (arg2
== NULL
) SWIG_fail
;
20744 arg3
= wxString_in_helper(obj2
);
20745 if (arg3
== NULL
) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20779 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
= 0;
20781 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20782 wxString
*arg2
= 0 ;
20783 bool arg3
= (bool) true ;
20787 bool temp2
= false ;
20790 PyObject
* obj0
= 0 ;
20791 PyObject
* obj1
= 0 ;
20792 PyObject
* obj2
= 0 ;
20793 char * kwnames
[] = {
20794 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20799 if (!SWIG_IsOK(res1
)) {
20800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20802 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20804 arg2
= wxString_in_helper(obj1
);
20805 if (arg2
== NULL
) SWIG_fail
;
20809 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20810 if (!SWIG_IsOK(ecode3
)) {
20811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20813 arg3
= static_cast< bool >(val3
);
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20838 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
= 0;
20840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20841 wxString
*arg2
= 0 ;
20845 bool temp2
= false ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 char * kwnames
[] = {
20849 (char *) "self",(char *) "key", NULL
20852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20854 if (!SWIG_IsOK(res1
)) {
20855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20857 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20859 arg2
= wxString_in_helper(obj1
);
20860 if (arg2
== NULL
) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20886 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20887 PyObject
*resultobj
= 0;
20888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20892 PyObject
*swig_obj
[1] ;
20894 if (!args
) SWIG_fail
;
20895 swig_obj
[0] = args
;
20896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20897 if (!SWIG_IsOK(res1
)) {
20898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20900 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= (bool)(arg1
)->DeleteAll();
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20916 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
= 0;
20918 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20919 bool arg2
= (bool) true ;
20924 PyObject
* obj0
= 0 ;
20925 PyObject
* obj1
= 0 ;
20926 char * kwnames
[] = {
20927 (char *) "self",(char *) "doIt", NULL
20930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20932 if (!SWIG_IsOK(res1
)) {
20933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20935 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20937 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20938 if (!SWIG_IsOK(ecode2
)) {
20939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20941 arg2
= static_cast< bool >(val2
);
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 (arg1
)->SetExpandEnvVars(arg2
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_Py_Void();
20956 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20957 PyObject
*resultobj
= 0;
20958 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20962 PyObject
*swig_obj
[1] ;
20964 if (!args
) SWIG_fail
;
20965 swig_obj
[0] = args
;
20966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20967 if (!SWIG_IsOK(res1
)) {
20968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20970 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20986 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
= 0;
20988 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20989 bool arg2
= (bool) true ;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 char * kwnames
[] = {
20997 (char *) "self",(char *) "doIt", NULL
21000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21002 if (!SWIG_IsOK(res1
)) {
21003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21005 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21007 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21008 if (!SWIG_IsOK(ecode2
)) {
21009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21011 arg2
= static_cast< bool >(val2
);
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 (arg1
)->SetRecordDefaults(arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_Py_Void();
21026 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21027 PyObject
*resultobj
= 0;
21028 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21032 PyObject
*swig_obj
[1] ;
21034 if (!args
) SWIG_fail
;
21035 swig_obj
[0] = args
;
21036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21037 if (!SWIG_IsOK(res1
)) {
21038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21040 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21056 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
= 0;
21058 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21059 wxString
*arg2
= 0 ;
21063 bool temp2
= false ;
21064 PyObject
* obj0
= 0 ;
21065 PyObject
* obj1
= 0 ;
21066 char * kwnames
[] = {
21067 (char *) "self",(char *) "str", NULL
21070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21072 if (!SWIG_IsOK(res1
)) {
21073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21075 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21077 arg2
= wxString_in_helper(obj1
);
21078 if (arg2
== NULL
) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21108 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21109 PyObject
*resultobj
= 0;
21110 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21114 PyObject
*swig_obj
[1] ;
21116 if (!args
) SWIG_fail
;
21117 swig_obj
[0] = args
;
21118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21119 if (!SWIG_IsOK(res1
)) {
21120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21122 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21142 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21143 PyObject
*resultobj
= 0;
21144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21148 PyObject
*swig_obj
[1] ;
21150 if (!args
) SWIG_fail
;
21151 swig_obj
[0] = args
;
21152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21153 if (!SWIG_IsOK(res1
)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21156 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21176 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
= 0;
21178 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21179 wxString
*arg2
= 0 ;
21182 bool temp2
= false ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 char * kwnames
[] = {
21186 (char *) "self",(char *) "appName", NULL
21189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21191 if (!SWIG_IsOK(res1
)) {
21192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21194 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21196 arg2
= wxString_in_helper(obj1
);
21197 if (arg2
== NULL
) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 (arg1
)->SetAppName((wxString
const &)*arg2
);
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_Py_Void();
21221 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
= 0;
21223 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21224 wxString
*arg2
= 0 ;
21227 bool temp2
= false ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 char * kwnames
[] = {
21231 (char *) "self",(char *) "vendorName", NULL
21234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21236 if (!SWIG_IsOK(res1
)) {
21237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21239 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21241 arg2
= wxString_in_helper(obj1
);
21242 if (arg2
== NULL
) SWIG_fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_Py_Void();
21266 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
= 0;
21268 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 char * kwnames
[] = {
21277 (char *) "self",(char *) "style", NULL
21280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21282 if (!SWIG_IsOK(res1
)) {
21283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21285 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21287 if (!SWIG_IsOK(ecode2
)) {
21288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21290 arg2
= static_cast< long >(val2
);
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 (arg1
)->SetStyle(arg2
);
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_Py_Void();
21304 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21305 PyObject
*resultobj
= 0;
21306 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21310 PyObject
*swig_obj
[1] ;
21312 if (!args
) SWIG_fail
;
21313 swig_obj
[0] = args
;
21314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21315 if (!SWIG_IsOK(res1
)) {
21316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21318 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_From_long(static_cast< long >(result
));
21332 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21335 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21336 return SWIG_Py_Void();
21339 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
= 0;
21341 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21342 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21343 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21344 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21347 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21349 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21350 wxConfig
*result
= 0 ;
21351 bool temp1
= false ;
21352 bool temp2
= false ;
21353 bool temp3
= false ;
21354 bool temp4
= false ;
21357 PyObject
* obj0
= 0 ;
21358 PyObject
* obj1
= 0 ;
21359 PyObject
* obj2
= 0 ;
21360 PyObject
* obj3
= 0 ;
21361 PyObject
* obj4
= 0 ;
21362 char * kwnames
[] = {
21363 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21369 arg1
= wxString_in_helper(obj0
);
21370 if (arg1
== NULL
) SWIG_fail
;
21376 arg2
= wxString_in_helper(obj1
);
21377 if (arg2
== NULL
) SWIG_fail
;
21383 arg3
= wxString_in_helper(obj2
);
21384 if (arg3
== NULL
) SWIG_fail
;
21390 arg4
= wxString_in_helper(obj3
);
21391 if (arg4
== NULL
) SWIG_fail
;
21396 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21397 if (!SWIG_IsOK(ecode5
)) {
21398 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21400 arg5
= static_cast< long >(val5
);
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21447 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21448 PyObject
*resultobj
= 0;
21449 wxConfig
*arg1
= (wxConfig
*) 0 ;
21452 PyObject
*swig_obj
[1] ;
21454 if (!args
) SWIG_fail
;
21455 swig_obj
[0] = args
;
21456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21457 if (!SWIG_IsOK(res1
)) {
21458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21460 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_Py_Void();
21475 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21478 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21479 return SWIG_Py_Void();
21482 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 return SWIG_Python_InitShadowInstance(args
);
21486 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
= 0;
21488 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21489 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21490 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21491 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21492 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21493 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21494 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21496 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21497 wxFileConfig
*result
= 0 ;
21498 bool temp1
= false ;
21499 bool temp2
= false ;
21500 bool temp3
= false ;
21501 bool temp4
= false ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 PyObject
* obj2
= 0 ;
21507 PyObject
* obj3
= 0 ;
21508 PyObject
* obj4
= 0 ;
21509 char * kwnames
[] = {
21510 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21516 arg1
= wxString_in_helper(obj0
);
21517 if (arg1
== NULL
) SWIG_fail
;
21523 arg2
= wxString_in_helper(obj1
);
21524 if (arg2
== NULL
) SWIG_fail
;
21530 arg3
= wxString_in_helper(obj2
);
21531 if (arg3
== NULL
) SWIG_fail
;
21537 arg4
= wxString_in_helper(obj3
);
21538 if (arg4
== NULL
) SWIG_fail
;
21543 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21544 if (!SWIG_IsOK(ecode5
)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21547 arg5
= static_cast< long >(val5
);
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21594 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21595 PyObject
*resultobj
= 0;
21596 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21599 PyObject
*swig_obj
[1] ;
21601 if (!args
) SWIG_fail
;
21602 swig_obj
[0] = args
;
21603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21604 if (!SWIG_IsOK(res1
)) {
21605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21607 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_Py_Void();
21622 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21625 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21626 return SWIG_Py_Void();
21629 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21630 return SWIG_Python_InitShadowInstance(args
);
21633 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
= 0;
21635 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21636 wxString
*arg2
= 0 ;
21637 wxConfigPathChanger
*result
= 0 ;
21640 bool temp2
= false ;
21641 PyObject
* obj0
= 0 ;
21642 PyObject
* obj1
= 0 ;
21643 char * kwnames
[] = {
21644 (char *) "config",(char *) "entry", NULL
21647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21649 if (!SWIG_IsOK(res1
)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21652 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21654 arg2
= wxString_in_helper(obj1
);
21655 if (arg2
== NULL
) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21679 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21680 PyObject
*resultobj
= 0;
21681 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21684 PyObject
*swig_obj
[1] ;
21686 if (!args
) SWIG_fail
;
21687 swig_obj
[0] = args
;
21688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21689 if (!SWIG_IsOK(res1
)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21692 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_Py_Void();
21707 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21708 PyObject
*resultobj
= 0;
21709 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21710 wxString
*result
= 0 ;
21713 PyObject
*swig_obj
[1] ;
21715 if (!args
) SWIG_fail
;
21716 swig_obj
[0] = args
;
21717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21721 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21726 result
= (wxString
*) &_result_ref
;
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21735 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21744 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21747 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21748 return SWIG_Py_Void();
21751 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21752 return SWIG_Python_InitShadowInstance(args
);
21755 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
= 0;
21757 wxString
*arg1
= 0 ;
21759 bool temp1
= false ;
21760 PyObject
* obj0
= 0 ;
21761 char * kwnames
[] = {
21762 (char *) "sz", NULL
21765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21767 arg1
= wxString_in_helper(obj0
);
21768 if (arg1
== NULL
) SWIG_fail
;
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21798 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21799 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21804 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21805 PyObject
*pyobj
= 0;
21809 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21811 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21818 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21819 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21824 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21825 PyObject
*pyobj
= 0;
21829 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21831 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21838 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
= 0;
21840 wxDateTime::Country arg1
;
21843 PyObject
* obj0
= 0 ;
21844 char * kwnames
[] = {
21845 (char *) "country", NULL
21848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21850 if (!SWIG_IsOK(ecode1
)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21853 arg1
= static_cast< wxDateTime::Country
>(val1
);
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 wxDateTime::SetCountry(arg1
);
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 resultobj
= SWIG_Py_Void();
21867 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21868 PyObject
*resultobj
= 0;
21869 wxDateTime::Country result
;
21871 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_From_int(static_cast< int >(result
));
21885 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
= 0;
21887 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21891 PyObject
* obj0
= 0 ;
21892 char * kwnames
[] = {
21893 (char *) "country", NULL
21896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21898 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21899 if (!SWIG_IsOK(ecode1
)) {
21900 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21902 arg1
= static_cast< wxDateTime::Country
>(val1
);
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21919 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
= 0;
21921 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21925 PyObject
* obj0
= 0 ;
21926 char * kwnames
[] = {
21927 (char *) "cal", NULL
21930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21933 if (!SWIG_IsOK(ecode1
)) {
21934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21936 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= SWIG_From_int(static_cast< int >(result
));
21951 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
= 0;
21957 PyObject
* obj0
= 0 ;
21958 char * kwnames
[] = {
21959 (char *) "year", NULL
21962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21963 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21964 if (!SWIG_IsOK(ecode1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21967 arg1
= static_cast< int >(val1
);
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_From_int(static_cast< int >(result
));
21981 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
= 0;
21983 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21984 wxDateTime::Month result
;
21987 PyObject
* obj0
= 0 ;
21988 char * kwnames
[] = {
21989 (char *) "cal", NULL
21992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
21994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21995 if (!SWIG_IsOK(ecode1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21998 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_From_int(static_cast< int >(result
));
22013 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
= 0;
22015 int arg1
= (int) wxDateTime::Inv_Year
;
22016 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 char * kwnames
[] = {
22025 (char *) "year",(char *) "cal", NULL
22028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22031 if (!SWIG_IsOK(ecode1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22034 arg1
= static_cast< int >(val1
);
22037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22038 if (!SWIG_IsOK(ecode2
)) {
22039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22041 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22058 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
= 0;
22060 int arg1
= (int) wxDateTime::Inv_Year
;
22064 PyObject
* obj0
= 0 ;
22065 char * kwnames
[] = {
22066 (char *) "year", NULL
22069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22071 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22072 if (!SWIG_IsOK(ecode1
)) {
22073 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22075 arg1
= static_cast< int >(val1
);
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (int)wxDateTime::GetCentury(arg1
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_From_int(static_cast< int >(result
));
22090 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
= 0;
22093 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char * kwnames
[] = {
22102 (char *) "year",(char *) "cal", NULL
22105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22107 if (!SWIG_IsOK(ecode1
)) {
22108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22110 arg1
= static_cast< int >(val1
);
22112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22113 if (!SWIG_IsOK(ecode2
)) {
22114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22116 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_From_int(static_cast< int >(result
));
22131 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
= 0;
22133 wxDateTime::Month arg1
;
22134 int arg2
= (int) wxDateTime::Inv_Year
;
22135 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 PyObject
* obj2
= 0 ;
22146 char * kwnames
[] = {
22147 (char *) "month",(char *) "year",(char *) "cal", NULL
22150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22152 if (!SWIG_IsOK(ecode1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22155 arg1
= static_cast< wxDateTime::Month
>(val1
);
22157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22158 if (!SWIG_IsOK(ecode2
)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22161 arg2
= static_cast< int >(val2
);
22164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22165 if (!SWIG_IsOK(ecode3
)) {
22166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22168 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_From_int(static_cast< int >(result
));
22183 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
= 0;
22185 wxDateTime::Month arg1
;
22186 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 char * kwnames
[] = {
22195 (char *) "month",(char *) "flags", NULL
22198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22200 if (!SWIG_IsOK(ecode1
)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22203 arg1
= static_cast< wxDateTime::Month
>(val1
);
22205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22206 if (!SWIG_IsOK(ecode2
)) {
22207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22209 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22230 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
= 0;
22232 wxDateTime::WeekDay arg1
;
22233 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 char * kwnames
[] = {
22242 (char *) "weekday",(char *) "flags", NULL
22245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22246 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22247 if (!SWIG_IsOK(ecode1
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22250 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22253 if (!SWIG_IsOK(ecode2
)) {
22254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22256 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22277 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22278 PyObject
*resultobj
= 0;
22279 PyObject
*result
= 0 ;
22281 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= result
;
22295 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
= 0;
22297 int arg1
= (int) wxDateTime::Inv_Year
;
22298 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 char * kwnames
[] = {
22307 (char *) "year",(char *) "country", NULL
22310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22313 if (!SWIG_IsOK(ecode1
)) {
22314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22316 arg1
= static_cast< int >(val1
);
22319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22320 if (!SWIG_IsOK(ecode2
)) {
22321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22323 arg2
= static_cast< wxDateTime::Country
>(val2
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22340 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
= 0;
22342 int arg1
= (int) wxDateTime::Inv_Year
;
22343 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 char * kwnames
[] = {
22352 (char *) "year",(char *) "country", NULL
22355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22358 if (!SWIG_IsOK(ecode1
)) {
22359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22361 arg1
= static_cast< int >(val1
);
22364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22365 if (!SWIG_IsOK(ecode2
)) {
22366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22368 arg2
= static_cast< wxDateTime::Country
>(val2
);
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22383 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
= 0;
22385 int arg1
= (int) wxDateTime::Inv_Year
;
22386 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 char * kwnames
[] = {
22395 (char *) "year",(char *) "country", NULL
22398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22401 if (!SWIG_IsOK(ecode1
)) {
22402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22404 arg1
= static_cast< int >(val1
);
22407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22408 if (!SWIG_IsOK(ecode2
)) {
22409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22411 arg2
= static_cast< wxDateTime::Country
>(val2
);
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22426 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22427 PyObject
*resultobj
= 0;
22430 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= wxDateTime::Now();
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22444 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 PyObject
*resultobj
= 0;
22448 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= wxDateTime::UNow();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22462 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22466 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= wxDateTime::Today();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22480 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22481 PyObject
*resultobj
= 0;
22482 wxDateTime
*result
= 0 ;
22484 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (wxDateTime
*)new wxDateTime();
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22498 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
= 0;
22501 wxDateTime
*result
= 0 ;
22502 unsigned int val1
;
22504 PyObject
* obj0
= 0 ;
22505 char * kwnames
[] = {
22506 (char *) "timet", NULL
22509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22510 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22511 if (!SWIG_IsOK(ecode1
)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22514 arg1
= static_cast< time_t >(val1
);
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= (wxDateTime
*)new wxDateTime(arg1
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22528 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
= 0;
22531 wxDateTime
*result
= 0 ;
22534 PyObject
* obj0
= 0 ;
22535 char * kwnames
[] = {
22536 (char *) "jdn", NULL
22539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22540 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22541 if (!SWIG_IsOK(ecode1
)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22544 arg1
= static_cast< double >(val1
);
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 result
= (wxDateTime
*)new wxDateTime(arg1
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22558 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
= 0;
22561 int arg2
= (int) 0 ;
22562 int arg3
= (int) 0 ;
22563 int arg4
= (int) 0 ;
22564 wxDateTime
*result
= 0 ;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 PyObject
* obj2
= 0 ;
22576 PyObject
* obj3
= 0 ;
22577 char * kwnames
[] = {
22578 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22582 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22583 if (!SWIG_IsOK(ecode1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22586 arg1
= static_cast< int >(val1
);
22588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22589 if (!SWIG_IsOK(ecode2
)) {
22590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22592 arg2
= static_cast< int >(val2
);
22595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22596 if (!SWIG_IsOK(ecode3
)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22599 arg3
= static_cast< int >(val3
);
22602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22603 if (!SWIG_IsOK(ecode4
)) {
22604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22606 arg4
= static_cast< int >(val4
);
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22621 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
= 0;
22624 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22625 int arg3
= (int) wxDateTime::Inv_Year
;
22626 int arg4
= (int) 0 ;
22627 int arg5
= (int) 0 ;
22628 int arg6
= (int) 0 ;
22629 int arg7
= (int) 0 ;
22630 wxDateTime
*result
= 0 ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 PyObject
* obj2
= 0 ;
22648 PyObject
* obj3
= 0 ;
22649 PyObject
* obj4
= 0 ;
22650 PyObject
* obj5
= 0 ;
22651 PyObject
* obj6
= 0 ;
22652 char * kwnames
[] = {
22653 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22658 if (!SWIG_IsOK(ecode1
)) {
22659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22661 arg1
= static_cast< int >(val1
);
22663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22664 if (!SWIG_IsOK(ecode2
)) {
22665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22667 arg2
= static_cast< wxDateTime::Month
>(val2
);
22670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22671 if (!SWIG_IsOK(ecode3
)) {
22672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22674 arg3
= static_cast< int >(val3
);
22677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22678 if (!SWIG_IsOK(ecode4
)) {
22679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22681 arg4
= static_cast< int >(val4
);
22684 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22685 if (!SWIG_IsOK(ecode5
)) {
22686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22688 arg5
= static_cast< int >(val5
);
22691 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22692 if (!SWIG_IsOK(ecode6
)) {
22693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22695 arg6
= static_cast< int >(val6
);
22698 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22699 if (!SWIG_IsOK(ecode7
)) {
22700 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22702 arg7
= static_cast< int >(val7
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22717 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
= 0;
22719 wxDateTime
*arg1
= 0 ;
22720 wxDateTime
*result
= 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char * kwnames
[] = {
22725 (char *) "date", NULL
22728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22729 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22730 if (!SWIG_IsOK(res1
)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22736 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22750 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22751 PyObject
*resultobj
= 0;
22752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22755 PyObject
*swig_obj
[1] ;
22757 if (!args
) SWIG_fail
;
22758 swig_obj
[0] = args
;
22759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22760 if (!SWIG_IsOK(res1
)) {
22761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22763 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_Py_Void();
22778 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22779 PyObject
*resultobj
= 0;
22780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22781 wxDateTime
*result
= 0 ;
22784 PyObject
*swig_obj
[1] ;
22786 if (!args
) SWIG_fail
;
22787 swig_obj
[0] = args
;
22788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22789 if (!SWIG_IsOK(res1
)) {
22790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22792 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22797 result
= (wxDateTime
*) &_result_ref
;
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22809 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
= 0;
22811 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22813 wxDateTime
*result
= 0 ;
22816 unsigned int val2
;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 char * kwnames
[] = {
22821 (char *) "self",(char *) "timet", NULL
22824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22826 if (!SWIG_IsOK(res1
)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22829 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22830 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22831 if (!SWIG_IsOK(ecode2
)) {
22832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22834 arg2
= static_cast< time_t >(val2
);
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22839 result
= (wxDateTime
*) &_result_ref
;
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22851 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
= 0;
22853 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22855 wxDateTime
*result
= 0 ;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 char * kwnames
[] = {
22863 (char *) "self",(char *) "jdn", NULL
22866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22868 if (!SWIG_IsOK(res1
)) {
22869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22871 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22872 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22873 if (!SWIG_IsOK(ecode2
)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22876 arg2
= static_cast< double >(val2
);
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22881 result
= (wxDateTime
*) &_result_ref
;
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22893 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
= 0;
22895 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22897 int arg3
= (int) 0 ;
22898 int arg4
= (int) 0 ;
22899 int arg5
= (int) 0 ;
22900 wxDateTime
*result
= 0 ;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj1
= 0 ;
22913 PyObject
* obj2
= 0 ;
22914 PyObject
* obj3
= 0 ;
22915 PyObject
* obj4
= 0 ;
22916 char * kwnames
[] = {
22917 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22922 if (!SWIG_IsOK(res1
)) {
22923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22925 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22927 if (!SWIG_IsOK(ecode2
)) {
22928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22930 arg2
= static_cast< int >(val2
);
22932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22933 if (!SWIG_IsOK(ecode3
)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22936 arg3
= static_cast< int >(val3
);
22939 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22940 if (!SWIG_IsOK(ecode4
)) {
22941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22943 arg4
= static_cast< int >(val4
);
22946 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22947 if (!SWIG_IsOK(ecode5
)) {
22948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22950 arg5
= static_cast< int >(val5
);
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22956 result
= (wxDateTime
*) &_result_ref
;
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22968 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
= 0;
22970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22972 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22973 int arg4
= (int) wxDateTime::Inv_Year
;
22974 int arg5
= (int) 0 ;
22975 int arg6
= (int) 0 ;
22976 int arg7
= (int) 0 ;
22977 int arg8
= (int) 0 ;
22978 wxDateTime
*result
= 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 PyObject
* obj2
= 0 ;
22998 PyObject
* obj3
= 0 ;
22999 PyObject
* obj4
= 0 ;
23000 PyObject
* obj5
= 0 ;
23001 PyObject
* obj6
= 0 ;
23002 PyObject
* obj7
= 0 ;
23003 char * kwnames
[] = {
23004 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23009 if (!SWIG_IsOK(res1
)) {
23010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23012 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23014 if (!SWIG_IsOK(ecode2
)) {
23015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23017 arg2
= static_cast< int >(val2
);
23019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23020 if (!SWIG_IsOK(ecode3
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23023 arg3
= static_cast< wxDateTime::Month
>(val3
);
23026 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23027 if (!SWIG_IsOK(ecode4
)) {
23028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23030 arg4
= static_cast< int >(val4
);
23033 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23034 if (!SWIG_IsOK(ecode5
)) {
23035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23037 arg5
= static_cast< int >(val5
);
23040 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23041 if (!SWIG_IsOK(ecode6
)) {
23042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23044 arg6
= static_cast< int >(val6
);
23047 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23048 if (!SWIG_IsOK(ecode7
)) {
23049 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23051 arg7
= static_cast< int >(val7
);
23054 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23055 if (!SWIG_IsOK(ecode8
)) {
23056 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23058 arg8
= static_cast< int >(val8
);
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23064 result
= (wxDateTime
*) &_result_ref
;
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23076 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23077 PyObject
*resultobj
= 0;
23078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23079 wxDateTime
*result
= 0 ;
23082 PyObject
*swig_obj
[1] ;
23084 if (!args
) SWIG_fail
;
23085 swig_obj
[0] = args
;
23086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23087 if (!SWIG_IsOK(res1
)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23090 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23095 result
= (wxDateTime
*) &_result_ref
;
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23107 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
= 0;
23109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23111 wxDateTime
*result
= 0 ;
23116 PyObject
* obj0
= 0 ;
23117 PyObject
* obj1
= 0 ;
23118 char * kwnames
[] = {
23119 (char *) "self",(char *) "year", NULL
23122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23124 if (!SWIG_IsOK(res1
)) {
23125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23127 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23129 if (!SWIG_IsOK(ecode2
)) {
23130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23132 arg2
= static_cast< int >(val2
);
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23137 result
= (wxDateTime
*) &_result_ref
;
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23149 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
= 0;
23151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23152 wxDateTime::Month arg2
;
23153 wxDateTime
*result
= 0 ;
23158 PyObject
* obj0
= 0 ;
23159 PyObject
* obj1
= 0 ;
23160 char * kwnames
[] = {
23161 (char *) "self",(char *) "month", NULL
23164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23166 if (!SWIG_IsOK(res1
)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23169 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23171 if (!SWIG_IsOK(ecode2
)) {
23172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23174 arg2
= static_cast< wxDateTime::Month
>(val2
);
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23179 result
= (wxDateTime
*) &_result_ref
;
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23191 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
= 0;
23193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23195 wxDateTime
*result
= 0 ;
23200 PyObject
* obj0
= 0 ;
23201 PyObject
* obj1
= 0 ;
23202 char * kwnames
[] = {
23203 (char *) "self",(char *) "day", NULL
23206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23211 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23213 if (!SWIG_IsOK(ecode2
)) {
23214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23216 arg2
= static_cast< int >(val2
);
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23221 result
= (wxDateTime
*) &_result_ref
;
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23233 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
= 0;
23235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23237 wxDateTime
*result
= 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 char * kwnames
[] = {
23245 (char *) "self",(char *) "hour", NULL
23248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23250 if (!SWIG_IsOK(res1
)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23253 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23255 if (!SWIG_IsOK(ecode2
)) {
23256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23258 arg2
= static_cast< int >(val2
);
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23263 result
= (wxDateTime
*) &_result_ref
;
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23275 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
= 0;
23277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23279 wxDateTime
*result
= 0 ;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 char * kwnames
[] = {
23287 (char *) "self",(char *) "minute", NULL
23290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23292 if (!SWIG_IsOK(res1
)) {
23293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23295 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23297 if (!SWIG_IsOK(ecode2
)) {
23298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23300 arg2
= static_cast< int >(val2
);
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23305 result
= (wxDateTime
*) &_result_ref
;
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23317 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
= 0;
23319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23321 wxDateTime
*result
= 0 ;
23326 PyObject
* obj0
= 0 ;
23327 PyObject
* obj1
= 0 ;
23328 char * kwnames
[] = {
23329 (char *) "self",(char *) "second", NULL
23332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23334 if (!SWIG_IsOK(res1
)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23337 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23339 if (!SWIG_IsOK(ecode2
)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23342 arg2
= static_cast< int >(val2
);
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23347 result
= (wxDateTime
*) &_result_ref
;
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23359 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
= 0;
23361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23363 wxDateTime
*result
= 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char * kwnames
[] = {
23371 (char *) "self",(char *) "millisecond", NULL
23374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23376 if (!SWIG_IsOK(res1
)) {
23377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23379 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23381 if (!SWIG_IsOK(ecode2
)) {
23382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23384 arg2
= static_cast< int >(val2
);
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23389 result
= (wxDateTime
*) &_result_ref
;
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23401 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23404 wxDateTime::WeekDay arg2
;
23405 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23406 wxDateTime
*result
= 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 char * kwnames
[] = {
23417 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23425 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23427 if (!SWIG_IsOK(ecode2
)) {
23428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23430 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23433 if (!SWIG_IsOK(ecode3
)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23436 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23442 result
= (wxDateTime
*) &_result_ref
;
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23454 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
= 0;
23456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23457 wxDateTime::WeekDay arg2
;
23458 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 PyObject
* obj2
= 0 ;
23469 char * kwnames
[] = {
23470 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23475 if (!SWIG_IsOK(res1
)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23478 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23480 if (!SWIG_IsOK(ecode2
)) {
23481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23483 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23486 if (!SWIG_IsOK(ecode3
)) {
23487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23489 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23504 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
= 0;
23506 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23507 wxDateTime::WeekDay arg2
;
23508 wxDateTime
*result
= 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 char * kwnames
[] = {
23516 (char *) "self",(char *) "weekday", NULL
23519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23521 if (!SWIG_IsOK(res1
)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23524 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23526 if (!SWIG_IsOK(ecode2
)) {
23527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23529 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23534 result
= (wxDateTime
*) &_result_ref
;
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23546 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
= 0;
23548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23549 wxDateTime::WeekDay arg2
;
23555 PyObject
* obj0
= 0 ;
23556 PyObject
* obj1
= 0 ;
23557 char * kwnames
[] = {
23558 (char *) "self",(char *) "weekday", NULL
23561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23563 if (!SWIG_IsOK(res1
)) {
23564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23566 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23568 if (!SWIG_IsOK(ecode2
)) {
23569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23571 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (arg1
)->GetNextWeekDay(arg2
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23585 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
= 0;
23587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23588 wxDateTime::WeekDay arg2
;
23589 wxDateTime
*result
= 0 ;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 char * kwnames
[] = {
23597 (char *) "self",(char *) "weekday", NULL
23600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23602 if (!SWIG_IsOK(res1
)) {
23603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23605 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23607 if (!SWIG_IsOK(ecode2
)) {
23608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23610 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23615 result
= (wxDateTime
*) &_result_ref
;
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23627 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
= 0;
23629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23630 wxDateTime::WeekDay arg2
;
23636 PyObject
* obj0
= 0 ;
23637 PyObject
* obj1
= 0 ;
23638 char * kwnames
[] = {
23639 (char *) "self",(char *) "weekday", NULL
23642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23644 if (!SWIG_IsOK(res1
)) {
23645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23647 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23649 if (!SWIG_IsOK(ecode2
)) {
23650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23652 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= (arg1
)->GetPrevWeekDay(arg2
);
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23666 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
= 0;
23668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23669 wxDateTime::WeekDay arg2
;
23670 int arg3
= (int) 1 ;
23671 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23672 int arg5
= (int) wxDateTime::Inv_Year
;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 PyObject
* obj2
= 0 ;
23687 PyObject
* obj3
= 0 ;
23688 PyObject
* obj4
= 0 ;
23689 char * kwnames
[] = {
23690 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23695 if (!SWIG_IsOK(res1
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23698 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23700 if (!SWIG_IsOK(ecode2
)) {
23701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23703 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23706 if (!SWIG_IsOK(ecode3
)) {
23707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23709 arg3
= static_cast< int >(val3
);
23712 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23713 if (!SWIG_IsOK(ecode4
)) {
23714 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23716 arg4
= static_cast< wxDateTime::Month
>(val4
);
23719 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23720 if (!SWIG_IsOK(ecode5
)) {
23721 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23723 arg5
= static_cast< int >(val5
);
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23740 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
= 0;
23742 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23743 wxDateTime::WeekDay arg2
;
23744 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23745 int arg4
= (int) wxDateTime::Inv_Year
;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 PyObject
* obj2
= 0 ;
23758 PyObject
* obj3
= 0 ;
23759 char * kwnames
[] = {
23760 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23765 if (!SWIG_IsOK(res1
)) {
23766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23768 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23770 if (!SWIG_IsOK(ecode2
)) {
23771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23773 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23776 if (!SWIG_IsOK(ecode3
)) {
23777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23779 arg3
= static_cast< wxDateTime::Month
>(val3
);
23782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23783 if (!SWIG_IsOK(ecode4
)) {
23784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23786 arg4
= static_cast< int >(val4
);
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23791 wxPyEndAllowThreads(__tstate
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23803 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
= 0;
23805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23806 wxDateTime::WeekDay arg2
;
23807 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23808 int arg4
= (int) wxDateTime::Inv_Year
;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 PyObject
* obj2
= 0 ;
23821 PyObject
* obj3
= 0 ;
23822 char * kwnames
[] = {
23823 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23828 if (!SWIG_IsOK(res1
)) {
23829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23831 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23833 if (!SWIG_IsOK(ecode2
)) {
23834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23836 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23839 if (!SWIG_IsOK(ecode3
)) {
23840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23842 arg3
= static_cast< wxDateTime::Month
>(val3
);
23845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23846 if (!SWIG_IsOK(ecode4
)) {
23847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23849 arg4
= static_cast< int >(val4
);
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23864 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
= 0;
23866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23868 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23869 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23881 PyObject
* obj2
= 0 ;
23882 PyObject
* obj3
= 0 ;
23883 char * kwnames
[] = {
23884 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23889 if (!SWIG_IsOK(res1
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23892 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23894 if (!SWIG_IsOK(ecode2
)) {
23895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23897 arg2
= static_cast< int >(val2
);
23899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23900 if (!SWIG_IsOK(ecode3
)) {
23901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23903 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23907 if (!SWIG_IsOK(ecode4
)) {
23908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23910 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23927 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
= 0;
23929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23931 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23932 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 PyObject
* obj2
= 0 ;
23945 PyObject
* obj3
= 0 ;
23946 char * kwnames
[] = {
23947 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23952 if (!SWIG_IsOK(res1
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23955 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23957 if (!SWIG_IsOK(ecode2
)) {
23958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23960 arg2
= static_cast< int >(val2
);
23962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23963 if (!SWIG_IsOK(ecode3
)) {
23964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23966 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23969 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23970 if (!SWIG_IsOK(ecode4
)) {
23971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23973 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23988 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
= 0;
23992 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 PyObject
* obj2
= 0 ;
24003 char * kwnames
[] = {
24004 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24009 if (!SWIG_IsOK(ecode1
)) {
24010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24012 arg1
= static_cast< int >(val1
);
24013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24014 if (!SWIG_IsOK(ecode2
)) {
24015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24017 arg2
= static_cast< int >(val2
);
24019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24020 if (!SWIG_IsOK(ecode3
)) {
24021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24023 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24038 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
= 0;
24040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24041 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24042 int arg3
= (int) wxDateTime::Inv_Year
;
24043 wxDateTime
*result
= 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 PyObject
* obj2
= 0 ;
24053 char * kwnames
[] = {
24054 (char *) "self",(char *) "month",(char *) "year", NULL
24057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24059 if (!SWIG_IsOK(res1
)) {
24060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24062 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24065 if (!SWIG_IsOK(ecode2
)) {
24066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24068 arg2
= static_cast< wxDateTime::Month
>(val2
);
24071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24072 if (!SWIG_IsOK(ecode3
)) {
24073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24075 arg3
= static_cast< int >(val3
);
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24081 result
= (wxDateTime
*) &_result_ref
;
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24093 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24096 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24097 int arg3
= (int) wxDateTime::Inv_Year
;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24107 PyObject
* obj2
= 0 ;
24108 char * kwnames
[] = {
24109 (char *) "self",(char *) "month",(char *) "year", NULL
24112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24117 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24120 if (!SWIG_IsOK(ecode2
)) {
24121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24123 arg2
= static_cast< wxDateTime::Month
>(val2
);
24126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24127 if (!SWIG_IsOK(ecode3
)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24130 arg3
= static_cast< int >(val3
);
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24145 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24149 wxDateTime
*result
= 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 char * kwnames
[] = {
24157 (char *) "self",(char *) "yday", NULL
24160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24162 if (!SWIG_IsOK(res1
)) {
24163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24165 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24167 if (!SWIG_IsOK(ecode2
)) {
24168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24170 arg2
= static_cast< int >(val2
);
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24175 result
= (wxDateTime
*) &_result_ref
;
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24187 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
= 0;
24189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char * kwnames
[] = {
24199 (char *) "self",(char *) "yday", NULL
24202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24207 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24209 if (!SWIG_IsOK(ecode2
)) {
24210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24212 arg2
= static_cast< int >(val2
);
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= (arg1
)->GetYearDay(arg2
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24226 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24227 PyObject
*resultobj
= 0;
24228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24232 PyObject
*swig_obj
[1] ;
24234 if (!args
) SWIG_fail
;
24235 swig_obj
[0] = args
;
24236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24237 if (!SWIG_IsOK(res1
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24240 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 result
= (double)(arg1
)->GetJulianDayNumber();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= SWIG_From_double(static_cast< double >(result
));
24254 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24255 PyObject
*resultobj
= 0;
24256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24260 PyObject
*swig_obj
[1] ;
24262 if (!args
) SWIG_fail
;
24263 swig_obj
[0] = args
;
24264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24265 if (!SWIG_IsOK(res1
)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24268 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (double)(arg1
)->GetJDN();
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= SWIG_From_double(static_cast< double >(result
));
24282 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24283 PyObject
*resultobj
= 0;
24284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24288 PyObject
*swig_obj
[1] ;
24290 if (!args
) SWIG_fail
;
24291 swig_obj
[0] = args
;
24292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24296 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= SWIG_From_double(static_cast< double >(result
));
24310 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24311 PyObject
*resultobj
= 0;
24312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24316 PyObject
*swig_obj
[1] ;
24318 if (!args
) SWIG_fail
;
24319 swig_obj
[0] = args
;
24320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24321 if (!SWIG_IsOK(res1
)) {
24322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24324 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (double)(arg1
)->GetMJD();
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_From_double(static_cast< double >(result
));
24338 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24339 PyObject
*resultobj
= 0;
24340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24344 PyObject
*swig_obj
[1] ;
24346 if (!args
) SWIG_fail
;
24347 swig_obj
[0] = args
;
24348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24349 if (!SWIG_IsOK(res1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24352 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 result
= (double)(arg1
)->GetRataDie();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= SWIG_From_double(static_cast< double >(result
));
24366 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
= 0;
24368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24369 wxDateTime::TimeZone
*arg2
= 0 ;
24370 bool arg3
= (bool) false ;
24374 bool temp2
= false ;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 PyObject
* obj2
= 0 ;
24380 char * kwnames
[] = {
24381 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) 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_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24389 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24391 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24395 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24396 if (!SWIG_IsOK(ecode3
)) {
24397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24399 arg3
= static_cast< bool >(val3
);
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24409 if (temp2
) delete arg2
;
24414 if (temp2
) delete arg2
;
24420 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
= 0;
24422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24423 wxDateTime::TimeZone
*arg2
= 0 ;
24424 bool arg3
= (bool) false ;
24425 wxDateTime
*result
= 0 ;
24428 bool temp2
= false ;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 PyObject
* obj2
= 0 ;
24434 char * kwnames
[] = {
24435 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24443 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24445 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24449 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24450 if (!SWIG_IsOK(ecode3
)) {
24451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24453 arg3
= static_cast< bool >(val3
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24459 result
= (wxDateTime
*) &_result_ref
;
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24466 if (temp2
) delete arg2
;
24471 if (temp2
) delete arg2
;
24477 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
= 0;
24479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24480 wxDateTime::TimeZone
*arg2
= 0 ;
24481 bool arg3
= (bool) false ;
24485 bool temp2
= false ;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24490 PyObject
* obj2
= 0 ;
24491 char * kwnames
[] = {
24492 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24497 if (!SWIG_IsOK(res1
)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24500 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24502 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24506 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24507 if (!SWIG_IsOK(ecode3
)) {
24508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24510 arg3
= static_cast< bool >(val3
);
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24520 if (temp2
) delete arg2
;
24525 if (temp2
) delete arg2
;
24531 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
= 0;
24533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24534 wxDateTime::TimeZone
*arg2
= 0 ;
24535 bool arg3
= (bool) false ;
24536 wxDateTime
*result
= 0 ;
24539 bool temp2
= false ;
24542 PyObject
* obj0
= 0 ;
24543 PyObject
* obj1
= 0 ;
24544 PyObject
* obj2
= 0 ;
24545 char * kwnames
[] = {
24546 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24554 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24556 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24560 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24561 if (!SWIG_IsOK(ecode3
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24564 arg3
= static_cast< bool >(val3
);
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24570 result
= (wxDateTime
*) &_result_ref
;
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24577 if (temp2
) delete arg2
;
24582 if (temp2
) delete arg2
;
24588 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
= 0;
24590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24591 bool arg2
= (bool) false ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 char * kwnames
[] = {
24600 (char *) "self",(char *) "noDST", NULL
24603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24605 if (!SWIG_IsOK(res1
)) {
24606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24608 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24610 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24611 if (!SWIG_IsOK(ecode2
)) {
24612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24614 arg2
= static_cast< bool >(val2
);
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24629 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
= 0;
24631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24632 bool arg2
= (bool) false ;
24633 wxDateTime
*result
= 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char * kwnames
[] = {
24641 (char *) "self",(char *) "noDST", NULL
24644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24646 if (!SWIG_IsOK(res1
)) {
24647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24649 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24651 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24652 if (!SWIG_IsOK(ecode2
)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24655 arg2
= static_cast< bool >(val2
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24661 result
= (wxDateTime
*) &_result_ref
;
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24673 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
= 0;
24675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24676 bool arg2
= (bool) false ;
24682 PyObject
* obj0
= 0 ;
24683 PyObject
* obj1
= 0 ;
24684 char * kwnames
[] = {
24685 (char *) "self",(char *) "noDST", NULL
24688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24690 if (!SWIG_IsOK(res1
)) {
24691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24693 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24695 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24696 if (!SWIG_IsOK(ecode2
)) {
24697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24699 arg2
= static_cast< bool >(val2
);
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24714 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24717 bool arg2
= (bool) false ;
24718 wxDateTime
*result
= 0 ;
24723 PyObject
* obj0
= 0 ;
24724 PyObject
* obj1
= 0 ;
24725 char * kwnames
[] = {
24726 (char *) "self",(char *) "noDST", NULL
24729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24731 if (!SWIG_IsOK(res1
)) {
24732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24734 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24736 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24737 if (!SWIG_IsOK(ecode2
)) {
24738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24740 arg2
= static_cast< bool >(val2
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24746 result
= (wxDateTime
*) &_result_ref
;
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24758 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
= 0;
24760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24761 bool arg2
= (bool) false ;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 char * kwnames
[] = {
24770 (char *) "self",(char *) "noDST", NULL
24773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24775 if (!SWIG_IsOK(res1
)) {
24776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24778 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24780 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24781 if (!SWIG_IsOK(ecode2
)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24784 arg2
= static_cast< bool >(val2
);
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24799 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
= 0;
24801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24802 bool arg2
= (bool) false ;
24803 wxDateTime
*result
= 0 ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 char * kwnames
[] = {
24811 (char *) "self",(char *) "noDST", NULL
24814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24816 if (!SWIG_IsOK(res1
)) {
24817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24819 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24822 if (!SWIG_IsOK(ecode2
)) {
24823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24825 arg2
= static_cast< bool >(val2
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24831 result
= (wxDateTime
*) &_result_ref
;
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24843 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24846 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24852 PyObject
* obj0
= 0 ;
24853 PyObject
* obj1
= 0 ;
24854 char * kwnames
[] = {
24855 (char *) "self",(char *) "country", NULL
24858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24860 if (!SWIG_IsOK(res1
)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24863 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24866 if (!SWIG_IsOK(ecode2
)) {
24867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24869 arg2
= static_cast< wxDateTime::Country
>(val2
);
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (int)(arg1
)->IsDST(arg2
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_From_int(static_cast< int >(result
));
24884 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24885 PyObject
*resultobj
= 0;
24886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24890 PyObject
*swig_obj
[1] ;
24892 if (!args
) SWIG_fail
;
24893 swig_obj
[0] = args
;
24894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24895 if (!SWIG_IsOK(res1
)) {
24896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24898 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24914 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24915 PyObject
*resultobj
= 0;
24916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24920 PyObject
*swig_obj
[1] ;
24922 if (!args
) SWIG_fail
;
24923 swig_obj
[0] = args
;
24924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24925 if (!SWIG_IsOK(res1
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24928 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24942 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
= 0;
24944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24945 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24946 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24950 bool temp2
= false ;
24951 PyObject
* obj0
= 0 ;
24952 PyObject
* obj1
= 0 ;
24953 char * kwnames
[] = {
24954 (char *) "self",(char *) "tz", NULL
24957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24959 if (!SWIG_IsOK(res1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24962 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24965 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_From_int(static_cast< int >(result
));
24977 if (temp2
) delete arg2
;
24982 if (temp2
) delete arg2
;
24988 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
= 0;
24990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24991 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24992 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24993 wxDateTime::Month result
;
24996 bool temp2
= false ;
24997 PyObject
* obj0
= 0 ;
24998 PyObject
* obj1
= 0 ;
24999 char * kwnames
[] = {
25000 (char *) "self",(char *) "tz", NULL
25003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25005 if (!SWIG_IsOK(res1
)) {
25006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25008 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25011 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_From_int(static_cast< int >(result
));
25023 if (temp2
) delete arg2
;
25028 if (temp2
) delete arg2
;
25034 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
= 0;
25036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25037 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25038 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25042 bool temp2
= false ;
25043 PyObject
* obj0
= 0 ;
25044 PyObject
* obj1
= 0 ;
25045 char * kwnames
[] = {
25046 (char *) "self",(char *) "tz", NULL
25049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25051 if (!SWIG_IsOK(res1
)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25054 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25057 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_From_int(static_cast< int >(result
));
25069 if (temp2
) delete arg2
;
25074 if (temp2
) delete arg2
;
25080 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
= 0;
25082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25083 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25084 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25085 wxDateTime::WeekDay result
;
25088 bool temp2
= false ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 char * kwnames
[] = {
25092 (char *) "self",(char *) "tz", NULL
25095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25100 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25103 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= SWIG_From_int(static_cast< int >(result
));
25115 if (temp2
) delete arg2
;
25120 if (temp2
) delete arg2
;
25126 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
= 0;
25128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25129 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25130 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25134 bool temp2
= false ;
25135 PyObject
* obj0
= 0 ;
25136 PyObject
* obj1
= 0 ;
25137 char * kwnames
[] = {
25138 (char *) "self",(char *) "tz", NULL
25141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25143 if (!SWIG_IsOK(res1
)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25146 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25149 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_From_int(static_cast< int >(result
));
25161 if (temp2
) delete arg2
;
25166 if (temp2
) delete arg2
;
25172 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
= 0;
25174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25175 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25176 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25180 bool temp2
= false ;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 char * kwnames
[] = {
25184 (char *) "self",(char *) "tz", NULL
25187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25189 if (!SWIG_IsOK(res1
)) {
25190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25192 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25195 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= SWIG_From_int(static_cast< int >(result
));
25207 if (temp2
) delete arg2
;
25212 if (temp2
) delete arg2
;
25218 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25219 PyObject
*resultobj
= 0;
25220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25221 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25222 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25226 bool temp2
= false ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 char * kwnames
[] = {
25230 (char *) "self",(char *) "tz", NULL
25233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25238 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25241 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_From_int(static_cast< int >(result
));
25253 if (temp2
) delete arg2
;
25258 if (temp2
) delete arg2
;
25264 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
= 0;
25266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25267 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25268 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25272 bool temp2
= false ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char * kwnames
[] = {
25276 (char *) "self",(char *) "tz", NULL
25279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25284 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25287 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_From_int(static_cast< int >(result
));
25299 if (temp2
) delete arg2
;
25304 if (temp2
) delete arg2
;
25310 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
= 0;
25312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25313 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25314 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25318 bool temp2
= false ;
25319 PyObject
* obj0
= 0 ;
25320 PyObject
* obj1
= 0 ;
25321 char * kwnames
[] = {
25322 (char *) "self",(char *) "tz", NULL
25325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25327 if (!SWIG_IsOK(res1
)) {
25328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25330 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25333 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= SWIG_From_int(static_cast< int >(result
));
25345 if (temp2
) delete arg2
;
25350 if (temp2
) delete arg2
;
25356 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
= 0;
25358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25359 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25360 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25361 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25367 bool temp3
= false ;
25368 PyObject
* obj0
= 0 ;
25369 PyObject
* obj1
= 0 ;
25370 PyObject
* obj2
= 0 ;
25371 char * kwnames
[] = {
25372 (char *) "self",(char *) "flags",(char *) "tz", NULL
25375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25377 if (!SWIG_IsOK(res1
)) {
25378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25380 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25383 if (!SWIG_IsOK(ecode2
)) {
25384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25386 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25390 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= SWIG_From_int(static_cast< int >(result
));
25402 if (temp3
) delete arg3
;
25407 if (temp3
) delete arg3
;
25413 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
= 0;
25415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25416 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25417 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25418 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25424 bool temp3
= false ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 PyObject
* obj2
= 0 ;
25428 char * kwnames
[] = {
25429 (char *) "self",(char *) "flags",(char *) "tz", NULL
25432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25434 if (!SWIG_IsOK(res1
)) {
25435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25437 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25440 if (!SWIG_IsOK(ecode2
)) {
25441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25443 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25447 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_From_int(static_cast< int >(result
));
25459 if (temp3
) delete arg3
;
25464 if (temp3
) delete arg3
;
25470 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
= 0;
25472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25473 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char * kwnames
[] = {
25482 (char *) "self",(char *) "country", NULL
25485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25490 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25493 if (!SWIG_IsOK(ecode2
)) {
25494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25496 arg2
= static_cast< wxDateTime::Country
>(val2
);
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25513 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
= 0;
25515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25516 wxDateTime
*arg2
= 0 ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 char * kwnames
[] = {
25525 (char *) "self",(char *) "datetime", NULL
25528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25530 if (!SWIG_IsOK(res1
)) {
25531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25533 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25535 if (!SWIG_IsOK(res2
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25541 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25557 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
= 0;
25559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25560 wxDateTime
*arg2
= 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 char * kwnames
[] = {
25569 (char *) "self",(char *) "datetime", NULL
25572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25574 if (!SWIG_IsOK(res1
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25577 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25579 if (!SWIG_IsOK(res2
)) {
25580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25585 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25601 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
= 0;
25603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25604 wxDateTime
*arg2
= 0 ;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj1
= 0 ;
25612 char * kwnames
[] = {
25613 (char *) "self",(char *) "datetime", NULL
25616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25618 if (!SWIG_IsOK(res1
)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25621 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25623 if (!SWIG_IsOK(res2
)) {
25624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25629 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25645 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
= 0;
25647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25648 wxDateTime
*arg2
= 0 ;
25649 wxDateTime
*arg3
= 0 ;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 PyObject
* obj2
= 0 ;
25660 char * kwnames
[] = {
25661 (char *) "self",(char *) "t1",(char *) "t2", NULL
25664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25666 if (!SWIG_IsOK(res1
)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25669 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25671 if (!SWIG_IsOK(res2
)) {
25672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25677 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25678 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25679 if (!SWIG_IsOK(res3
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25685 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25701 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
= 0;
25703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25704 wxDateTime
*arg2
= 0 ;
25705 wxDateTime
*arg3
= 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 PyObject
* obj2
= 0 ;
25716 char * kwnames
[] = {
25717 (char *) "self",(char *) "t1",(char *) "t2", NULL
25720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25722 if (!SWIG_IsOK(res1
)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25725 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25727 if (!SWIG_IsOK(res2
)) {
25728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25733 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25734 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25735 if (!SWIG_IsOK(res3
)) {
25736 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25741 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25757 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
= 0;
25759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25760 wxDateTime
*arg2
= 0 ;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char * kwnames
[] = {
25769 (char *) "self",(char *) "dt", NULL
25772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25777 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25779 if (!SWIG_IsOK(res2
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25785 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25801 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
= 0;
25803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25804 wxDateTime
*arg2
= 0 ;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 char * kwnames
[] = {
25813 (char *) "self",(char *) "dt", NULL
25816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25818 if (!SWIG_IsOK(res1
)) {
25819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25821 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25823 if (!SWIG_IsOK(res2
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25829 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25845 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25846 PyObject
*resultobj
= 0;
25847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25848 wxDateTime
*arg2
= 0 ;
25849 wxTimeSpan
*arg3
= 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 PyObject
* obj2
= 0 ;
25860 char * kwnames
[] = {
25861 (char *) "self",(char *) "dt",(char *) "ts", NULL
25864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25866 if (!SWIG_IsOK(res1
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25869 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25871 if (!SWIG_IsOK(res2
)) {
25872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25877 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25878 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25879 if (!SWIG_IsOK(res3
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25885 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25888 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25901 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= 0;
25903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25904 wxTimeSpan
*arg2
= 0 ;
25905 wxDateTime
*result
= 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char * kwnames
[] = {
25913 (char *) "self",(char *) "diff", NULL
25916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25921 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25923 if (!SWIG_IsOK(res2
)) {
25924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25929 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25933 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25934 result
= (wxDateTime
*) &_result_ref
;
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25946 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
= 0;
25948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25949 wxDateSpan
*arg2
= 0 ;
25950 wxDateTime
*result
= 0 ;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 char * kwnames
[] = {
25958 (char *) "self",(char *) "diff", NULL
25961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25966 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25968 if (!SWIG_IsOK(res2
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25974 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25979 result
= (wxDateTime
*) &_result_ref
;
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25991 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
= 0;
25993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25994 wxTimeSpan
*arg2
= 0 ;
25995 wxDateTime
*result
= 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 char * kwnames
[] = {
26003 (char *) "self",(char *) "diff", NULL
26006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26011 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26013 if (!SWIG_IsOK(res2
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26019 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26024 result
= (wxDateTime
*) &_result_ref
;
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26036 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26037 PyObject
*resultobj
= 0;
26038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26039 wxDateSpan
*arg2
= 0 ;
26040 wxDateTime
*result
= 0 ;
26045 PyObject
* obj0
= 0 ;
26046 PyObject
* obj1
= 0 ;
26047 char * kwnames
[] = {
26048 (char *) "self",(char *) "diff", NULL
26051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26053 if (!SWIG_IsOK(res1
)) {
26054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26056 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26058 if (!SWIG_IsOK(res2
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26064 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26069 result
= (wxDateTime
*) &_result_ref
;
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26081 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
= 0;
26083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26084 wxDateTime
*arg2
= 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 char * kwnames
[] = {
26093 (char *) "self",(char *) "dt", NULL
26096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26101 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26103 if (!SWIG_IsOK(res2
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26109 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26123 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26124 PyObject
*resultobj
= 0;
26125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26126 wxTimeSpan
*arg2
= 0 ;
26127 wxDateTime
*result
= 0 ;
26133 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26135 if (!SWIG_IsOK(res1
)) {
26136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26138 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26139 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26140 if (!SWIG_IsOK(res2
)) {
26141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26146 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26151 result
= (wxDateTime
*) &_result_ref
;
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26163 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26164 PyObject
*resultobj
= 0;
26165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26166 wxDateSpan
*arg2
= 0 ;
26167 wxDateTime
*result
= 0 ;
26173 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26175 if (!SWIG_IsOK(res1
)) {
26176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26178 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26179 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26180 if (!SWIG_IsOK(res2
)) {
26181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26186 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26191 result
= (wxDateTime
*) &_result_ref
;
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26203 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26207 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26212 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26213 _v
= SWIG_CheckState(res
);
26215 if (!_v
) goto check_1
;
26216 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26221 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26225 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26230 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26231 PyObject
*resultobj
= 0;
26232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26233 wxTimeSpan
*arg2
= 0 ;
26234 wxDateTime
*result
= 0 ;
26240 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26242 if (!SWIG_IsOK(res1
)) {
26243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26245 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26246 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26247 if (!SWIG_IsOK(res2
)) {
26248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26253 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26258 result
= (wxDateTime
*) &_result_ref
;
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26270 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26271 PyObject
*resultobj
= 0;
26272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26273 wxDateSpan
*arg2
= 0 ;
26274 wxDateTime
*result
= 0 ;
26280 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26282 if (!SWIG_IsOK(res1
)) {
26283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26285 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26286 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26287 if (!SWIG_IsOK(res2
)) {
26288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26293 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26298 result
= (wxDateTime
*) &_result_ref
;
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26310 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26314 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26319 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26320 _v
= SWIG_CheckState(res
);
26322 if (!_v
) goto check_1
;
26323 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26328 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26332 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26337 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26338 PyObject
*resultobj
= 0;
26339 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26340 wxTimeSpan
*arg2
= 0 ;
26347 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26349 if (!SWIG_IsOK(res1
)) {
26350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26352 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26353 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26354 if (!SWIG_IsOK(res2
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26360 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26374 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26375 PyObject
*resultobj
= 0;
26376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26377 wxDateSpan
*arg2
= 0 ;
26384 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26389 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26390 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26391 if (!SWIG_IsOK(res2
)) {
26392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26397 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26411 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26415 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26420 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26421 _v
= SWIG_CheckState(res
);
26423 if (!_v
) goto check_1
;
26424 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26429 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26433 Py_INCREF(Py_NotImplemented
);
26434 return Py_NotImplemented
;
26438 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26439 PyObject
*resultobj
= 0;
26440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26441 wxDateTime
*arg2
= 0 ;
26448 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26450 if (!SWIG_IsOK(res1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26453 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26454 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26455 if (!SWIG_IsOK(res2
)) {
26456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26461 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26475 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26476 PyObject
*resultobj
= 0;
26477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26478 wxTimeSpan
*arg2
= 0 ;
26485 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26487 if (!SWIG_IsOK(res1
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26490 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26491 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26492 if (!SWIG_IsOK(res2
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26498 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26512 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26513 PyObject
*resultobj
= 0;
26514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26515 wxDateSpan
*arg2
= 0 ;
26522 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26524 if (!SWIG_IsOK(res1
)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26527 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26528 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26529 if (!SWIG_IsOK(res2
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26535 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26549 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26553 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26558 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26559 _v
= SWIG_CheckState(res
);
26561 if (!_v
) goto check_1
;
26562 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26569 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26570 _v
= SWIG_CheckState(res
);
26572 if (!_v
) goto check_2
;
26573 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26578 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26582 Py_INCREF(Py_NotImplemented
);
26583 return Py_NotImplemented
;
26587 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
= 0;
26589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26590 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 PyObject
* obj1
= 0 ;
26598 char * kwnames
[] = {
26599 (char *) "self",(char *) "other", NULL
26602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26604 if (!SWIG_IsOK(res1
)) {
26605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26607 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26609 if (!SWIG_IsOK(res2
)) {
26610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26612 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26628 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
= 0;
26630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26631 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26639 char * kwnames
[] = {
26640 (char *) "self",(char *) "other", NULL
26643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26645 if (!SWIG_IsOK(res1
)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26648 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26650 if (!SWIG_IsOK(res2
)) {
26651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26653 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26669 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
= 0;
26671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26672 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26678 PyObject
* obj0
= 0 ;
26679 PyObject
* obj1
= 0 ;
26680 char * kwnames
[] = {
26681 (char *) "self",(char *) "other", NULL
26684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26686 if (!SWIG_IsOK(res1
)) {
26687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26689 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26691 if (!SWIG_IsOK(res2
)) {
26692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26694 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26710 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
= 0;
26712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26713 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char * kwnames
[] = {
26722 (char *) "self",(char *) "other", NULL
26725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26727 if (!SWIG_IsOK(res1
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26730 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26732 if (!SWIG_IsOK(res2
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26735 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26751 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
= 0;
26753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26754 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 char * kwnames
[] = {
26763 (char *) "self",(char *) "other", NULL
26766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26768 if (!SWIG_IsOK(res1
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26771 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26773 if (!SWIG_IsOK(res2
)) {
26774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26776 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26792 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
= 0;
26794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26795 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26801 PyObject
* obj0
= 0 ;
26802 PyObject
* obj1
= 0 ;
26803 char * kwnames
[] = {
26804 (char *) "self",(char *) "other", NULL
26807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26809 if (!SWIG_IsOK(res1
)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26812 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26814 if (!SWIG_IsOK(res2
)) {
26815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26817 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26833 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
= 0;
26835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26836 wxString
*arg2
= 0 ;
26840 bool temp2
= false ;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 char * kwnames
[] = {
26844 (char *) "self",(char *) "date", NULL
26847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26849 if (!SWIG_IsOK(res1
)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26852 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26854 arg2
= wxString_in_helper(obj1
);
26855 if (arg2
== NULL
) SWIG_fail
;
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_From_int(static_cast< int >(result
));
26879 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
= 0;
26881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26882 wxString
*arg2
= 0 ;
26883 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26885 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26886 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26890 bool temp2
= false ;
26891 bool temp3
= false ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 PyObject
* obj2
= 0 ;
26897 PyObject
* obj3
= 0 ;
26898 char * kwnames
[] = {
26899 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26904 if (!SWIG_IsOK(res1
)) {
26905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26907 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26909 arg2
= wxString_in_helper(obj1
);
26910 if (arg2
== NULL
) SWIG_fail
;
26915 arg3
= wxString_in_helper(obj2
);
26916 if (arg3
== NULL
) SWIG_fail
;
26921 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26922 if (!SWIG_IsOK(res4
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26928 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= SWIG_From_int(static_cast< int >(result
));
26959 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
= 0;
26961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26962 wxString
*arg2
= 0 ;
26966 bool temp2
= false ;
26967 PyObject
* obj0
= 0 ;
26968 PyObject
* obj1
= 0 ;
26969 char * kwnames
[] = {
26970 (char *) "self",(char *) "datetime", NULL
26973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26975 if (!SWIG_IsOK(res1
)) {
26976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26978 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26980 arg2
= wxString_in_helper(obj1
);
26981 if (arg2
== NULL
) SWIG_fail
;
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= SWIG_From_int(static_cast< int >(result
));
27005 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
= 0;
27007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27008 wxString
*arg2
= 0 ;
27012 bool temp2
= false ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char * kwnames
[] = {
27016 (char *) "self",(char *) "date", NULL
27019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27024 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27026 arg2
= wxString_in_helper(obj1
);
27027 if (arg2
== NULL
) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= SWIG_From_int(static_cast< int >(result
));
27051 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
= 0;
27053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27054 wxString
*arg2
= 0 ;
27058 bool temp2
= false ;
27059 PyObject
* obj0
= 0 ;
27060 PyObject
* obj1
= 0 ;
27061 char * kwnames
[] = {
27062 (char *) "self",(char *) "time", NULL
27065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27067 if (!SWIG_IsOK(res1
)) {
27068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27070 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27072 arg2
= wxString_in_helper(obj1
);
27073 if (arg2
== NULL
) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 resultobj
= SWIG_From_int(static_cast< int >(result
));
27097 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
= 0;
27099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27100 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27101 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27102 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27103 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27107 bool temp2
= false ;
27108 bool temp3
= false ;
27109 PyObject
* obj0
= 0 ;
27110 PyObject
* obj1
= 0 ;
27111 PyObject
* obj2
= 0 ;
27112 char * kwnames
[] = {
27113 (char *) "self",(char *) "format",(char *) "tz", NULL
27116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27118 if (!SWIG_IsOK(res1
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27121 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27124 arg2
= wxString_in_helper(obj1
);
27125 if (arg2
== NULL
) SWIG_fail
;
27131 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27153 if (temp3
) delete arg3
;
27162 if (temp3
) delete arg3
;
27168 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27169 PyObject
*resultobj
= 0;
27170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27174 PyObject
*swig_obj
[1] ;
27176 if (!args
) SWIG_fail
;
27177 swig_obj
[0] = args
;
27178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27182 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27202 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27203 PyObject
*resultobj
= 0;
27204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27208 PyObject
*swig_obj
[1] ;
27210 if (!args
) SWIG_fail
;
27211 swig_obj
[0] = args
;
27212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27213 if (!SWIG_IsOK(res1
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27216 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27236 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27237 PyObject
*resultobj
= 0;
27238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27242 PyObject
*swig_obj
[1] ;
27244 if (!args
) SWIG_fail
;
27245 swig_obj
[0] = args
;
27246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27247 if (!SWIG_IsOK(res1
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27250 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27270 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27271 PyObject
*resultobj
= 0;
27272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27276 PyObject
*swig_obj
[1] ;
27278 if (!args
) SWIG_fail
;
27279 swig_obj
[0] = args
;
27280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27281 if (!SWIG_IsOK(res1
)) {
27282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27284 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27304 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27307 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27308 return SWIG_Py_Void();
27311 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27312 return SWIG_Python_InitShadowInstance(args
);
27315 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
= 0;
27321 PyObject
* obj0
= 0 ;
27322 char * kwnames
[] = {
27323 (char *) "ms", NULL
27326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27327 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27328 if (!SWIG_IsOK(ecode1
)) {
27329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27331 arg1
= static_cast< long >(val1
);
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 result
= wxTimeSpan::Milliseconds(arg1
);
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27338 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27345 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27346 PyObject
*resultobj
= 0;
27349 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 result
= wxTimeSpan::Millisecond();
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27363 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
= 0;
27369 PyObject
* obj0
= 0 ;
27370 char * kwnames
[] = {
27371 (char *) "sec", NULL
27374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27375 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27376 if (!SWIG_IsOK(ecode1
)) {
27377 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27379 arg1
= static_cast< long >(val1
);
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 result
= wxTimeSpan::Seconds(arg1
);
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27393 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27394 PyObject
*resultobj
= 0;
27397 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= wxTimeSpan::Second();
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27411 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27412 PyObject
*resultobj
= 0;
27417 PyObject
* obj0
= 0 ;
27418 char * kwnames
[] = {
27419 (char *) "min", NULL
27422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27423 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27424 if (!SWIG_IsOK(ecode1
)) {
27425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27427 arg1
= static_cast< long >(val1
);
27429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27430 result
= wxTimeSpan::Minutes(arg1
);
27431 wxPyEndAllowThreads(__tstate
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27434 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27441 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27442 PyObject
*resultobj
= 0;
27445 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= wxTimeSpan::Minute();
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27459 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
= 0;
27465 PyObject
* obj0
= 0 ;
27466 char * kwnames
[] = {
27467 (char *) "hours", NULL
27470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27471 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27472 if (!SWIG_IsOK(ecode1
)) {
27473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27475 arg1
= static_cast< long >(val1
);
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= wxTimeSpan::Hours(arg1
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27489 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27490 PyObject
*resultobj
= 0;
27493 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 result
= wxTimeSpan::Hour();
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27500 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27507 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27508 PyObject
*resultobj
= 0;
27513 PyObject
* obj0
= 0 ;
27514 char * kwnames
[] = {
27515 (char *) "days", NULL
27518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27519 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27520 if (!SWIG_IsOK(ecode1
)) {
27521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27523 arg1
= static_cast< long >(val1
);
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= wxTimeSpan::Days(arg1
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27537 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27538 PyObject
*resultobj
= 0;
27541 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 result
= wxTimeSpan::Day();
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27555 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
= 0;
27561 PyObject
* obj0
= 0 ;
27562 char * kwnames
[] = {
27563 (char *) "days", NULL
27566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27567 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27568 if (!SWIG_IsOK(ecode1
)) {
27569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27571 arg1
= static_cast< long >(val1
);
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= wxTimeSpan::Weeks(arg1
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27585 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27586 PyObject
*resultobj
= 0;
27589 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 result
= wxTimeSpan::Week();
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27603 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27604 PyObject
*resultobj
= 0;
27605 long arg1
= (long) 0 ;
27606 long arg2
= (long) 0 ;
27607 long arg3
= (long) 0 ;
27608 long arg4
= (long) 0 ;
27609 wxTimeSpan
*result
= 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 PyObject
* obj2
= 0 ;
27621 PyObject
* obj3
= 0 ;
27622 char * kwnames
[] = {
27623 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27628 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27629 if (!SWIG_IsOK(ecode1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27632 arg1
= static_cast< long >(val1
);
27635 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27636 if (!SWIG_IsOK(ecode2
)) {
27637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27639 arg2
= static_cast< long >(val2
);
27642 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27643 if (!SWIG_IsOK(ecode3
)) {
27644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27646 arg3
= static_cast< long >(val3
);
27649 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27650 if (!SWIG_IsOK(ecode4
)) {
27651 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27653 arg4
= static_cast< long >(val4
);
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27668 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27669 PyObject
*resultobj
= 0;
27670 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27673 PyObject
*swig_obj
[1] ;
27675 if (!args
) SWIG_fail
;
27676 swig_obj
[0] = args
;
27677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27678 if (!SWIG_IsOK(res1
)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27681 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= SWIG_Py_Void();
27696 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
= 0;
27698 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27699 wxTimeSpan
*arg2
= 0 ;
27700 wxTimeSpan
*result
= 0 ;
27705 PyObject
* obj0
= 0 ;
27706 PyObject
* obj1
= 0 ;
27707 char * kwnames
[] = {
27708 (char *) "self",(char *) "diff", NULL
27711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27713 if (!SWIG_IsOK(res1
)) {
27714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27716 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27718 if (!SWIG_IsOK(res2
)) {
27719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27724 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27729 result
= (wxTimeSpan
*) &_result_ref
;
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27741 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
= 0;
27743 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27744 wxTimeSpan
*arg2
= 0 ;
27745 wxTimeSpan
*result
= 0 ;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 char * kwnames
[] = {
27753 (char *) "self",(char *) "diff", NULL
27756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27761 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27763 if (!SWIG_IsOK(res2
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27769 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27774 result
= (wxTimeSpan
*) &_result_ref
;
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27786 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
= 0;
27788 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27790 wxTimeSpan
*result
= 0 ;
27795 PyObject
* obj0
= 0 ;
27796 PyObject
* obj1
= 0 ;
27797 char * kwnames
[] = {
27798 (char *) "self",(char *) "n", NULL
27801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27803 if (!SWIG_IsOK(res1
)) {
27804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27806 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27808 if (!SWIG_IsOK(ecode2
)) {
27809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27811 arg2
= static_cast< int >(val2
);
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27816 result
= (wxTimeSpan
*) &_result_ref
;
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27828 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27831 wxTimeSpan
*result
= 0 ;
27834 PyObject
*swig_obj
[1] ;
27836 if (!args
) SWIG_fail
;
27837 swig_obj
[0] = args
;
27838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27839 if (!SWIG_IsOK(res1
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27842 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27847 result
= (wxTimeSpan
*) &_result_ref
;
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27859 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27873 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27887 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
= 0;
27889 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27890 wxTimeSpan
*arg2
= 0 ;
27891 wxTimeSpan
*result
= 0 ;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27898 char * kwnames
[] = {
27899 (char *) "self",(char *) "diff", NULL
27902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27904 if (!SWIG_IsOK(res1
)) {
27905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27907 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27909 if (!SWIG_IsOK(res2
)) {
27910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27915 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27920 result
= (wxTimeSpan
*) &_result_ref
;
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27932 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
= 0;
27934 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27935 wxTimeSpan
*arg2
= 0 ;
27936 wxTimeSpan
*result
= 0 ;
27941 PyObject
* obj0
= 0 ;
27942 PyObject
* obj1
= 0 ;
27943 char * kwnames
[] = {
27944 (char *) "self",(char *) "diff", NULL
27947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27949 if (!SWIG_IsOK(res1
)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27952 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27954 if (!SWIG_IsOK(res2
)) {
27955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27960 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27965 result
= (wxTimeSpan
*) &_result_ref
;
27967 wxPyEndAllowThreads(__tstate
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27977 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
= 0;
27979 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27981 wxTimeSpan
*result
= 0 ;
27986 PyObject
* obj0
= 0 ;
27987 PyObject
* obj1
= 0 ;
27988 char * kwnames
[] = {
27989 (char *) "self",(char *) "n", NULL
27992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27994 if (!SWIG_IsOK(res1
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27997 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27999 if (!SWIG_IsOK(ecode2
)) {
28000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
28002 arg2
= static_cast< int >(val2
);
28004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
28007 result
= (wxTimeSpan
*) &_result_ref
;
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28019 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28020 PyObject
*resultobj
= 0;
28021 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28022 wxTimeSpan
*result
= 0 ;
28025 PyObject
*swig_obj
[1] ;
28027 if (!args
) SWIG_fail
;
28028 swig_obj
[0] = args
;
28029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28030 if (!SWIG_IsOK(res1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28033 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28038 result
= (wxTimeSpan
*) &_result_ref
;
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28050 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
= 0;
28052 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28053 wxTimeSpan
*arg2
= 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char * kwnames
[] = {
28062 (char *) "self",(char *) "other", NULL
28065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28070 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28072 if (!SWIG_IsOK(res2
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28078 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28092 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
= 0;
28094 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28095 wxTimeSpan
*arg2
= 0 ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 char * kwnames
[] = {
28104 (char *) "self",(char *) "other", NULL
28107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28112 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28114 if (!SWIG_IsOK(res2
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28120 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28134 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
= 0;
28136 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 char * kwnames
[] = {
28146 (char *) "self",(char *) "n", NULL
28149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28154 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28156 if (!SWIG_IsOK(ecode2
)) {
28157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28159 arg2
= static_cast< int >(val2
);
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 result
= wxTimeSpan___mul__(arg1
,arg2
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28173 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
= 0;
28175 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28182 PyObject
* obj0
= 0 ;
28183 PyObject
* obj1
= 0 ;
28184 char * kwnames
[] = {
28185 (char *) "self",(char *) "n", NULL
28188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28190 if (!SWIG_IsOK(res1
)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28193 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28195 if (!SWIG_IsOK(ecode2
)) {
28196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28198 arg2
= static_cast< int >(val2
);
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28212 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
= 0;
28214 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28215 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28221 PyObject
* obj0
= 0 ;
28222 PyObject
* obj1
= 0 ;
28223 char * kwnames
[] = {
28224 (char *) "self",(char *) "other", NULL
28227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28229 if (!SWIG_IsOK(res1
)) {
28230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28232 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28234 if (!SWIG_IsOK(res2
)) {
28235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28237 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28253 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
= 0;
28255 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28256 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char * kwnames
[] = {
28265 (char *) "self",(char *) "other", NULL
28268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28270 if (!SWIG_IsOK(res1
)) {
28271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28273 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28275 if (!SWIG_IsOK(res2
)) {
28276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28278 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28281 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28294 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
= 0;
28296 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28297 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28303 PyObject
* obj0
= 0 ;
28304 PyObject
* obj1
= 0 ;
28305 char * kwnames
[] = {
28306 (char *) "self",(char *) "other", NULL
28309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28314 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28315 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28316 if (!SWIG_IsOK(res2
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28319 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28335 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28336 PyObject
*resultobj
= 0;
28337 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28338 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28344 PyObject
* obj0
= 0 ;
28345 PyObject
* obj1
= 0 ;
28346 char * kwnames
[] = {
28347 (char *) "self",(char *) "other", NULL
28350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28352 if (!SWIG_IsOK(res1
)) {
28353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28355 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28357 if (!SWIG_IsOK(res2
)) {
28358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28360 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28376 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
= 0;
28378 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28379 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 PyObject
* obj1
= 0 ;
28387 char * kwnames
[] = {
28388 (char *) "self",(char *) "other", NULL
28391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28393 if (!SWIG_IsOK(res1
)) {
28394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28396 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28398 if (!SWIG_IsOK(res2
)) {
28399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28401 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28404 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28417 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28418 PyObject
*resultobj
= 0;
28419 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28420 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28426 PyObject
* obj0
= 0 ;
28427 PyObject
* obj1
= 0 ;
28428 char * kwnames
[] = {
28429 (char *) "self",(char *) "other", NULL
28432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28434 if (!SWIG_IsOK(res1
)) {
28435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28437 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28439 if (!SWIG_IsOK(res2
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28442 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28458 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28459 PyObject
*resultobj
= 0;
28460 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28464 PyObject
*swig_obj
[1] ;
28466 if (!args
) SWIG_fail
;
28467 swig_obj
[0] = args
;
28468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28469 if (!SWIG_IsOK(res1
)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28472 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28488 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28489 PyObject
*resultobj
= 0;
28490 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28494 PyObject
*swig_obj
[1] ;
28496 if (!args
) SWIG_fail
;
28497 swig_obj
[0] = args
;
28498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28499 if (!SWIG_IsOK(res1
)) {
28500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28502 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28518 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28519 PyObject
*resultobj
= 0;
28520 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28524 PyObject
*swig_obj
[1] ;
28526 if (!args
) SWIG_fail
;
28527 swig_obj
[0] = args
;
28528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28529 if (!SWIG_IsOK(res1
)) {
28530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28532 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28548 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
= 0;
28550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28551 wxTimeSpan
*arg2
= 0 ;
28557 PyObject
* obj0
= 0 ;
28558 PyObject
* obj1
= 0 ;
28559 char * kwnames
[] = {
28560 (char *) "self",(char *) "ts", NULL
28563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28565 if (!SWIG_IsOK(res1
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28568 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28570 if (!SWIG_IsOK(res2
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28576 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28592 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
= 0;
28594 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28595 wxTimeSpan
*arg2
= 0 ;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 char * kwnames
[] = {
28604 (char *) "self",(char *) "ts", NULL
28607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28609 if (!SWIG_IsOK(res1
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28612 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28614 if (!SWIG_IsOK(res2
)) {
28615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28620 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28636 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
= 0;
28638 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28639 wxTimeSpan
*arg2
= 0 ;
28645 PyObject
* obj0
= 0 ;
28646 PyObject
* obj1
= 0 ;
28647 char * kwnames
[] = {
28648 (char *) "self",(char *) "t", NULL
28651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28653 if (!SWIG_IsOK(res1
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28656 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28658 if (!SWIG_IsOK(res2
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28664 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28680 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28681 PyObject
*resultobj
= 0;
28682 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28686 PyObject
*swig_obj
[1] ;
28688 if (!args
) SWIG_fail
;
28689 swig_obj
[0] = args
;
28690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28691 if (!SWIG_IsOK(res1
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28694 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 resultobj
= SWIG_From_int(static_cast< int >(result
));
28708 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28709 PyObject
*resultobj
= 0;
28710 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28714 PyObject
*swig_obj
[1] ;
28716 if (!args
) SWIG_fail
;
28717 swig_obj
[0] = args
;
28718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28719 if (!SWIG_IsOK(res1
)) {
28720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28722 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28725 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= SWIG_From_int(static_cast< int >(result
));
28736 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28737 PyObject
*resultobj
= 0;
28738 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28742 PyObject
*swig_obj
[1] ;
28744 if (!args
) SWIG_fail
;
28745 swig_obj
[0] = args
;
28746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28747 if (!SWIG_IsOK(res1
)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28750 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 resultobj
= SWIG_From_int(static_cast< int >(result
));
28764 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28765 PyObject
*resultobj
= 0;
28766 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28770 PyObject
*swig_obj
[1] ;
28772 if (!args
) SWIG_fail
;
28773 swig_obj
[0] = args
;
28774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28775 if (!SWIG_IsOK(res1
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28778 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= SWIG_From_int(static_cast< int >(result
));
28792 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28793 PyObject
*resultobj
= 0;
28794 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28798 PyObject
*swig_obj
[1] ;
28800 if (!args
) SWIG_fail
;
28801 swig_obj
[0] = args
;
28802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28806 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28814 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28815 hi
= PyLong_FromLong( (&result
)->GetHi() );
28816 lo
= PyLong_FromLong( (&result
)->GetLo() );
28817 shifter
= PyLong_FromLong(32);
28818 shifted
= PyNumber_Lshift(hi
, shifter
);
28819 resultobj
= PyNumber_Or(shifted
, lo
);
28822 Py_DECREF(shifter
);
28823 Py_DECREF(shifted
);
28831 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28832 PyObject
*resultobj
= 0;
28833 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28837 PyObject
*swig_obj
[1] ;
28839 if (!args
) SWIG_fail
;
28840 swig_obj
[0] = args
;
28841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28842 if (!SWIG_IsOK(res1
)) {
28843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28845 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28854 hi
= PyLong_FromLong( (&result
)->GetHi() );
28855 lo
= PyLong_FromLong( (&result
)->GetLo() );
28856 shifter
= PyLong_FromLong(32);
28857 shifted
= PyNumber_Lshift(hi
, shifter
);
28858 resultobj
= PyNumber_Or(shifted
, lo
);
28861 Py_DECREF(shifter
);
28862 Py_DECREF(shifted
);
28870 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28871 PyObject
*resultobj
= 0;
28872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28873 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28874 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28878 bool temp2
= false ;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 char * kwnames
[] = {
28882 (char *) "self",(char *) "format", NULL
28885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28887 if (!SWIG_IsOK(res1
)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28890 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28893 arg2
= wxString_in_helper(obj1
);
28894 if (arg2
== NULL
) SWIG_fail
;
28899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28901 wxPyEndAllowThreads(__tstate
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28925 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28928 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28929 return SWIG_Py_Void();
28932 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28933 return SWIG_Python_InitShadowInstance(args
);
28936 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
= 0;
28938 int arg1
= (int) 0 ;
28939 int arg2
= (int) 0 ;
28940 int arg3
= (int) 0 ;
28941 int arg4
= (int) 0 ;
28942 wxDateSpan
*result
= 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 PyObject
* obj2
= 0 ;
28954 PyObject
* obj3
= 0 ;
28955 char * kwnames
[] = {
28956 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28961 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28962 if (!SWIG_IsOK(ecode1
)) {
28963 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28965 arg1
= static_cast< int >(val1
);
28968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28969 if (!SWIG_IsOK(ecode2
)) {
28970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28972 arg2
= static_cast< int >(val2
);
28975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28976 if (!SWIG_IsOK(ecode3
)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28979 arg3
= static_cast< int >(val3
);
28982 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28983 if (!SWIG_IsOK(ecode4
)) {
28984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28986 arg4
= static_cast< int >(val4
);
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
29001 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29002 PyObject
*resultobj
= 0;
29003 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29006 PyObject
*swig_obj
[1] ;
29008 if (!args
) SWIG_fail
;
29009 swig_obj
[0] = args
;
29010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29011 if (!SWIG_IsOK(res1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29014 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_Py_Void();
29029 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
= 0;
29035 PyObject
* obj0
= 0 ;
29036 char * kwnames
[] = {
29037 (char *) "days", NULL
29040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29042 if (!SWIG_IsOK(ecode1
)) {
29043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29045 arg1
= static_cast< int >(val1
);
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 result
= wxDateSpan::Days(arg1
);
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29059 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29060 PyObject
*resultobj
= 0;
29063 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= wxDateSpan::Day();
29067 wxPyEndAllowThreads(__tstate
);
29068 if (PyErr_Occurred()) SWIG_fail
;
29070 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29077 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29078 PyObject
*resultobj
= 0;
29083 PyObject
* obj0
= 0 ;
29084 char * kwnames
[] = {
29085 (char *) "weeks", NULL
29088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29090 if (!SWIG_IsOK(ecode1
)) {
29091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29093 arg1
= static_cast< int >(val1
);
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 result
= wxDateSpan::Weeks(arg1
);
29097 wxPyEndAllowThreads(__tstate
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29100 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29107 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29108 PyObject
*resultobj
= 0;
29111 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 result
= wxDateSpan::Week();
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29125 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
= 0;
29131 PyObject
* obj0
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "mon", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29137 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29138 if (!SWIG_IsOK(ecode1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29141 arg1
= static_cast< int >(val1
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= wxDateSpan::Months(arg1
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29155 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29156 PyObject
*resultobj
= 0;
29159 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29162 result
= wxDateSpan::Month();
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29173 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
= 0;
29179 PyObject
* obj0
= 0 ;
29180 char * kwnames
[] = {
29181 (char *) "years", NULL
29184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29186 if (!SWIG_IsOK(ecode1
)) {
29187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29189 arg1
= static_cast< int >(val1
);
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= wxDateSpan::Years(arg1
);
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29203 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29204 PyObject
*resultobj
= 0;
29207 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29210 result
= wxDateSpan::Year();
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29221 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29222 PyObject
*resultobj
= 0;
29223 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29225 wxDateSpan
*result
= 0 ;
29230 PyObject
* obj0
= 0 ;
29231 PyObject
* obj1
= 0 ;
29232 char * kwnames
[] = {
29233 (char *) "self",(char *) "n", NULL
29236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29238 if (!SWIG_IsOK(res1
)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29241 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29243 if (!SWIG_IsOK(ecode2
)) {
29244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29246 arg2
= static_cast< int >(val2
);
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29251 result
= (wxDateSpan
*) &_result_ref
;
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29263 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
= 0;
29265 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29267 wxDateSpan
*result
= 0 ;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 char * kwnames
[] = {
29275 (char *) "self",(char *) "n", NULL
29278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29280 if (!SWIG_IsOK(res1
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29283 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29285 if (!SWIG_IsOK(ecode2
)) {
29286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29288 arg2
= static_cast< int >(val2
);
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29292 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29293 result
= (wxDateSpan
*) &_result_ref
;
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29305 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
= 0;
29307 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29309 wxDateSpan
*result
= 0 ;
29314 PyObject
* obj0
= 0 ;
29315 PyObject
* obj1
= 0 ;
29316 char * kwnames
[] = {
29317 (char *) "self",(char *) "n", NULL
29320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29325 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29327 if (!SWIG_IsOK(ecode2
)) {
29328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29330 arg2
= static_cast< int >(val2
);
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29335 result
= (wxDateSpan
*) &_result_ref
;
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29347 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
= 0;
29349 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29351 wxDateSpan
*result
= 0 ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 char * kwnames
[] = {
29359 (char *) "self",(char *) "n", NULL
29362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29364 if (!SWIG_IsOK(res1
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29367 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29369 if (!SWIG_IsOK(ecode2
)) {
29370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29372 arg2
= static_cast< int >(val2
);
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29377 result
= (wxDateSpan
*) &_result_ref
;
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29389 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29390 PyObject
*resultobj
= 0;
29391 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29395 PyObject
*swig_obj
[1] ;
29397 if (!args
) SWIG_fail
;
29398 swig_obj
[0] = args
;
29399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29400 if (!SWIG_IsOK(res1
)) {
29401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29403 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29410 resultobj
= SWIG_From_int(static_cast< int >(result
));
29417 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29418 PyObject
*resultobj
= 0;
29419 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29423 PyObject
*swig_obj
[1] ;
29425 if (!args
) SWIG_fail
;
29426 swig_obj
[0] = args
;
29427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29428 if (!SWIG_IsOK(res1
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29431 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29434 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= SWIG_From_int(static_cast< int >(result
));
29445 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29446 PyObject
*resultobj
= 0;
29447 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29451 PyObject
*swig_obj
[1] ;
29453 if (!args
) SWIG_fail
;
29454 swig_obj
[0] = args
;
29455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29456 if (!SWIG_IsOK(res1
)) {
29457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29459 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_From_int(static_cast< int >(result
));
29473 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29474 PyObject
*resultobj
= 0;
29475 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29479 PyObject
*swig_obj
[1] ;
29481 if (!args
) SWIG_fail
;
29482 swig_obj
[0] = args
;
29483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29487 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= SWIG_From_int(static_cast< int >(result
));
29501 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29502 PyObject
*resultobj
= 0;
29503 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29507 PyObject
*swig_obj
[1] ;
29509 if (!args
) SWIG_fail
;
29510 swig_obj
[0] = args
;
29511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29515 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29518 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= SWIG_From_int(static_cast< int >(result
));
29529 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29530 PyObject
*resultobj
= 0;
29531 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29532 wxDateSpan
*arg2
= 0 ;
29533 wxDateSpan
*result
= 0 ;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 char * kwnames
[] = {
29541 (char *) "self",(char *) "other", NULL
29544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",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_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29549 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29551 if (!SWIG_IsOK(res2
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29557 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29562 result
= (wxDateSpan
*) &_result_ref
;
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29574 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
= 0;
29576 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29577 wxDateSpan
*arg2
= 0 ;
29578 wxDateSpan
*result
= 0 ;
29583 PyObject
* obj0
= 0 ;
29584 PyObject
* obj1
= 0 ;
29585 char * kwnames
[] = {
29586 (char *) "self",(char *) "other", NULL
29589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29591 if (!SWIG_IsOK(res1
)) {
29592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29594 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29596 if (!SWIG_IsOK(res2
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29602 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29607 result
= (wxDateSpan
*) &_result_ref
;
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29619 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29620 PyObject
*resultobj
= 0;
29621 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29622 wxDateSpan
*result
= 0 ;
29625 PyObject
*swig_obj
[1] ;
29627 if (!args
) SWIG_fail
;
29628 swig_obj
[0] = args
;
29629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29630 if (!SWIG_IsOK(res1
)) {
29631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29633 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29638 result
= (wxDateSpan
*) &_result_ref
;
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29650 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
= 0;
29652 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29654 wxDateSpan
*result
= 0 ;
29659 PyObject
* obj0
= 0 ;
29660 PyObject
* obj1
= 0 ;
29661 char * kwnames
[] = {
29662 (char *) "self",(char *) "factor", NULL
29665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29667 if (!SWIG_IsOK(res1
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29670 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29672 if (!SWIG_IsOK(ecode2
)) {
29673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29675 arg2
= static_cast< int >(val2
);
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29680 result
= (wxDateSpan
*) &_result_ref
;
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29692 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
= 0;
29694 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29695 wxDateSpan
*arg2
= 0 ;
29696 wxDateSpan
*result
= 0 ;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 char * kwnames
[] = {
29704 (char *) "self",(char *) "other", NULL
29707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29709 if (!SWIG_IsOK(res1
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29712 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29714 if (!SWIG_IsOK(res2
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29720 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29725 result
= (wxDateSpan
*) &_result_ref
;
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29737 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
= 0;
29739 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29740 wxDateSpan
*arg2
= 0 ;
29741 wxDateSpan
*result
= 0 ;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 char * kwnames
[] = {
29749 (char *) "self",(char *) "other", NULL
29752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29754 if (!SWIG_IsOK(res1
)) {
29755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29757 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29759 if (!SWIG_IsOK(res2
)) {
29760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29765 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29770 result
= (wxDateSpan
*) &_result_ref
;
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29782 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29783 PyObject
*resultobj
= 0;
29784 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29785 wxDateSpan
*result
= 0 ;
29788 PyObject
*swig_obj
[1] ;
29790 if (!args
) SWIG_fail
;
29791 swig_obj
[0] = args
;
29792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29793 if (!SWIG_IsOK(res1
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29796 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29801 result
= (wxDateSpan
*) &_result_ref
;
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29813 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
= 0;
29815 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29817 wxDateSpan
*result
= 0 ;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 char * kwnames
[] = {
29825 (char *) "self",(char *) "factor", NULL
29828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29833 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29835 if (!SWIG_IsOK(ecode2
)) {
29836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29838 arg2
= static_cast< int >(val2
);
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29843 result
= (wxDateSpan
*) &_result_ref
;
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29855 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
= 0;
29857 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29858 wxDateSpan
*arg2
= 0 ;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 char * kwnames
[] = {
29867 (char *) "self",(char *) "other", NULL
29870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29875 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29877 if (!SWIG_IsOK(res2
)) {
29878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29883 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29887 wxPyEndAllowThreads(__tstate
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29897 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
= 0;
29899 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29900 wxDateSpan
*arg2
= 0 ;
29906 PyObject
* obj0
= 0 ;
29907 PyObject
* obj1
= 0 ;
29908 char * kwnames
[] = {
29909 (char *) "self",(char *) "other", NULL
29912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29914 if (!SWIG_IsOK(res1
)) {
29915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29917 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29919 if (!SWIG_IsOK(res2
)) {
29920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29925 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29939 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
= 0;
29941 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29948 PyObject
* obj0
= 0 ;
29949 PyObject
* obj1
= 0 ;
29950 char * kwnames
[] = {
29951 (char *) "self",(char *) "n", NULL
29954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29956 if (!SWIG_IsOK(res1
)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29959 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29961 if (!SWIG_IsOK(ecode2
)) {
29962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29964 arg2
= static_cast< int >(val2
);
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= wxDateSpan___mul__(arg1
,arg2
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29978 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
= 0;
29980 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29987 PyObject
* obj0
= 0 ;
29988 PyObject
* obj1
= 0 ;
29989 char * kwnames
[] = {
29990 (char *) "self",(char *) "n", NULL
29993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29995 if (!SWIG_IsOK(res1
)) {
29996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29998 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30000 if (!SWIG_IsOK(ecode2
)) {
30001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
30003 arg2
= static_cast< int >(val2
);
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 result
= wxDateSpan___rmul__(arg1
,arg2
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30017 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
= 0;
30019 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30020 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 char * kwnames
[] = {
30029 (char *) "self",(char *) "other", NULL
30032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30034 if (!SWIG_IsOK(res1
)) {
30035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30037 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30039 if (!SWIG_IsOK(res2
)) {
30040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30042 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30058 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
= 0;
30060 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30061 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 PyObject
* obj1
= 0 ;
30069 char * kwnames
[] = {
30070 (char *) "self",(char *) "other", NULL
30073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30075 if (!SWIG_IsOK(res1
)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30078 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30080 if (!SWIG_IsOK(res2
)) {
30081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30083 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30099 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30102 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30103 return SWIG_Py_Void();
30106 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30107 return SWIG_Python_InitShadowInstance(args
);
30110 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30111 PyObject
*resultobj
= 0;
30114 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (long)wxGetLocalTime();
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30121 resultobj
= SWIG_From_long(static_cast< long >(result
));
30128 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30129 PyObject
*resultobj
= 0;
30132 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30135 result
= (long)wxGetUTCTime();
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= SWIG_From_long(static_cast< long >(result
));
30146 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30147 PyObject
*resultobj
= 0;
30150 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 result
= (long)wxGetCurrentTime();
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30157 resultobj
= SWIG_From_long(static_cast< long >(result
));
30164 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30165 PyObject
*resultobj
= 0;
30168 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 result
= wxGetLocalTimeMillis();
30172 wxPyEndAllowThreads(__tstate
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30176 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30177 hi
= PyLong_FromLong( (&result
)->GetHi() );
30178 lo
= PyLong_FromLong( (&result
)->GetLo() );
30179 shifter
= PyLong_FromLong(32);
30180 shifted
= PyNumber_Lshift(hi
, shifter
);
30181 resultobj
= PyNumber_Or(shifted
, lo
);
30184 Py_DECREF(shifter
);
30185 Py_DECREF(shifted
);
30193 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30194 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30199 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30200 PyObject
*pyobj
= 0;
30202 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30207 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
= 0;
30209 wxDataFormatId arg1
;
30210 wxDataFormat
*result
= 0 ;
30213 PyObject
* obj0
= 0 ;
30214 char * kwnames
[] = {
30215 (char *) "type", NULL
30218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30219 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30220 if (!SWIG_IsOK(ecode1
)) {
30221 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30223 arg1
= static_cast< wxDataFormatId
>(val1
);
30225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30237 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
= 0;
30239 wxString
*arg1
= 0 ;
30240 wxDataFormat
*result
= 0 ;
30241 bool temp1
= false ;
30242 PyObject
* obj0
= 0 ;
30243 char * kwnames
[] = {
30244 (char *) "format", NULL
30247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30249 arg1
= wxString_in_helper(obj0
);
30250 if (arg1
== NULL
) SWIG_fail
;
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30274 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30275 PyObject
*resultobj
= 0;
30276 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30279 PyObject
*swig_obj
[1] ;
30281 if (!args
) SWIG_fail
;
30282 swig_obj
[0] = args
;
30283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30284 if (!SWIG_IsOK(res1
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30287 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= SWIG_Py_Void();
30302 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30303 PyObject
*resultobj
= 0;
30304 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30305 wxDataFormatId arg2
;
30312 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30314 if (!SWIG_IsOK(res1
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30317 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30318 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30319 if (!SWIG_IsOK(ecode2
)) {
30320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30322 arg2
= static_cast< wxDataFormatId
>(val2
);
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30338 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30339 PyObject
*resultobj
= 0;
30340 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30341 wxDataFormatId arg2
;
30348 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30350 if (!SWIG_IsOK(res1
)) {
30351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30353 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30354 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30355 if (!SWIG_IsOK(ecode2
)) {
30356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30358 arg2
= static_cast< wxDataFormatId
>(val2
);
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30374 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30375 PyObject
*resultobj
= 0;
30376 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30377 wxDataFormat
*arg2
= 0 ;
30384 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30389 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30390 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30391 if (!SWIG_IsOK(res2
)) {
30392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30397 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30413 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30417 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30422 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30423 _v
= SWIG_CheckState(res
);
30425 if (!_v
) goto check_1
;
30426 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30431 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30435 Py_INCREF(Py_NotImplemented
);
30436 return Py_NotImplemented
;
30440 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30441 PyObject
*resultobj
= 0;
30442 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30443 wxDataFormat
*arg2
= 0 ;
30450 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30452 if (!SWIG_IsOK(res1
)) {
30453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30455 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30456 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30457 if (!SWIG_IsOK(res2
)) {
30458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30463 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30479 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30483 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30488 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30489 _v
= SWIG_CheckState(res
);
30491 if (!_v
) goto check_1
;
30492 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30497 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30501 Py_INCREF(Py_NotImplemented
);
30502 return Py_NotImplemented
;
30506 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30507 PyObject
*resultobj
= 0;
30508 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30509 wxDataFormatId arg2
;
30514 PyObject
* obj0
= 0 ;
30515 PyObject
* obj1
= 0 ;
30516 char * kwnames
[] = {
30517 (char *) "self",(char *) "format", NULL
30520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30525 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30527 if (!SWIG_IsOK(ecode2
)) {
30528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30530 arg2
= static_cast< wxDataFormatId
>(val2
);
30532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30533 (arg1
)->SetType(arg2
);
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 resultobj
= SWIG_Py_Void();
30544 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30545 PyObject
*resultobj
= 0;
30546 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30547 wxDataFormatId result
;
30550 PyObject
*swig_obj
[1] ;
30552 if (!args
) SWIG_fail
;
30553 swig_obj
[0] = args
;
30554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30555 if (!SWIG_IsOK(res1
)) {
30556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30558 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30565 resultobj
= SWIG_From_int(static_cast< int >(result
));
30572 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30573 PyObject
*resultobj
= 0;
30574 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30578 PyObject
*swig_obj
[1] ;
30580 if (!args
) SWIG_fail
;
30581 swig_obj
[0] = args
;
30582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30583 if (!SWIG_IsOK(res1
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30586 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 result
= ((wxDataFormat
const *)arg1
)->GetId();
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30606 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
= 0;
30608 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30609 wxString
*arg2
= 0 ;
30612 bool temp2
= false ;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 char * kwnames
[] = {
30616 (char *) "self",(char *) "format", NULL
30619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30621 if (!SWIG_IsOK(res1
)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30624 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30626 arg2
= wxString_in_helper(obj1
);
30627 if (arg2
== NULL
) SWIG_fail
;
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 (arg1
)->SetId((wxString
const &)*arg2
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 resultobj
= SWIG_Py_Void();
30651 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30654 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30655 return SWIG_Py_Void();
30658 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30659 return SWIG_Python_InitShadowInstance(args
);
30662 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30663 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30668 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30669 PyObject
*pyobj
= 0;
30671 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30676 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30677 PyObject
*resultobj
= 0;
30678 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30681 PyObject
*swig_obj
[1] ;
30683 if (!args
) SWIG_fail
;
30684 swig_obj
[0] = args
;
30685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30686 if (!SWIG_IsOK(res1
)) {
30687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30689 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 wxPyEndAllowThreads(__tstate
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30697 resultobj
= SWIG_Py_Void();
30704 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
= 0;
30706 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30707 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30708 SwigValueWrapper
<wxDataFormat
> result
;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 char * kwnames
[] = {
30716 (char *) "self",(char *) "dir", NULL
30719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30721 if (!SWIG_IsOK(res1
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30724 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30727 if (!SWIG_IsOK(ecode2
)) {
30728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30730 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30745 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30746 PyObject
*resultobj
= 0;
30747 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30748 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30754 PyObject
* obj0
= 0 ;
30755 PyObject
* obj1
= 0 ;
30756 char * kwnames
[] = {
30757 (char *) "self",(char *) "dir", NULL
30760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30762 if (!SWIG_IsOK(res1
)) {
30763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30765 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30768 if (!SWIG_IsOK(ecode2
)) {
30769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30771 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30786 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
= 0;
30788 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30789 wxDataFormat
*arg2
= 0 ;
30790 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30798 PyObject
* obj0
= 0 ;
30799 PyObject
* obj1
= 0 ;
30800 PyObject
* obj2
= 0 ;
30801 char * kwnames
[] = {
30802 (char *) "self",(char *) "format",(char *) "dir", NULL
30805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30807 if (!SWIG_IsOK(res1
)) {
30808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30810 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30812 if (!SWIG_IsOK(res2
)) {
30813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30818 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30821 if (!SWIG_IsOK(ecode3
)) {
30822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30824 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30841 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
= 0;
30843 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30844 wxDataFormat
*arg2
= 0 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 char * kwnames
[] = {
30853 (char *) "self",(char *) "format", NULL
30856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30858 if (!SWIG_IsOK(res1
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30861 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30863 if (!SWIG_IsOK(res2
)) {
30864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30869 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30876 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30883 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30884 PyObject
*resultobj
= 0;
30885 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30886 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30887 PyObject
*result
= 0 ;
30892 PyObject
* obj0
= 0 ;
30893 PyObject
* obj1
= 0 ;
30894 char * kwnames
[] = {
30895 (char *) "self",(char *) "dir", NULL
30898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30903 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30906 if (!SWIG_IsOK(ecode2
)) {
30907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30909 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30917 resultobj
= result
;
30924 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
= 0;
30926 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30927 wxDataFormat
*arg2
= 0 ;
30928 PyObject
*result
= 0 ;
30933 PyObject
* obj0
= 0 ;
30934 PyObject
* obj1
= 0 ;
30935 char * kwnames
[] = {
30936 (char *) "self",(char *) "format", NULL
30939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30941 if (!SWIG_IsOK(res1
)) {
30942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30944 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30946 if (!SWIG_IsOK(res2
)) {
30947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30952 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30955 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= result
;
30966 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30967 PyObject
*resultobj
= 0;
30968 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30969 wxDataFormat
*arg2
= 0 ;
30970 PyObject
*arg3
= (PyObject
*) 0 ;
30976 PyObject
* obj0
= 0 ;
30977 PyObject
* obj1
= 0 ;
30978 PyObject
* obj2
= 0 ;
30979 char * kwnames
[] = {
30980 (char *) "self",(char *) "format",(char *) "data", NULL
30983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30985 if (!SWIG_IsOK(res1
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30988 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30989 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30990 if (!SWIG_IsOK(res2
)) {
30991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30996 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31000 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31013 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31016 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31017 return SWIG_Py_Void();
31020 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
= 0;
31022 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31023 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31024 wxDataObjectSimple
*result
= 0 ;
31027 PyObject
* obj0
= 0 ;
31028 char * kwnames
[] = {
31029 (char *) "format", NULL
31032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31034 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31035 if (!SWIG_IsOK(res1
)) {
31036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31041 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31045 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31046 wxPyEndAllowThreads(__tstate
);
31047 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31056 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31057 PyObject
*resultobj
= 0;
31058 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31059 wxDataFormat
*result
= 0 ;
31062 PyObject
*swig_obj
[1] ;
31064 if (!args
) SWIG_fail
;
31065 swig_obj
[0] = args
;
31066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31067 if (!SWIG_IsOK(res1
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31070 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31074 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31075 result
= (wxDataFormat
*) &_result_ref
;
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31087 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31088 PyObject
*resultobj
= 0;
31089 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31090 wxDataFormat
*arg2
= 0 ;
31095 PyObject
* obj0
= 0 ;
31096 PyObject
* obj1
= 0 ;
31097 char * kwnames
[] = {
31098 (char *) "self",(char *) "format", NULL
31101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31103 if (!SWIG_IsOK(res1
)) {
31104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31106 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31108 if (!SWIG_IsOK(res2
)) {
31109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31114 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 resultobj
= SWIG_Py_Void();
31128 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31129 PyObject
*resultobj
= 0;
31130 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31134 PyObject
*swig_obj
[1] ;
31136 if (!args
) SWIG_fail
;
31137 swig_obj
[0] = args
;
31138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31139 if (!SWIG_IsOK(res1
)) {
31140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31142 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31156 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31157 PyObject
*resultobj
= 0;
31158 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31159 PyObject
*result
= 0 ;
31162 PyObject
*swig_obj
[1] ;
31164 if (!args
) SWIG_fail
;
31165 swig_obj
[0] = args
;
31166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31167 if (!SWIG_IsOK(res1
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31170 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= result
;
31184 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
= 0;
31186 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31187 PyObject
*arg2
= (PyObject
*) 0 ;
31191 PyObject
* obj0
= 0 ;
31192 PyObject
* obj1
= 0 ;
31193 char * kwnames
[] = {
31194 (char *) "self",(char *) "data", NULL
31197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31199 if (!SWIG_IsOK(res1
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31202 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31206 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31219 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31222 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31223 return SWIG_Py_Void();
31226 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31227 return SWIG_Python_InitShadowInstance(args
);
31230 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
= 0;
31232 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31233 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31234 wxPyDataObjectSimple
*result
= 0 ;
31237 PyObject
* obj0
= 0 ;
31238 char * kwnames
[] = {
31239 (char *) "format", NULL
31242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31244 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31245 if (!SWIG_IsOK(res1
)) {
31246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31251 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31266 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31267 PyObject
*resultobj
= 0;
31268 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31269 PyObject
*arg2
= (PyObject
*) 0 ;
31270 PyObject
*arg3
= (PyObject
*) 0 ;
31273 PyObject
* obj0
= 0 ;
31274 PyObject
* obj1
= 0 ;
31275 PyObject
* obj2
= 0 ;
31276 char * kwnames
[] = {
31277 (char *) "self",(char *) "self",(char *) "_class", NULL
31280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31282 if (!SWIG_IsOK(res1
)) {
31283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31285 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31294 resultobj
= SWIG_Py_Void();
31301 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31304 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31305 return SWIG_Py_Void();
31308 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31309 return SWIG_Python_InitShadowInstance(args
);
31312 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31313 PyObject
*resultobj
= 0;
31314 wxDataObjectComposite
*result
= 0 ;
31316 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31330 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
= 0;
31332 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31333 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31334 bool arg3
= (bool) false ;
31340 PyObject
* obj0
= 0 ;
31341 PyObject
* obj1
= 0 ;
31342 PyObject
* obj2
= 0 ;
31343 char * kwnames
[] = {
31344 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31349 if (!SWIG_IsOK(res1
)) {
31350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31352 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31353 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31354 if (!SWIG_IsOK(res2
)) {
31355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31358 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31359 if (!SWIG_IsOK(ecode3
)) {
31360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31362 arg3
= static_cast< bool >(val3
);
31365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31366 (arg1
)->Add(arg2
,arg3
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= SWIG_Py_Void();
31377 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31378 PyObject
*resultobj
= 0;
31379 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31380 SwigValueWrapper
<wxDataFormat
> result
;
31383 PyObject
*swig_obj
[1] ;
31385 if (!args
) SWIG_fail
;
31386 swig_obj
[0] = args
;
31387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31388 if (!SWIG_IsOK(res1
)) {
31389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31391 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31405 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31408 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31409 return SWIG_Py_Void();
31412 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31413 return SWIG_Python_InitShadowInstance(args
);
31416 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31417 PyObject
*resultobj
= 0;
31418 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31419 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31420 wxTextDataObject
*result
= 0 ;
31421 bool temp1
= false ;
31422 PyObject
* obj0
= 0 ;
31423 char * kwnames
[] = {
31424 (char *) "text", NULL
31427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31430 arg1
= wxString_in_helper(obj0
);
31431 if (arg1
== NULL
) SWIG_fail
;
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31456 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31457 PyObject
*resultobj
= 0;
31458 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31462 PyObject
*swig_obj
[1] ;
31464 if (!args
) SWIG_fail
;
31465 swig_obj
[0] = args
;
31466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31467 if (!SWIG_IsOK(res1
)) {
31468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31470 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 result
= (size_t)(arg1
)->GetTextLength();
31474 wxPyEndAllowThreads(__tstate
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31477 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31484 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31485 PyObject
*resultobj
= 0;
31486 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31490 PyObject
*swig_obj
[1] ;
31492 if (!args
) SWIG_fail
;
31493 swig_obj
[0] = args
;
31494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31495 if (!SWIG_IsOK(res1
)) {
31496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31498 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 result
= (arg1
)->GetText();
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31518 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31519 PyObject
*resultobj
= 0;
31520 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31521 wxString
*arg2
= 0 ;
31524 bool temp2
= false ;
31525 PyObject
* obj0
= 0 ;
31526 PyObject
* obj1
= 0 ;
31527 char * kwnames
[] = {
31528 (char *) "self",(char *) "text", NULL
31531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31533 if (!SWIG_IsOK(res1
)) {
31534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31536 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31538 arg2
= wxString_in_helper(obj1
);
31539 if (arg2
== NULL
) SWIG_fail
;
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 (arg1
)->SetText((wxString
const &)*arg2
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 resultobj
= SWIG_Py_Void();
31563 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31566 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31567 return SWIG_Py_Void();
31570 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31571 return SWIG_Python_InitShadowInstance(args
);
31574 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
= 0;
31576 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31577 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31578 wxPyTextDataObject
*result
= 0 ;
31579 bool temp1
= false ;
31580 PyObject
* obj0
= 0 ;
31581 char * kwnames
[] = {
31582 (char *) "text", NULL
31585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31588 arg1
= wxString_in_helper(obj0
);
31589 if (arg1
== NULL
) SWIG_fail
;
31594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31595 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31596 wxPyEndAllowThreads(__tstate
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31614 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
= 0;
31616 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31617 PyObject
*arg2
= (PyObject
*) 0 ;
31618 PyObject
*arg3
= (PyObject
*) 0 ;
31621 PyObject
* obj0
= 0 ;
31622 PyObject
* obj1
= 0 ;
31623 PyObject
* obj2
= 0 ;
31624 char * kwnames
[] = {
31625 (char *) "self",(char *) "self",(char *) "_class", NULL
31628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31630 if (!SWIG_IsOK(res1
)) {
31631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31633 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= SWIG_Py_Void();
31649 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31653 return SWIG_Py_Void();
31656 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31657 return SWIG_Python_InitShadowInstance(args
);
31660 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31661 PyObject
*resultobj
= 0;
31662 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31663 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31664 wxBitmapDataObject
*result
= 0 ;
31667 PyObject
* obj0
= 0 ;
31668 char * kwnames
[] = {
31669 (char *) "bitmap", NULL
31672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31674 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31675 if (!SWIG_IsOK(res1
)) {
31676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31681 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31685 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31686 wxPyEndAllowThreads(__tstate
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31696 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31697 PyObject
*resultobj
= 0;
31698 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31702 PyObject
*swig_obj
[1] ;
31704 if (!args
) SWIG_fail
;
31705 swig_obj
[0] = args
;
31706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31707 if (!SWIG_IsOK(res1
)) {
31708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31710 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31724 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
= 0;
31726 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31727 wxBitmap
*arg2
= 0 ;
31732 PyObject
* obj0
= 0 ;
31733 PyObject
* obj1
= 0 ;
31734 char * kwnames
[] = {
31735 (char *) "self",(char *) "bitmap", NULL
31738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31740 if (!SWIG_IsOK(res1
)) {
31741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31743 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31745 if (!SWIG_IsOK(res2
)) {
31746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31751 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= SWIG_Py_Void();
31765 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31768 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31769 return SWIG_Py_Void();
31772 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31773 return SWIG_Python_InitShadowInstance(args
);
31776 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
= 0;
31778 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31779 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31780 wxPyBitmapDataObject
*result
= 0 ;
31783 PyObject
* obj0
= 0 ;
31784 char * kwnames
[] = {
31785 (char *) "bitmap", NULL
31788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31790 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31791 if (!SWIG_IsOK(res1
)) {
31792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31797 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31812 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
= 0;
31814 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31815 PyObject
*arg2
= (PyObject
*) 0 ;
31816 PyObject
*arg3
= (PyObject
*) 0 ;
31819 PyObject
* obj0
= 0 ;
31820 PyObject
* obj1
= 0 ;
31821 PyObject
* obj2
= 0 ;
31822 char * kwnames
[] = {
31823 (char *) "self",(char *) "self",(char *) "_class", NULL
31826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31828 if (!SWIG_IsOK(res1
)) {
31829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31831 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31836 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= SWIG_Py_Void();
31847 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31850 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31851 return SWIG_Py_Void();
31854 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31855 return SWIG_Python_InitShadowInstance(args
);
31858 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31859 PyObject
*resultobj
= 0;
31860 wxFileDataObject
*result
= 0 ;
31862 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (wxFileDataObject
*)new wxFileDataObject();
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31876 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31877 PyObject
*resultobj
= 0;
31878 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31879 wxArrayString
*result
= 0 ;
31882 PyObject
*swig_obj
[1] ;
31884 if (!args
) SWIG_fail
;
31885 swig_obj
[0] = args
;
31886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31887 if (!SWIG_IsOK(res1
)) {
31888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31890 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31894 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31895 result
= (wxArrayString
*) &_result_ref
;
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31901 resultobj
= wxArrayString2PyList_helper(*result
);
31909 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31910 PyObject
*resultobj
= 0;
31911 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31912 wxString
*arg2
= 0 ;
31915 bool temp2
= false ;
31916 PyObject
* obj0
= 0 ;
31917 PyObject
* obj1
= 0 ;
31918 char * kwnames
[] = {
31919 (char *) "self",(char *) "filename", NULL
31922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31924 if (!SWIG_IsOK(res1
)) {
31925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31927 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31929 arg2
= wxString_in_helper(obj1
);
31930 if (arg2
== NULL
) SWIG_fail
;
31934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31935 (arg1
)->AddFile((wxString
const &)*arg2
);
31936 wxPyEndAllowThreads(__tstate
);
31937 if (PyErr_Occurred()) SWIG_fail
;
31939 resultobj
= SWIG_Py_Void();
31954 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31957 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31958 return SWIG_Py_Void();
31961 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31962 return SWIG_Python_InitShadowInstance(args
);
31965 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31966 PyObject
*resultobj
= 0;
31967 wxDataFormat
*arg1
= 0 ;
31968 wxCustomDataObject
*result
= 0 ;
31972 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31974 if (!SWIG_IsOK(res1
)) {
31975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31980 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31994 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31995 PyObject
*resultobj
= 0;
31996 wxString
*arg1
= 0 ;
31997 wxCustomDataObject
*result
= 0 ;
31998 bool temp1
= false ;
32000 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32002 arg1
= wxString_in_helper(swig_obj
[0]);
32003 if (arg1
== NULL
) SWIG_fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32027 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32028 PyObject
*resultobj
= 0;
32029 wxCustomDataObject
*result
= 0 ;
32031 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32035 wxPyEndAllowThreads(__tstate
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32045 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32049 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32052 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32058 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32061 if (!_v
) goto check_2
;
32062 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32067 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32071 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32076 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32077 PyObject
*resultobj
= 0;
32078 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32079 PyObject
*arg2
= (PyObject
*) 0 ;
32083 PyObject
* obj0
= 0 ;
32084 PyObject
* obj1
= 0 ;
32085 char * kwnames
[] = {
32086 (char *) "self",(char *) "data", NULL
32089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32091 if (!SWIG_IsOK(res1
)) {
32092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32094 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32111 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32112 PyObject
*resultobj
= 0;
32113 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32117 PyObject
*swig_obj
[1] ;
32119 if (!args
) SWIG_fail
;
32120 swig_obj
[0] = args
;
32121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32122 if (!SWIG_IsOK(res1
)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32125 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 result
= (size_t)(arg1
)->GetSize();
32129 wxPyEndAllowThreads(__tstate
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32132 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32139 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32140 PyObject
*resultobj
= 0;
32141 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32142 PyObject
*result
= 0 ;
32145 PyObject
*swig_obj
[1] ;
32147 if (!args
) SWIG_fail
;
32148 swig_obj
[0] = args
;
32149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32150 if (!SWIG_IsOK(res1
)) {
32151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32153 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= result
;
32167 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32170 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32171 return SWIG_Py_Void();
32174 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32175 return SWIG_Python_InitShadowInstance(args
);
32178 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32179 PyObject
*resultobj
= 0;
32180 wxURLDataObject
*result
= 0 ;
32182 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32185 result
= (wxURLDataObject
*)new wxURLDataObject();
32186 wxPyEndAllowThreads(__tstate
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32196 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32197 PyObject
*resultobj
= 0;
32198 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32202 PyObject
*swig_obj
[1] ;
32204 if (!args
) SWIG_fail
;
32205 swig_obj
[0] = args
;
32206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32207 if (!SWIG_IsOK(res1
)) {
32208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32210 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 result
= (arg1
)->GetURL();
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32230 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
= 0;
32232 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32233 wxString
*arg2
= 0 ;
32236 bool temp2
= false ;
32237 PyObject
* obj0
= 0 ;
32238 PyObject
* obj1
= 0 ;
32239 char * kwnames
[] = {
32240 (char *) "self",(char *) "url", NULL
32243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32245 if (!SWIG_IsOK(res1
)) {
32246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32248 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32250 arg2
= wxString_in_helper(obj1
);
32251 if (arg2
== NULL
) SWIG_fail
;
32255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32256 (arg1
)->SetURL((wxString
const &)*arg2
);
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32260 resultobj
= SWIG_Py_Void();
32275 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32278 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32279 return SWIG_Py_Void();
32282 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32283 return SWIG_Python_InitShadowInstance(args
);
32286 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32287 PyObject
*resultobj
= 0;
32288 wxMetafileDataObject
*result
= 0 ;
32290 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32304 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32305 PyObject
*resultobj
= 0;
32306 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32307 wxMetafile
*arg2
= 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char * kwnames
[] = {
32315 (char *) "self",(char *) "metafile", NULL
32318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32320 if (!SWIG_IsOK(res1
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32323 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32325 if (!SWIG_IsOK(res2
)) {
32326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32331 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32338 resultobj
= SWIG_Py_Void();
32345 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32346 PyObject
*resultobj
= 0;
32347 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32351 PyObject
*swig_obj
[1] ;
32353 if (!args
) SWIG_fail
;
32354 swig_obj
[0] = args
;
32355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32356 if (!SWIG_IsOK(res1
)) {
32357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32359 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32373 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32376 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32377 return SWIG_Py_Void();
32380 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32381 return SWIG_Python_InitShadowInstance(args
);
32384 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32385 PyObject
*resultobj
= 0;
32386 wxDragResult arg1
;
32390 PyObject
* obj0
= 0 ;
32391 char * kwnames
[] = {
32392 (char *) "res", NULL
32395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32397 if (!SWIG_IsOK(ecode1
)) {
32398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32400 arg1
= static_cast< wxDragResult
>(val1
);
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 result
= (bool)wxIsDragResultOk(arg1
);
32404 wxPyEndAllowThreads(__tstate
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32416 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
= 0;
32418 wxWindow
*arg1
= (wxWindow
*) 0 ;
32419 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32420 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32421 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32422 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32423 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32424 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32425 wxPyDropSource
*result
= 0 ;
32434 PyObject
* obj0
= 0 ;
32435 PyObject
* obj1
= 0 ;
32436 PyObject
* obj2
= 0 ;
32437 PyObject
* obj3
= 0 ;
32438 char * kwnames
[] = {
32439 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32444 if (!SWIG_IsOK(res1
)) {
32445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32450 if (!SWIG_IsOK(res2
)) {
32451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32456 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32459 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32460 if (!SWIG_IsOK(res3
)) {
32461 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32466 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32469 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32470 if (!SWIG_IsOK(res4
)) {
32471 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32476 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32491 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
= 0;
32493 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32494 PyObject
*arg2
= (PyObject
*) 0 ;
32495 PyObject
*arg3
= (PyObject
*) 0 ;
32501 PyObject
* obj0
= 0 ;
32502 PyObject
* obj1
= 0 ;
32503 PyObject
* obj2
= 0 ;
32504 PyObject
* obj3
= 0 ;
32505 char * kwnames
[] = {
32506 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32511 if (!SWIG_IsOK(res1
)) {
32512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32514 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32517 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32518 if (!SWIG_IsOK(ecode4
)) {
32519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32521 arg4
= static_cast< int >(val4
);
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32528 resultobj
= SWIG_Py_Void();
32535 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 PyObject
*resultobj
= 0;
32537 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32540 PyObject
*swig_obj
[1] ;
32542 if (!args
) SWIG_fail
;
32543 swig_obj
[0] = args
;
32544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32545 if (!SWIG_IsOK(res1
)) {
32546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32548 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= SWIG_Py_Void();
32563 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
= 0;
32565 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32566 wxDataObject
*arg2
= 0 ;
32571 PyObject
* obj0
= 0 ;
32572 PyObject
* obj1
= 0 ;
32573 char * kwnames
[] = {
32574 (char *) "self",(char *) "data", NULL
32577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32579 if (!SWIG_IsOK(res1
)) {
32580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32582 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32584 if (!SWIG_IsOK(res2
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32590 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32593 (arg1
)->SetData(*arg2
);
32594 wxPyEndAllowThreads(__tstate
);
32595 if (PyErr_Occurred()) SWIG_fail
;
32597 resultobj
= SWIG_Py_Void();
32604 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32605 PyObject
*resultobj
= 0;
32606 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32607 wxDataObject
*result
= 0 ;
32610 PyObject
*swig_obj
[1] ;
32612 if (!args
) SWIG_fail
;
32613 swig_obj
[0] = args
;
32614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32615 if (!SWIG_IsOK(res1
)) {
32616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32618 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32621 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32622 wxPyEndAllowThreads(__tstate
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32632 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32633 PyObject
*resultobj
= 0;
32634 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32635 wxDragResult arg2
;
32636 wxCursor
*arg3
= 0 ;
32643 PyObject
* obj0
= 0 ;
32644 PyObject
* obj1
= 0 ;
32645 PyObject
* obj2
= 0 ;
32646 char * kwnames
[] = {
32647 (char *) "self",(char *) "res",(char *) "cursor", NULL
32650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32652 if (!SWIG_IsOK(res1
)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32655 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32657 if (!SWIG_IsOK(ecode2
)) {
32658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32660 arg2
= static_cast< wxDragResult
>(val2
);
32661 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32662 if (!SWIG_IsOK(res3
)) {
32663 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32668 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_Py_Void();
32682 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32683 PyObject
*resultobj
= 0;
32684 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32685 int arg2
= (int) wxDrag_CopyOnly
;
32686 wxDragResult result
;
32691 PyObject
* obj0
= 0 ;
32692 PyObject
* obj1
= 0 ;
32693 char * kwnames
[] = {
32694 (char *) "self",(char *) "flags", NULL
32697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32699 if (!SWIG_IsOK(res1
)) {
32700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32702 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32705 if (!SWIG_IsOK(ecode2
)) {
32706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32708 arg2
= static_cast< int >(val2
);
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= SWIG_From_int(static_cast< int >(result
));
32723 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
= 0;
32725 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32726 wxDragResult arg2
;
32732 PyObject
* obj0
= 0 ;
32733 PyObject
* obj1
= 0 ;
32734 char * kwnames
[] = {
32735 (char *) "self",(char *) "effect", NULL
32738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32743 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32745 if (!SWIG_IsOK(ecode2
)) {
32746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32748 arg2
= static_cast< wxDragResult
>(val2
);
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32751 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32764 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32767 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32768 return SWIG_Py_Void();
32771 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32772 return SWIG_Python_InitShadowInstance(args
);
32775 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32776 PyObject
*resultobj
= 0;
32777 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32778 wxPyDropTarget
*result
= 0 ;
32780 PyObject
* obj0
= 0 ;
32781 char * kwnames
[] = {
32782 (char *) "dataObject", NULL
32785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32787 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32788 if (!SWIG_IsOK(res1
)) {
32789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32794 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32795 wxPyEndAllowThreads(__tstate
);
32796 if (PyErr_Occurred()) SWIG_fail
;
32798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32805 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32806 PyObject
*resultobj
= 0;
32807 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32808 PyObject
*arg2
= (PyObject
*) 0 ;
32809 PyObject
*arg3
= (PyObject
*) 0 ;
32812 PyObject
* obj0
= 0 ;
32813 PyObject
* obj1
= 0 ;
32814 PyObject
* obj2
= 0 ;
32815 char * kwnames
[] = {
32816 (char *) "self",(char *) "self",(char *) "_class", NULL
32819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32821 if (!SWIG_IsOK(res1
)) {
32822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32824 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= SWIG_Py_Void();
32840 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32841 PyObject
*resultobj
= 0;
32842 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32845 PyObject
*swig_obj
[1] ;
32847 if (!args
) SWIG_fail
;
32848 swig_obj
[0] = args
;
32849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32850 if (!SWIG_IsOK(res1
)) {
32851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32853 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32861 resultobj
= SWIG_Py_Void();
32868 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32869 PyObject
*resultobj
= 0;
32870 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32871 wxDataObject
*result
= 0 ;
32874 PyObject
*swig_obj
[1] ;
32876 if (!args
) SWIG_fail
;
32877 swig_obj
[0] = args
;
32878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32879 if (!SWIG_IsOK(res1
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32882 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32896 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32897 PyObject
*resultobj
= 0;
32898 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32899 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32903 PyObject
* obj0
= 0 ;
32904 PyObject
* obj1
= 0 ;
32905 char * kwnames
[] = {
32906 (char *) "self",(char *) "dataObject", NULL
32909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32911 if (!SWIG_IsOK(res1
)) {
32912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32914 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32915 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32916 if (!SWIG_IsOK(res2
)) {
32917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 (arg1
)->SetDataObject(arg2
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32925 resultobj
= SWIG_Py_Void();
32932 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32933 PyObject
*resultobj
= 0;
32934 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32937 wxDragResult arg4
;
32938 wxDragResult result
;
32947 PyObject
* obj0
= 0 ;
32948 PyObject
* obj1
= 0 ;
32949 PyObject
* obj2
= 0 ;
32950 PyObject
* obj3
= 0 ;
32951 char * kwnames
[] = {
32952 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32957 if (!SWIG_IsOK(res1
)) {
32958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32960 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32962 if (!SWIG_IsOK(ecode2
)) {
32963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32965 arg2
= static_cast< int >(val2
);
32966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32967 if (!SWIG_IsOK(ecode3
)) {
32968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32970 arg3
= static_cast< int >(val3
);
32971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32972 if (!SWIG_IsOK(ecode4
)) {
32973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32975 arg4
= static_cast< wxDragResult
>(val4
);
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_From_int(static_cast< int >(result
));
32989 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32990 PyObject
*resultobj
= 0;
32991 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32994 wxDragResult arg4
;
32995 wxDragResult result
;
33004 PyObject
* obj0
= 0 ;
33005 PyObject
* obj1
= 0 ;
33006 PyObject
* obj2
= 0 ;
33007 PyObject
* obj3
= 0 ;
33008 char * kwnames
[] = {
33009 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33014 if (!SWIG_IsOK(res1
)) {
33015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33017 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33019 if (!SWIG_IsOK(ecode2
)) {
33020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33022 arg2
= static_cast< int >(val2
);
33023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33024 if (!SWIG_IsOK(ecode3
)) {
33025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33027 arg3
= static_cast< int >(val3
);
33028 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33029 if (!SWIG_IsOK(ecode4
)) {
33030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33032 arg4
= static_cast< wxDragResult
>(val4
);
33034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33035 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33036 wxPyEndAllowThreads(__tstate
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33039 resultobj
= SWIG_From_int(static_cast< int >(result
));
33046 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33047 PyObject
*resultobj
= 0;
33048 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33051 PyObject
*swig_obj
[1] ;
33053 if (!args
) SWIG_fail
;
33054 swig_obj
[0] = args
;
33055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33056 if (!SWIG_IsOK(res1
)) {
33057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33059 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33063 wxPyEndAllowThreads(__tstate
);
33064 if (PyErr_Occurred()) SWIG_fail
;
33066 resultobj
= SWIG_Py_Void();
33073 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33074 PyObject
*resultobj
= 0;
33075 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33085 PyObject
* obj0
= 0 ;
33086 PyObject
* obj1
= 0 ;
33087 PyObject
* obj2
= 0 ;
33088 char * kwnames
[] = {
33089 (char *) "self",(char *) "x",(char *) "y", NULL
33092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33094 if (!SWIG_IsOK(res1
)) {
33095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33097 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33099 if (!SWIG_IsOK(ecode2
)) {
33100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33102 arg2
= static_cast< int >(val2
);
33103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33104 if (!SWIG_IsOK(ecode3
)) {
33105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33107 arg3
= static_cast< int >(val3
);
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33123 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33124 PyObject
*resultobj
= 0;
33125 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33129 PyObject
*swig_obj
[1] ;
33131 if (!args
) SWIG_fail
;
33132 swig_obj
[0] = args
;
33133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33134 if (!SWIG_IsOK(res1
)) {
33135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33137 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33140 result
= (bool)(arg1
)->GetData();
33141 wxPyEndAllowThreads(__tstate
);
33142 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33153 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33154 PyObject
*resultobj
= 0;
33155 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33156 wxDragResult arg2
;
33161 PyObject
* obj0
= 0 ;
33162 PyObject
* obj1
= 0 ;
33163 char * kwnames
[] = {
33164 (char *) "self",(char *) "action", NULL
33167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33169 if (!SWIG_IsOK(res1
)) {
33170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33172 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33174 if (!SWIG_IsOK(ecode2
)) {
33175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33177 arg2
= static_cast< wxDragResult
>(val2
);
33179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33180 (arg1
)->SetDefaultAction(arg2
);
33181 wxPyEndAllowThreads(__tstate
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 resultobj
= SWIG_Py_Void();
33191 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33192 PyObject
*resultobj
= 0;
33193 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33194 wxDragResult result
;
33197 PyObject
*swig_obj
[1] ;
33199 if (!args
) SWIG_fail
;
33200 swig_obj
[0] = args
;
33201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33202 if (!SWIG_IsOK(res1
)) {
33203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33205 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33208 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33212 resultobj
= SWIG_From_int(static_cast< int >(result
));
33219 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33223 return SWIG_Py_Void();
33226 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33227 return SWIG_Python_InitShadowInstance(args
);
33230 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33231 PyObject
*resultobj
= 0;
33232 wxPyTextDropTarget
*result
= 0 ;
33234 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33237 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33248 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33249 PyObject
*resultobj
= 0;
33250 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33251 PyObject
*arg2
= (PyObject
*) 0 ;
33252 PyObject
*arg3
= (PyObject
*) 0 ;
33255 PyObject
* obj0
= 0 ;
33256 PyObject
* obj1
= 0 ;
33257 PyObject
* obj2
= 0 ;
33258 char * kwnames
[] = {
33259 (char *) "self",(char *) "self",(char *) "_class", NULL
33262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33264 if (!SWIG_IsOK(res1
)) {
33265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33267 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= SWIG_Py_Void();
33283 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
= 0;
33285 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33288 wxString
*arg4
= 0 ;
33296 bool temp4
= false ;
33297 PyObject
* obj0
= 0 ;
33298 PyObject
* obj1
= 0 ;
33299 PyObject
* obj2
= 0 ;
33300 PyObject
* obj3
= 0 ;
33301 char * kwnames
[] = {
33302 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33307 if (!SWIG_IsOK(res1
)) {
33308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33310 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33312 if (!SWIG_IsOK(ecode2
)) {
33313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33315 arg2
= static_cast< int >(val2
);
33316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33317 if (!SWIG_IsOK(ecode3
)) {
33318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33320 arg3
= static_cast< int >(val3
);
33322 arg4
= wxString_in_helper(obj3
);
33323 if (arg4
== NULL
) SWIG_fail
;
33327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33329 wxPyEndAllowThreads(__tstate
);
33330 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33349 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33350 PyObject
*resultobj
= 0;
33351 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33354 wxDragResult arg4
;
33355 wxDragResult result
;
33364 PyObject
* obj0
= 0 ;
33365 PyObject
* obj1
= 0 ;
33366 PyObject
* obj2
= 0 ;
33367 PyObject
* obj3
= 0 ;
33368 char * kwnames
[] = {
33369 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33374 if (!SWIG_IsOK(res1
)) {
33375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33377 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33379 if (!SWIG_IsOK(ecode2
)) {
33380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33382 arg2
= static_cast< int >(val2
);
33383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33384 if (!SWIG_IsOK(ecode3
)) {
33385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33387 arg3
= static_cast< int >(val3
);
33388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33389 if (!SWIG_IsOK(ecode4
)) {
33390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33392 arg4
= static_cast< wxDragResult
>(val4
);
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33395 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= SWIG_From_int(static_cast< int >(result
));
33406 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33407 PyObject
*resultobj
= 0;
33408 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33411 wxDragResult arg4
;
33412 wxDragResult result
;
33421 PyObject
* obj0
= 0 ;
33422 PyObject
* obj1
= 0 ;
33423 PyObject
* obj2
= 0 ;
33424 PyObject
* obj3
= 0 ;
33425 char * kwnames
[] = {
33426 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33431 if (!SWIG_IsOK(res1
)) {
33432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33434 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33436 if (!SWIG_IsOK(ecode2
)) {
33437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33439 arg2
= static_cast< int >(val2
);
33440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33441 if (!SWIG_IsOK(ecode3
)) {
33442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33444 arg3
= static_cast< int >(val3
);
33445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33446 if (!SWIG_IsOK(ecode4
)) {
33447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33449 arg4
= static_cast< wxDragResult
>(val4
);
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= SWIG_From_int(static_cast< int >(result
));
33463 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33464 PyObject
*resultobj
= 0;
33465 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33468 PyObject
*swig_obj
[1] ;
33470 if (!args
) SWIG_fail
;
33471 swig_obj
[0] = args
;
33472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33473 if (!SWIG_IsOK(res1
)) {
33474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33476 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_Py_Void();
33490 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
= 0;
33492 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 PyObject
* obj2
= 0 ;
33505 char * kwnames
[] = {
33506 (char *) "self",(char *) "x",(char *) "y", NULL
33509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33511 if (!SWIG_IsOK(res1
)) {
33512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33514 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33516 if (!SWIG_IsOK(ecode2
)) {
33517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33519 arg2
= static_cast< int >(val2
);
33520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33521 if (!SWIG_IsOK(ecode3
)) {
33522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33524 arg3
= static_cast< int >(val3
);
33526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33527 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33528 wxPyEndAllowThreads(__tstate
);
33529 if (PyErr_Occurred()) SWIG_fail
;
33532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33540 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33541 PyObject
*resultobj
= 0;
33542 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33545 wxDragResult arg4
;
33546 wxDragResult result
;
33555 PyObject
* obj0
= 0 ;
33556 PyObject
* obj1
= 0 ;
33557 PyObject
* obj2
= 0 ;
33558 PyObject
* obj3
= 0 ;
33559 char * kwnames
[] = {
33560 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33565 if (!SWIG_IsOK(res1
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33568 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33570 if (!SWIG_IsOK(ecode2
)) {
33571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33573 arg2
= static_cast< int >(val2
);
33574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33575 if (!SWIG_IsOK(ecode3
)) {
33576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33578 arg3
= static_cast< int >(val3
);
33579 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33580 if (!SWIG_IsOK(ecode4
)) {
33581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33583 arg4
= static_cast< wxDragResult
>(val4
);
33585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33586 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33587 wxPyEndAllowThreads(__tstate
);
33588 if (PyErr_Occurred()) SWIG_fail
;
33590 resultobj
= SWIG_From_int(static_cast< int >(result
));
33597 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33601 return SWIG_Py_Void();
33604 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33605 return SWIG_Python_InitShadowInstance(args
);
33608 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33609 PyObject
*resultobj
= 0;
33610 wxPyFileDropTarget
*result
= 0 ;
33612 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33615 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33626 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33627 PyObject
*resultobj
= 0;
33628 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33629 PyObject
*arg2
= (PyObject
*) 0 ;
33630 PyObject
*arg3
= (PyObject
*) 0 ;
33633 PyObject
* obj0
= 0 ;
33634 PyObject
* obj1
= 0 ;
33635 PyObject
* obj2
= 0 ;
33636 char * kwnames
[] = {
33637 (char *) "self",(char *) "self",(char *) "_class", NULL
33640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33645 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33651 wxPyEndAllowThreads(__tstate
);
33652 if (PyErr_Occurred()) SWIG_fail
;
33654 resultobj
= SWIG_Py_Void();
33661 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33662 PyObject
*resultobj
= 0;
33663 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33666 wxArrayString
*arg4
= 0 ;
33674 bool temp4
= false ;
33675 PyObject
* obj0
= 0 ;
33676 PyObject
* obj1
= 0 ;
33677 PyObject
* obj2
= 0 ;
33678 PyObject
* obj3
= 0 ;
33679 char * kwnames
[] = {
33680 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33685 if (!SWIG_IsOK(res1
)) {
33686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33688 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33690 if (!SWIG_IsOK(ecode2
)) {
33691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33693 arg2
= static_cast< int >(val2
);
33694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33695 if (!SWIG_IsOK(ecode3
)) {
33696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33698 arg3
= static_cast< int >(val3
);
33700 if (! PySequence_Check(obj3
)) {
33701 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33704 arg4
= new wxArrayString
;
33706 int i
, len
=PySequence_Length(obj3
);
33707 for (i
=0; i
<len
; i
++) {
33708 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33709 wxString
* s
= wxString_in_helper(item
);
33710 if (PyErr_Occurred()) SWIG_fail
;
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33719 wxPyEndAllowThreads(__tstate
);
33720 if (PyErr_Occurred()) SWIG_fail
;
33723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33726 if (temp4
) delete arg4
;
33731 if (temp4
) delete arg4
;
33737 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33738 PyObject
*resultobj
= 0;
33739 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33742 wxDragResult arg4
;
33743 wxDragResult result
;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 PyObject
* obj2
= 0 ;
33755 PyObject
* obj3
= 0 ;
33756 char * kwnames
[] = {
33757 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33762 if (!SWIG_IsOK(res1
)) {
33763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33765 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33767 if (!SWIG_IsOK(ecode2
)) {
33768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33770 arg2
= static_cast< int >(val2
);
33771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33772 if (!SWIG_IsOK(ecode3
)) {
33773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33775 arg3
= static_cast< int >(val3
);
33776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33777 if (!SWIG_IsOK(ecode4
)) {
33778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33780 arg4
= static_cast< wxDragResult
>(val4
);
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33787 resultobj
= SWIG_From_int(static_cast< int >(result
));
33794 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33795 PyObject
*resultobj
= 0;
33796 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33799 wxDragResult arg4
;
33800 wxDragResult result
;
33809 PyObject
* obj0
= 0 ;
33810 PyObject
* obj1
= 0 ;
33811 PyObject
* obj2
= 0 ;
33812 PyObject
* obj3
= 0 ;
33813 char * kwnames
[] = {
33814 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33819 if (!SWIG_IsOK(res1
)) {
33820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33822 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33824 if (!SWIG_IsOK(ecode2
)) {
33825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33827 arg2
= static_cast< int >(val2
);
33828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33829 if (!SWIG_IsOK(ecode3
)) {
33830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33832 arg3
= static_cast< int >(val3
);
33833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33834 if (!SWIG_IsOK(ecode4
)) {
33835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33837 arg4
= static_cast< wxDragResult
>(val4
);
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33841 wxPyEndAllowThreads(__tstate
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33844 resultobj
= SWIG_From_int(static_cast< int >(result
));
33851 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33852 PyObject
*resultobj
= 0;
33853 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33856 PyObject
*swig_obj
[1] ;
33858 if (!args
) SWIG_fail
;
33859 swig_obj
[0] = args
;
33860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33861 if (!SWIG_IsOK(res1
)) {
33862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33864 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 wxPyEndAllowThreads(__tstate
);
33869 if (PyErr_Occurred()) SWIG_fail
;
33871 resultobj
= SWIG_Py_Void();
33878 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33879 PyObject
*resultobj
= 0;
33880 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33890 PyObject
* obj0
= 0 ;
33891 PyObject
* obj1
= 0 ;
33892 PyObject
* obj2
= 0 ;
33893 char * kwnames
[] = {
33894 (char *) "self",(char *) "x",(char *) "y", NULL
33897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33899 if (!SWIG_IsOK(res1
)) {
33900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33902 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33904 if (!SWIG_IsOK(ecode2
)) {
33905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33907 arg2
= static_cast< int >(val2
);
33908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33909 if (!SWIG_IsOK(ecode3
)) {
33910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33912 arg3
= static_cast< int >(val3
);
33914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33915 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33928 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33929 PyObject
*resultobj
= 0;
33930 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33933 wxDragResult arg4
;
33934 wxDragResult result
;
33943 PyObject
* obj0
= 0 ;
33944 PyObject
* obj1
= 0 ;
33945 PyObject
* obj2
= 0 ;
33946 PyObject
* obj3
= 0 ;
33947 char * kwnames
[] = {
33948 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33953 if (!SWIG_IsOK(res1
)) {
33954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33956 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33958 if (!SWIG_IsOK(ecode2
)) {
33959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33961 arg2
= static_cast< int >(val2
);
33962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33963 if (!SWIG_IsOK(ecode3
)) {
33964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33966 arg3
= static_cast< int >(val3
);
33967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33968 if (!SWIG_IsOK(ecode4
)) {
33969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33971 arg4
= static_cast< wxDragResult
>(val4
);
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33975 wxPyEndAllowThreads(__tstate
);
33976 if (PyErr_Occurred()) SWIG_fail
;
33978 resultobj
= SWIG_From_int(static_cast< int >(result
));
33985 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33988 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
33989 return SWIG_Py_Void();
33992 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33993 return SWIG_Python_InitShadowInstance(args
);
33996 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33997 PyObject
*resultobj
= 0;
33998 wxClipboard
*result
= 0 ;
34000 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 result
= (wxClipboard
*)new wxClipboard();
34004 wxPyEndAllowThreads(__tstate
);
34005 if (PyErr_Occurred()) SWIG_fail
;
34007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
34014 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34015 PyObject
*resultobj
= 0;
34016 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34019 PyObject
*swig_obj
[1] ;
34021 if (!args
) SWIG_fail
;
34022 swig_obj
[0] = args
;
34023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34024 if (!SWIG_IsOK(res1
)) {
34025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34027 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34032 wxPyEndAllowThreads(__tstate
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34035 resultobj
= SWIG_Py_Void();
34042 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34043 PyObject
*resultobj
= 0;
34044 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34048 PyObject
*swig_obj
[1] ;
34050 if (!args
) SWIG_fail
;
34051 swig_obj
[0] = args
;
34052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34053 if (!SWIG_IsOK(res1
)) {
34054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34056 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (bool)(arg1
)->Open();
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34072 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34073 PyObject
*resultobj
= 0;
34074 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34077 PyObject
*swig_obj
[1] ;
34079 if (!args
) SWIG_fail
;
34080 swig_obj
[0] = args
;
34081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34082 if (!SWIG_IsOK(res1
)) {
34083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34085 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34092 resultobj
= SWIG_Py_Void();
34099 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34100 PyObject
*resultobj
= 0;
34101 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34105 PyObject
*swig_obj
[1] ;
34107 if (!args
) SWIG_fail
;
34108 swig_obj
[0] = args
;
34109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34110 if (!SWIG_IsOK(res1
)) {
34111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34113 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34116 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34117 wxPyEndAllowThreads(__tstate
);
34118 if (PyErr_Occurred()) SWIG_fail
;
34121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34129 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34130 PyObject
*resultobj
= 0;
34131 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34132 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34137 PyObject
* obj0
= 0 ;
34138 PyObject
* obj1
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "self",(char *) "data", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34148 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34149 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34150 if (!SWIG_IsOK(res2
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34155 result
= (bool)(arg1
)->AddData(arg2
);
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34168 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34169 PyObject
*resultobj
= 0;
34170 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34171 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34176 PyObject
* obj0
= 0 ;
34177 PyObject
* obj1
= 0 ;
34178 char * kwnames
[] = {
34179 (char *) "self",(char *) "data", NULL
34182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34184 if (!SWIG_IsOK(res1
)) {
34185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34187 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34188 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34189 if (!SWIG_IsOK(res2
)) {
34190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 result
= (bool)(arg1
)->SetData(arg2
);
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34207 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34208 PyObject
*resultobj
= 0;
34209 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34210 wxDataFormat
*arg2
= 0 ;
34216 PyObject
* obj0
= 0 ;
34217 PyObject
* obj1
= 0 ;
34218 char * kwnames
[] = {
34219 (char *) "self",(char *) "format", NULL
34222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34224 if (!SWIG_IsOK(res1
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34227 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34229 if (!SWIG_IsOK(res2
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34235 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34238 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34239 wxPyEndAllowThreads(__tstate
);
34240 if (PyErr_Occurred()) SWIG_fail
;
34243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34251 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34252 PyObject
*resultobj
= 0;
34253 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34254 wxDataObject
*arg2
= 0 ;
34260 PyObject
* obj0
= 0 ;
34261 PyObject
* obj1
= 0 ;
34262 char * kwnames
[] = {
34263 (char *) "self",(char *) "data", NULL
34266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34268 if (!SWIG_IsOK(res1
)) {
34269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34271 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34273 if (!SWIG_IsOK(res2
)) {
34274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34279 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 result
= (bool)(arg1
)->GetData(*arg2
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34295 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34296 PyObject
*resultobj
= 0;
34297 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34300 PyObject
*swig_obj
[1] ;
34302 if (!args
) SWIG_fail
;
34303 swig_obj
[0] = args
;
34304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34305 if (!SWIG_IsOK(res1
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34308 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34312 wxPyEndAllowThreads(__tstate
);
34313 if (PyErr_Occurred()) SWIG_fail
;
34315 resultobj
= SWIG_Py_Void();
34322 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34323 PyObject
*resultobj
= 0;
34324 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34328 PyObject
*swig_obj
[1] ;
34330 if (!args
) SWIG_fail
;
34331 swig_obj
[0] = args
;
34332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34333 if (!SWIG_IsOK(res1
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34336 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34339 result
= (bool)(arg1
)->Flush();
34340 wxPyEndAllowThreads(__tstate
);
34341 if (PyErr_Occurred()) SWIG_fail
;
34344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34352 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
= 0;
34354 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34355 bool arg2
= (bool) true ;
34360 PyObject
* obj0
= 0 ;
34361 PyObject
* obj1
= 0 ;
34362 char * kwnames
[] = {
34363 (char *) "self",(char *) "primary", NULL
34366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34368 if (!SWIG_IsOK(res1
)) {
34369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34371 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34374 if (!SWIG_IsOK(ecode2
)) {
34375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34377 arg2
= static_cast< bool >(val2
);
34380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34381 (arg1
)->UsePrimarySelection(arg2
);
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34385 resultobj
= SWIG_Py_Void();
34392 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34393 PyObject
*resultobj
= 0;
34394 wxClipboard
*result
= 0 ;
34396 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 result
= (wxClipboard
*)wxClipboard::Get();
34400 wxPyEndAllowThreads(__tstate
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34410 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34413 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34414 return SWIG_Py_Void();
34417 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34418 return SWIG_Python_InitShadowInstance(args
);
34421 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34422 PyObject
*resultobj
= 0;
34423 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34424 wxClipboardLocker
*result
= 0 ;
34427 PyObject
* obj0
= 0 ;
34428 char * kwnames
[] = {
34429 (char *) "clipboard", NULL
34432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34435 if (!SWIG_IsOK(res1
)) {
34436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34438 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34442 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34453 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34454 PyObject
*resultobj
= 0;
34455 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34458 PyObject
*swig_obj
[1] ;
34460 if (!args
) SWIG_fail
;
34461 swig_obj
[0] = args
;
34462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34463 if (!SWIG_IsOK(res1
)) {
34464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34466 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= SWIG_Py_Void();
34481 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34482 PyObject
*resultobj
= 0;
34483 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34487 PyObject
*swig_obj
[1] ;
34489 if (!args
) SWIG_fail
;
34490 swig_obj
[0] = args
;
34491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34492 if (!SWIG_IsOK(res1
)) {
34493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34495 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34511 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34514 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34515 return SWIG_Py_Void();
34518 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34519 return SWIG_Python_InitShadowInstance(args
);
34522 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34523 PyObject
*resultobj
= 0;
34524 int arg1
= (int) 0 ;
34525 int arg2
= (int) 0 ;
34526 int arg3
= (int) 0 ;
34527 int arg4
= (int) 0 ;
34528 wxVideoMode
*result
= 0 ;
34537 PyObject
* obj0
= 0 ;
34538 PyObject
* obj1
= 0 ;
34539 PyObject
* obj2
= 0 ;
34540 PyObject
* obj3
= 0 ;
34541 char * kwnames
[] = {
34542 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34547 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34548 if (!SWIG_IsOK(ecode1
)) {
34549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34551 arg1
= static_cast< int >(val1
);
34554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34555 if (!SWIG_IsOK(ecode2
)) {
34556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34558 arg2
= static_cast< int >(val2
);
34561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34562 if (!SWIG_IsOK(ecode3
)) {
34563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34565 arg3
= static_cast< int >(val3
);
34568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34569 if (!SWIG_IsOK(ecode4
)) {
34570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34572 arg4
= static_cast< int >(val4
);
34575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34576 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34587 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34588 PyObject
*resultobj
= 0;
34589 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34592 PyObject
*swig_obj
[1] ;
34594 if (!args
) SWIG_fail
;
34595 swig_obj
[0] = args
;
34596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34597 if (!SWIG_IsOK(res1
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34600 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34608 resultobj
= SWIG_Py_Void();
34615 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
= 0;
34617 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34618 wxVideoMode
*arg2
= 0 ;
34624 PyObject
* obj0
= 0 ;
34625 PyObject
* obj1
= 0 ;
34626 char * kwnames
[] = {
34627 (char *) "self",(char *) "other", NULL
34630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34632 if (!SWIG_IsOK(res1
)) {
34633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34635 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34637 if (!SWIG_IsOK(res2
)) {
34638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34643 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34646 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34647 wxPyEndAllowThreads(__tstate
);
34648 if (PyErr_Occurred()) SWIG_fail
;
34651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34659 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34660 PyObject
*resultobj
= 0;
34661 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34665 PyObject
*swig_obj
[1] ;
34667 if (!args
) SWIG_fail
;
34668 swig_obj
[0] = args
;
34669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34670 if (!SWIG_IsOK(res1
)) {
34671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34673 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34676 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34680 resultobj
= SWIG_From_int(static_cast< int >(result
));
34687 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34688 PyObject
*resultobj
= 0;
34689 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34693 PyObject
*swig_obj
[1] ;
34695 if (!args
) SWIG_fail
;
34696 swig_obj
[0] = args
;
34697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34698 if (!SWIG_IsOK(res1
)) {
34699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34701 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34704 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34705 wxPyEndAllowThreads(__tstate
);
34706 if (PyErr_Occurred()) SWIG_fail
;
34708 resultobj
= SWIG_From_int(static_cast< int >(result
));
34715 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34716 PyObject
*resultobj
= 0;
34717 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34721 PyObject
*swig_obj
[1] ;
34723 if (!args
) SWIG_fail
;
34724 swig_obj
[0] = args
;
34725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34726 if (!SWIG_IsOK(res1
)) {
34727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34729 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34733 wxPyEndAllowThreads(__tstate
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34736 resultobj
= SWIG_From_int(static_cast< int >(result
));
34743 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34744 PyObject
*resultobj
= 0;
34745 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34749 PyObject
*swig_obj
[1] ;
34751 if (!args
) SWIG_fail
;
34752 swig_obj
[0] = args
;
34753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34754 if (!SWIG_IsOK(res1
)) {
34755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34757 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34760 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34761 wxPyEndAllowThreads(__tstate
);
34762 if (PyErr_Occurred()) SWIG_fail
;
34765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34773 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
= 0;
34775 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34776 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34782 PyObject
* obj0
= 0 ;
34783 PyObject
* obj1
= 0 ;
34784 char * kwnames
[] = {
34785 (char *) "self",(char *) "other", NULL
34788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34790 if (!SWIG_IsOK(res1
)) {
34791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34793 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34795 if (!SWIG_IsOK(res2
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34798 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34802 wxPyEndAllowThreads(__tstate
);
34803 if (PyErr_Occurred()) SWIG_fail
;
34806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34814 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34815 PyObject
*resultobj
= 0;
34816 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34817 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34823 PyObject
* obj0
= 0 ;
34824 PyObject
* obj1
= 0 ;
34825 char * kwnames
[] = {
34826 (char *) "self",(char *) "other", NULL
34829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34831 if (!SWIG_IsOK(res1
)) {
34832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34834 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34836 if (!SWIG_IsOK(res2
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34839 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34855 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34856 PyObject
*resultobj
= 0;
34857 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34863 PyObject
*swig_obj
[2] ;
34865 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34867 if (!SWIG_IsOK(res1
)) {
34868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34870 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34871 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34872 if (!SWIG_IsOK(ecode2
)) {
34873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34875 arg2
= static_cast< int >(val2
);
34876 if (arg1
) (arg1
)->w
= arg2
;
34878 resultobj
= SWIG_Py_Void();
34885 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34886 PyObject
*resultobj
= 0;
34887 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34891 PyObject
*swig_obj
[1] ;
34893 if (!args
) SWIG_fail
;
34894 swig_obj
[0] = args
;
34895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34896 if (!SWIG_IsOK(res1
)) {
34897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34899 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34900 result
= (int) ((arg1
)->w
);
34901 resultobj
= SWIG_From_int(static_cast< int >(result
));
34908 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34909 PyObject
*resultobj
= 0;
34910 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34916 PyObject
*swig_obj
[2] ;
34918 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34920 if (!SWIG_IsOK(res1
)) {
34921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34923 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34924 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34925 if (!SWIG_IsOK(ecode2
)) {
34926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34928 arg2
= static_cast< int >(val2
);
34929 if (arg1
) (arg1
)->h
= arg2
;
34931 resultobj
= SWIG_Py_Void();
34938 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34939 PyObject
*resultobj
= 0;
34940 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34944 PyObject
*swig_obj
[1] ;
34946 if (!args
) SWIG_fail
;
34947 swig_obj
[0] = args
;
34948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34949 if (!SWIG_IsOK(res1
)) {
34950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34952 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34953 result
= (int) ((arg1
)->h
);
34954 resultobj
= SWIG_From_int(static_cast< int >(result
));
34961 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34962 PyObject
*resultobj
= 0;
34963 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34969 PyObject
*swig_obj
[2] ;
34971 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34973 if (!SWIG_IsOK(res1
)) {
34974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34976 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34977 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34978 if (!SWIG_IsOK(ecode2
)) {
34979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34981 arg2
= static_cast< int >(val2
);
34982 if (arg1
) (arg1
)->bpp
= arg2
;
34984 resultobj
= SWIG_Py_Void();
34991 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34992 PyObject
*resultobj
= 0;
34993 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34997 PyObject
*swig_obj
[1] ;
34999 if (!args
) SWIG_fail
;
35000 swig_obj
[0] = args
;
35001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35002 if (!SWIG_IsOK(res1
)) {
35003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35005 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35006 result
= (int) ((arg1
)->bpp
);
35007 resultobj
= SWIG_From_int(static_cast< int >(result
));
35014 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35015 PyObject
*resultobj
= 0;
35016 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35022 PyObject
*swig_obj
[2] ;
35024 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35026 if (!SWIG_IsOK(res1
)) {
35027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35029 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35030 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35031 if (!SWIG_IsOK(ecode2
)) {
35032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35034 arg2
= static_cast< int >(val2
);
35035 if (arg1
) (arg1
)->refresh
= arg2
;
35037 resultobj
= SWIG_Py_Void();
35044 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35045 PyObject
*resultobj
= 0;
35046 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35050 PyObject
*swig_obj
[1] ;
35052 if (!args
) SWIG_fail
;
35053 swig_obj
[0] = args
;
35054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35055 if (!SWIG_IsOK(res1
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35058 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35059 result
= (int) ((arg1
)->refresh
);
35060 resultobj
= SWIG_From_int(static_cast< int >(result
));
35067 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35070 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35071 return SWIG_Py_Void();
35074 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35075 return SWIG_Python_InitShadowInstance(args
);
35078 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35079 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35084 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35085 PyObject
*pyobj
= 0;
35087 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35092 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35093 PyObject
*resultobj
= 0;
35094 size_t arg1
= (size_t) 0 ;
35095 wxDisplay
*result
= 0 ;
35098 PyObject
* obj0
= 0 ;
35099 char * kwnames
[] = {
35100 (char *) "index", NULL
35103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35105 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35106 if (!SWIG_IsOK(ecode1
)) {
35107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35109 arg1
= static_cast< size_t >(val1
);
35112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35113 result
= (wxDisplay
*)new wxDisplay(arg1
);
35114 wxPyEndAllowThreads(__tstate
);
35115 if (PyErr_Occurred()) SWIG_fail
;
35117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35124 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35125 PyObject
*resultobj
= 0;
35126 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35129 PyObject
*swig_obj
[1] ;
35131 if (!args
) SWIG_fail
;
35132 swig_obj
[0] = args
;
35133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35134 if (!SWIG_IsOK(res1
)) {
35135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35137 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35142 wxPyEndAllowThreads(__tstate
);
35143 if (PyErr_Occurred()) SWIG_fail
;
35145 resultobj
= SWIG_Py_Void();
35152 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35153 PyObject
*resultobj
= 0;
35156 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35159 result
= (size_t)wxDisplay::GetCount();
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35163 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35170 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
= 0;
35172 wxPoint
*arg1
= 0 ;
35175 PyObject
* obj0
= 0 ;
35176 char * kwnames
[] = {
35177 (char *) "pt", NULL
35180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35183 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35187 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35188 wxPyEndAllowThreads(__tstate
);
35189 if (PyErr_Occurred()) SWIG_fail
;
35191 resultobj
= SWIG_From_int(static_cast< int >(result
));
35198 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35199 PyObject
*resultobj
= 0;
35200 wxWindow
*arg1
= (wxWindow
*) 0 ;
35204 PyObject
* obj0
= 0 ;
35205 char * kwnames
[] = {
35206 (char *) "window", NULL
35209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35211 if (!SWIG_IsOK(res1
)) {
35212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35214 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35217 result
= (int)wxDisplay::GetFromWindow(arg1
);
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 resultobj
= SWIG_From_int(static_cast< int >(result
));
35228 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35229 PyObject
*resultobj
= 0;
35230 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35234 PyObject
*swig_obj
[1] ;
35236 if (!args
) SWIG_fail
;
35237 swig_obj
[0] = args
;
35238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35239 if (!SWIG_IsOK(res1
)) {
35240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35242 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35245 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35246 wxPyEndAllowThreads(__tstate
);
35247 if (PyErr_Occurred()) SWIG_fail
;
35250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35258 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35259 PyObject
*resultobj
= 0;
35260 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35264 PyObject
*swig_obj
[1] ;
35266 if (!args
) SWIG_fail
;
35267 swig_obj
[0] = args
;
35268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35269 if (!SWIG_IsOK(res1
)) {
35270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35272 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35275 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35279 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35286 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35287 PyObject
*resultobj
= 0;
35288 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35292 PyObject
*swig_obj
[1] ;
35294 if (!args
) SWIG_fail
;
35295 swig_obj
[0] = args
;
35296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35297 if (!SWIG_IsOK(res1
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35300 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35303 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35304 wxPyEndAllowThreads(__tstate
);
35305 if (PyErr_Occurred()) SWIG_fail
;
35307 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35314 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35315 PyObject
*resultobj
= 0;
35316 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35320 PyObject
*swig_obj
[1] ;
35322 if (!args
) SWIG_fail
;
35323 swig_obj
[0] = args
;
35324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35325 if (!SWIG_IsOK(res1
)) {
35326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35328 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 result
= ((wxDisplay
const *)arg1
)->GetName();
35332 wxPyEndAllowThreads(__tstate
);
35333 if (PyErr_Occurred()) SWIG_fail
;
35337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35348 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35349 PyObject
*resultobj
= 0;
35350 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35354 PyObject
*swig_obj
[1] ;
35356 if (!args
) SWIG_fail
;
35357 swig_obj
[0] = args
;
35358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35359 if (!SWIG_IsOK(res1
)) {
35360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35362 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35378 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35379 PyObject
*resultobj
= 0;
35380 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35381 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35382 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35383 PyObject
*result
= 0 ;
35388 PyObject
* obj0
= 0 ;
35389 PyObject
* obj1
= 0 ;
35390 char * kwnames
[] = {
35391 (char *) "self",(char *) "mode", NULL
35394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35396 if (!SWIG_IsOK(res1
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35399 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35402 if (!SWIG_IsOK(res2
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35408 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35412 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35413 wxPyEndAllowThreads(__tstate
);
35414 if (PyErr_Occurred()) SWIG_fail
;
35416 resultobj
= result
;
35423 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35424 PyObject
*resultobj
= 0;
35425 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35426 wxVideoMode result
;
35429 PyObject
*swig_obj
[1] ;
35431 if (!args
) SWIG_fail
;
35432 swig_obj
[0] = args
;
35433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35434 if (!SWIG_IsOK(res1
)) {
35435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35437 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35440 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35451 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
= 0;
35453 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35454 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35455 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35461 PyObject
* obj0
= 0 ;
35462 PyObject
* obj1
= 0 ;
35463 char * kwnames
[] = {
35464 (char *) "self",(char *) "mode", NULL
35467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35469 if (!SWIG_IsOK(res1
)) {
35470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35472 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35475 if (!SWIG_IsOK(res2
)) {
35476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35481 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35485 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35486 wxPyEndAllowThreads(__tstate
);
35487 if (PyErr_Occurred()) SWIG_fail
;
35490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35498 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35499 PyObject
*resultobj
= 0;
35500 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35503 PyObject
*swig_obj
[1] ;
35505 if (!args
) SWIG_fail
;
35506 swig_obj
[0] = args
;
35507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35508 if (!SWIG_IsOK(res1
)) {
35509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35511 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35514 wxDisplay_ResetMode(arg1
);
35515 wxPyEndAllowThreads(__tstate
);
35516 if (PyErr_Occurred()) SWIG_fail
;
35518 resultobj
= SWIG_Py_Void();
35525 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35528 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35529 return SWIG_Py_Void();
35532 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35533 return SWIG_Python_InitShadowInstance(args
);
35536 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35537 PyObject
*resultobj
= 0;
35538 wxStandardPaths
*result
= 0 ;
35540 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35554 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35555 PyObject
*resultobj
= 0;
35556 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35560 PyObject
*swig_obj
[1] ;
35562 if (!args
) SWIG_fail
;
35563 swig_obj
[0] = args
;
35564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35565 if (!SWIG_IsOK(res1
)) {
35566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35568 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35572 wxPyEndAllowThreads(__tstate
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35588 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35589 PyObject
*resultobj
= 0;
35590 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35594 PyObject
*swig_obj
[1] ;
35596 if (!args
) SWIG_fail
;
35597 swig_obj
[0] = args
;
35598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35599 if (!SWIG_IsOK(res1
)) {
35600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35602 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35622 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35623 PyObject
*resultobj
= 0;
35624 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35628 PyObject
*swig_obj
[1] ;
35630 if (!args
) SWIG_fail
;
35631 swig_obj
[0] = args
;
35632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35633 if (!SWIG_IsOK(res1
)) {
35634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35636 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35639 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35656 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35657 PyObject
*resultobj
= 0;
35658 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35662 PyObject
*swig_obj
[1] ;
35664 if (!args
) SWIG_fail
;
35665 swig_obj
[0] = args
;
35666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35667 if (!SWIG_IsOK(res1
)) {
35668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35670 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35690 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35691 PyObject
*resultobj
= 0;
35692 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35696 PyObject
*swig_obj
[1] ;
35698 if (!args
) SWIG_fail
;
35699 swig_obj
[0] = args
;
35700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35701 if (!SWIG_IsOK(res1
)) {
35702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35704 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35707 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35708 wxPyEndAllowThreads(__tstate
);
35709 if (PyErr_Occurred()) SWIG_fail
;
35713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35724 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35725 PyObject
*resultobj
= 0;
35726 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35730 PyObject
*swig_obj
[1] ;
35732 if (!args
) SWIG_fail
;
35733 swig_obj
[0] = args
;
35734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35735 if (!SWIG_IsOK(res1
)) {
35736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35738 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35742 wxPyEndAllowThreads(__tstate
);
35743 if (PyErr_Occurred()) SWIG_fail
;
35747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35758 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35759 PyObject
*resultobj
= 0;
35760 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35764 PyObject
*swig_obj
[1] ;
35766 if (!args
) SWIG_fail
;
35767 swig_obj
[0] = args
;
35768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35769 if (!SWIG_IsOK(res1
)) {
35770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35772 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35792 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35793 PyObject
*resultobj
= 0;
35794 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35798 PyObject
*swig_obj
[1] ;
35800 if (!args
) SWIG_fail
;
35801 swig_obj
[0] = args
;
35802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35803 if (!SWIG_IsOK(res1
)) {
35804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35806 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35809 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35826 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
= 0;
35828 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35829 wxString
*arg2
= 0 ;
35830 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35834 bool temp2
= false ;
35837 PyObject
* obj0
= 0 ;
35838 PyObject
* obj1
= 0 ;
35839 PyObject
* obj2
= 0 ;
35840 char * kwnames
[] = {
35841 (char *) "self",(char *) "lang",(char *) "category", NULL
35844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35846 if (!SWIG_IsOK(res1
)) {
35847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35849 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35851 arg2
= wxString_in_helper(obj1
);
35852 if (arg2
== NULL
) SWIG_fail
;
35856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35857 if (!SWIG_IsOK(ecode3
)) {
35858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35860 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35864 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35865 wxPyEndAllowThreads(__tstate
);
35866 if (PyErr_Occurred()) SWIG_fail
;
35870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35889 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35890 PyObject
*resultobj
= 0;
35891 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35895 PyObject
*swig_obj
[1] ;
35897 if (!args
) SWIG_fail
;
35898 swig_obj
[0] = args
;
35899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35900 if (!SWIG_IsOK(res1
)) {
35901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35903 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35906 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
35907 wxPyEndAllowThreads(__tstate
);
35908 if (PyErr_Occurred()) SWIG_fail
;
35912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35923 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35924 PyObject
*resultobj
= 0;
35925 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35926 wxString
*arg2
= 0 ;
35929 bool temp2
= false ;
35930 PyObject
* obj0
= 0 ;
35931 PyObject
* obj1
= 0 ;
35932 char * kwnames
[] = {
35933 (char *) "self",(char *) "prefix", NULL
35936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35938 if (!SWIG_IsOK(res1
)) {
35939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35941 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35943 arg2
= wxString_in_helper(obj1
);
35944 if (arg2
== NULL
) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
35950 wxPyEndAllowThreads(__tstate
);
35951 if (PyErr_Occurred()) SWIG_fail
;
35953 resultobj
= SWIG_Py_Void();
35968 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35969 PyObject
*resultobj
= 0;
35970 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35974 PyObject
*swig_obj
[1] ;
35976 if (!args
) SWIG_fail
;
35977 swig_obj
[0] = args
;
35978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35979 if (!SWIG_IsOK(res1
)) {
35980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35982 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 result
= wxStandardPaths_GetInstallPrefix(arg1
);
35986 wxPyEndAllowThreads(__tstate
);
35987 if (PyErr_Occurred()) SWIG_fail
;
35991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36002 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36005 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
36006 return SWIG_Py_Void();
36009 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36010 PyObject
*resultobj
= 0;
36012 wxPowerEvent
*result
= 0 ;
36015 PyObject
* obj0
= 0 ;
36016 char * kwnames
[] = {
36017 (char *) "evtType", NULL
36020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
36021 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36022 if (!SWIG_IsOK(ecode1
)) {
36023 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
36025 arg1
= static_cast< wxEventType
>(val1
);
36027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36028 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
36039 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36040 PyObject
*resultobj
= 0;
36041 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36044 PyObject
*swig_obj
[1] ;
36046 if (!args
) SWIG_fail
;
36047 swig_obj
[0] = args
;
36048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36049 if (!SWIG_IsOK(res1
)) {
36050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
36052 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36056 wxPyEndAllowThreads(__tstate
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36059 resultobj
= SWIG_Py_Void();
36066 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36067 PyObject
*resultobj
= 0;
36068 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36072 PyObject
*swig_obj
[1] ;
36074 if (!args
) SWIG_fail
;
36075 swig_obj
[0] = args
;
36076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36077 if (!SWIG_IsOK(res1
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
36080 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36083 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
36084 wxPyEndAllowThreads(__tstate
);
36085 if (PyErr_Occurred()) SWIG_fail
;
36088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36096 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36099 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
36100 return SWIG_Py_Void();
36103 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36104 return SWIG_Python_InitShadowInstance(args
);
36107 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36108 PyObject
*resultobj
= 0;
36109 wxPowerType result
;
36111 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
36113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36114 result
= (wxPowerType
)wxGetPowerType();
36115 wxPyEndAllowThreads(__tstate
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36118 resultobj
= SWIG_From_int(static_cast< int >(result
));
36125 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36126 PyObject
*resultobj
= 0;
36127 wxBatteryState result
;
36129 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 result
= (wxBatteryState
)wxGetBatteryState();
36133 wxPyEndAllowThreads(__tstate
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36136 resultobj
= SWIG_From_int(static_cast< int >(result
));
36143 static PyMethodDef SwigMethods
[] = {
36144 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36145 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36146 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36147 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36148 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
36149 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36150 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
36151 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
36152 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36153 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36154 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36155 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36156 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36159 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36160 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36161 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36162 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36163 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36164 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36165 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36167 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36168 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36170 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36171 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36172 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36173 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36174 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36175 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36176 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36177 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36178 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36179 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36183 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36184 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36185 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36186 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36187 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36188 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36189 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36190 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36191 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36192 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36193 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36194 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36195 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36196 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36197 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36198 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36199 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36200 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36201 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36202 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36203 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36204 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36205 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36206 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36207 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36208 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36209 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36211 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36213 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36214 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36215 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36217 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36221 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36222 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36223 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36224 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36225 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36226 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36227 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36228 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36229 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36230 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36231 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36232 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36233 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36234 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36235 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36236 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36237 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36238 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36239 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36240 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36241 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36242 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36243 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36244 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36245 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36246 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36247 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36248 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36249 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36250 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36251 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36252 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36253 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36254 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36255 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36256 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36257 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36258 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36259 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36260 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36261 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36263 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36264 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36265 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36266 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36267 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36268 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36269 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36270 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36271 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36273 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36274 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36275 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36277 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36278 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36280 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36281 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36282 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36283 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36284 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36285 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36287 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36288 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36289 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36290 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36291 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36292 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36293 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36294 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36295 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36296 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36297 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36298 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36299 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36300 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36302 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36305 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36309 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36310 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36311 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36313 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36314 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36315 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36316 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36317 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36318 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36320 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36321 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36322 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36324 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36325 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36326 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36328 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36329 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36331 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36332 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36333 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36334 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36335 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36336 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36337 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36339 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36341 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36342 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36343 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36344 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36345 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36346 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36347 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36348 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36349 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36350 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36351 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36352 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36353 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36354 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36356 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36357 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36358 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36359 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36360 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36363 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36364 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36365 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36367 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36368 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36371 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36375 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36376 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36378 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36379 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36381 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36382 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36383 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36384 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36385 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36386 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36387 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36388 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36389 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36391 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36392 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36393 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36394 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36395 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36396 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36397 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36398 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36399 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36400 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36402 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36403 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36407 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36408 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36409 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36410 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36411 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36412 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36413 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36414 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36415 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36419 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36425 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36426 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36428 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36430 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36431 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36432 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36433 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36434 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36436 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36437 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36444 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36445 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36446 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36447 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36448 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36449 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36450 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36451 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36452 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36453 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36454 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36455 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36457 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36458 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36459 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36460 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36461 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36462 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36463 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36464 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36468 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36469 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36470 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36471 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36472 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36473 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36474 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36475 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36476 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36477 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36479 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36480 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36481 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36482 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36483 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36484 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36485 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36486 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36487 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36488 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36489 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36490 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36491 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36492 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36493 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36494 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36495 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36496 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36497 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36498 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36499 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36500 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36501 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36502 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36503 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36504 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36505 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36506 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36507 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36508 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36510 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36511 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36512 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36514 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36515 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36516 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36517 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36518 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36519 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36524 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36525 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36526 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36530 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36531 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36534 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36537 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36540 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36541 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36542 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36545 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36546 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36549 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36550 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36551 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36552 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36553 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36554 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36555 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36556 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36557 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36558 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36559 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36561 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36562 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36563 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36564 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36565 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36566 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36567 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36573 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36575 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36576 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36577 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36578 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36580 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36585 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36589 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36590 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36591 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36592 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36593 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36596 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36601 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36602 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36603 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36604 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36606 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36607 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36608 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36610 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36611 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36613 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36622 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36634 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36636 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36638 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36640 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36641 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36645 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36646 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36648 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36649 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36650 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36652 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36653 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36654 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36656 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36657 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36658 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36659 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36662 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36673 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36677 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36678 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36679 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36680 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36686 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36687 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36691 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36692 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36716 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36717 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36718 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36719 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36720 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36732 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36733 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36759 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36760 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36761 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36762 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36775 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36776 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36777 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36778 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36779 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36780 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36782 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36784 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36786 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36788 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36790 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36792 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36794 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36798 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36799 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36803 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36814 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36815 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36816 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36820 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36821 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36822 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36823 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36824 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36825 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36826 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36827 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36828 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36830 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36832 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36834 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36836 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36838 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36843 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36844 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36845 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36846 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36847 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36850 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36854 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36862 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36863 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36864 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36865 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36866 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36867 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36870 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36871 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36872 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36874 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36875 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36877 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36878 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36879 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36887 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36889 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36891 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36892 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36894 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36895 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36898 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36899 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36900 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
36902 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36903 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36904 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36906 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36907 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36909 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36910 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36913 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36914 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36916 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36918 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36919 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36922 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36923 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36924 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36925 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36927 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36928 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36929 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36931 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36932 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36933 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36934 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36935 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36936 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36938 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36939 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36940 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
36942 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36943 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36944 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36946 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36947 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36948 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36950 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36954 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36955 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36958 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36959 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36963 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36965 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36967 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36968 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36969 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36970 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36974 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36975 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36978 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36979 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36980 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36985 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36988 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
36989 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
36990 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
36991 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
36992 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
36993 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
36994 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
36999 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
37000 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37001 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
37002 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
37003 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
37004 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
37006 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
37007 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
37008 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
37009 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
37011 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
37013 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
37014 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
37015 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
37016 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
37019 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
37020 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
37021 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
37022 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
37023 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
37024 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
37025 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
37026 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
37027 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
37028 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
37030 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
37031 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
37034 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
37035 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
37036 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
37037 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
37038 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
37040 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
37042 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
37043 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
37044 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
37045 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
37046 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
37047 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
37048 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
37049 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
37050 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
37051 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
37052 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
37053 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37054 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
37055 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37056 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
37057 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
37058 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37059 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
37060 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
37061 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
37062 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
37063 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
37064 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
37065 { NULL
, NULL
, 0, NULL
}
37069 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37071 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37074 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37075 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37077 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37078 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37080 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37081 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37083 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37084 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37086 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37087 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37089 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
37090 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
37092 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
37093 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
37095 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37096 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37098 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37099 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37101 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37102 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37104 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37105 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37107 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
37108 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
37110 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37111 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37113 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37114 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37116 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37117 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37119 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37120 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37122 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37123 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37125 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37126 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37128 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37129 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37131 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37132 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37134 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37137 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
37138 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37140 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37141 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37143 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37144 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37146 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37147 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37149 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37150 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37152 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37153 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37155 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37156 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37158 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37159 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37161 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37162 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37164 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37165 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37167 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37168 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37170 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37171 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37173 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37174 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37176 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37177 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37179 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37180 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37182 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37185 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37186 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37188 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37189 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37191 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37192 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37194 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37195 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37197 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37198 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37200 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37201 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37203 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37204 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37206 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37207 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37209 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37210 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37212 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37213 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37215 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37216 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37218 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37219 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37221 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37222 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37224 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37225 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37227 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37228 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37230 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37231 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37233 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37234 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37236 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37237 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37239 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37240 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37242 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37243 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37245 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37246 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37248 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37249 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37251 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37252 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37254 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37255 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37257 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37258 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37260 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37261 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37263 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37264 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37266 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37267 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37269 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37272 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37273 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37275 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37276 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37278 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37279 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37281 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37282 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37284 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37285 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37287 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37288 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37290 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37291 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37293 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37294 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37296 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37297 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37299 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37300 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37302 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37303 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37305 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37308 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37309 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37311 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37312 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37314 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37315 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37317 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37318 return (void *)((wxObject
*) ((wxSizer
*) x
));
37320 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37321 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37323 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37324 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37326 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37329 static void *_p_wxEventTo_p_wxObject(void *x
) {
37330 return (void *)((wxObject
*) ((wxEvent
*) x
));
37332 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37333 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37335 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37336 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37338 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37339 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37341 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37342 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37344 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37345 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37347 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37348 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37350 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37351 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37353 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37354 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37356 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37357 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37359 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37360 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37362 static void *_p_wxControlTo_p_wxObject(void *x
) {
37363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37365 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37366 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37368 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37369 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37371 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
37372 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
37374 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37375 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37377 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37378 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37380 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37381 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37383 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37384 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37386 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37389 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37390 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37392 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37393 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37395 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37396 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37398 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37399 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37401 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37402 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37404 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37405 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37407 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37408 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37410 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37411 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37413 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37414 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37416 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37417 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37419 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37420 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37422 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37423 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37425 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37426 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37428 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37431 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37432 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37434 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37437 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37440 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37441 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37443 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37444 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37446 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37447 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37449 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37452 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37455 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37456 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37458 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37461 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37464 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37465 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37467 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37468 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37470 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37471 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37473 static void *_p_wxImageTo_p_wxObject(void *x
) {
37474 return (void *)((wxObject
*) ((wxImage
*) x
));
37476 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37477 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37479 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37480 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37482 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37483 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37485 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37488 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37489 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37491 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37492 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37494 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37495 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37497 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37498 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37500 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37503 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37504 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37506 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37507 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37509 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37512 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37513 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37515 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37516 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37518 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37519 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37521 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37522 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37524 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37525 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37527 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37528 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37530 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37533 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37534 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37536 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37537 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37539 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37540 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37542 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37545 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37546 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37548 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37551 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37554 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37555 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37557 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37558 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37560 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37561 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37563 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37564 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37566 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37567 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37569 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37570 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37572 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37573 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37575 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37576 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37578 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37579 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37581 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37582 return (void *)((wxWindow
*) ((wxControl
*) x
));
37584 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37585 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37587 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37588 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37590 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37591 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37593 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37594 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37596 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37597 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};
37598 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37599 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37600 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37601 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37602 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37603 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37604 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37605 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37606 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37607 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37608 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37609 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37610 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37611 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37612 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37613 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37614 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37615 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37616 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37617 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37618 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37619 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37620 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37621 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37622 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37623 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37624 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37625 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37626 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37627 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37628 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37629 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37630 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37631 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37632 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37633 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37634 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37635 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37636 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37637 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37638 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37639 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37640 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37641 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37642 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37643 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37644 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37645 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37646 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37647 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37648 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37649 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37650 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37651 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37652 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37653 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37654 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37655 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37656 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37657 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37658 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37659 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37660 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37661 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37662 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37663 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37664 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37665 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37666 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37667 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37668 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37669 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37670 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37671 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37672 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37673 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37674 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37675 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37676 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37677 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37678 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37679 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37680 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37681 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37682 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37683 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37684 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37685 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37686 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37687 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37688 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37689 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37690 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37691 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37692 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37693 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37694 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37695 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37696 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37697 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37698 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37699 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37700 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37701 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37702 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37703 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37704 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37705 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37706 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37707 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37708 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37709 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37710 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37711 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37712 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37713 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37714 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37715 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37716 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37717 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37718 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37719 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37720 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37721 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37722 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37723 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37724 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37725 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37726 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37727 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37728 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37729 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37730 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37731 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37732 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37733 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
37734 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37735 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37736 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37737 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37738 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37739 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37740 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37741 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37742 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37743 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37744 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37745 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37746 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37747 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37748 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37749 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37750 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37751 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37752 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37753 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37754 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37755 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37756 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37757 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37758 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37759 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37760 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37761 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37762 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37763 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37764 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37765 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37766 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37767 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37769 static swig_type_info
*swig_type_initial
[] = {
37771 &_swigt__p_form_ops_t
,
37773 &_swigt__p_unsigned_char
,
37774 &_swigt__p_unsigned_int
,
37775 &_swigt__p_unsigned_long
,
37777 &_swigt__p_wxANIHandler
,
37778 &_swigt__p_wxAcceleratorTable
,
37779 &_swigt__p_wxActivateEvent
,
37780 &_swigt__p_wxArrayString
,
37781 &_swigt__p_wxBMPHandler
,
37782 &_swigt__p_wxBitmap
,
37783 &_swigt__p_wxBitmapDataObject
,
37784 &_swigt__p_wxBoxSizer
,
37785 &_swigt__p_wxBusyCursor
,
37786 &_swigt__p_wxBusyInfo
,
37787 &_swigt__p_wxCURHandler
,
37788 &_swigt__p_wxCaret
,
37790 &_swigt__p_wxChildFocusEvent
,
37791 &_swigt__p_wxClipboard
,
37792 &_swigt__p_wxClipboardLocker
,
37793 &_swigt__p_wxClipboardTextEvent
,
37794 &_swigt__p_wxCloseEvent
,
37795 &_swigt__p_wxColour
,
37796 &_swigt__p_wxCommandEvent
,
37797 &_swigt__p_wxConfig
,
37798 &_swigt__p_wxConfigBase
,
37799 &_swigt__p_wxConfigPathChanger
,
37800 &_swigt__p_wxContextMenuEvent
,
37801 &_swigt__p_wxControl
,
37802 &_swigt__p_wxControlWithItems
,
37803 &_swigt__p_wxCursor
,
37804 &_swigt__p_wxCustomDataObject
,
37806 &_swigt__p_wxDataFormat
,
37807 &_swigt__p_wxDataObject
,
37808 &_swigt__p_wxDataObjectComposite
,
37809 &_swigt__p_wxDataObjectSimple
,
37810 &_swigt__p_wxDateEvent
,
37811 &_swigt__p_wxDateSpan
,
37812 &_swigt__p_wxDateTime
,
37813 &_swigt__p_wxDateTime__TimeZone
,
37814 &_swigt__p_wxDisplay
,
37815 &_swigt__p_wxDisplayChangedEvent
,
37816 &_swigt__p_wxDropFilesEvent
,
37817 &_swigt__p_wxDuplexMode
,
37818 &_swigt__p_wxEraseEvent
,
37819 &_swigt__p_wxEvent
,
37820 &_swigt__p_wxEvtHandler
,
37821 &_swigt__p_wxFSFile
,
37822 &_swigt__p_wxFileConfig
,
37823 &_swigt__p_wxFileDataObject
,
37824 &_swigt__p_wxFileHistory
,
37825 &_swigt__p_wxFileSystem
,
37826 &_swigt__p_wxFileType
,
37827 &_swigt__p_wxFileTypeInfo
,
37828 &_swigt__p_wxFlexGridSizer
,
37829 &_swigt__p_wxFocusEvent
,
37831 &_swigt__p_wxFrame
,
37832 &_swigt__p_wxGBSizerItem
,
37833 &_swigt__p_wxGIFHandler
,
37834 &_swigt__p_wxGridBagSizer
,
37835 &_swigt__p_wxGridSizer
,
37836 &_swigt__p_wxICOHandler
,
37838 &_swigt__p_wxIconizeEvent
,
37839 &_swigt__p_wxIdleEvent
,
37840 &_swigt__p_wxImage
,
37841 &_swigt__p_wxImageHandler
,
37842 &_swigt__p_wxIndividualLayoutConstraint
,
37843 &_swigt__p_wxInitDialogEvent
,
37844 &_swigt__p_wxJPEGHandler
,
37845 &_swigt__p_wxJoystick
,
37846 &_swigt__p_wxJoystickEvent
,
37847 &_swigt__p_wxKeyEvent
,
37848 &_swigt__p_wxKillError
,
37849 &_swigt__p_wxLayoutConstraints
,
37851 &_swigt__p_wxLogBuffer
,
37852 &_swigt__p_wxLogChain
,
37853 &_swigt__p_wxLogGui
,
37854 &_swigt__p_wxLogNull
,
37855 &_swigt__p_wxLogStderr
,
37856 &_swigt__p_wxLogTextCtrl
,
37857 &_swigt__p_wxLogWindow
,
37858 &_swigt__p_wxMaximizeEvent
,
37859 &_swigt__p_wxMemorySize
,
37861 &_swigt__p_wxMenuBar
,
37862 &_swigt__p_wxMenuEvent
,
37863 &_swigt__p_wxMenuItem
,
37864 &_swigt__p_wxMetafile
,
37865 &_swigt__p_wxMetafileDataObject
,
37866 &_swigt__p_wxMimeTypesManager
,
37867 &_swigt__p_wxMouseCaptureChangedEvent
,
37868 &_swigt__p_wxMouseEvent
,
37869 &_swigt__p_wxMouseState
,
37870 &_swigt__p_wxMoveEvent
,
37871 &_swigt__p_wxMutexGuiLocker
,
37872 &_swigt__p_wxNavigationKeyEvent
,
37873 &_swigt__p_wxNcPaintEvent
,
37874 &_swigt__p_wxNotifyEvent
,
37875 &_swigt__p_wxObject
,
37876 &_swigt__p_wxOutputStream
,
37877 &_swigt__p_wxPCXHandler
,
37878 &_swigt__p_wxPNGHandler
,
37879 &_swigt__p_wxPNMHandler
,
37880 &_swigt__p_wxPaintEvent
,
37881 &_swigt__p_wxPaletteChangedEvent
,
37882 &_swigt__p_wxPaperSize
,
37883 &_swigt__p_wxPoint
,
37884 &_swigt__p_wxPowerEvent
,
37885 &_swigt__p_wxProcessEvent
,
37886 &_swigt__p_wxPyApp
,
37887 &_swigt__p_wxPyArtProvider
,
37888 &_swigt__p_wxPyBitmapDataObject
,
37889 &_swigt__p_wxPyCommandEvent
,
37890 &_swigt__p_wxPyDataObjectSimple
,
37891 &_swigt__p_wxPyDropSource
,
37892 &_swigt__p_wxPyDropTarget
,
37893 &_swigt__p_wxPyEvent
,
37894 &_swigt__p_wxPyFileDropTarget
,
37895 &_swigt__p_wxPyImageHandler
,
37896 &_swigt__p_wxPyLog
,
37897 &_swigt__p_wxPyProcess
,
37898 &_swigt__p_wxPySizer
,
37899 &_swigt__p_wxPyTextDataObject
,
37900 &_swigt__p_wxPyTextDropTarget
,
37901 &_swigt__p_wxPyTimer
,
37902 &_swigt__p_wxPyTipProvider
,
37903 &_swigt__p_wxPyValidator
,
37904 &_swigt__p_wxQueryNewPaletteEvent
,
37906 &_swigt__p_wxScrollEvent
,
37907 &_swigt__p_wxScrollWinEvent
,
37908 &_swigt__p_wxSetCursorEvent
,
37909 &_swigt__p_wxShowEvent
,
37910 &_swigt__p_wxSingleInstanceChecker
,
37912 &_swigt__p_wxSizeEvent
,
37913 &_swigt__p_wxSizer
,
37914 &_swigt__p_wxSizerItem
,
37915 &_swigt__p_wxSound
,
37916 &_swigt__p_wxStandardPaths
,
37917 &_swigt__p_wxStaticBoxSizer
,
37918 &_swigt__p_wxStdDialogButtonSizer
,
37919 &_swigt__p_wxStopWatch
,
37920 &_swigt__p_wxString
,
37921 &_swigt__p_wxSysColourChangedEvent
,
37922 &_swigt__p_wxSystemOptions
,
37923 &_swigt__p_wxSystemSettings
,
37924 &_swigt__p_wxTIFFHandler
,
37925 &_swigt__p_wxTextCtrl
,
37926 &_swigt__p_wxTextDataObject
,
37927 &_swigt__p_wxTimeSpan
,
37928 &_swigt__p_wxTimer
,
37929 &_swigt__p_wxTimerEvent
,
37930 &_swigt__p_wxTimerRunner
,
37931 &_swigt__p_wxTipProvider
,
37932 &_swigt__p_wxToolTip
,
37933 &_swigt__p_wxURLDataObject
,
37934 &_swigt__p_wxUpdateUIEvent
,
37935 &_swigt__p_wxValidator
,
37936 &_swigt__p_wxVideoMode
,
37937 &_swigt__p_wxWindow
,
37938 &_swigt__p_wxWindowCreateEvent
,
37939 &_swigt__p_wxWindowDestroyEvent
,
37940 &_swigt__p_wxWindowDisabler
,
37941 &_swigt__p_wxXPMHandler
,
37944 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37945 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37946 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37947 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37948 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37949 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37950 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37951 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37952 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37953 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}};
37954 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37955 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37956 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37957 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37958 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37959 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37960 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37961 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37962 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}};
37963 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37964 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37965 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37966 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37967 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37968 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}};
37969 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37970 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}};
37971 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37972 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37973 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37974 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37975 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37976 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37977 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37978 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37979 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37980 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37981 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37982 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37983 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37984 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37985 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37986 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37987 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37988 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37989 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37990 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37991 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37992 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37993 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37994 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37995 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
37996 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37997 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37998 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37999 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38000 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38001 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38002 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38003 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38004 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38005 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38006 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38007 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38008 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38009 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38010 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38011 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38012 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38013 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}};
38014 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
38015 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
38016 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38017 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38018 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
38019 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38020 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}};
38021 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
38022 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38023 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
38024 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
38025 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
38026 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38027 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
38028 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38029 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
38030 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
38031 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
38032 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}};
38033 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
38034 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
38035 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
38036 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
38037 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
38038 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38039 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
38040 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
38041 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38042 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
38043 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38044 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
38045 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
38046 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
38047 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38048 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38049 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38050 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38051 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38052 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38053 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38054 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38055 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38056 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38057 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38058 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38059 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38060 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38061 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38062 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38063 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38064 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38065 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38066 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38067 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38068 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38069 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38070 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38071 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38072 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38073 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38074 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38075 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38076 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38077 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}};
38078 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
38079 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38080 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38081 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38082 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
38083 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
38084 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38085 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
38086 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
38087 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}};
38088 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38089 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
38090 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
38091 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38092 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38093 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
38094 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
38095 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38096 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
38097 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38098 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
38099 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
38100 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
38101 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38102 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
38103 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
38104 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38105 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}};
38106 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
38107 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
38108 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38109 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
38110 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}};
38111 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
38112 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38113 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
38114 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}};
38115 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
38117 static swig_cast_info
*swig_cast_initial
[] = {
38119 _swigc__p_form_ops_t
,
38121 _swigc__p_unsigned_char
,
38122 _swigc__p_unsigned_int
,
38123 _swigc__p_unsigned_long
,
38125 _swigc__p_wxANIHandler
,
38126 _swigc__p_wxAcceleratorTable
,
38127 _swigc__p_wxActivateEvent
,
38128 _swigc__p_wxArrayString
,
38129 _swigc__p_wxBMPHandler
,
38130 _swigc__p_wxBitmap
,
38131 _swigc__p_wxBitmapDataObject
,
38132 _swigc__p_wxBoxSizer
,
38133 _swigc__p_wxBusyCursor
,
38134 _swigc__p_wxBusyInfo
,
38135 _swigc__p_wxCURHandler
,
38138 _swigc__p_wxChildFocusEvent
,
38139 _swigc__p_wxClipboard
,
38140 _swigc__p_wxClipboardLocker
,
38141 _swigc__p_wxClipboardTextEvent
,
38142 _swigc__p_wxCloseEvent
,
38143 _swigc__p_wxColour
,
38144 _swigc__p_wxCommandEvent
,
38145 _swigc__p_wxConfig
,
38146 _swigc__p_wxConfigBase
,
38147 _swigc__p_wxConfigPathChanger
,
38148 _swigc__p_wxContextMenuEvent
,
38149 _swigc__p_wxControl
,
38150 _swigc__p_wxControlWithItems
,
38151 _swigc__p_wxCursor
,
38152 _swigc__p_wxCustomDataObject
,
38154 _swigc__p_wxDataFormat
,
38155 _swigc__p_wxDataObject
,
38156 _swigc__p_wxDataObjectComposite
,
38157 _swigc__p_wxDataObjectSimple
,
38158 _swigc__p_wxDateEvent
,
38159 _swigc__p_wxDateSpan
,
38160 _swigc__p_wxDateTime
,
38161 _swigc__p_wxDateTime__TimeZone
,
38162 _swigc__p_wxDisplay
,
38163 _swigc__p_wxDisplayChangedEvent
,
38164 _swigc__p_wxDropFilesEvent
,
38165 _swigc__p_wxDuplexMode
,
38166 _swigc__p_wxEraseEvent
,
38168 _swigc__p_wxEvtHandler
,
38169 _swigc__p_wxFSFile
,
38170 _swigc__p_wxFileConfig
,
38171 _swigc__p_wxFileDataObject
,
38172 _swigc__p_wxFileHistory
,
38173 _swigc__p_wxFileSystem
,
38174 _swigc__p_wxFileType
,
38175 _swigc__p_wxFileTypeInfo
,
38176 _swigc__p_wxFlexGridSizer
,
38177 _swigc__p_wxFocusEvent
,
38180 _swigc__p_wxGBSizerItem
,
38181 _swigc__p_wxGIFHandler
,
38182 _swigc__p_wxGridBagSizer
,
38183 _swigc__p_wxGridSizer
,
38184 _swigc__p_wxICOHandler
,
38186 _swigc__p_wxIconizeEvent
,
38187 _swigc__p_wxIdleEvent
,
38189 _swigc__p_wxImageHandler
,
38190 _swigc__p_wxIndividualLayoutConstraint
,
38191 _swigc__p_wxInitDialogEvent
,
38192 _swigc__p_wxJPEGHandler
,
38193 _swigc__p_wxJoystick
,
38194 _swigc__p_wxJoystickEvent
,
38195 _swigc__p_wxKeyEvent
,
38196 _swigc__p_wxKillError
,
38197 _swigc__p_wxLayoutConstraints
,
38199 _swigc__p_wxLogBuffer
,
38200 _swigc__p_wxLogChain
,
38201 _swigc__p_wxLogGui
,
38202 _swigc__p_wxLogNull
,
38203 _swigc__p_wxLogStderr
,
38204 _swigc__p_wxLogTextCtrl
,
38205 _swigc__p_wxLogWindow
,
38206 _swigc__p_wxMaximizeEvent
,
38207 _swigc__p_wxMemorySize
,
38209 _swigc__p_wxMenuBar
,
38210 _swigc__p_wxMenuEvent
,
38211 _swigc__p_wxMenuItem
,
38212 _swigc__p_wxMetafile
,
38213 _swigc__p_wxMetafileDataObject
,
38214 _swigc__p_wxMimeTypesManager
,
38215 _swigc__p_wxMouseCaptureChangedEvent
,
38216 _swigc__p_wxMouseEvent
,
38217 _swigc__p_wxMouseState
,
38218 _swigc__p_wxMoveEvent
,
38219 _swigc__p_wxMutexGuiLocker
,
38220 _swigc__p_wxNavigationKeyEvent
,
38221 _swigc__p_wxNcPaintEvent
,
38222 _swigc__p_wxNotifyEvent
,
38223 _swigc__p_wxObject
,
38224 _swigc__p_wxOutputStream
,
38225 _swigc__p_wxPCXHandler
,
38226 _swigc__p_wxPNGHandler
,
38227 _swigc__p_wxPNMHandler
,
38228 _swigc__p_wxPaintEvent
,
38229 _swigc__p_wxPaletteChangedEvent
,
38230 _swigc__p_wxPaperSize
,
38232 _swigc__p_wxPowerEvent
,
38233 _swigc__p_wxProcessEvent
,
38235 _swigc__p_wxPyArtProvider
,
38236 _swigc__p_wxPyBitmapDataObject
,
38237 _swigc__p_wxPyCommandEvent
,
38238 _swigc__p_wxPyDataObjectSimple
,
38239 _swigc__p_wxPyDropSource
,
38240 _swigc__p_wxPyDropTarget
,
38241 _swigc__p_wxPyEvent
,
38242 _swigc__p_wxPyFileDropTarget
,
38243 _swigc__p_wxPyImageHandler
,
38245 _swigc__p_wxPyProcess
,
38246 _swigc__p_wxPySizer
,
38247 _swigc__p_wxPyTextDataObject
,
38248 _swigc__p_wxPyTextDropTarget
,
38249 _swigc__p_wxPyTimer
,
38250 _swigc__p_wxPyTipProvider
,
38251 _swigc__p_wxPyValidator
,
38252 _swigc__p_wxQueryNewPaletteEvent
,
38254 _swigc__p_wxScrollEvent
,
38255 _swigc__p_wxScrollWinEvent
,
38256 _swigc__p_wxSetCursorEvent
,
38257 _swigc__p_wxShowEvent
,
38258 _swigc__p_wxSingleInstanceChecker
,
38260 _swigc__p_wxSizeEvent
,
38262 _swigc__p_wxSizerItem
,
38264 _swigc__p_wxStandardPaths
,
38265 _swigc__p_wxStaticBoxSizer
,
38266 _swigc__p_wxStdDialogButtonSizer
,
38267 _swigc__p_wxStopWatch
,
38268 _swigc__p_wxString
,
38269 _swigc__p_wxSysColourChangedEvent
,
38270 _swigc__p_wxSystemOptions
,
38271 _swigc__p_wxSystemSettings
,
38272 _swigc__p_wxTIFFHandler
,
38273 _swigc__p_wxTextCtrl
,
38274 _swigc__p_wxTextDataObject
,
38275 _swigc__p_wxTimeSpan
,
38277 _swigc__p_wxTimerEvent
,
38278 _swigc__p_wxTimerRunner
,
38279 _swigc__p_wxTipProvider
,
38280 _swigc__p_wxToolTip
,
38281 _swigc__p_wxURLDataObject
,
38282 _swigc__p_wxUpdateUIEvent
,
38283 _swigc__p_wxValidator
,
38284 _swigc__p_wxVideoMode
,
38285 _swigc__p_wxWindow
,
38286 _swigc__p_wxWindowCreateEvent
,
38287 _swigc__p_wxWindowDestroyEvent
,
38288 _swigc__p_wxWindowDisabler
,
38289 _swigc__p_wxXPMHandler
,
38293 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38295 static swig_const_info swig_const_table
[] = {
38296 {0, 0, 0, 0.0, 0, 0}};
38301 /* -----------------------------------------------------------------------------
38302 * Type initialization:
38303 * This problem is tough by the requirement that no dynamic
38304 * memory is used. Also, since swig_type_info structures store pointers to
38305 * swig_cast_info structures and swig_cast_info structures store pointers back
38306 * to swig_type_info structures, we need some lookup code at initialization.
38307 * The idea is that swig generates all the structures that are needed.
38308 * The runtime then collects these partially filled structures.
38309 * The SWIG_InitializeModule function takes these initial arrays out of
38310 * swig_module, and does all the lookup, filling in the swig_module.types
38311 * array with the correct data and linking the correct swig_cast_info
38312 * structures together.
38314 * The generated swig_type_info structures are assigned staticly to an initial
38315 * array. We just loop though that array, and handle each type individually.
38316 * First we lookup if this type has been already loaded, and if so, use the
38317 * loaded structure instead of the generated one. Then we have to fill in the
38318 * cast linked list. The cast data is initially stored in something like a
38319 * two-dimensional array. Each row corresponds to a type (there are the same
38320 * number of rows as there are in the swig_type_initial array). Each entry in
38321 * a column is one of the swig_cast_info structures for that type.
38322 * The cast_initial array is actually an array of arrays, because each row has
38323 * a variable number of columns. So to actually build the cast linked list,
38324 * we find the array of casts associated with the type, and loop through it
38325 * adding the casts to the list. The one last trick we need to do is making
38326 * sure the type pointer in the swig_cast_info struct is correct.
38328 * First off, we lookup the cast->type name to see if it is already loaded.
38329 * There are three cases to handle:
38330 * 1) If the cast->type has already been loaded AND the type we are adding
38331 * casting info to has not been loaded (it is in this module), THEN we
38332 * replace the cast->type pointer with the type pointer that has already
38334 * 2) If BOTH types (the one we are adding casting info to, and the
38335 * cast->type) are loaded, THEN the cast info has already been loaded by
38336 * the previous module so we just ignore it.
38337 * 3) Finally, if cast->type has not already been loaded, then we add that
38338 * swig_cast_info to the linked list (because the cast->type) pointer will
38340 * ----------------------------------------------------------------------------- */
38350 #define SWIGRUNTIME_DEBUG
38354 SWIG_InitializeModule(void *clientdata
) {
38356 swig_module_info
*module_head
;
38357 static int init_run
= 0;
38359 clientdata
= clientdata
;
38361 if (init_run
) return;
38364 /* Initialize the swig_module */
38365 swig_module
.type_initial
= swig_type_initial
;
38366 swig_module
.cast_initial
= swig_cast_initial
;
38368 /* Try and load any already created modules */
38369 module_head
= SWIG_GetModule(clientdata
);
38371 swig_module
.next
= module_head
->next
;
38372 module_head
->next
= &swig_module
;
38374 /* This is the first module loaded */
38375 swig_module
.next
= &swig_module
;
38376 SWIG_SetModule(clientdata
, &swig_module
);
38379 /* Now work on filling in swig_module.types */
38380 #ifdef SWIGRUNTIME_DEBUG
38381 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38383 for (i
= 0; i
< swig_module
.size
; ++i
) {
38384 swig_type_info
*type
= 0;
38385 swig_type_info
*ret
;
38386 swig_cast_info
*cast
;
38388 #ifdef SWIGRUNTIME_DEBUG
38389 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38392 /* if there is another module already loaded */
38393 if (swig_module
.next
!= &swig_module
) {
38394 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38397 /* Overwrite clientdata field */
38398 #ifdef SWIGRUNTIME_DEBUG
38399 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38401 if (swig_module
.type_initial
[i
]->clientdata
) {
38402 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38403 #ifdef SWIGRUNTIME_DEBUG
38404 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38408 type
= swig_module
.type_initial
[i
];
38411 /* Insert casting types */
38412 cast
= swig_module
.cast_initial
[i
];
38413 while (cast
->type
) {
38414 /* Don't need to add information already in the list */
38416 #ifdef SWIGRUNTIME_DEBUG
38417 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38419 if (swig_module
.next
!= &swig_module
) {
38420 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38421 #ifdef SWIGRUNTIME_DEBUG
38422 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38426 if (type
== swig_module
.type_initial
[i
]) {
38427 #ifdef SWIGRUNTIME_DEBUG
38428 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38433 /* Check for casting already in the list */
38434 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38435 #ifdef SWIGRUNTIME_DEBUG
38436 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38438 if (!ocast
) ret
= 0;
38443 #ifdef SWIGRUNTIME_DEBUG
38444 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38447 type
->cast
->prev
= cast
;
38448 cast
->next
= type
->cast
;
38454 /* Set entry in modules->types array equal to the type */
38455 swig_module
.types
[i
] = type
;
38457 swig_module
.types
[i
] = 0;
38459 #ifdef SWIGRUNTIME_DEBUG
38460 printf("**** SWIG_InitializeModule: Cast List ******\n");
38461 for (i
= 0; i
< swig_module
.size
; ++i
) {
38463 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38464 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38465 while (cast
->type
) {
38466 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38470 printf("---- Total casts: %d\n",j
);
38472 printf("**** SWIG_InitializeModule: Cast List ******\n");
38476 /* This function will propagate the clientdata field of type to
38477 * any new swig_type_info structures that have been added into the list
38478 * of equivalent types. It is like calling
38479 * SWIG_TypeClientData(type, clientdata) a second time.
38482 SWIG_PropagateClientData(void) {
38484 swig_cast_info
*equiv
;
38485 static int init_run
= 0;
38487 if (init_run
) return;
38490 for (i
= 0; i
< swig_module
.size
; i
++) {
38491 if (swig_module
.types
[i
]->clientdata
) {
38492 equiv
= swig_module
.types
[i
]->cast
;
38494 if (!equiv
->converter
) {
38495 if (equiv
->type
&& !equiv
->type
->clientdata
)
38496 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38498 equiv
= equiv
->next
;
38518 /* Python-specific SWIG API */
38519 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38520 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38521 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38523 /* -----------------------------------------------------------------------------
38524 * global variable support code.
38525 * ----------------------------------------------------------------------------- */
38527 typedef struct swig_globalvar
{
38528 char *name
; /* Name of global variable */
38529 PyObject
*(*get_attr
)(void); /* Return the current value */
38530 int (*set_attr
)(PyObject
*); /* Set the value */
38531 struct swig_globalvar
*next
;
38534 typedef struct swig_varlinkobject
{
38536 swig_globalvar
*vars
;
38537 } swig_varlinkobject
;
38539 SWIGINTERN PyObject
*
38540 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38541 return PyString_FromString("<Swig global variables>");
38544 SWIGINTERN PyObject
*
38545 swig_varlink_str(swig_varlinkobject
*v
) {
38546 PyObject
*str
= PyString_FromString("(");
38547 swig_globalvar
*var
;
38548 for (var
= v
->vars
; var
; var
=var
->next
) {
38549 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38550 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38552 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38557 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38558 PyObject
*str
= swig_varlink_str(v
);
38559 fprintf(fp
,"Swig global variables ");
38560 fprintf(fp
,"%s\n", PyString_AsString(str
));
38566 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38567 swig_globalvar
*var
= v
->vars
;
38569 swig_globalvar
*n
= var
->next
;
38576 SWIGINTERN PyObject
*
38577 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38578 PyObject
*res
= NULL
;
38579 swig_globalvar
*var
= v
->vars
;
38581 if (strcmp(var
->name
,n
) == 0) {
38582 res
= (*var
->get_attr
)();
38587 if (res
== NULL
&& !PyErr_Occurred()) {
38588 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38594 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38596 swig_globalvar
*var
= v
->vars
;
38598 if (strcmp(var
->name
,n
) == 0) {
38599 res
= (*var
->set_attr
)(p
);
38604 if (res
== 1 && !PyErr_Occurred()) {
38605 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38610 SWIGINTERN PyTypeObject
*
38611 swig_varlink_type(void) {
38612 static char varlink__doc__
[] = "Swig var link object";
38613 static PyTypeObject varlink_type
;
38614 static int type_init
= 0;
38616 const PyTypeObject tmp
38618 PyObject_HEAD_INIT(NULL
)
38619 0, /* Number of items in variable part (ob_size) */
38620 (char *)"swigvarlink", /* Type name (tp_name) */
38621 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38622 0, /* Itemsize (tp_itemsize) */
38623 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38624 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38625 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38626 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38627 0, /* tp_compare */
38628 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38629 0, /* tp_as_number */
38630 0, /* tp_as_sequence */
38631 0, /* tp_as_mapping */
38634 (reprfunc
)swig_varlink_str
, /* tp_str */
38635 0, /* tp_getattro */
38636 0, /* tp_setattro */
38637 0, /* tp_as_buffer */
38639 varlink__doc__
, /* tp_doc */
38640 0, /* tp_traverse */
38642 0, /* tp_richcompare */
38643 0, /* tp_weaklistoffset */
38644 #if PY_VERSION_HEX >= 0x02020000
38645 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38647 #if PY_VERSION_HEX >= 0x02030000
38650 #ifdef COUNT_ALLOCS
38651 0,0,0,0 /* tp_alloc -> tp_next */
38654 varlink_type
= tmp
;
38655 varlink_type
.ob_type
= &PyType_Type
;
38658 return &varlink_type
;
38661 /* Create a variable linking object for use later */
38662 SWIGINTERN PyObject
*
38663 SWIG_Python_newvarlink(void) {
38664 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38668 return ((PyObject
*) result
);
38672 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38673 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38674 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38676 size_t size
= strlen(name
)+1;
38677 gv
->name
= (char *)malloc(size
);
38679 strncpy(gv
->name
,name
,size
);
38680 gv
->get_attr
= get_attr
;
38681 gv
->set_attr
= set_attr
;
38682 gv
->next
= v
->vars
;
38688 SWIGINTERN PyObject
*
38690 static PyObject
*_SWIG_globals
= 0;
38691 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38692 return _SWIG_globals
;
38695 /* -----------------------------------------------------------------------------
38696 * constants/methods manipulation
38697 * ----------------------------------------------------------------------------- */
38699 /* Install Constants */
38701 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38704 for (i
= 0; constants
[i
].type
; ++i
) {
38705 switch(constants
[i
].type
) {
38706 case SWIG_PY_POINTER
:
38707 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38709 case SWIG_PY_BINARY
:
38710 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38717 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38723 /* -----------------------------------------------------------------------------*/
38724 /* Fix SwigMethods to carry the callback ptrs when needed */
38725 /* -----------------------------------------------------------------------------*/
38728 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38729 swig_const_info
*const_table
,
38730 swig_type_info
**types
,
38731 swig_type_info
**types_initial
) {
38733 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38734 char *c
= methods
[i
].ml_doc
;
38735 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38737 swig_const_info
*ci
= 0;
38738 char *name
= c
+ 10;
38739 for (j
= 0; const_table
[j
].type
; ++j
) {
38740 if (strncmp(const_table
[j
].name
, name
,
38741 strlen(const_table
[j
].name
)) == 0) {
38742 ci
= &(const_table
[j
]);
38747 size_t shift
= (ci
->ptype
) - types
;
38748 swig_type_info
*ty
= types_initial
[shift
];
38749 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38750 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38751 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38754 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38756 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38758 strncpy(buff
, "swig_ptr: ", 10);
38760 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38761 methods
[i
].ml_doc
= ndoc
;
38773 /* -----------------------------------------------------------------------------*
38774 * Partial Init method
38775 * -----------------------------------------------------------------------------*/
38780 SWIGEXPORT
void SWIG_init(void) {
38783 /* Fix SwigMethods to carry the callback ptrs when needed */
38784 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38786 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38787 d
= PyModule_GetDict(m
);
38789 SWIG_InitializeModule(0);
38790 SWIG_InstallConstants(d
,swig_const_table
);
38793 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38794 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38795 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38796 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38797 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38798 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38799 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38800 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38801 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38802 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38803 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38804 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38805 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38806 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38807 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38808 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38809 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38810 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38811 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38812 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38813 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38814 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38815 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38816 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38817 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38818 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38819 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38820 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38821 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38822 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38823 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38824 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38825 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38826 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38827 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38828 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38829 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38830 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38831 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38832 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38833 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38834 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38835 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38836 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38837 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38838 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38839 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38840 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38841 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38842 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38843 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38844 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38845 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38846 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38847 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38848 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38849 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38850 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38851 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38852 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38853 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38854 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38855 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38856 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38857 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38858 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38859 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38860 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38861 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38862 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38863 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38864 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38865 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38866 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38867 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38868 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38869 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38870 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38871 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38872 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38873 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38874 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38875 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38876 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38877 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38878 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38879 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38880 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38881 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38882 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38883 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38884 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38885 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38886 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38887 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38888 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38889 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38890 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38891 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38892 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38893 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38894 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38896 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38898 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38899 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38900 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38901 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38902 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38903 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38904 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38905 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38906 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38907 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38908 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38909 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38910 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38911 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38912 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38913 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38914 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38915 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38916 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38917 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38918 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38919 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38920 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38921 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38922 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38923 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38924 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38925 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38926 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38927 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38928 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38929 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38930 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38931 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38932 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38933 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38934 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38935 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38936 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38937 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38938 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38939 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38940 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38941 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38942 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38943 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38944 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38945 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38946 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38947 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38948 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38949 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38950 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38952 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38954 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38955 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38956 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38957 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38958 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38959 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38960 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
38961 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
38962 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
38963 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
38964 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
38965 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
38966 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
38967 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
38968 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
38969 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
38970 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
38971 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
38972 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
38973 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
38974 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
38975 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
38976 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
38977 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
38978 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
38979 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
38980 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
38981 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
38982 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
38983 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
38984 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
38985 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
38986 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
38987 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
38988 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
38989 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
38990 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
38991 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
38992 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
38993 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
38994 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
38995 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
38996 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
38997 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
38998 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
38999 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
39000 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
39001 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
39002 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
39003 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
39004 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
39005 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
39006 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
39007 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
39008 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
39009 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
39010 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
39011 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
39012 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
39013 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
39014 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
39015 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
39016 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
39017 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
39018 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
39019 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
39020 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
39021 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
39022 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
39023 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
39024 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
39025 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
39026 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
39027 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
39028 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
39029 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
39031 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
39033 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
39034 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
39035 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
39036 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
39037 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
39038 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
39039 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
39040 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
39041 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
39042 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
39043 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
39044 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
39045 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
39046 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
39047 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
39048 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
39049 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
39050 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
39051 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
39052 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
39053 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
39054 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
39055 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
39056 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
39057 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
39058 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
39059 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
39060 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
39061 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
39062 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
39063 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
39064 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
39065 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
39066 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
39067 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
39068 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
39069 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
39070 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
39071 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
39072 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
39073 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
39074 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
39075 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
39076 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
39077 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
39078 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
39079 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
39080 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
39081 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
39082 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
39083 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
39084 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
39085 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
39086 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
39087 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
39088 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
39089 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
39090 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
39091 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
39092 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
39093 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
39094 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
39095 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
39096 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
39097 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
39098 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
39099 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
39100 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
39101 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
39102 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
39103 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
39104 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
39105 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
39106 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
39107 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
39108 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
39109 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
39110 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
39111 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
39112 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
39113 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
39114 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
39115 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
39116 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
39117 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
39118 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
39119 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
39120 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
39121 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
39122 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
39123 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
39124 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
39125 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
39126 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
39127 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
39128 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
39129 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
39130 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
39131 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
39132 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
39133 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
39134 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
39135 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
39136 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
39137 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
39138 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
39139 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
39140 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
39141 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
39142 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
39143 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
39144 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
39145 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
39146 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
39147 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
39148 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
39149 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
39150 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
39151 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
39152 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
39153 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
39154 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
39155 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
39156 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
39157 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
39158 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
39159 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
39160 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
39161 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
39162 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
39163 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
39164 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
39165 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
39166 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
39167 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
39168 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
39169 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39170 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39171 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39172 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39173 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39174 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39175 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39176 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39177 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39178 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39179 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39180 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39181 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39182 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39183 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39184 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39185 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39186 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39187 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39188 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39189 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39190 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39191 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39192 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39193 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39194 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39195 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39196 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39197 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39198 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39199 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39200 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39201 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39202 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39203 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39204 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39205 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39206 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39207 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39208 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39209 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39210 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39211 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39212 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39213 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39214 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39215 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39216 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39217 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39218 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39219 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39220 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39221 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39222 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39223 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39224 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39225 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39226 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39227 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39228 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39229 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39230 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39231 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39232 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39234 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39235 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39236 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39237 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39239 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39240 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39241 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39242 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
39243 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
39244 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
39245 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
39246 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
39247 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
39248 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
39249 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
39250 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
39251 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
39252 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
39253 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
39254 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));