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_wxMetafileDataObject swig_types[94]
2557 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
2558 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
2559 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMouseState swig_types[98]
2561 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
2563 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
2566 #define SWIGTYPE_p_wxObject swig_types[104]
2567 #define SWIGTYPE_p_wxOutputStream swig_types[105]
2568 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2573 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2574 #define SWIGTYPE_p_wxPoint swig_types[112]
2575 #define SWIGTYPE_p_wxProcessEvent swig_types[113]
2576 #define SWIGTYPE_p_wxPyApp swig_types[114]
2577 #define SWIGTYPE_p_wxPyArtProvider swig_types[115]
2578 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
2581 #define SWIGTYPE_p_wxPyDropSource swig_types[119]
2582 #define SWIGTYPE_p_wxPyDropTarget swig_types[120]
2583 #define SWIGTYPE_p_wxPyEvent swig_types[121]
2584 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
2585 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2586 #define SWIGTYPE_p_wxPyLog swig_types[124]
2587 #define SWIGTYPE_p_wxPyProcess swig_types[125]
2588 #define SWIGTYPE_p_wxPySizer swig_types[126]
2589 #define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
2590 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
2591 #define SWIGTYPE_p_wxPyTimer swig_types[129]
2592 #define SWIGTYPE_p_wxPyTipProvider swig_types[130]
2593 #define SWIGTYPE_p_wxPyValidator swig_types[131]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2595 #define SWIGTYPE_p_wxRect swig_types[133]
2596 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2597 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2598 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2599 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
2601 #define SWIGTYPE_p_wxSize swig_types[139]
2602 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2603 #define SWIGTYPE_p_wxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2605 #define SWIGTYPE_p_wxSound swig_types[143]
2606 #define SWIGTYPE_p_wxStandardPaths swig_types[144]
2607 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStopWatch swig_types[147]
2610 #define SWIGTYPE_p_wxString swig_types[148]
2611 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2612 #define SWIGTYPE_p_wxSystemOptions swig_types[150]
2613 #define SWIGTYPE_p_wxSystemSettings swig_types[151]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615 #define SWIGTYPE_p_wxTextCtrl swig_types[153]
2616 #define SWIGTYPE_p_wxTextDataObject swig_types[154]
2617 #define SWIGTYPE_p_wxTimeSpan swig_types[155]
2618 #define SWIGTYPE_p_wxTimer swig_types[156]
2619 #define SWIGTYPE_p_wxTimerEvent swig_types[157]
2620 #define SWIGTYPE_p_wxTimerRunner swig_types[158]
2621 #define SWIGTYPE_p_wxTipProvider swig_types[159]
2622 #define SWIGTYPE_p_wxToolTip swig_types[160]
2623 #define SWIGTYPE_p_wxURLDataObject swig_types[161]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2625 #define SWIGTYPE_p_wxValidator swig_types[163]
2626 #define SWIGTYPE_p_wxVideoMode swig_types[164]
2627 #define SWIGTYPE_p_wxWindow swig_types[165]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2630 #define SWIGTYPE_p_wxWindowDisabler swig_types[168]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2632 static swig_type_info
*swig_types
[171];
2633 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _misc_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_misc_
2659 #define SWIG_name "_misc_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2733 #include "wx/wxPython/pyistream.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2739 #define SWIG_From_long PyInt_FromLong
2742 SWIGINTERNINLINE PyObject
*
2743 SWIG_From_int (int value
)
2745 return SWIG_From_long (value
);
2751 # define LLONG_MIN LONG_LONG_MIN
2754 # define LLONG_MAX LONG_LONG_MAX
2757 # define ULLONG_MAX ULONG_LONG_MAX
2762 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2764 if (PyNumber_Check(obj
)) {
2765 if (val
) *val
= PyInt_AsLong(obj
);
2768 return SWIG_TypeError
;
2773 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2776 int res
= SWIG_AsVal_long (obj
, &v
);
2777 if (SWIG_IsOK(res
)) {
2778 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2779 return SWIG_OverflowError
;
2781 if (val
) *val
= static_cast< int >(v
);
2787 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2789 #include <wx/stockitem.h>
2791 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2792 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2793 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2796 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2798 if (obj
== Py_True
) {
2799 if (val
) *val
= true;
2801 } else if (obj
== Py_False
) {
2802 if (val
) *val
= false;
2806 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2807 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2813 wxMemorySize
wxGetFreeMemory()
2814 { wxPyRaiseNotImplemented(); return 0; }
2818 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2821 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2822 return SWIG_TypeError
;
2825 *val
= (unsigned long)v
;
2830 SWIGINTERNINLINE PyObject
*
2831 SWIG_From_unsigned_SS_long (unsigned long value
)
2833 return (value
> LONG_MAX
) ?
2834 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2838 void* wxGetXDisplay()
2841 return wxGetDisplay();
2848 wxWindow
* FindWindowAtPointer() {
2850 return wxFindWindowAtPointer(unused
);
2854 void wxWakeUpMainThread() {}
2857 bool wxThread_IsMain() {
2858 #ifdef WXP_WITH_THREAD
2859 return wxThread::IsMain();
2865 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2869 #include <wx/snglinst.h>
2873 #include <wx/msw/private.h>
2874 #include <wx/dynload.h>
2879 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2890 // This one only partially works. Appears to be an undocumented
2891 // "standard" convention that not all widgets adhear to. For
2892 // example, for some widgets backgrounds or non-client areas may
2894 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2899 // This one works much better, nearly all widgets and their
2900 // children are captured correctly[**]. Prior to the big
2901 // background erase changes that Vadim did in 2004-2005 this
2902 // method failed badly on XP with Themes activated, most native
2903 // widgets draw only partially, if at all. Without themes it
2904 // worked just like on Win2k. After those changes this method
2907 // ** For example the radio buttons in a wxRadioBox are not its
2908 // children by default, but you can capture it via the panel
2909 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2910 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2911 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2912 PRF_ERASEBKGND
| PRF_OWNED
);
2918 // This one is only defined in the latest SDK and is only
2919 // available on XP. MSDN says it is similar to sending WM_PRINT
2920 // so I expect that it will work similar to the above. Since it
2921 // is avaialble only on XP, it can't be compiled like this and
2922 // will have to be loaded dynamically.
2923 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2928 // Use PrintWindow if available, or fallback to WM_PRINT
2929 // otherwise. Unfortunately using PrintWindow is even worse than
2930 // WM_PRINT. For most native widgets nothing is drawn to the dc
2931 // at all, with or without Themes.
2932 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2933 static bool s_triedToLoad
= false;
2934 static PrintWindow_t pfnPrintWindow
= NULL
;
2935 if ( !s_triedToLoad
)
2938 s_triedToLoad
= true;
2939 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2940 if ( dllUser32
.IsLoaded() )
2942 wxLogNull nolog
; // Don't report errors here
2943 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2948 //printf("Using PrintWindow\n");
2949 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2953 //printf("Using WM_PRINT\n");
2954 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2955 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2956 PRF_ERASEBKGND
| PRF_OWNED
);
2967 #include <wx/tipdlg.h>
2970 SWIGINTERNINLINE PyObject
*
2971 SWIG_From_size_t (size_t value
)
2973 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2977 class wxPyTipProvider
: public wxTipProvider
{
2979 wxPyTipProvider(size_t currentTip
)
2980 : wxTipProvider(currentTip
) {}
2982 DEC_PYCALLBACK_STRING__pure(GetTip
);
2983 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2987 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2988 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2991 SWIGINTERNINLINE
int
2992 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2995 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2996 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3001 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3003 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3005 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3006 : wxTimer(owner
, id
)
3013 SWIGINTERN swig_type_info
*
3014 SWIG_pchar_descriptor()
3016 static int init
= 0;
3017 static swig_type_info
* info
= 0;
3019 info
= SWIG_TypeQuery("_p_char");
3026 SWIGINTERNINLINE PyObject
*
3027 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3030 if (size
> INT_MAX
) {
3031 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3032 return pchar_descriptor
?
3033 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3035 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3038 return SWIG_Py_Void();
3043 SWIGINTERNINLINE PyObject
*
3044 SWIG_FromCharPtr(const char *cptr
)
3046 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3051 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3054 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3055 if (SWIG_IsOK(res
)) {
3056 if ((v
> UINT_MAX
)) {
3057 return SWIG_OverflowError
;
3059 if (val
) *val
= static_cast< unsigned int >(v
);
3065 SWIGINTERN wxString
wxLog_TimeStamp(){
3067 wxLog::TimeStamp(&msg
);
3070 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3071 // Make some wrappers that double any % signs so they are 'escaped'
3072 void wxPyLogFatalError(const wxString
& msg
)
3075 m
.Replace(wxT("%"), wxT("%%"));
3079 void wxPyLogError(const wxString
& msg
)
3082 m
.Replace(wxT("%"), wxT("%%"));
3086 void wxPyLogWarning(const wxString
& msg
)
3089 m
.Replace(wxT("%"), wxT("%%"));
3093 void wxPyLogMessage(const wxString
& msg
)
3096 m
.Replace(wxT("%"), wxT("%%"));
3100 void wxPyLogInfo(const wxString
& msg
)
3103 m
.Replace(wxT("%"), wxT("%%"));
3107 void wxPyLogDebug(const wxString
& msg
)
3110 m
.Replace(wxT("%"), wxT("%%"));
3114 void wxPyLogVerbose(const wxString
& msg
)
3117 m
.Replace(wxT("%"), wxT("%%"));
3121 void wxPyLogStatus(const wxString
& msg
)
3124 m
.Replace(wxT("%"), wxT("%%"));
3128 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3131 m
.Replace(wxT("%"), wxT("%%"));
3132 wxLogStatus(pFrame
, m
);
3135 void wxPyLogSysError(const wxString
& msg
)
3138 m
.Replace(wxT("%"), wxT("%%"));
3142 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3145 m
.Replace(wxT("%"), wxT("%%"));
3146 wxLogGeneric(level
, m
);
3149 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3152 m
.Replace(wxT("%"), wxT("%%"));
3153 wxLogTrace(mask
, m
);
3156 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3159 m
.Replace(wxT("%"), wxT("%%"));
3160 wxLogTrace(mask
, m
);
3165 // A wxLog class that can be derived from in wxPython
3166 class wxPyLog
: public wxLog
{
3168 wxPyLog() : wxLog() {}
3170 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3173 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3174 PyObject
* s
= wx2PyString(szString
);
3175 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3178 wxPyEndBlockThreads(blocked
);
3180 wxLog::DoLog(level
, szString
, t
);
3183 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3185 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3186 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3187 PyObject
* s
= wx2PyString(szString
);
3188 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3191 wxPyEndBlockThreads(blocked
);
3193 wxLog::DoLogString(szString
, t
);
3196 DEC_PYCALLBACK_VOID_(Flush
);
3199 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3204 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3207 #include <wx/joystick.h>
3210 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3211 // A C++ stub class for wxJoystick for platforms that don't have it.
3212 class wxJoystick
: public wxObject
{
3214 wxJoystick(int joystick
= wxJOYSTICK1
) {
3215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3216 PyErr_SetString(PyExc_NotImplementedError
,
3217 "wxJoystick is not available on this platform.");
3218 wxPyEndBlockThreads(blocked
);
3220 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3221 int GetZPosition() { return -1; }
3222 int GetButtonState() { return -1; }
3223 int GetPOVPosition() { return -1; }
3224 int GetPOVCTSPosition() { return -1; }
3225 int GetRudderPosition() { return -1; }
3226 int GetUPosition() { return -1; }
3227 int GetVPosition() { return -1; }
3228 int GetMovementThreshold() { return -1; }
3229 void SetMovementThreshold(int threshold
) {}
3231 bool IsOk(void) { return false; }
3232 int GetNumberJoysticks() { return -1; }
3233 int GetManufacturerId() { return -1; }
3234 int GetProductId() { return -1; }
3235 wxString
GetProductName() { return wxEmptyString
; }
3236 int GetXMin() { return -1; }
3237 int GetYMin() { return -1; }
3238 int GetZMin() { return -1; }
3239 int GetXMax() { return -1; }
3240 int GetYMax() { return -1; }
3241 int GetZMax() { return -1; }
3242 int GetNumberButtons() { return -1; }
3243 int GetNumberAxes() { return -1; }
3244 int GetMaxButtons() { return -1; }
3245 int GetMaxAxes() { return -1; }
3246 int GetPollingMin() { return -1; }
3247 int GetPollingMax() { return -1; }
3248 int GetRudderMin() { return -1; }
3249 int GetRudderMax() { return -1; }
3250 int GetUMin() { return -1; }
3251 int GetUMax() { return -1; }
3252 int GetVMin() { return -1; }
3253 int GetVMax() { return -1; }
3255 bool HasRudder() { return false; }
3256 bool HasZ() { return false; }
3257 bool HasU() { return false; }
3258 bool HasV() { return false; }
3259 bool HasPOV() { return false; }
3260 bool HasPOV4Dir() { return false; }
3261 bool HasPOVCTS() { return false; }
3263 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3264 bool ReleaseCapture() { return false; }
3269 #include <wx/sound.h>
3273 // A C++ stub class for wxWave for platforms that don't have it.
3274 class wxSound
: public wxObject
3278 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3279 PyErr_SetString(PyExc_NotImplementedError
,
3280 "wxSound is not available on this platform.");
3281 wxPyEndBlockThreads(blocked
);
3283 wxSound(const wxString
&/*, bool*/) {
3284 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3285 PyErr_SetString(PyExc_NotImplementedError
,
3286 "wxSound is not available on this platform.");
3287 wxPyEndBlockThreads(blocked
);
3289 wxSound(int, const wxByte
*) {
3290 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3291 PyErr_SetString(PyExc_NotImplementedError
,
3292 "wxSound is not available on this platform.");
3293 wxPyEndBlockThreads(blocked
);
3298 bool Create(const wxString
&/*, bool*/) { return false; }
3299 bool Create(int, const wxByte
*) { return false; };
3300 bool IsOk() { return false; };
3301 bool Play(unsigned) const { return false; }
3302 static bool Play(const wxString
&, unsigned) { return false; }
3303 static void Stop() {}
3308 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3309 if (fileName
.Length() == 0)
3312 return new wxSound(fileName
);
3314 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3315 unsigned char* buffer
; int size
;
3316 wxSound
*sound
= NULL
;
3318 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3319 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3321 sound
= new wxSound(size
, buffer
);
3323 wxPyEndBlockThreads(blocked
);
3326 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3328 unsigned char* buffer
;
3332 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3333 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3335 rv
= self
->Create(size
, buffer
);
3337 wxPyEndBlockThreads(blocked
);
3340 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3341 PyErr_SetString(PyExc_NotImplementedError
,
3342 "Create from data is not available on this platform.");
3343 wxPyEndBlockThreads(blocked
);
3348 #include <wx/mimetype.h>
3350 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3352 if (self
->GetMimeType(&str
))
3353 return wx2PyString(str
);
3357 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3359 if (self
->GetMimeTypes(arr
))
3360 return wxArrayString2PyList_helper(arr
);
3364 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3366 if (self
->GetExtensions(arr
))
3367 return wxArrayString2PyList_helper(arr
);
3371 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3373 if (self
->GetIcon(&loc
))
3374 return new wxIcon(loc
);
3378 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3380 if (self
->GetIcon(&loc
)) {
3381 wxString iconFile
= loc
.GetFileName();
3386 // Make a tuple and put the values in it
3387 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3388 PyObject
* tuple
= PyTuple_New(3);
3389 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3390 wxT("wxIcon"), true));
3391 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3392 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3393 wxPyEndBlockThreads(blocked
);
3399 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3401 if (self
->GetDescription(&str
))
3402 return wx2PyString(str
);
3406 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3408 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3409 return wx2PyString(str
);
3413 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3415 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3416 return wx2PyString(str
);
3420 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3421 wxArrayString verbs
;
3422 wxArrayString commands
;
3423 if (self
->GetAllCommands(&verbs
, &commands
,
3424 wxFileType::MessageParameters(filename
, mimetype
))) {
3425 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3426 PyObject
* tuple
= PyTuple_New(2);
3427 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3428 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3429 wxPyEndBlockThreads(blocked
);
3435 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3436 return wxFileType::ExpandCommand(command
,
3437 wxFileType::MessageParameters(filename
, mimetype
));
3439 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3441 self
->EnumAllFileTypes(arr
);
3442 return wxArrayString2PyList_helper(arr
);
3445 #include <wx/artprov.h>
3447 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3448 static const wxString
wxPyART_MENU(wxART_MENU
);
3449 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3450 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3451 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3452 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3453 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3454 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3455 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3456 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3457 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3458 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3459 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3460 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3461 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3462 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3463 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3464 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3465 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3466 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3467 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3468 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3469 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3470 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3471 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3472 static const wxString
wxPyART_HELP(wxART_HELP
);
3473 static const wxString
wxPyART_TIP(wxART_TIP
);
3474 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3475 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3476 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3477 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3478 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3479 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3480 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3481 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3482 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3483 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3484 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3485 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3486 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3487 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3488 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3489 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3490 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3491 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3492 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3493 static const wxString
wxPyART_COPY(wxART_COPY
);
3494 static const wxString
wxPyART_CUT(wxART_CUT
);
3495 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3496 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3497 static const wxString
wxPyART_NEW(wxART_NEW
);
3498 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3499 static const wxString
wxPyART_REDO(wxART_REDO
);
3500 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3501 static const wxString
wxPyART_FIND(wxART_FIND
);
3502 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3503 // Python aware wxArtProvider
3504 class wxPyArtProvider
: public wxArtProvider
{
3507 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3508 const wxArtClient
& client
,
3509 const wxSize
& size
) {
3510 wxBitmap rval
= wxNullBitmap
;
3511 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3512 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3513 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3517 s1
= wx2PyString(id
);
3518 s2
= wx2PyString(client
);
3519 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3524 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3529 wxPyEndBlockThreads(blocked
);
3536 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3540 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3541 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3542 PyObject
* ret
= PyTuple_New(3);
3544 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3545 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3546 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3548 wxPyEndBlockThreads(blocked
);
3552 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3557 cont
= self
->GetFirstGroup(value
, index
);
3558 return __EnumerationHelper(cont
, value
, index
);
3560 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3564 cont
= self
->GetNextGroup(value
, index
);
3565 return __EnumerationHelper(cont
, value
, index
);
3567 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3572 cont
= self
->GetFirstEntry(value
, index
);
3573 return __EnumerationHelper(cont
, value
, index
);
3575 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3579 cont
= self
->GetNextEntry(value
, index
);
3580 return __EnumerationHelper(cont
, value
, index
);
3582 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3584 self
->Read(key
, &rv
, defaultVal
);
3589 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3591 if (PyNumber_Check(obj
)) {
3592 if (val
) *val
= PyFloat_AsDouble(obj
);
3595 return SWIG_TypeError
;
3598 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3600 self
->Read(key
, &rv
, defaultVal
);
3604 #define SWIG_From_double PyFloat_FromDouble
3606 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3608 self
->Read(key
, &rv
, defaultVal
);
3612 #include <wx/datetime.h>
3614 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3615 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3617 #define LOCAL_TZ wxDateTime::Local
3619 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3622 wxDateTime::GetAmPmStrings(&am
, &pm
);
3623 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3624 PyObject
* tup
= PyTuple_New(2);
3625 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3626 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3627 wxPyEndBlockThreads(blocked
);
3631 SWIGINTERNINLINE PyObject
*
3632 SWIG_From_unsigned_SS_int (unsigned int value
)
3634 return SWIG_From_unsigned_SS_long (value
);
3637 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3638 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3639 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3640 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3641 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3642 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3643 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3644 return (*self
< *other
);
3646 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3647 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3648 return (*self
<= *other
);
3650 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3651 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3652 return (*self
> *other
);
3654 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3655 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3656 return (*self
>= *other
);
3658 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3659 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3660 return (*self
== *other
);
3662 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3663 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3664 return (*self
!= *other
);
3666 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3668 const wxChar
* _date
= date
;
3669 rv
= self
->ParseRfc822Date(_date
);
3670 if (rv
== NULL
) return -1;
3673 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3675 const wxChar
* _date
= date
;
3676 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3677 if (rv
== NULL
) return -1;
3680 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3682 const wxChar
* _datetime
= datetime
;
3683 rv
= self
->ParseDateTime(_datetime
);
3684 if (rv
== NULL
) return -1;
3685 return rv
- _datetime
;
3687 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3689 const wxChar
* _date
= date
;
3690 rv
= self
->ParseDate(_date
);
3691 if (rv
== NULL
) return -1;
3694 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3696 const wxChar
* _time
= time
;
3697 rv
= self
->ParseTime(_time
);
3698 if (rv
== NULL
) return -1;
3701 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3702 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3703 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3704 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3705 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3706 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3707 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3708 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3709 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3710 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3711 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3712 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3713 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3714 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3715 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3716 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3718 #include <wx/dataobj.h>
3720 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3721 size_t count
= self
->GetFormatCount(dir
);
3722 wxDataFormat
* formats
= new wxDataFormat
[count
];
3723 self
->GetAllFormats(formats
, dir
);
3725 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3726 PyObject
* list
= PyList_New(count
);
3727 for (size_t i
=0; i
<count
; i
++) {
3728 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3729 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3730 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3732 wxPyEndBlockThreads(blocked
);
3736 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3737 PyObject
* rval
= NULL
;
3738 size_t size
= self
->GetDataSize(format
);
3739 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3741 char* buf
= new char[size
];
3742 if (self
->GetDataHere(format
, buf
))
3743 rval
= PyString_FromStringAndSize(buf
, size
);
3750 wxPyEndBlockThreads(blocked
);
3753 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3755 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3756 if (PyString_Check(data
)) {
3757 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3760 // raise a TypeError if not a string
3761 PyErr_SetString(PyExc_TypeError
, "String expected.");
3764 wxPyEndBlockThreads(blocked
);
3767 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3768 PyObject
* rval
= NULL
;
3769 size_t size
= self
->GetDataSize();
3770 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3772 char* buf
= new char[size
];
3773 if (self
->GetDataHere(buf
))
3774 rval
= PyString_FromStringAndSize(buf
, size
);
3781 wxPyEndBlockThreads(blocked
);
3784 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3786 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3787 if (PyString_Check(data
)) {
3788 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3791 // raise a TypeError if not a string
3792 PyErr_SetString(PyExc_TypeError
, "String expected.");
3795 wxPyEndBlockThreads(blocked
);
3798 // Create a new class for wxPython to use
3799 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3801 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3802 : wxDataObjectSimple(format
) {}
3804 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3805 bool GetDataHere(void *buf
) const;
3806 bool SetData(size_t len
, const void *buf
) const;
3810 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3812 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3813 // We need to get the data for this object and write it to buf. I think
3814 // the best way to do this for wxPython is to have the Python method
3815 // return either a string or None and then act appropriately with the
3819 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3820 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3822 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3824 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3826 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3830 wxPyEndBlockThreads(blocked
);
3834 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3835 // For this one we simply need to make a string from buf and len
3836 // and send it to the Python method.
3838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3839 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3840 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3841 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3844 wxPyEndBlockThreads(blocked
);
3848 // Create a new class for wxPython to use
3849 class wxPyTextDataObject
: public wxTextDataObject
{
3851 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3852 : wxTextDataObject(text
) {}
3854 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3855 DEC_PYCALLBACK_STRING__const(GetText
);
3856 DEC_PYCALLBACK__STRING(SetText
);
3860 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3861 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3862 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3865 // Create a new class for wxPython to use
3866 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3868 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3869 : wxBitmapDataObject(bitmap
) {}
3871 wxBitmap
GetBitmap() const;
3872 void SetBitmap(const wxBitmap
& bitmap
);
3876 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3877 wxBitmap
* rval
= &wxNullBitmap
;
3878 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3879 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3882 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3884 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3889 wxPyEndBlockThreads(blocked
);
3893 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3895 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3896 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3897 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3900 wxPyEndBlockThreads(blocked
);
3903 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3904 return new wxCustomDataObject(wxDataFormat(formatName
));
3906 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3909 if (PyString_Check(data
)) {
3910 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3913 // raise a TypeError if not a string
3914 PyErr_SetString(PyExc_TypeError
, "String expected.");
3917 wxPyEndBlockThreads(blocked
);
3920 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3923 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3924 wxPyEndBlockThreads(blocked
);
3928 class wxMetafileDataObject
: public wxDataObjectSimple
3931 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3935 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3938 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3939 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3940 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3941 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3942 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3945 class wxPyTextDropTarget
: public wxTextDropTarget
{
3947 wxPyTextDropTarget() {}
3949 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3951 DEC_PYCALLBACK__(OnLeave
);
3952 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3953 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3954 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3955 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3960 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3961 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3962 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3963 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3964 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3965 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3969 class wxPyFileDropTarget
: public wxFileDropTarget
{
3971 wxPyFileDropTarget() {}
3973 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3975 DEC_PYCALLBACK__(OnLeave
);
3976 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3977 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3978 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3979 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3984 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3985 const wxArrayString
& filenames
) {
3987 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3988 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3989 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3990 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3993 wxPyEndBlockThreads(blocked
);
3999 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4000 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4001 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4002 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4003 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4008 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4010 #include <wx/display.h>
4012 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4013 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4016 const wxVideoMode wxDefaultVideoMode
;
4019 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4021 PyObject
* pyList
= NULL
;
4022 wxArrayVideoModes arr
= self
->GetModes(mode
);
4023 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4024 pyList
= PyList_New(0);
4025 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4027 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4028 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4029 PyList_Append(pyList
, pyObj
);
4032 wxPyEndBlockThreads(blocked
);
4035 wxPyRaiseNotImplemented();
4039 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4041 return self
->GetCurrentMode();
4043 wxPyRaiseNotImplemented();
4044 return wxDefaultVideoMode
;
4047 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4049 return self
->ChangeMode(mode
);
4051 wxPyRaiseNotImplemented();
4055 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4059 wxPyRaiseNotImplemented();
4063 #include <wx/stdpaths.h>
4065 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4066 return (wxStandardPaths
*) &wxStandardPaths::Get();
4071 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
= 0;
4073 wxSystemColour arg1
;
4077 PyObject
* obj0
= 0 ;
4078 char * kwnames
[] = {
4079 (char *) "index", NULL
4082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4084 if (!SWIG_IsOK(ecode1
)) {
4085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4087 arg1
= static_cast< wxSystemColour
>(val1
);
4089 if (!wxPyCheckForApp()) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= wxSystemSettings::GetColour(arg1
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4102 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
= 0;
4108 PyObject
* obj0
= 0 ;
4109 char * kwnames
[] = {
4110 (char *) "index", NULL
4113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4115 if (!SWIG_IsOK(ecode1
)) {
4116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4118 arg1
= static_cast< wxSystemFont
>(val1
);
4120 if (!wxPyCheckForApp()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= wxSystemSettings::GetFont(arg1
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4133 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
= 0;
4135 wxSystemMetric arg1
;
4136 wxWindow
*arg2
= (wxWindow
*) NULL
;
4142 PyObject
* obj0
= 0 ;
4143 PyObject
* obj1
= 0 ;
4144 char * kwnames
[] = {
4145 (char *) "index",(char *) "win", NULL
4148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4150 if (!SWIG_IsOK(ecode1
)) {
4151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4153 arg1
= static_cast< wxSystemMetric
>(val1
);
4155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4156 if (!SWIG_IsOK(res2
)) {
4157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4162 if (!wxPyCheckForApp()) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= SWIG_From_int(static_cast< int >(result
));
4175 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
= 0;
4177 wxSystemFeature arg1
;
4181 PyObject
* obj0
= 0 ;
4182 char * kwnames
[] = {
4183 (char *) "index", NULL
4186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4188 if (!SWIG_IsOK(ecode1
)) {
4189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4191 arg1
= static_cast< wxSystemFeature
>(val1
);
4193 if (!wxPyCheckForApp()) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4208 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4209 PyObject
*resultobj
= 0;
4210 wxSystemScreenType result
;
4212 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4214 if (!wxPyCheckForApp()) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= SWIG_From_int(static_cast< int >(result
));
4227 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
= 0;
4229 wxSystemScreenType arg1
;
4232 PyObject
* obj0
= 0 ;
4233 char * kwnames
[] = {
4234 (char *) "screen", NULL
4237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4238 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4239 if (!SWIG_IsOK(ecode1
)) {
4240 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4242 arg1
= static_cast< wxSystemScreenType
>(val1
);
4244 if (!wxPyCheckForApp()) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 wxSystemSettings::SetScreenType(arg1
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= SWIG_Py_Void();
4257 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4260 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4261 return SWIG_Py_Void();
4264 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4265 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4270 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4271 PyObject
*pyobj
= 0;
4275 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4277 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4284 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4285 PyObject
*resultobj
= 0;
4286 wxSystemOptions
*result
= 0 ;
4288 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (wxSystemOptions
*)new wxSystemOptions();
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4302 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
= 0;
4304 wxString
*arg1
= 0 ;
4305 wxString
*arg2
= 0 ;
4306 bool temp1
= false ;
4307 bool temp2
= false ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4310 char * kwnames
[] = {
4311 (char *) "name",(char *) "value", NULL
4314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4316 arg1
= wxString_in_helper(obj0
);
4317 if (arg1
== NULL
) SWIG_fail
;
4321 arg2
= wxString_in_helper(obj1
);
4322 if (arg2
== NULL
) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= SWIG_Py_Void();
4354 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
= 0;
4356 wxString
*arg1
= 0 ;
4358 bool temp1
= false ;
4361 PyObject
* obj0
= 0 ;
4362 PyObject
* obj1
= 0 ;
4363 char * kwnames
[] = {
4364 (char *) "name",(char *) "value", NULL
4367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4369 arg1
= wxString_in_helper(obj0
);
4370 if (arg1
== NULL
) SWIG_fail
;
4373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4374 if (!SWIG_IsOK(ecode2
)) {
4375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4377 arg2
= static_cast< int >(val2
);
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= SWIG_Py_Void();
4399 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
= 0;
4401 wxString
*arg1
= 0 ;
4403 bool temp1
= false ;
4404 PyObject
* obj0
= 0 ;
4405 char * kwnames
[] = {
4406 (char *) "name", NULL
4409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4411 arg1
= wxString_in_helper(obj0
);
4412 if (arg1
== NULL
) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4442 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
= 0;
4444 wxString
*arg1
= 0 ;
4446 bool temp1
= false ;
4447 PyObject
* obj0
= 0 ;
4448 char * kwnames
[] = {
4449 (char *) "name", NULL
4452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4454 arg1
= wxString_in_helper(obj0
);
4455 if (arg1
== NULL
) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_From_int(static_cast< int >(result
));
4479 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxString
*arg1
= 0 ;
4483 bool temp1
= false ;
4484 PyObject
* obj0
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "name", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4491 arg1
= wxString_in_helper(obj0
);
4492 if (arg1
== NULL
) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4518 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
= 0;
4520 wxString
*arg1
= 0 ;
4522 bool temp1
= false ;
4523 PyObject
* obj0
= 0 ;
4524 char * kwnames
[] = {
4525 (char *) "name", NULL
4528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4530 arg1
= wxString_in_helper(obj0
);
4531 if (arg1
== NULL
) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4557 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4560 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4561 return SWIG_Py_Void();
4564 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4565 return SWIG_Python_InitShadowInstance(args
);
4568 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4569 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4574 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4575 PyObject
*pyobj
= 0;
4579 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4581 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4588 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4589 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4594 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4595 PyObject
*pyobj
= 0;
4599 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4601 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4608 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4609 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4614 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4615 PyObject
*pyobj
= 0;
4619 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4621 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4628 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4629 PyObject
*resultobj
= 0;
4632 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (long)wxNewId();
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_From_long(static_cast< long >(result
));
4646 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
= 0;
4651 PyObject
* obj0
= 0 ;
4652 char * kwnames
[] = {
4656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4657 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4658 if (!SWIG_IsOK(ecode1
)) {
4659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4661 arg1
= static_cast< long >(val1
);
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_Py_Void();
4675 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4676 PyObject
*resultobj
= 0;
4679 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 result
= (long)wxGetCurrentId();
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_From_long(static_cast< long >(result
));
4693 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
= 0;
4699 PyObject
* obj0
= 0 ;
4700 char * kwnames
[] = {
4704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4706 if (!SWIG_IsOK(ecode1
)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4709 arg1
= static_cast< int >(val1
);
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (bool)wxIsStockID(arg1
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4725 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
= 0;
4728 wxString
*arg2
= 0 ;
4732 bool temp2
= false ;
4733 PyObject
* obj0
= 0 ;
4734 PyObject
* obj1
= 0 ;
4735 char * kwnames
[] = {
4736 (char *) "id",(char *) "label", NULL
4739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4741 if (!SWIG_IsOK(ecode1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4744 arg1
= static_cast< int >(val1
);
4746 arg2
= wxString_in_helper(obj1
);
4747 if (arg2
== NULL
) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4773 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
= 0;
4776 bool arg2
= (bool) true ;
4777 wxString arg3
= (wxString
) wxPyEmptyString
;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4785 PyObject
* obj2
= 0 ;
4786 char * kwnames
[] = {
4787 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4792 if (!SWIG_IsOK(ecode1
)) {
4793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4795 arg1
= static_cast< int >(val1
);
4797 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4798 if (!SWIG_IsOK(ecode2
)) {
4799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4801 arg2
= static_cast< bool >(val2
);
4805 wxString
* sptr
= wxString_in_helper(obj2
);
4806 if (sptr
== NULL
) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4830 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4831 PyObject
*resultobj
= 0;
4833 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4835 if (!wxPyCheckForApp()) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_Py_Void();
4848 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4849 PyObject
*resultobj
= 0;
4851 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4853 if (!wxPyCheckForApp()) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= SWIG_Py_Void();
4866 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
= 0;
4868 bool arg1
= (bool) true ;
4872 PyObject
* obj0
= 0 ;
4873 char * kwnames
[] = {
4874 (char *) "resetTimer", NULL
4877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4879 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4880 if (!SWIG_IsOK(ecode1
)) {
4881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4883 arg1
= static_cast< bool >(val1
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (long)wxGetElapsedTime(arg1
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_From_long(static_cast< long >(result
));
4898 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4899 PyObject
*resultobj
= 0;
4902 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (bool)wxIsBusy();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4918 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4919 PyObject
*resultobj
= 0;
4922 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4942 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
= 0;
4944 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4945 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4947 bool temp1
= false ;
4948 PyObject
* obj0
= 0 ;
4949 char * kwnames
[] = {
4950 (char *) "command", NULL
4953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4956 arg1
= wxString_in_helper(obj0
);
4957 if (arg1
== NULL
) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (bool)wxShell((wxString
const &)*arg1
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4984 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4985 PyObject
*resultobj
= 0;
4987 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= SWIG_Py_Void();
5001 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5002 PyObject
*resultobj
= 0;
5003 int *arg1
= (int *) 0 ;
5004 int *arg2
= (int *) 0 ;
5007 int res1
= SWIG_TMPOBJ
;
5009 int res2
= SWIG_TMPOBJ
;
5013 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (int)wxGetOsVersion(arg1
,arg2
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= SWIG_From_int(static_cast< int >(result
));
5021 if (SWIG_IsTmpObj(res1
)) {
5022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5024 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5027 if (SWIG_IsTmpObj(res2
)) {
5028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5030 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5039 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5040 PyObject
*resultobj
= 0;
5043 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= wxGetOsDescription();
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5063 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5064 PyObject
*resultobj
= 0;
5065 wxMemorySize result
;
5067 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= wxGetFreeMemory();
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5081 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
= 0;
5083 wxShutdownFlags arg1
;
5087 PyObject
* obj0
= 0 ;
5088 char * kwnames
[] = {
5089 (char *) "wFlags", NULL
5092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5094 if (!SWIG_IsOK(ecode1
)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5097 arg1
= static_cast< wxShutdownFlags
>(val1
);
5099 if (!wxPyCheckForApp()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (bool)wxShutdown(arg1
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5114 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
= 0;
5119 PyObject
* obj0
= 0 ;
5120 char * kwnames
[] = {
5121 (char *) "secs", NULL
5124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5125 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5126 if (!SWIG_IsOK(ecode1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5129 arg1
= static_cast< int >(val1
);
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_Py_Void();
5143 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
= 0;
5145 unsigned long arg1
;
5146 unsigned long val1
;
5148 PyObject
* obj0
= 0 ;
5149 char * kwnames
[] = {
5150 (char *) "milliseconds", NULL
5153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5154 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5155 if (!SWIG_IsOK(ecode1
)) {
5156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5158 arg1
= static_cast< unsigned long >(val1
);
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_Py_Void();
5172 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
= 0;
5174 unsigned long arg1
;
5175 unsigned long val1
;
5177 PyObject
* obj0
= 0 ;
5178 char * kwnames
[] = {
5179 (char *) "microseconds", NULL
5182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5183 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5184 if (!SWIG_IsOK(ecode1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5187 arg1
= static_cast< unsigned long >(val1
);
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= SWIG_Py_Void();
5201 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
= 0;
5206 PyObject
* obj0
= 0 ;
5207 char * kwnames
[] = {
5208 (char *) "enable", NULL
5211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5212 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5213 if (!SWIG_IsOK(ecode1
)) {
5214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5216 arg1
= static_cast< bool >(val1
);
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 wxEnableTopLevelWindows(arg1
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_Py_Void();
5230 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
= 0;
5232 wxString
*arg1
= 0 ;
5234 bool temp1
= false ;
5235 PyObject
* obj0
= 0 ;
5236 char * kwnames
[] = {
5240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5242 arg1
= wxString_in_helper(obj0
);
5243 if (arg1
== NULL
) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5273 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5274 PyObject
*resultobj
= 0;
5277 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= wxGetEmailAddress();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5297 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5298 PyObject
*resultobj
= 0;
5301 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= wxGetHostName();
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5321 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5322 PyObject
*resultobj
= 0;
5325 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= wxGetFullHostName();
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5345 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5346 PyObject
*resultobj
= 0;
5349 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= wxGetUserId();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5369 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5370 PyObject
*resultobj
= 0;
5373 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= wxGetUserName();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5393 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5397 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= wxGetHomeDir();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5417 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5420 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5422 bool temp1
= false ;
5423 PyObject
* obj0
= 0 ;
5424 char * kwnames
[] = {
5425 (char *) "user", NULL
5428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5431 arg1
= wxString_in_helper(obj0
);
5432 if (arg1
== NULL
) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= wxGetUserHome((wxString
const &)*arg1
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5463 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5464 PyObject
*resultobj
= 0;
5465 unsigned long result
;
5467 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 result
= (unsigned long)wxGetProcessId();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5481 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5484 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= SWIG_Py_Void();
5498 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
= 0;
5500 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5501 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5502 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5503 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5504 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5505 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5506 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5507 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5508 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5509 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5510 int arg6
= (int) 0 ;
5511 wxWindow
*arg7
= (wxWindow
*) NULL
;
5512 int arg8
= (int) -1 ;
5513 int arg9
= (int) -1 ;
5515 bool temp1
= false ;
5516 bool temp2
= false ;
5517 bool temp3
= false ;
5518 bool temp4
= false ;
5519 bool temp5
= false ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5530 PyObject
* obj2
= 0 ;
5531 PyObject
* obj3
= 0 ;
5532 PyObject
* obj4
= 0 ;
5533 PyObject
* obj5
= 0 ;
5534 PyObject
* obj6
= 0 ;
5535 PyObject
* obj7
= 0 ;
5536 PyObject
* obj8
= 0 ;
5537 char * kwnames
[] = {
5538 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5544 arg1
= wxString_in_helper(obj0
);
5545 if (arg1
== NULL
) SWIG_fail
;
5551 arg2
= wxString_in_helper(obj1
);
5552 if (arg2
== NULL
) SWIG_fail
;
5558 arg3
= wxString_in_helper(obj2
);
5559 if (arg3
== NULL
) SWIG_fail
;
5565 arg4
= wxString_in_helper(obj3
);
5566 if (arg4
== NULL
) SWIG_fail
;
5572 arg5
= wxString_in_helper(obj4
);
5573 if (arg5
== NULL
) SWIG_fail
;
5578 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5579 if (!SWIG_IsOK(ecode6
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5582 arg6
= static_cast< int >(val6
);
5585 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5586 if (!SWIG_IsOK(res7
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5589 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5592 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5593 if (!SWIG_IsOK(ecode8
)) {
5594 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5596 arg8
= static_cast< int >(val8
);
5599 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5600 if (!SWIG_IsOK(ecode9
)) {
5601 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5603 arg9
= static_cast< int >(val9
);
5606 if (!wxPyCheckForApp()) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5665 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
= 0;
5667 wxString
*arg1
= 0 ;
5668 wxString
*arg2
= 0 ;
5669 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5670 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5671 wxWindow
*arg4
= (wxWindow
*) NULL
;
5673 bool temp1
= false ;
5674 bool temp2
= false ;
5675 bool temp3
= false ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 PyObject
* obj2
= 0 ;
5681 PyObject
* obj3
= 0 ;
5682 char * kwnames
[] = {
5683 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5688 arg1
= wxString_in_helper(obj0
);
5689 if (arg1
== NULL
) SWIG_fail
;
5693 arg2
= wxString_in_helper(obj1
);
5694 if (arg2
== NULL
) SWIG_fail
;
5699 arg3
= wxString_in_helper(obj2
);
5700 if (arg3
== NULL
) SWIG_fail
;
5705 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5706 if (!SWIG_IsOK(res4
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5709 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5712 if (!wxPyCheckForApp()) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5755 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
= 0;
5757 wxString
*arg1
= 0 ;
5758 wxString
*arg2
= 0 ;
5759 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5760 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5761 wxWindow
*arg4
= (wxWindow
*) NULL
;
5763 bool temp1
= false ;
5764 bool temp2
= false ;
5765 bool temp3
= false ;
5768 PyObject
* obj0
= 0 ;
5769 PyObject
* obj1
= 0 ;
5770 PyObject
* obj2
= 0 ;
5771 PyObject
* obj3
= 0 ;
5772 char * kwnames
[] = {
5773 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5778 arg1
= wxString_in_helper(obj0
);
5779 if (arg1
== NULL
) SWIG_fail
;
5783 arg2
= wxString_in_helper(obj1
);
5784 if (arg2
== NULL
) SWIG_fail
;
5789 arg3
= wxString_in_helper(obj2
);
5790 if (arg3
== NULL
) SWIG_fail
;
5795 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5796 if (!SWIG_IsOK(res4
)) {
5797 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5799 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5802 if (!wxPyCheckForApp()) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5845 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
= 0;
5847 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5848 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5849 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5850 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5851 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5854 wxWindow
*arg5
= (wxWindow
*) NULL
;
5856 bool temp1
= false ;
5857 bool temp2
= false ;
5863 PyObject
* obj0
= 0 ;
5864 PyObject
* obj1
= 0 ;
5865 PyObject
* obj2
= 0 ;
5866 PyObject
* obj3
= 0 ;
5867 PyObject
* obj4
= 0 ;
5868 char * kwnames
[] = {
5869 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5875 arg1
= wxString_in_helper(obj0
);
5876 if (arg1
== NULL
) SWIG_fail
;
5882 arg2
= wxString_in_helper(obj1
);
5883 if (arg2
== NULL
) SWIG_fail
;
5888 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5889 if (!SWIG_IsOK(ecode3
)) {
5890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5892 arg3
= static_cast< long >(val3
);
5897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5901 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5902 if (!SWIG_IsOK(res5
)) {
5903 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5905 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5908 if (!wxPyCheckForApp()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5943 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
= 0;
5945 wxString
*arg1
= 0 ;
5946 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5947 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5948 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5949 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5950 wxWindow
*arg4
= (wxWindow
*) NULL
;
5951 int arg5
= (int) -1 ;
5952 int arg6
= (int) -1 ;
5953 bool arg7
= (bool) true ;
5955 bool temp1
= false ;
5956 bool temp2
= false ;
5957 bool temp3
= false ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5968 PyObject
* obj2
= 0 ;
5969 PyObject
* obj3
= 0 ;
5970 PyObject
* obj4
= 0 ;
5971 PyObject
* obj5
= 0 ;
5972 PyObject
* obj6
= 0 ;
5973 char * kwnames
[] = {
5974 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5979 arg1
= wxString_in_helper(obj0
);
5980 if (arg1
== NULL
) SWIG_fail
;
5985 arg2
= wxString_in_helper(obj1
);
5986 if (arg2
== NULL
) SWIG_fail
;
5992 arg3
= wxString_in_helper(obj2
);
5993 if (arg3
== NULL
) SWIG_fail
;
5998 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5999 if (!SWIG_IsOK(res4
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6002 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6006 if (!SWIG_IsOK(ecode5
)) {
6007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6009 arg5
= static_cast< int >(val5
);
6012 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6013 if (!SWIG_IsOK(ecode6
)) {
6014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6016 arg6
= static_cast< int >(val6
);
6019 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6020 if (!SWIG_IsOK(ecode7
)) {
6021 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6023 arg7
= static_cast< bool >(val7
);
6026 if (!wxPyCheckForApp()) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6069 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
= 0;
6071 wxString
*arg1
= 0 ;
6072 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6073 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6074 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6075 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6076 wxWindow
*arg4
= (wxWindow
*) NULL
;
6078 bool temp1
= false ;
6079 bool temp2
= false ;
6080 bool temp3
= false ;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6085 PyObject
* obj2
= 0 ;
6086 PyObject
* obj3
= 0 ;
6087 char * kwnames
[] = {
6088 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6093 arg1
= wxString_in_helper(obj0
);
6094 if (arg1
== NULL
) SWIG_fail
;
6099 arg2
= wxString_in_helper(obj1
);
6100 if (arg2
== NULL
) SWIG_fail
;
6106 arg3
= wxString_in_helper(obj2
);
6107 if (arg3
== NULL
) SWIG_fail
;
6112 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6113 if (!SWIG_IsOK(res4
)) {
6114 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6116 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6119 if (!wxPyCheckForApp()) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6162 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
= 0;
6164 wxString
*arg1
= 0 ;
6165 wxString
*arg2
= 0 ;
6167 wxString
*arg4
= (wxString
*) 0 ;
6168 wxWindow
*arg5
= (wxWindow
*) NULL
;
6169 int arg6
= (int) -1 ;
6170 int arg7
= (int) -1 ;
6171 bool arg8
= (bool) true ;
6172 int arg9
= (int) 150 ;
6173 int arg10
= (int) 200 ;
6175 bool temp1
= false ;
6176 bool temp2
= false ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6191 PyObject
* obj2
= 0 ;
6192 PyObject
* obj3
= 0 ;
6193 PyObject
* obj4
= 0 ;
6194 PyObject
* obj5
= 0 ;
6195 PyObject
* obj6
= 0 ;
6196 PyObject
* obj7
= 0 ;
6197 PyObject
* obj8
= 0 ;
6198 char * kwnames
[] = {
6199 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6204 arg1
= wxString_in_helper(obj0
);
6205 if (arg1
== NULL
) SWIG_fail
;
6209 arg2
= wxString_in_helper(obj1
);
6210 if (arg2
== NULL
) SWIG_fail
;
6214 arg3
= PyList_Size(obj2
);
6215 arg4
= wxString_LIST_helper(obj2
);
6216 if (arg4
== NULL
) SWIG_fail
;
6219 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6220 if (!SWIG_IsOK(res5
)) {
6221 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6223 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6226 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6227 if (!SWIG_IsOK(ecode6
)) {
6228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6230 arg6
= static_cast< int >(val6
);
6233 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6234 if (!SWIG_IsOK(ecode7
)) {
6235 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6237 arg7
= static_cast< int >(val7
);
6240 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6241 if (!SWIG_IsOK(ecode8
)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6244 arg8
= static_cast< bool >(val8
);
6247 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6248 if (!SWIG_IsOK(ecode9
)) {
6249 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6251 arg9
= static_cast< int >(val9
);
6254 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6255 if (!SWIG_IsOK(ecode10
)) {
6256 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6258 arg10
= static_cast< int >(val10
);
6261 if (!wxPyCheckForApp()) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6283 if (arg4
) delete [] arg4
;
6296 if (arg4
) delete [] arg4
;
6302 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
= 0;
6304 wxString
*arg1
= 0 ;
6305 wxString
*arg2
= 0 ;
6307 wxString
*arg4
= (wxString
*) 0 ;
6308 wxWindow
*arg5
= (wxWindow
*) NULL
;
6309 int arg6
= (int) -1 ;
6310 int arg7
= (int) -1 ;
6311 bool arg8
= (bool) true ;
6312 int arg9
= (int) 150 ;
6313 int arg10
= (int) 200 ;
6315 bool temp1
= false ;
6316 bool temp2
= false ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 PyObject
* obj2
= 0 ;
6332 PyObject
* obj3
= 0 ;
6333 PyObject
* obj4
= 0 ;
6334 PyObject
* obj5
= 0 ;
6335 PyObject
* obj6
= 0 ;
6336 PyObject
* obj7
= 0 ;
6337 PyObject
* obj8
= 0 ;
6338 char * kwnames
[] = {
6339 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6344 arg1
= wxString_in_helper(obj0
);
6345 if (arg1
== NULL
) SWIG_fail
;
6349 arg2
= wxString_in_helper(obj1
);
6350 if (arg2
== NULL
) SWIG_fail
;
6354 arg3
= PyList_Size(obj2
);
6355 arg4
= wxString_LIST_helper(obj2
);
6356 if (arg4
== NULL
) SWIG_fail
;
6359 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6360 if (!SWIG_IsOK(res5
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6363 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6366 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6367 if (!SWIG_IsOK(ecode6
)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6370 arg6
= static_cast< int >(val6
);
6373 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6374 if (!SWIG_IsOK(ecode7
)) {
6375 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6377 arg7
= static_cast< int >(val7
);
6380 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6381 if (!SWIG_IsOK(ecode8
)) {
6382 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6384 arg8
= static_cast< bool >(val8
);
6387 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6388 if (!SWIG_IsOK(ecode9
)) {
6389 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6391 arg9
= static_cast< int >(val9
);
6394 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6395 if (!SWIG_IsOK(ecode10
)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6398 arg10
= static_cast< int >(val10
);
6401 if (!wxPyCheckForApp()) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_From_int(static_cast< int >(result
));
6417 if (arg4
) delete [] arg4
;
6430 if (arg4
) delete [] arg4
;
6436 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
= 0;
6438 wxString
*arg1
= 0 ;
6439 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6440 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6441 int arg3
= (int) wxOK
|wxCENTRE
;
6442 wxWindow
*arg4
= (wxWindow
*) NULL
;
6443 int arg5
= (int) -1 ;
6444 int arg6
= (int) -1 ;
6446 bool temp1
= false ;
6447 bool temp2
= false ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6458 PyObject
* obj2
= 0 ;
6459 PyObject
* obj3
= 0 ;
6460 PyObject
* obj4
= 0 ;
6461 PyObject
* obj5
= 0 ;
6462 char * kwnames
[] = {
6463 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6468 arg1
= wxString_in_helper(obj0
);
6469 if (arg1
== NULL
) SWIG_fail
;
6474 arg2
= wxString_in_helper(obj1
);
6475 if (arg2
== NULL
) SWIG_fail
;
6480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6481 if (!SWIG_IsOK(ecode3
)) {
6482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6484 arg3
= static_cast< int >(val3
);
6487 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6488 if (!SWIG_IsOK(res4
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6491 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6494 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6495 if (!SWIG_IsOK(ecode5
)) {
6496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6498 arg5
= static_cast< int >(val5
);
6501 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6502 if (!SWIG_IsOK(ecode6
)) {
6503 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6505 arg6
= static_cast< int >(val6
);
6508 if (!wxPyCheckForApp()) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_From_int(static_cast< int >(result
));
6537 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6538 PyObject
*resultobj
= 0;
6541 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6543 if (!wxPyCheckForApp()) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (bool)wxColourDisplay();
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6558 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6562 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6564 if (!wxPyCheckForApp()) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (int)wxDisplayDepth();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_From_int(static_cast< int >(result
));
6577 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6578 PyObject
*resultobj
= 0;
6581 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6583 if (!wxPyCheckForApp()) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (int)wxGetDisplayDepth();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_From_int(static_cast< int >(result
));
6596 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6597 PyObject
*resultobj
= 0;
6598 int *arg1
= (int *) 0 ;
6599 int *arg2
= (int *) 0 ;
6601 int res1
= SWIG_TMPOBJ
;
6603 int res2
= SWIG_TMPOBJ
;
6607 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6609 if (!wxPyCheckForApp()) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 wxDisplaySize(arg1
,arg2
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_Py_Void();
6616 if (SWIG_IsTmpObj(res1
)) {
6617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6619 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6622 if (SWIG_IsTmpObj(res2
)) {
6623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6625 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6634 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6635 PyObject
*resultobj
= 0;
6638 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6640 if (!wxPyCheckForApp()) SWIG_fail
;
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= wxGetDisplaySize();
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6653 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6654 PyObject
*resultobj
= 0;
6655 int *arg1
= (int *) 0 ;
6656 int *arg2
= (int *) 0 ;
6658 int res1
= SWIG_TMPOBJ
;
6660 int res2
= SWIG_TMPOBJ
;
6664 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6666 if (!wxPyCheckForApp()) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 wxDisplaySizeMM(arg1
,arg2
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_Py_Void();
6673 if (SWIG_IsTmpObj(res1
)) {
6674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6676 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6679 if (SWIG_IsTmpObj(res2
)) {
6680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6682 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6691 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6692 PyObject
*resultobj
= 0;
6695 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6697 if (!wxPyCheckForApp()) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= wxGetDisplaySizeMM();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6710 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6711 PyObject
*resultobj
= 0;
6712 int *arg1
= (int *) 0 ;
6713 int *arg2
= (int *) 0 ;
6714 int *arg3
= (int *) 0 ;
6715 int *arg4
= (int *) 0 ;
6717 int res1
= SWIG_TMPOBJ
;
6719 int res2
= SWIG_TMPOBJ
;
6721 int res3
= SWIG_TMPOBJ
;
6723 int res4
= SWIG_TMPOBJ
;
6729 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6731 if (!wxPyCheckForApp()) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 resultobj
= SWIG_Py_Void();
6738 if (SWIG_IsTmpObj(res1
)) {
6739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6741 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6744 if (SWIG_IsTmpObj(res2
)) {
6745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6747 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6750 if (SWIG_IsTmpObj(res3
)) {
6751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6753 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6756 if (SWIG_IsTmpObj(res4
)) {
6757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6759 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6768 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6769 PyObject
*resultobj
= 0;
6772 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6774 if (!wxPyCheckForApp()) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= wxGetClientDisplayRect();
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6787 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
= 0;
6789 wxCursor
*arg1
= 0 ;
6792 PyObject
* obj0
= 0 ;
6793 char * kwnames
[] = {
6794 (char *) "cursor", NULL
6797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6798 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6799 if (!SWIG_IsOK(res1
)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6805 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6807 if (!wxPyCheckForApp()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_Py_Void();
6820 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6821 PyObject
*resultobj
= 0;
6824 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6826 if (!wxPyCheckForApp()) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (void *)wxGetXDisplay();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6839 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
= 0;
6841 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6844 PyObject
* obj0
= 0 ;
6845 char * kwnames
[] = {
6846 (char *) "cursor", NULL
6849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6852 if (!SWIG_IsOK(res1
)) {
6853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6855 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6858 if (!wxPyCheckForApp()) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 wxBeginBusyCursor(arg1
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_Py_Void();
6871 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6872 PyObject
*resultobj
= 0;
6875 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6877 if (!wxPyCheckForApp()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= wxGetMousePosition();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6890 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6891 PyObject
*resultobj
= 0;
6892 wxWindow
*result
= 0 ;
6894 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxWindow
*)FindWindowAtPointer();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= wxPyMake_wxObject(result
, 0);
6911 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6912 PyObject
*resultobj
= 0;
6913 wxWindow
*result
= 0 ;
6915 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6917 if (!wxPyCheckForApp()) SWIG_fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 result
= (wxWindow
*)wxGetActiveWindow();
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= wxPyMake_wxObject(result
, 0);
6932 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6935 wxWindow
*result
= 0 ;
6937 PyObject
* obj0
= 0 ;
6938 char * kwnames
[] = {
6942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6945 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6948 if (!wxPyCheckForApp()) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= wxPyMake_wxObject(result
, 0);
6963 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
= 0;
6966 wxWindow
*result
= 0 ;
6968 PyObject
* obj0
= 0 ;
6969 char * kwnames
[] = {
6973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6976 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6979 if (!wxPyCheckForApp()) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= wxPyMake_wxObject(result
, 0);
6994 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
= 0;
6996 wxWindow
*arg1
= (wxWindow
*) 0 ;
6997 wxWindow
*result
= 0 ;
7000 PyObject
* obj0
= 0 ;
7001 char * kwnames
[] = {
7002 (char *) "win", NULL
7005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7007 if (!SWIG_IsOK(res1
)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7010 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7012 if (!wxPyCheckForApp()) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= wxPyMake_wxObject(result
, 0);
7027 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
= 0;
7029 wxString
*arg1
= 0 ;
7031 bool temp1
= false ;
7032 PyObject
* obj0
= 0 ;
7033 char * kwnames
[] = {
7034 (char *) "url", NULL
7037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7039 arg1
= wxString_in_helper(obj0
);
7040 if (arg1
== NULL
) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7066 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= 0;
7072 PyObject
* obj0
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "key", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7079 if (!SWIG_IsOK(ecode1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7082 arg1
= static_cast< wxKeyCode
>(val1
);
7084 if (!wxPyCheckForApp()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= (bool)wxGetKeyState(arg1
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7099 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7100 PyObject
*resultobj
= 0;
7101 wxMouseState
*result
= 0 ;
7103 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 result
= (wxMouseState
*)new wxMouseState();
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7117 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7118 PyObject
*resultobj
= 0;
7119 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7122 PyObject
*swig_obj
[1] ;
7124 if (!args
) SWIG_fail
;
7126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7127 if (!SWIG_IsOK(res1
)) {
7128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7130 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_Py_Void();
7145 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 PyObject
*resultobj
= 0;
7147 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7151 PyObject
*swig_obj
[1] ;
7153 if (!args
) SWIG_fail
;
7155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7156 if (!SWIG_IsOK(res1
)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7159 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 result
= (int)(arg1
)->GetX();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_From_int(static_cast< int >(result
));
7173 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7187 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (int)(arg1
)->GetY();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_From_int(static_cast< int >(result
));
7201 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7202 PyObject
*resultobj
= 0;
7203 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7207 PyObject
*swig_obj
[1] ;
7209 if (!args
) SWIG_fail
;
7211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7212 if (!SWIG_IsOK(res1
)) {
7213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7215 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (bool)(arg1
)->LeftDown();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7231 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7232 PyObject
*resultobj
= 0;
7233 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7237 PyObject
*swig_obj
[1] ;
7239 if (!args
) SWIG_fail
;
7241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7242 if (!SWIG_IsOK(res1
)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7245 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (bool)(arg1
)->MiddleDown();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7261 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7262 PyObject
*resultobj
= 0;
7263 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7267 PyObject
*swig_obj
[1] ;
7269 if (!args
) SWIG_fail
;
7271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7272 if (!SWIG_IsOK(res1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7275 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (bool)(arg1
)->RightDown();
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7291 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7292 PyObject
*resultobj
= 0;
7293 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7297 PyObject
*swig_obj
[1] ;
7299 if (!args
) SWIG_fail
;
7301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7302 if (!SWIG_IsOK(res1
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7305 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (bool)(arg1
)->ControlDown();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7321 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7322 PyObject
*resultobj
= 0;
7323 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7327 PyObject
*swig_obj
[1] ;
7329 if (!args
) SWIG_fail
;
7331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7332 if (!SWIG_IsOK(res1
)) {
7333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7335 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (bool)(arg1
)->ShiftDown();
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7351 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 PyObject
*resultobj
= 0;
7353 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7357 PyObject
*swig_obj
[1] ;
7359 if (!args
) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7365 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (bool)(arg1
)->AltDown();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7381 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7382 PyObject
*resultobj
= 0;
7383 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7387 PyObject
*swig_obj
[1] ;
7389 if (!args
) SWIG_fail
;
7391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7392 if (!SWIG_IsOK(res1
)) {
7393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7395 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (bool)(arg1
)->MetaDown();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7411 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7412 PyObject
*resultobj
= 0;
7413 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7417 PyObject
*swig_obj
[1] ;
7419 if (!args
) SWIG_fail
;
7421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7422 if (!SWIG_IsOK(res1
)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7425 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (bool)(arg1
)->CmdDown();
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7441 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= 0;
7443 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "self",(char *) "x", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7460 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7462 if (!SWIG_IsOK(ecode2
)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7465 arg2
= static_cast< int >(val2
);
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_Py_Void();
7479 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
= 0;
7481 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7489 char * kwnames
[] = {
7490 (char *) "self",(char *) "y", NULL
7493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7498 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7500 if (!SWIG_IsOK(ecode2
)) {
7501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7503 arg2
= static_cast< int >(val2
);
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= SWIG_Py_Void();
7517 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
= 0;
7519 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7527 char * kwnames
[] = {
7528 (char *) "self",(char *) "down", NULL
7531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7533 if (!SWIG_IsOK(res1
)) {
7534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7536 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7537 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7538 if (!SWIG_IsOK(ecode2
)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7541 arg2
= static_cast< bool >(val2
);
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 (arg1
)->SetLeftDown(arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_Py_Void();
7555 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
= 0;
7557 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7565 char * kwnames
[] = {
7566 (char *) "self",(char *) "down", NULL
7569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7571 if (!SWIG_IsOK(res1
)) {
7572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7574 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7575 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7576 if (!SWIG_IsOK(ecode2
)) {
7577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7579 arg2
= static_cast< bool >(val2
);
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->SetMiddleDown(arg2
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_Py_Void();
7593 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
= 0;
7595 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7601 PyObject
* obj0
= 0 ;
7602 PyObject
* obj1
= 0 ;
7603 char * kwnames
[] = {
7604 (char *) "self",(char *) "down", NULL
7607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7612 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7613 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7614 if (!SWIG_IsOK(ecode2
)) {
7615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7617 arg2
= static_cast< bool >(val2
);
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 (arg1
)->SetRightDown(arg2
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
= 0;
7633 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7641 char * kwnames
[] = {
7642 (char *) "self",(char *) "down", NULL
7645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7647 if (!SWIG_IsOK(res1
)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7650 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7651 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7652 if (!SWIG_IsOK(ecode2
)) {
7653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7655 arg2
= static_cast< bool >(val2
);
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 (arg1
)->SetControlDown(arg2
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= SWIG_Py_Void();
7669 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
= 0;
7671 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7678 PyObject
* obj1
= 0 ;
7679 char * kwnames
[] = {
7680 (char *) "self",(char *) "down", NULL
7683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7685 if (!SWIG_IsOK(res1
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7688 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7690 if (!SWIG_IsOK(ecode2
)) {
7691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7693 arg2
= static_cast< bool >(val2
);
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 (arg1
)->SetShiftDown(arg2
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= SWIG_Py_Void();
7707 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
= 0;
7709 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7717 char * kwnames
[] = {
7718 (char *) "self",(char *) "down", NULL
7721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7723 if (!SWIG_IsOK(res1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7726 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7727 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7728 if (!SWIG_IsOK(ecode2
)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7731 arg2
= static_cast< bool >(val2
);
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 (arg1
)->SetAltDown(arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_Py_Void();
7745 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
= 0;
7747 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7755 char * kwnames
[] = {
7756 (char *) "self",(char *) "down", NULL
7759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7761 if (!SWIG_IsOK(res1
)) {
7762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7764 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7765 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7766 if (!SWIG_IsOK(ecode2
)) {
7767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7769 arg2
= static_cast< bool >(val2
);
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 (arg1
)->SetMetaDown(arg2
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_Py_Void();
7783 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7786 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7787 return SWIG_Py_Void();
7790 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 return SWIG_Python_InitShadowInstance(args
);
7794 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7795 PyObject
*resultobj
= 0;
7796 wxMouseState result
;
7798 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= wxGetMouseState();
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7812 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7813 PyObject
*resultobj
= 0;
7815 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7817 if (!wxPyCheckForApp()) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 wxWakeUpMainThread();
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= SWIG_Py_Void();
7830 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7831 PyObject
*resultobj
= 0;
7833 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7835 if (!wxPyCheckForApp()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_Py_Void();
7848 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7849 PyObject
*resultobj
= 0;
7851 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7853 if (!wxPyCheckForApp()) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= SWIG_Py_Void();
7866 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7867 PyObject
*resultobj
= 0;
7868 wxMutexGuiLocker
*result
= 0 ;
7870 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7872 if (!wxPyCheckForApp()) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7885 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7886 PyObject
*resultobj
= 0;
7887 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7890 PyObject
*swig_obj
[1] ;
7892 if (!args
) SWIG_fail
;
7894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7895 if (!SWIG_IsOK(res1
)) {
7896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7898 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= SWIG_Py_Void();
7913 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7916 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7917 return SWIG_Py_Void();
7920 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7921 return SWIG_Python_InitShadowInstance(args
);
7924 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7925 PyObject
*resultobj
= 0;
7928 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (bool)wxThread_IsMain();
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7944 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
= 0;
7946 wxString
*arg1
= 0 ;
7947 wxToolTip
*result
= 0 ;
7948 bool temp1
= false ;
7949 PyObject
* obj0
= 0 ;
7950 char * kwnames
[] = {
7951 (char *) "tip", NULL
7954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7956 arg1
= wxString_in_helper(obj0
);
7957 if (arg1
== NULL
) SWIG_fail
;
7961 if (!wxPyCheckForApp()) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
7982 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7983 PyObject
*resultobj
= 0;
7984 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7987 PyObject
*swig_obj
[1] ;
7989 if (!args
) SWIG_fail
;
7991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
7992 if (!SWIG_IsOK(res1
)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
7995 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_Py_Void();
8010 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= 0;
8012 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8013 wxString
*arg2
= 0 ;
8016 bool temp2
= false ;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8019 char * kwnames
[] = {
8020 (char *) "self",(char *) "tip", NULL
8023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8025 if (!SWIG_IsOK(res1
)) {
8026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8028 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8030 arg2
= wxString_in_helper(obj1
);
8031 if (arg2
== NULL
) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 (arg1
)->SetTip((wxString
const &)*arg2
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_Py_Void();
8055 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8056 PyObject
*resultobj
= 0;
8057 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8061 PyObject
*swig_obj
[1] ;
8063 if (!args
) SWIG_fail
;
8065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8066 if (!SWIG_IsOK(res1
)) {
8067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8069 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= (arg1
)->GetTip();
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8089 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8090 PyObject
*resultobj
= 0;
8091 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8092 wxWindow
*result
= 0 ;
8095 PyObject
*swig_obj
[1] ;
8097 if (!args
) SWIG_fail
;
8099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8100 if (!SWIG_IsOK(res1
)) {
8101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8103 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (wxWindow
*)(arg1
)->GetWindow();
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= wxPyMake_wxObject(result
, 0);
8119 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
= 0;
8124 PyObject
* obj0
= 0 ;
8125 char * kwnames
[] = {
8126 (char *) "flag", NULL
8129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8130 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8131 if (!SWIG_IsOK(ecode1
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8134 arg1
= static_cast< bool >(val1
);
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 wxToolTip::Enable(arg1
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 resultobj
= SWIG_Py_Void();
8148 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
= 0;
8153 PyObject
* obj0
= 0 ;
8154 char * kwnames
[] = {
8155 (char *) "milliseconds", NULL
8158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8159 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8160 if (!SWIG_IsOK(ecode1
)) {
8161 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8163 arg1
= static_cast< long >(val1
);
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxToolTip::SetDelay(arg1
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_Py_Void();
8177 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8180 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8181 return SWIG_Py_Void();
8184 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8185 return SWIG_Python_InitShadowInstance(args
);
8188 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
= 0;
8190 wxWindow
*arg1
= (wxWindow
*) 0 ;
8192 wxCaret
*result
= 0 ;
8196 PyObject
* obj0
= 0 ;
8197 PyObject
* obj1
= 0 ;
8198 char * kwnames
[] = {
8199 (char *) "window",(char *) "size", NULL
8202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8204 if (!SWIG_IsOK(res1
)) {
8205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8207 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8210 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8213 if (!wxPyCheckForApp()) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8226 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8227 PyObject
*resultobj
= 0;
8228 wxCaret
*arg1
= (wxCaret
*) 0 ;
8231 PyObject
*swig_obj
[1] ;
8233 if (!args
) SWIG_fail
;
8235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8236 if (!SWIG_IsOK(res1
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8239 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_Py_Void();
8254 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8255 PyObject
*resultobj
= 0;
8256 wxCaret
*arg1
= (wxCaret
*) 0 ;
8259 PyObject
*swig_obj
[1] ;
8261 if (!args
) SWIG_fail
;
8263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8264 if (!SWIG_IsOK(res1
)) {
8265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8267 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 wxCaret_Destroy(arg1
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_Py_Void();
8281 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8282 PyObject
*resultobj
= 0;
8283 wxCaret
*arg1
= (wxCaret
*) 0 ;
8287 PyObject
*swig_obj
[1] ;
8289 if (!args
) SWIG_fail
;
8291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8292 if (!SWIG_IsOK(res1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8295 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (bool)(arg1
)->IsOk();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8311 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8312 PyObject
*resultobj
= 0;
8313 wxCaret
*arg1
= (wxCaret
*) 0 ;
8317 PyObject
*swig_obj
[1] ;
8319 if (!args
) SWIG_fail
;
8321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8322 if (!SWIG_IsOK(res1
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8325 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (bool)(arg1
)->IsVisible();
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8341 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8342 PyObject
*resultobj
= 0;
8343 wxCaret
*arg1
= (wxCaret
*) 0 ;
8347 PyObject
*swig_obj
[1] ;
8349 if (!args
) SWIG_fail
;
8351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8352 if (!SWIG_IsOK(res1
)) {
8353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8355 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (arg1
)->GetPosition();
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8369 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 PyObject
*resultobj
= 0;
8371 wxCaret
*arg1
= (wxCaret
*) 0 ;
8372 int *arg2
= (int *) 0 ;
8373 int *arg3
= (int *) 0 ;
8377 int res2
= SWIG_TMPOBJ
;
8379 int res3
= SWIG_TMPOBJ
;
8380 PyObject
*swig_obj
[1] ;
8384 if (!args
) SWIG_fail
;
8386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8387 if (!SWIG_IsOK(res1
)) {
8388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8390 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 (arg1
)->GetPosition(arg2
,arg3
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_Py_Void();
8398 if (SWIG_IsTmpObj(res2
)) {
8399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8401 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8404 if (SWIG_IsTmpObj(res3
)) {
8405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8407 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8416 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8417 PyObject
*resultobj
= 0;
8418 wxCaret
*arg1
= (wxCaret
*) 0 ;
8422 PyObject
*swig_obj
[1] ;
8424 if (!args
) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8430 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= (arg1
)->GetSize();
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8444 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8445 PyObject
*resultobj
= 0;
8446 wxCaret
*arg1
= (wxCaret
*) 0 ;
8447 int *arg2
= (int *) 0 ;
8448 int *arg3
= (int *) 0 ;
8452 int res2
= SWIG_TMPOBJ
;
8454 int res3
= SWIG_TMPOBJ
;
8455 PyObject
*swig_obj
[1] ;
8459 if (!args
) SWIG_fail
;
8461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8462 if (!SWIG_IsOK(res1
)) {
8463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8465 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 (arg1
)->GetSize(arg2
,arg3
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= SWIG_Py_Void();
8473 if (SWIG_IsTmpObj(res2
)) {
8474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8476 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8479 if (SWIG_IsTmpObj(res3
)) {
8480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8482 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8491 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8492 PyObject
*resultobj
= 0;
8493 wxCaret
*arg1
= (wxCaret
*) 0 ;
8494 wxWindow
*result
= 0 ;
8497 PyObject
*swig_obj
[1] ;
8499 if (!args
) SWIG_fail
;
8501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8502 if (!SWIG_IsOK(res1
)) {
8503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8505 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (wxWindow
*)(arg1
)->GetWindow();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= wxPyMake_wxObject(result
, 0);
8521 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxCaret
*arg1
= (wxCaret
*) 0 ;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8535 char * kwnames
[] = {
8536 (char *) "self",(char *) "x",(char *) "y", NULL
8539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8541 if (!SWIG_IsOK(res1
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8544 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8546 if (!SWIG_IsOK(ecode2
)) {
8547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8549 arg2
= static_cast< int >(val2
);
8550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8551 if (!SWIG_IsOK(ecode3
)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8554 arg3
= static_cast< int >(val3
);
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 (arg1
)->Move(arg2
,arg3
);
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= SWIG_Py_Void();
8568 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
= 0;
8570 wxCaret
*arg1
= (wxCaret
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8576 PyObject
* obj1
= 0 ;
8577 char * kwnames
[] = {
8578 (char *) "self",(char *) "pt", NULL
8581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8583 if (!SWIG_IsOK(res1
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8586 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8589 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 (arg1
)->Move((wxPoint
const &)*arg2
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= SWIG_Py_Void();
8604 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
= 0;
8606 wxCaret
*arg1
= (wxCaret
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8617 PyObject
* obj2
= 0 ;
8618 char * kwnames
[] = {
8619 (char *) "self",(char *) "width",(char *) "height", NULL
8622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8624 if (!SWIG_IsOK(res1
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8627 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8629 if (!SWIG_IsOK(ecode2
)) {
8630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8632 arg2
= static_cast< int >(val2
);
8633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8634 if (!SWIG_IsOK(ecode3
)) {
8635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8637 arg3
= static_cast< int >(val3
);
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 (arg1
)->SetSize(arg2
,arg3
);
8641 wxPyEndAllowThreads(__tstate
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_Py_Void();
8651 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
= 0;
8653 wxCaret
*arg1
= (wxCaret
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8660 char * kwnames
[] = {
8661 (char *) "self",(char *) "size", NULL
8664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8666 if (!SWIG_IsOK(res1
)) {
8667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8669 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8672 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetSize((wxSize
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_Py_Void();
8687 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxCaret
*arg1
= (wxCaret
*) 0 ;
8690 int arg2
= (int) true ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "self",(char *) "show", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8706 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8709 if (!SWIG_IsOK(ecode2
)) {
8710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8712 arg2
= static_cast< int >(val2
);
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_Py_Void();
8727 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8728 PyObject
*resultobj
= 0;
8729 wxCaret
*arg1
= (wxCaret
*) 0 ;
8732 PyObject
*swig_obj
[1] ;
8734 if (!args
) SWIG_fail
;
8736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8737 if (!SWIG_IsOK(res1
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8740 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_Py_Void();
8754 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8755 PyObject
*resultobj
= 0;
8758 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 result
= (int)wxCaret::GetBlinkTime();
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= SWIG_From_int(static_cast< int >(result
));
8772 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
= 0;
8777 PyObject
* obj0
= 0 ;
8778 char * kwnames
[] = {
8779 (char *) "milliseconds", NULL
8782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8784 if (!SWIG_IsOK(ecode1
)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8787 arg1
= static_cast< int >(val1
);
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 wxCaret::SetBlinkTime(arg1
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= SWIG_Py_Void();
8801 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8804 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8805 return SWIG_Py_Void();
8808 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8809 return SWIG_Python_InitShadowInstance(args
);
8812 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8815 wxBusyCursor
*result
= 0 ;
8818 PyObject
* obj0
= 0 ;
8819 char * kwnames
[] = {
8820 (char *) "cursor", NULL
8823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8826 if (!SWIG_IsOK(res1
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8829 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8832 if (!wxPyCheckForApp()) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8845 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8846 PyObject
*resultobj
= 0;
8847 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8850 PyObject
*swig_obj
[1] ;
8852 if (!args
) SWIG_fail
;
8854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8855 if (!SWIG_IsOK(res1
)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8858 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= SWIG_Py_Void();
8873 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8876 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8877 return SWIG_Py_Void();
8880 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8881 return SWIG_Python_InitShadowInstance(args
);
8884 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
= 0;
8886 wxWindow
*arg1
= (wxWindow
*) NULL
;
8887 wxWindowDisabler
*result
= 0 ;
8890 PyObject
* obj0
= 0 ;
8891 char * kwnames
[] = {
8892 (char *) "winToSkip", NULL
8895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8898 if (!SWIG_IsOK(res1
)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8901 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8904 if (!wxPyCheckForApp()) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8917 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8918 PyObject
*resultobj
= 0;
8919 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8922 PyObject
*swig_obj
[1] ;
8924 if (!args
) SWIG_fail
;
8926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8927 if (!SWIG_IsOK(res1
)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8930 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= SWIG_Py_Void();
8945 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8948 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8949 return SWIG_Py_Void();
8952 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8953 return SWIG_Python_InitShadowInstance(args
);
8956 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
= 0;
8958 wxString
*arg1
= 0 ;
8959 wxBusyInfo
*result
= 0 ;
8960 bool temp1
= false ;
8961 PyObject
* obj0
= 0 ;
8962 char * kwnames
[] = {
8963 (char *) "message", NULL
8966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8968 arg1
= wxString_in_helper(obj0
);
8969 if (arg1
== NULL
) SWIG_fail
;
8973 if (!wxPyCheckForApp()) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
8994 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8995 PyObject
*resultobj
= 0;
8996 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
8999 PyObject
*swig_obj
[1] ;
9001 if (!args
) SWIG_fail
;
9003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9004 if (!SWIG_IsOK(res1
)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9007 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_Py_Void();
9022 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9025 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9026 return SWIG_Py_Void();
9029 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9030 return SWIG_Python_InitShadowInstance(args
);
9033 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9034 PyObject
*resultobj
= 0;
9035 wxStopWatch
*result
= 0 ;
9037 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 result
= (wxStopWatch
*)new wxStopWatch();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9051 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
= 0;
9053 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9054 long arg2
= (long) 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 char * kwnames
[] = {
9062 (char *) "self",(char *) "t0", NULL
9065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9067 if (!SWIG_IsOK(res1
)) {
9068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9070 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9072 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9073 if (!SWIG_IsOK(ecode2
)) {
9074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9076 arg2
= static_cast< long >(val2
);
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 (arg1
)->Start(arg2
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= SWIG_Py_Void();
9091 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9092 PyObject
*resultobj
= 0;
9093 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9096 PyObject
*swig_obj
[1] ;
9098 if (!args
) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9104 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_Py_Void();
9118 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9119 PyObject
*resultobj
= 0;
9120 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9123 PyObject
*swig_obj
[1] ;
9125 if (!args
) SWIG_fail
;
9127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9128 if (!SWIG_IsOK(res1
)) {
9129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9131 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= SWIG_Py_Void();
9145 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9146 PyObject
*resultobj
= 0;
9147 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9151 PyObject
*swig_obj
[1] ;
9153 if (!args
) SWIG_fail
;
9155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9156 if (!SWIG_IsOK(res1
)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9159 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= SWIG_From_long(static_cast< long >(result
));
9173 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9176 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9177 return SWIG_Py_Void();
9180 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9181 return SWIG_Python_InitShadowInstance(args
);
9184 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
= 0;
9186 int arg1
= (int) 9 ;
9187 int arg2
= (int) wxID_FILE1
;
9188 wxFileHistory
*result
= 0 ;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9195 char * kwnames
[] = {
9196 (char *) "maxFiles",(char *) "idBase", NULL
9199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9202 if (!SWIG_IsOK(ecode1
)) {
9203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9205 arg1
= static_cast< int >(val1
);
9208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9209 if (!SWIG_IsOK(ecode2
)) {
9210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9212 arg2
= static_cast< int >(val2
);
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9227 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9228 PyObject
*resultobj
= 0;
9229 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9232 PyObject
*swig_obj
[1] ;
9234 if (!args
) SWIG_fail
;
9236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9237 if (!SWIG_IsOK(res1
)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9240 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_Py_Void();
9255 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
= 0;
9257 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9258 wxString
*arg2
= 0 ;
9261 bool temp2
= false ;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 char * kwnames
[] = {
9265 (char *) "self",(char *) "file", NULL
9268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9273 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9275 arg2
= wxString_in_helper(obj1
);
9276 if (arg2
== NULL
) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_Py_Void();
9300 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
= 0;
9302 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9310 char * kwnames
[] = {
9311 (char *) "self",(char *) "i", NULL
9314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9316 if (!SWIG_IsOK(res1
)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9319 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9321 if (!SWIG_IsOK(ecode2
)) {
9322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9324 arg2
= static_cast< int >(val2
);
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->RemoveFileFromHistory(arg2
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_Py_Void();
9338 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9339 PyObject
*resultobj
= 0;
9340 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9344 PyObject
*swig_obj
[1] ;
9346 if (!args
) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9352 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_From_int(static_cast< int >(result
));
9366 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
= 0;
9368 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9369 wxMenu
*arg2
= (wxMenu
*) 0 ;
9374 PyObject
* obj0
= 0 ;
9375 PyObject
* obj1
= 0 ;
9376 char * kwnames
[] = {
9377 (char *) "self",(char *) "menu", NULL
9380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9385 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9387 if (!SWIG_IsOK(res2
)) {
9388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9390 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 (arg1
)->UseMenu(arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_Py_Void();
9404 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
= 0;
9406 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9407 wxMenu
*arg2
= (wxMenu
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 char * kwnames
[] = {
9415 (char *) "self",(char *) "menu", NULL
9418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9420 if (!SWIG_IsOK(res1
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9423 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9425 if (!SWIG_IsOK(res2
)) {
9426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9428 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 (arg1
)->RemoveMenu(arg2
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_Py_Void();
9442 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= 0;
9444 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9445 wxConfigBase
*arg2
= 0 ;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9452 char * kwnames
[] = {
9453 (char *) "self",(char *) "config", NULL
9456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9461 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9463 if (!SWIG_IsOK(res2
)) {
9464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9469 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 (arg1
)->Load(*arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_Py_Void();
9483 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
= 0;
9485 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9486 wxConfigBase
*arg2
= 0 ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 char * kwnames
[] = {
9494 (char *) "self",(char *) "config", NULL
9497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9502 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9504 if (!SWIG_IsOK(res2
)) {
9505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9510 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->Save(*arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9525 PyObject
*resultobj
= 0;
9526 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9529 PyObject
*swig_obj
[1] ;
9531 if (!args
) SWIG_fail
;
9533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9534 if (!SWIG_IsOK(res1
)) {
9535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9537 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 (arg1
)->AddFilesToMenu();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_Py_Void();
9551 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
= 0;
9553 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9554 wxMenu
*arg2
= (wxMenu
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9561 char * kwnames
[] = {
9562 (char *) "self",(char *) "menu", NULL
9565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9567 if (!SWIG_IsOK(res1
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9570 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9572 if (!SWIG_IsOK(res2
)) {
9573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9575 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 (arg1
)->AddFilesToMenu(arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_Py_Void();
9589 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
= 0;
9591 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 char * kwnames
[] = {
9601 (char *) "self",(char *) "i", NULL
9604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9606 if (!SWIG_IsOK(res1
)) {
9607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9609 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9611 if (!SWIG_IsOK(ecode2
)) {
9612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9614 arg2
= static_cast< int >(val2
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9634 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9635 PyObject
*resultobj
= 0;
9636 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9640 PyObject
*swig_obj
[1] ;
9642 if (!args
) SWIG_fail
;
9644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9645 if (!SWIG_IsOK(res1
)) {
9646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9648 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_From_int(static_cast< int >(result
));
9662 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9665 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9666 return SWIG_Py_Void();
9669 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 return SWIG_Python_InitShadowInstance(args
);
9673 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
= 0;
9675 wxString
*arg1
= 0 ;
9676 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9677 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9678 wxSingleInstanceChecker
*result
= 0 ;
9679 bool temp1
= false ;
9680 bool temp2
= false ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9683 char * kwnames
[] = {
9684 (char *) "name",(char *) "path", NULL
9687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9689 arg1
= wxString_in_helper(obj0
);
9690 if (arg1
== NULL
) SWIG_fail
;
9695 arg2
= wxString_in_helper(obj1
);
9696 if (arg2
== NULL
) SWIG_fail
;
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9729 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9730 PyObject
*resultobj
= 0;
9731 wxSingleInstanceChecker
*result
= 0 ;
9733 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9747 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9748 PyObject
*resultobj
= 0;
9749 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9752 PyObject
*swig_obj
[1] ;
9754 if (!args
) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9760 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_Py_Void();
9775 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
= 0;
9777 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9778 wxString
*arg2
= 0 ;
9779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9784 bool temp2
= false ;
9785 bool temp3
= false ;
9786 PyObject
* obj0
= 0 ;
9787 PyObject
* obj1
= 0 ;
9788 PyObject
* obj2
= 0 ;
9789 char * kwnames
[] = {
9790 (char *) "self",(char *) "name",(char *) "path", NULL
9793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9795 if (!SWIG_IsOK(res1
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9798 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9800 arg2
= wxString_in_helper(obj1
);
9801 if (arg2
== NULL
) SWIG_fail
;
9806 arg3
= wxString_in_helper(obj2
);
9807 if (arg3
== NULL
) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9842 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9843 PyObject
*resultobj
= 0;
9844 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9848 PyObject
*swig_obj
[1] ;
9850 if (!args
) SWIG_fail
;
9852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9853 if (!SWIG_IsOK(res1
)) {
9854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9856 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9872 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9875 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9876 return SWIG_Py_Void();
9879 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9880 return SWIG_Python_InitShadowInstance(args
);
9883 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
= 0;
9885 wxWindow
*arg1
= (wxWindow
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9893 PyObject
* obj1
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "window",(char *) "dc", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9900 if (!SWIG_IsOK(res1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9905 if (!SWIG_IsOK(res2
)) {
9906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9911 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9927 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9928 PyObject
*resultobj
= 0;
9929 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9932 PyObject
*swig_obj
[1] ;
9934 if (!args
) SWIG_fail
;
9936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9937 if (!SWIG_IsOK(res1
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9940 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_Py_Void();
9955 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9956 PyObject
*resultobj
= 0;
9957 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9961 PyObject
*swig_obj
[1] ;
9963 if (!args
) SWIG_fail
;
9965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9966 if (!SWIG_IsOK(res1
)) {
9967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9969 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (arg1
)->GetTip();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9989 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9990 PyObject
*resultobj
= 0;
9991 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9995 PyObject
*swig_obj
[1] ;
9997 if (!args
) SWIG_fail
;
9999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10000 if (!SWIG_IsOK(res1
)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10003 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (size_t)(arg1
)->GetCurrentTip();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10017 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
= 0;
10019 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10020 wxString
*arg2
= 0 ;
10024 bool temp2
= false ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 char * kwnames
[] = {
10028 (char *) "self",(char *) "tip", NULL
10031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10033 if (!SWIG_IsOK(res1
)) {
10034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10036 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10038 arg2
= wxString_in_helper(obj1
);
10039 if (arg2
== NULL
) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10069 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10072 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10073 return SWIG_Py_Void();
10076 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10079 wxPyTipProvider
*result
= 0 ;
10082 PyObject
* obj0
= 0 ;
10083 char * kwnames
[] = {
10084 (char *) "currentTip", NULL
10087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10088 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10089 if (!SWIG_IsOK(ecode1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10092 arg1
= static_cast< size_t >(val1
);
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10106 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
= 0;
10108 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10109 PyObject
*arg2
= (PyObject
*) 0 ;
10110 PyObject
*arg3
= (PyObject
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 PyObject
* obj2
= 0 ;
10116 char * kwnames
[] = {
10117 (char *) "self",(char *) "self",(char *) "_class", NULL
10120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10122 if (!SWIG_IsOK(res1
)) {
10123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10125 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_Py_Void();
10141 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10144 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10145 return SWIG_Py_Void();
10148 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10149 return SWIG_Python_InitShadowInstance(args
);
10152 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
= 0;
10154 wxWindow
*arg1
= (wxWindow
*) 0 ;
10155 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10156 bool arg3
= (bool) true ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 PyObject
* obj2
= 0 ;
10167 char * kwnames
[] = {
10168 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10173 if (!SWIG_IsOK(res1
)) {
10174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10176 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10178 if (!SWIG_IsOK(res2
)) {
10179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10181 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10183 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10184 if (!SWIG_IsOK(ecode3
)) {
10185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10187 arg3
= static_cast< bool >(val3
);
10190 if (!wxPyCheckForApp()) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10205 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
= 0;
10207 wxString
*arg1
= 0 ;
10209 wxTipProvider
*result
= 0 ;
10210 bool temp1
= false ;
10213 PyObject
* obj0
= 0 ;
10214 PyObject
* obj1
= 0 ;
10215 char * kwnames
[] = {
10216 (char *) "filename",(char *) "currentTip", NULL
10219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10221 arg1
= wxString_in_helper(obj0
);
10222 if (arg1
== NULL
) SWIG_fail
;
10225 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10226 if (!SWIG_IsOK(ecode2
)) {
10227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10229 arg2
= static_cast< size_t >(val2
);
10231 if (!wxPyCheckForApp()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10252 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
= 0;
10254 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10255 int arg2
= (int) wxID_ANY
;
10256 wxPyTimer
*result
= 0 ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 char * kwnames
[] = {
10264 (char *) "owner",(char *) "id", NULL
10267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10270 if (!SWIG_IsOK(res1
)) {
10271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10273 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10277 if (!SWIG_IsOK(ecode2
)) {
10278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10280 arg2
= static_cast< int >(val2
);
10283 if (!wxPyCheckForApp()) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10296 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10297 PyObject
*resultobj
= 0;
10298 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10301 PyObject
*swig_obj
[1] ;
10303 if (!args
) SWIG_fail
;
10304 swig_obj
[0] = args
;
10305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10306 if (!SWIG_IsOK(res1
)) {
10307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10309 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_Py_Void();
10324 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
= 0;
10326 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10327 PyObject
*arg2
= (PyObject
*) 0 ;
10328 PyObject
*arg3
= (PyObject
*) 0 ;
10329 int arg4
= (int) 1 ;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 PyObject
* obj3
= 0 ;
10338 char * kwnames
[] = {
10339 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10344 if (!SWIG_IsOK(res1
)) {
10345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10347 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10352 if (!SWIG_IsOK(ecode4
)) {
10353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10355 arg4
= static_cast< int >(val4
);
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= SWIG_Py_Void();
10370 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
= 0;
10372 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10373 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10374 int arg3
= (int) wxID_ANY
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 char * kwnames
[] = {
10385 (char *) "self",(char *) "owner",(char *) "id", NULL
10388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10393 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10395 if (!SWIG_IsOK(res2
)) {
10396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10398 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10401 if (!SWIG_IsOK(ecode3
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10404 arg3
= static_cast< int >(val3
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 (arg1
)->SetOwner(arg2
,arg3
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_Py_Void();
10419 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10420 PyObject
*resultobj
= 0;
10421 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10422 wxEvtHandler
*result
= 0 ;
10425 PyObject
*swig_obj
[1] ;
10427 if (!args
) SWIG_fail
;
10428 swig_obj
[0] = args
;
10429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10433 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= wxPyMake_wxObject(result
, 0);
10449 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
= 0;
10451 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10452 int arg2
= (int) -1 ;
10453 bool arg3
= (bool) false ;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 PyObject
* obj2
= 0 ;
10464 char * kwnames
[] = {
10465 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10470 if (!SWIG_IsOK(res1
)) {
10471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10473 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10476 if (!SWIG_IsOK(ecode2
)) {
10477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10479 arg2
= static_cast< int >(val2
);
10482 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10483 if (!SWIG_IsOK(ecode3
)) {
10484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10486 arg3
= static_cast< bool >(val3
);
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10503 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10504 PyObject
*resultobj
= 0;
10505 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10508 PyObject
*swig_obj
[1] ;
10510 if (!args
) SWIG_fail
;
10511 swig_obj
[0] = args
;
10512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10513 if (!SWIG_IsOK(res1
)) {
10514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10516 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_Py_Void();
10530 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10531 PyObject
*resultobj
= 0;
10532 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10535 PyObject
*swig_obj
[1] ;
10537 if (!args
) SWIG_fail
;
10538 swig_obj
[0] = args
;
10539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10540 if (!SWIG_IsOK(res1
)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10543 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_Py_Void();
10557 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10558 PyObject
*resultobj
= 0;
10559 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10563 PyObject
*swig_obj
[1] ;
10565 if (!args
) SWIG_fail
;
10566 swig_obj
[0] = args
;
10567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10568 if (!SWIG_IsOK(res1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10571 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10587 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10588 PyObject
*resultobj
= 0;
10589 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10593 PyObject
*swig_obj
[1] ;
10595 if (!args
) SWIG_fail
;
10596 swig_obj
[0] = args
;
10597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10598 if (!SWIG_IsOK(res1
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10601 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_From_int(static_cast< int >(result
));
10615 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10616 PyObject
*resultobj
= 0;
10617 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10621 PyObject
*swig_obj
[1] ;
10623 if (!args
) SWIG_fail
;
10624 swig_obj
[0] = args
;
10625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10626 if (!SWIG_IsOK(res1
)) {
10627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10629 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_From_int(static_cast< int >(result
));
10643 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10644 PyObject
*resultobj
= 0;
10645 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10649 PyObject
*swig_obj
[1] ;
10651 if (!args
) SWIG_fail
;
10652 swig_obj
[0] = args
;
10653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10654 if (!SWIG_IsOK(res1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10657 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10673 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10676 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10677 return SWIG_Py_Void();
10680 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 return SWIG_Python_InitShadowInstance(args
);
10684 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= 0;
10686 int arg1
= (int) 0 ;
10687 int arg2
= (int) 0 ;
10688 wxTimerEvent
*result
= 0 ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char * kwnames
[] = {
10696 (char *) "timerid",(char *) "interval", NULL
10699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10702 if (!SWIG_IsOK(ecode1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10705 arg1
= static_cast< int >(val1
);
10708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10709 if (!SWIG_IsOK(ecode2
)) {
10710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10712 arg2
= static_cast< int >(val2
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10727 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10728 PyObject
*resultobj
= 0;
10729 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10733 PyObject
*swig_obj
[1] ;
10735 if (!args
) SWIG_fail
;
10736 swig_obj
[0] = args
;
10737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10738 if (!SWIG_IsOK(res1
)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10741 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= SWIG_From_int(static_cast< int >(result
));
10755 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10758 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10759 return SWIG_Py_Void();
10762 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10763 return SWIG_Python_InitShadowInstance(args
);
10766 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10767 PyObject
*resultobj
= 0;
10768 wxTimer
*arg1
= 0 ;
10769 wxTimerRunner
*result
= 0 ;
10773 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10775 if (!SWIG_IsOK(res1
)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10781 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10783 if (!wxPyCheckForApp()) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10796 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10797 PyObject
*resultobj
= 0;
10798 wxTimer
*arg1
= 0 ;
10800 bool arg3
= (bool) false ;
10801 wxTimerRunner
*result
= 0 ;
10809 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10811 if (!SWIG_IsOK(res1
)) {
10812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10817 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10818 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10819 if (!SWIG_IsOK(ecode2
)) {
10820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10822 arg2
= static_cast< int >(val2
);
10824 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10825 if (!SWIG_IsOK(ecode3
)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10828 arg3
= static_cast< bool >(val3
);
10831 if (!wxPyCheckForApp()) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10844 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10848 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10851 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10853 if ((argc
>= 2) && (argc
<= 3)) {
10854 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10858 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10863 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10864 PyObject
*resultobj
= 0;
10865 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10868 PyObject
*swig_obj
[1] ;
10870 if (!args
) SWIG_fail
;
10871 swig_obj
[0] = args
;
10872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10876 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= SWIG_Py_Void();
10891 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
= 0;
10893 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10895 bool arg3
= (bool) false ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 PyObject
* obj2
= 0 ;
10905 char * kwnames
[] = {
10906 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10914 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10916 if (!SWIG_IsOK(ecode2
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10919 arg2
= static_cast< int >(val2
);
10921 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10922 if (!SWIG_IsOK(ecode3
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10925 arg3
= static_cast< bool >(val3
);
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->Start(arg2
,arg3
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= SWIG_Py_Void();
10940 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10943 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10944 return SWIG_Py_Void();
10947 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10948 return SWIG_Python_InitShadowInstance(args
);
10951 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10952 PyObject
*resultobj
= 0;
10953 wxLog
*result
= 0 ;
10955 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (wxLog
*)new wxLog();
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10969 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10970 PyObject
*resultobj
= 0;
10971 wxLog
*arg1
= (wxLog
*) 0 ;
10974 PyObject
*swig_obj
[1] ;
10976 if (!args
) SWIG_fail
;
10977 swig_obj
[0] = args
;
10978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
10979 if (!SWIG_IsOK(res1
)) {
10980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
10982 arg1
= reinterpret_cast< wxLog
* >(argp1
);
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_Py_Void();
10997 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10998 PyObject
*resultobj
= 0;
11001 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (bool)wxLog::IsEnabled();
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11017 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
= 0;
11019 bool arg1
= (bool) true ;
11023 PyObject
* obj0
= 0 ;
11024 char * kwnames
[] = {
11025 (char *) "doIt", NULL
11028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11030 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11031 if (!SWIG_IsOK(ecode1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11034 arg1
= static_cast< bool >(val1
);
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (bool)wxLog::EnableLogging(arg1
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11051 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
= 0;
11054 wxChar
*arg2
= (wxChar
*) 0 ;
11056 unsigned long val1
;
11060 unsigned int val3
;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 char * kwnames
[] = {
11066 (char *) "level",(char *) "szString",(char *) "t", NULL
11069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11070 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11071 if (!SWIG_IsOK(ecode1
)) {
11072 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11074 arg1
= static_cast< wxLogLevel
>(val1
);
11075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11076 if (!SWIG_IsOK(res2
)) {
11077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11079 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11080 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11081 if (!SWIG_IsOK(ecode3
)) {
11082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11084 arg3
= static_cast< time_t >(val3
);
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= SWIG_Py_Void();
11098 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11099 PyObject
*resultobj
= 0;
11100 wxLog
*arg1
= (wxLog
*) 0 ;
11103 PyObject
*swig_obj
[1] ;
11105 if (!args
) SWIG_fail
;
11106 swig_obj
[0] = args
;
11107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11108 if (!SWIG_IsOK(res1
)) {
11109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11111 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_Py_Void();
11125 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11126 PyObject
*resultobj
= 0;
11128 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 wxLog::FlushActive();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_Py_Void();
11142 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11143 PyObject
*resultobj
= 0;
11144 wxLog
*result
= 0 ;
11146 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (wxLog
*)wxLog::GetActiveTarget();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11160 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
= 0;
11162 wxLog
*arg1
= (wxLog
*) 0 ;
11163 wxLog
*result
= 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char * kwnames
[] = {
11167 (char *) "pLogger", NULL
11170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11171 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11172 if (!SWIG_IsOK(res1
)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11188 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11189 PyObject
*resultobj
= 0;
11191 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= SWIG_Py_Void();
11205 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11206 PyObject
*resultobj
= 0;
11208 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= SWIG_Py_Void();
11222 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
= 0;
11224 bool arg1
= (bool) true ;
11227 PyObject
* obj0
= 0 ;
11228 char * kwnames
[] = {
11229 (char *) "bVerbose", NULL
11232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11234 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11235 if (!SWIG_IsOK(ecode1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11238 arg1
= static_cast< bool >(val1
);
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 wxLog::SetVerbose(arg1
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= SWIG_Py_Void();
11253 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
= 0;
11256 unsigned long val1
;
11258 PyObject
* obj0
= 0 ;
11259 char * kwnames
[] = {
11260 (char *) "logLevel", NULL
11263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11264 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11265 if (!SWIG_IsOK(ecode1
)) {
11266 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11268 arg1
= static_cast< wxLogLevel
>(val1
);
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 wxLog::SetLogLevel(arg1
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= SWIG_Py_Void();
11282 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11283 PyObject
*resultobj
= 0;
11285 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 wxLog::DontCreateOnDemand();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_Py_Void();
11299 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
= 0;
11302 unsigned long val1
;
11304 PyObject
* obj0
= 0 ;
11305 char * kwnames
[] = {
11306 (char *) "ulMask", NULL
11309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11310 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11311 if (!SWIG_IsOK(ecode1
)) {
11312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11314 arg1
= static_cast< wxTraceMask
>(val1
);
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 wxLog::SetTraceMask(arg1
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_Py_Void();
11328 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
= 0;
11330 wxString
*arg1
= 0 ;
11331 bool temp1
= false ;
11332 PyObject
* obj0
= 0 ;
11333 char * kwnames
[] = {
11334 (char *) "str", NULL
11337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11339 arg1
= wxString_in_helper(obj0
);
11340 if (arg1
== NULL
) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 wxLog::AddTraceMask((wxString
const &)*arg1
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_Py_Void();
11364 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
= 0;
11366 wxString
*arg1
= 0 ;
11367 bool temp1
= false ;
11368 PyObject
* obj0
= 0 ;
11369 char * kwnames
[] = {
11370 (char *) "str", NULL
11373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11375 arg1
= wxString_in_helper(obj0
);
11376 if (arg1
== NULL
) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_Py_Void();
11400 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11401 PyObject
*resultobj
= 0;
11403 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 wxLog::ClearTraceMasks();
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_Py_Void();
11417 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 PyObject
*resultobj
= 0;
11419 wxArrayString
*result
= 0 ;
11421 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11426 result
= (wxArrayString
*) &_result_ref
;
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= wxArrayString2PyList_helper(*result
);
11440 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
= 0;
11442 wxChar
*arg1
= (wxChar
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 char * kwnames
[] = {
11447 (char *) "ts", NULL
11450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11452 if (!SWIG_IsOK(res1
)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11455 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 wxLog::SetTimestamp((wxChar
const *)arg1
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_Py_Void();
11469 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11470 PyObject
*resultobj
= 0;
11473 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (bool)wxLog::GetVerbose();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11490 PyObject
*resultobj
= 0;
11491 wxTraceMask result
;
11493 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 result
= (wxTraceMask
)wxLog::GetTraceMask();
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11507 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
= 0;
11509 wxChar
*arg1
= (wxChar
*) 0 ;
11513 PyObject
* obj0
= 0 ;
11514 char * kwnames
[] = {
11515 (char *) "mask", NULL
11518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11520 if (!SWIG_IsOK(res1
)) {
11521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11523 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11539 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11540 PyObject
*resultobj
= 0;
11543 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (wxLogLevel
)wxLog::GetLogLevel();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11557 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11558 PyObject
*resultobj
= 0;
11559 wxChar
*result
= 0 ;
11561 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (wxChar
*)wxLog::GetTimestamp();
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11575 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11576 PyObject
*resultobj
= 0;
11579 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= wxLog_TimeStamp();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11599 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11600 PyObject
*resultobj
= 0;
11601 wxLog
*arg1
= (wxLog
*) 0 ;
11604 PyObject
*swig_obj
[1] ;
11606 if (!args
) SWIG_fail
;
11607 swig_obj
[0] = args
;
11608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11609 if (!SWIG_IsOK(res1
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11612 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 wxLog_Destroy(arg1
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= SWIG_Py_Void();
11626 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11629 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11630 return SWIG_Py_Void();
11633 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11634 return SWIG_Python_InitShadowInstance(args
);
11637 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11638 PyObject
*resultobj
= 0;
11639 wxLogStderr
*result
= 0 ;
11641 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (wxLogStderr
*)new wxLogStderr();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11655 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11658 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11659 return SWIG_Py_Void();
11662 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11663 return SWIG_Python_InitShadowInstance(args
);
11666 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
= 0;
11668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11669 wxLogTextCtrl
*result
= 0 ;
11672 PyObject
* obj0
= 0 ;
11673 char * kwnames
[] = {
11674 (char *) "pTextCtrl", NULL
11677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11679 if (!SWIG_IsOK(res1
)) {
11680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11682 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11696 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11699 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11700 return SWIG_Py_Void();
11703 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11704 return SWIG_Python_InitShadowInstance(args
);
11707 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11708 PyObject
*resultobj
= 0;
11709 wxLogGui
*result
= 0 ;
11711 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (wxLogGui
*)new wxLogGui();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11725 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11728 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11729 return SWIG_Py_Void();
11732 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11733 return SWIG_Python_InitShadowInstance(args
);
11736 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
= 0;
11738 wxFrame
*arg1
= (wxFrame
*) 0 ;
11739 wxString
*arg2
= 0 ;
11740 bool arg3
= (bool) true ;
11741 bool arg4
= (bool) true ;
11742 wxLogWindow
*result
= 0 ;
11745 bool temp2
= false ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 PyObject
* obj2
= 0 ;
11753 PyObject
* obj3
= 0 ;
11754 char * kwnames
[] = {
11755 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11760 if (!SWIG_IsOK(res1
)) {
11761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11763 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11765 arg2
= wxString_in_helper(obj1
);
11766 if (arg2
== NULL
) SWIG_fail
;
11770 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11771 if (!SWIG_IsOK(ecode3
)) {
11772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11774 arg3
= static_cast< bool >(val3
);
11777 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11778 if (!SWIG_IsOK(ecode4
)) {
11779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11781 arg4
= static_cast< bool >(val4
);
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11804 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
= 0;
11806 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11807 bool arg2
= (bool) true ;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 char * kwnames
[] = {
11815 (char *) "self",(char *) "bShow", NULL
11818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11820 if (!SWIG_IsOK(res1
)) {
11821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11823 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11825 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11826 if (!SWIG_IsOK(ecode2
)) {
11827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11829 arg2
= static_cast< bool >(val2
);
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 (arg1
)->Show(arg2
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= SWIG_Py_Void();
11844 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11845 PyObject
*resultobj
= 0;
11846 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11847 wxFrame
*result
= 0 ;
11850 PyObject
*swig_obj
[1] ;
11852 if (!args
) SWIG_fail
;
11853 swig_obj
[0] = args
;
11854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11855 if (!SWIG_IsOK(res1
)) {
11856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11858 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11874 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11875 PyObject
*resultobj
= 0;
11876 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11877 wxLog
*result
= 0 ;
11880 PyObject
*swig_obj
[1] ;
11882 if (!args
) SWIG_fail
;
11883 swig_obj
[0] = args
;
11884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11888 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11902 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11903 PyObject
*resultobj
= 0;
11904 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11908 PyObject
*swig_obj
[1] ;
11910 if (!args
) SWIG_fail
;
11911 swig_obj
[0] = args
;
11912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11916 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11932 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= 0;
11934 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char * kwnames
[] = {
11943 (char *) "self",(char *) "bDoPass", NULL
11946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11948 if (!SWIG_IsOK(res1
)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11951 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11952 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11953 if (!SWIG_IsOK(ecode2
)) {
11954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11956 arg2
= static_cast< bool >(val2
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->PassMessages(arg2
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= SWIG_Py_Void();
11970 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11973 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11974 return SWIG_Py_Void();
11977 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11978 return SWIG_Python_InitShadowInstance(args
);
11981 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
= 0;
11983 wxLog
*arg1
= (wxLog
*) 0 ;
11984 wxLogChain
*result
= 0 ;
11987 PyObject
* obj0
= 0 ;
11988 char * kwnames
[] = {
11989 (char *) "logger", NULL
11992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
11993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11994 if (!SWIG_IsOK(res1
)) {
11995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
11997 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (wxLogChain
*)new wxLogChain(arg1
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12011 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
= 0;
12013 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12014 wxLog
*arg2
= (wxLog
*) 0 ;
12019 PyObject
* obj0
= 0 ;
12020 PyObject
* obj1
= 0 ;
12021 char * kwnames
[] = {
12022 (char *) "self",(char *) "logger", NULL
12025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12027 if (!SWIG_IsOK(res1
)) {
12028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12030 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12032 if (!SWIG_IsOK(res2
)) {
12033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12035 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 (arg1
)->SetLog(arg2
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_Py_Void();
12049 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
= 0;
12051 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char * kwnames
[] = {
12060 (char *) "self",(char *) "bDoPass", NULL
12063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12065 if (!SWIG_IsOK(res1
)) {
12066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12068 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12069 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12070 if (!SWIG_IsOK(ecode2
)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12073 arg2
= static_cast< bool >(val2
);
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 (arg1
)->PassMessages(arg2
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_Py_Void();
12087 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12093 PyObject
*swig_obj
[1] ;
12095 if (!args
) SWIG_fail
;
12096 swig_obj
[0] = args
;
12097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12101 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (bool)(arg1
)->IsPassingMessages();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12117 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12118 PyObject
*resultobj
= 0;
12119 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12120 wxLog
*result
= 0 ;
12123 PyObject
*swig_obj
[1] ;
12125 if (!args
) SWIG_fail
;
12126 swig_obj
[0] = args
;
12127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12128 if (!SWIG_IsOK(res1
)) {
12129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12131 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (wxLog
*)(arg1
)->GetOldLog();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12145 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12148 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12149 return SWIG_Py_Void();
12152 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 return SWIG_Python_InitShadowInstance(args
);
12156 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxLogBuffer
*result
= 0 ;
12160 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (wxLogBuffer
*)new wxLogBuffer();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12174 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12177 wxString
*result
= 0 ;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12188 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12193 result
= (wxString
*) &_result_ref
;
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12202 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12211 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12214 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12215 return SWIG_Py_Void();
12218 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12219 return SWIG_Python_InitShadowInstance(args
);
12222 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 PyObject
*resultobj
= 0;
12224 unsigned long result
;
12226 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (unsigned long)wxSysErrorCode();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12240 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
= 0;
12242 unsigned long arg1
= (unsigned long) 0 ;
12244 unsigned long val1
;
12246 PyObject
* obj0
= 0 ;
12247 char * kwnames
[] = {
12248 (char *) "nErrCode", NULL
12251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12253 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12254 if (!SWIG_IsOK(ecode1
)) {
12255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12257 arg1
= static_cast< unsigned long >(val1
);
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= wxSysErrorMsg(arg1
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12278 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
= 0;
12280 wxString
*arg1
= 0 ;
12281 bool temp1
= false ;
12282 PyObject
* obj0
= 0 ;
12283 char * kwnames
[] = {
12284 (char *) "msg", NULL
12287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12289 arg1
= wxString_in_helper(obj0
);
12290 if (arg1
== NULL
) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 wxPyLogFatalError((wxString
const &)*arg1
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_Py_Void();
12314 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
= 0;
12316 wxString
*arg1
= 0 ;
12317 bool temp1
= false ;
12318 PyObject
* obj0
= 0 ;
12319 char * kwnames
[] = {
12320 (char *) "msg", NULL
12323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12325 arg1
= wxString_in_helper(obj0
);
12326 if (arg1
== NULL
) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 wxPyLogError((wxString
const &)*arg1
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_Py_Void();
12350 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
= 0;
12352 wxString
*arg1
= 0 ;
12353 bool temp1
= false ;
12354 PyObject
* obj0
= 0 ;
12355 char * kwnames
[] = {
12356 (char *) "msg", NULL
12359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12361 arg1
= wxString_in_helper(obj0
);
12362 if (arg1
== NULL
) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 wxPyLogWarning((wxString
const &)*arg1
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_Py_Void();
12386 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
= 0;
12388 wxString
*arg1
= 0 ;
12389 bool temp1
= false ;
12390 PyObject
* obj0
= 0 ;
12391 char * kwnames
[] = {
12392 (char *) "msg", NULL
12395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12397 arg1
= wxString_in_helper(obj0
);
12398 if (arg1
== NULL
) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 wxPyLogMessage((wxString
const &)*arg1
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_Py_Void();
12422 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= 0;
12424 wxString
*arg1
= 0 ;
12425 bool temp1
= false ;
12426 PyObject
* obj0
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "msg", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12433 arg1
= wxString_in_helper(obj0
);
12434 if (arg1
== NULL
) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 wxPyLogInfo((wxString
const &)*arg1
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_Py_Void();
12458 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
= 0;
12460 wxString
*arg1
= 0 ;
12461 bool temp1
= false ;
12462 PyObject
* obj0
= 0 ;
12463 char * kwnames
[] = {
12464 (char *) "msg", NULL
12467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12469 arg1
= wxString_in_helper(obj0
);
12470 if (arg1
== NULL
) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 wxPyLogDebug((wxString
const &)*arg1
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_Py_Void();
12494 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
= 0;
12496 wxString
*arg1
= 0 ;
12497 bool temp1
= false ;
12498 PyObject
* obj0
= 0 ;
12499 char * kwnames
[] = {
12500 (char *) "msg", NULL
12503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12505 arg1
= wxString_in_helper(obj0
);
12506 if (arg1
== NULL
) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 wxPyLogVerbose((wxString
const &)*arg1
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_Py_Void();
12530 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
= 0;
12532 wxString
*arg1
= 0 ;
12533 bool temp1
= false ;
12534 PyObject
* obj0
= 0 ;
12535 char * kwnames
[] = {
12536 (char *) "msg", NULL
12539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12541 arg1
= wxString_in_helper(obj0
);
12542 if (arg1
== NULL
) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 wxPyLogStatus((wxString
const &)*arg1
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= SWIG_Py_Void();
12566 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= 0;
12568 wxFrame
*arg1
= (wxFrame
*) 0 ;
12569 wxString
*arg2
= 0 ;
12572 bool temp2
= false ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char * kwnames
[] = {
12576 (char *) "pFrame",(char *) "msg", NULL
12579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12581 if (!SWIG_IsOK(res1
)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12584 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12586 arg2
= wxString_in_helper(obj1
);
12587 if (arg2
== NULL
) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= SWIG_Py_Void();
12611 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
= 0;
12613 wxString
*arg1
= 0 ;
12614 bool temp1
= false ;
12615 PyObject
* obj0
= 0 ;
12616 char * kwnames
[] = {
12617 (char *) "msg", NULL
12620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12622 arg1
= wxString_in_helper(obj0
);
12623 if (arg1
== NULL
) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 wxPyLogSysError((wxString
const &)*arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_Py_Void();
12647 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
= 0;
12649 unsigned long arg1
;
12650 wxString
*arg2
= 0 ;
12651 unsigned long val1
;
12653 bool temp2
= false ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "level",(char *) "msg", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12661 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12662 if (!SWIG_IsOK(ecode1
)) {
12663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12665 arg1
= static_cast< unsigned long >(val1
);
12667 arg2
= wxString_in_helper(obj1
);
12668 if (arg2
== NULL
) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_Py_Void();
12692 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12693 PyObject
*resultobj
= 0;
12694 unsigned long arg1
;
12695 wxString
*arg2
= 0 ;
12696 unsigned long val1
;
12698 bool temp2
= false ;
12700 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12701 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12702 if (!SWIG_IsOK(ecode1
)) {
12703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12705 arg1
= static_cast< unsigned long >(val1
);
12707 arg2
= wxString_in_helper(swig_obj
[1]);
12708 if (arg2
== NULL
) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= SWIG_Py_Void();
12732 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12733 PyObject
*resultobj
= 0;
12734 wxString
*arg1
= 0 ;
12735 wxString
*arg2
= 0 ;
12736 bool temp1
= false ;
12737 bool temp2
= false ;
12739 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12741 arg1
= wxString_in_helper(swig_obj
[0]);
12742 if (arg1
== NULL
) SWIG_fail
;
12746 arg2
= wxString_in_helper(swig_obj
[1]);
12747 if (arg2
== NULL
) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_Py_Void();
12779 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12783 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12789 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12792 if (!_v
) goto check_1
;
12793 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12798 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12802 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12807 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
= 0;
12809 wxString
*arg1
= 0 ;
12810 wxString
*arg2
= 0 ;
12811 bool temp1
= false ;
12812 bool temp2
= false ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 char * kwnames
[] = {
12816 (char *) "title",(char *) "text", NULL
12819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12821 arg1
= wxString_in_helper(obj0
);
12822 if (arg1
== NULL
) SWIG_fail
;
12826 arg2
= wxString_in_helper(obj1
);
12827 if (arg2
== NULL
) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= SWIG_Py_Void();
12859 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12860 PyObject
*resultobj
= 0;
12861 wxLogNull
*result
= 0 ;
12863 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 result
= (wxLogNull
*)new wxLogNull();
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12877 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12878 PyObject
*resultobj
= 0;
12879 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12882 PyObject
*swig_obj
[1] ;
12884 if (!args
) SWIG_fail
;
12885 swig_obj
[0] = args
;
12886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12887 if (!SWIG_IsOK(res1
)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12890 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_Py_Void();
12905 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12908 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12909 return SWIG_Py_Void();
12912 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 return SWIG_Python_InitShadowInstance(args
);
12916 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12917 PyObject
*resultobj
= 0;
12918 wxPyLog
*result
= 0 ;
12920 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (wxPyLog
*)new wxPyLog();
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12934 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
= 0;
12936 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12937 PyObject
*arg2
= (PyObject
*) 0 ;
12938 PyObject
*arg3
= (PyObject
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 PyObject
* obj1
= 0 ;
12943 PyObject
* obj2
= 0 ;
12944 char * kwnames
[] = {
12945 (char *) "self",(char *) "self",(char *) "_class", NULL
12948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12950 if (!SWIG_IsOK(res1
)) {
12951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12953 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_Py_Void();
12969 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12972 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12973 return SWIG_Py_Void();
12976 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12977 return SWIG_Python_InitShadowInstance(args
);
12980 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
= 0;
12983 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12984 int arg3
= (int) wxKILL_NOCHILDREN
;
12985 wxKillError result
;
12992 PyObject
* obj0
= 0 ;
12993 PyObject
* obj1
= 0 ;
12994 PyObject
* obj2
= 0 ;
12995 char * kwnames
[] = {
12996 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13001 if (!SWIG_IsOK(ecode1
)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13004 arg1
= static_cast< int >(val1
);
13006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13007 if (!SWIG_IsOK(ecode2
)) {
13008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13010 arg2
= static_cast< wxSignal
>(val2
);
13013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13014 if (!SWIG_IsOK(ecode3
)) {
13015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13017 arg3
= static_cast< int >(val3
);
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_From_int(static_cast< int >(result
));
13032 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
= 0;
13038 PyObject
* obj0
= 0 ;
13039 char * kwnames
[] = {
13040 (char *) "pid", NULL
13043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13045 if (!SWIG_IsOK(ecode1
)) {
13046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13048 arg1
= static_cast< int >(val1
);
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)wxPyProcess::Exists(arg1
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
= 0;
13066 wxString
*arg1
= 0 ;
13067 int arg2
= (int) wxEXEC_ASYNC
;
13068 wxPyProcess
*result
= 0 ;
13069 bool temp1
= false ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char * kwnames
[] = {
13075 (char *) "cmd",(char *) "flags", NULL
13078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13080 arg1
= wxString_in_helper(obj0
);
13081 if (arg1
== NULL
) SWIG_fail
;
13085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13086 if (!SWIG_IsOK(ecode2
)) {
13087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13089 arg2
= static_cast< int >(val2
);
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13112 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
= 0;
13114 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13115 int arg2
= (int) -1 ;
13116 wxPyProcess
*result
= 0 ;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 char * kwnames
[] = {
13124 (char *) "parent",(char *) "id", NULL
13127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13130 if (!SWIG_IsOK(res1
)) {
13131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13133 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13137 if (!SWIG_IsOK(ecode2
)) {
13138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13140 arg2
= static_cast< int >(val2
);
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13155 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
= 0;
13157 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13158 PyObject
*arg2
= (PyObject
*) 0 ;
13159 PyObject
*arg3
= (PyObject
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 PyObject
* obj2
= 0 ;
13165 char * kwnames
[] = {
13166 (char *) "self",(char *) "self",(char *) "_class", NULL
13169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13171 if (!SWIG_IsOK(res1
)) {
13172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13174 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= SWIG_Py_Void();
13190 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
= 0;
13192 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 PyObject
* obj2
= 0 ;
13204 char * kwnames
[] = {
13205 (char *) "self",(char *) "pid",(char *) "status", NULL
13208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13210 if (!SWIG_IsOK(res1
)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13213 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13215 if (!SWIG_IsOK(ecode2
)) {
13216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13218 arg2
= static_cast< int >(val2
);
13219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13220 if (!SWIG_IsOK(ecode3
)) {
13221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13223 arg3
= static_cast< int >(val3
);
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 (arg1
)->OnTerminate(arg2
,arg3
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= SWIG_Py_Void();
13237 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13238 PyObject
*resultobj
= 0;
13239 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13242 PyObject
*swig_obj
[1] ;
13244 if (!args
) SWIG_fail
;
13245 swig_obj
[0] = args
;
13246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13247 if (!SWIG_IsOK(res1
)) {
13248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13250 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->Redirect();
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_Py_Void();
13264 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13265 PyObject
*resultobj
= 0;
13266 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13270 PyObject
*swig_obj
[1] ;
13272 if (!args
) SWIG_fail
;
13273 swig_obj
[0] = args
;
13274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13275 if (!SWIG_IsOK(res1
)) {
13276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13278 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (bool)(arg1
)->IsRedirected();
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13294 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13295 PyObject
*resultobj
= 0;
13296 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13299 PyObject
*swig_obj
[1] ;
13301 if (!args
) SWIG_fail
;
13302 swig_obj
[0] = args
;
13303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13304 if (!SWIG_IsOK(res1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13307 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_Py_Void();
13321 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 PyObject
*resultobj
= 0;
13323 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13324 wxInputStream
*result
= 0 ;
13327 PyObject
*swig_obj
[1] ;
13329 if (!args
) SWIG_fail
;
13330 swig_obj
[0] = args
;
13331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13335 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 wxPyInputStream
* _ptr
= NULL
;
13346 _ptr
= new wxPyInputStream(result
);
13348 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13356 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13357 PyObject
*resultobj
= 0;
13358 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13359 wxInputStream
*result
= 0 ;
13362 PyObject
*swig_obj
[1] ;
13364 if (!args
) SWIG_fail
;
13365 swig_obj
[0] = args
;
13366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13370 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 wxPyInputStream
* _ptr
= NULL
;
13381 _ptr
= new wxPyInputStream(result
);
13383 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13391 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 PyObject
*resultobj
= 0;
13393 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13394 wxOutputStream
*result
= 0 ;
13397 PyObject
*swig_obj
[1] ;
13399 if (!args
) SWIG_fail
;
13400 swig_obj
[0] = args
;
13401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13402 if (!SWIG_IsOK(res1
)) {
13403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13405 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13419 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13420 PyObject
*resultobj
= 0;
13421 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13424 PyObject
*swig_obj
[1] ;
13426 if (!args
) SWIG_fail
;
13427 swig_obj
[0] = args
;
13428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13429 if (!SWIG_IsOK(res1
)) {
13430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13432 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 (arg1
)->CloseOutput();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= SWIG_Py_Void();
13446 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13447 PyObject
*resultobj
= 0;
13448 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13452 PyObject
*swig_obj
[1] ;
13454 if (!args
) SWIG_fail
;
13455 swig_obj
[0] = args
;
13456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13457 if (!SWIG_IsOK(res1
)) {
13458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13460 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13476 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13477 PyObject
*resultobj
= 0;
13478 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13482 PyObject
*swig_obj
[1] ;
13484 if (!args
) SWIG_fail
;
13485 swig_obj
[0] = args
;
13486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13487 if (!SWIG_IsOK(res1
)) {
13488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13490 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13506 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13507 PyObject
*resultobj
= 0;
13508 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13512 PyObject
*swig_obj
[1] ;
13514 if (!args
) SWIG_fail
;
13515 swig_obj
[0] = args
;
13516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13517 if (!SWIG_IsOK(res1
)) {
13518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13520 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13536 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13539 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13540 return SWIG_Py_Void();
13543 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13544 return SWIG_Python_InitShadowInstance(args
);
13547 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
= 0;
13549 int arg1
= (int) 0 ;
13550 int arg2
= (int) 0 ;
13551 int arg3
= (int) 0 ;
13552 wxProcessEvent
*result
= 0 ;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 PyObject
* obj2
= 0 ;
13562 char * kwnames
[] = {
13563 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13569 if (!SWIG_IsOK(ecode1
)) {
13570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13572 arg1
= static_cast< int >(val1
);
13575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13576 if (!SWIG_IsOK(ecode2
)) {
13577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13579 arg2
= static_cast< int >(val2
);
13582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13583 if (!SWIG_IsOK(ecode3
)) {
13584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13586 arg3
= static_cast< int >(val3
);
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13601 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13602 PyObject
*resultobj
= 0;
13603 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13607 PyObject
*swig_obj
[1] ;
13609 if (!args
) SWIG_fail
;
13610 swig_obj
[0] = args
;
13611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13612 if (!SWIG_IsOK(res1
)) {
13613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13615 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 result
= (int)(arg1
)->GetPid();
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= SWIG_From_int(static_cast< int >(result
));
13629 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13630 PyObject
*resultobj
= 0;
13631 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13635 PyObject
*swig_obj
[1] ;
13637 if (!args
) SWIG_fail
;
13638 swig_obj
[0] = args
;
13639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13640 if (!SWIG_IsOK(res1
)) {
13641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13643 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 result
= (int)(arg1
)->GetExitCode();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= SWIG_From_int(static_cast< int >(result
));
13657 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13658 PyObject
*resultobj
= 0;
13659 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13665 PyObject
*swig_obj
[2] ;
13667 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13669 if (!SWIG_IsOK(res1
)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13672 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13673 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13674 if (!SWIG_IsOK(ecode2
)) {
13675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13677 arg2
= static_cast< int >(val2
);
13678 if (arg1
) (arg1
)->m_pid
= arg2
;
13680 resultobj
= SWIG_Py_Void();
13687 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13688 PyObject
*resultobj
= 0;
13689 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13693 PyObject
*swig_obj
[1] ;
13695 if (!args
) SWIG_fail
;
13696 swig_obj
[0] = args
;
13697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13701 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13702 result
= (int) ((arg1
)->m_pid
);
13703 resultobj
= SWIG_From_int(static_cast< int >(result
));
13710 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13711 PyObject
*resultobj
= 0;
13712 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13718 PyObject
*swig_obj
[2] ;
13720 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13722 if (!SWIG_IsOK(res1
)) {
13723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13725 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13726 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13727 if (!SWIG_IsOK(ecode2
)) {
13728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13730 arg2
= static_cast< int >(val2
);
13731 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13733 resultobj
= SWIG_Py_Void();
13740 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13741 PyObject
*resultobj
= 0;
13742 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13746 PyObject
*swig_obj
[1] ;
13748 if (!args
) SWIG_fail
;
13749 swig_obj
[0] = args
;
13750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13751 if (!SWIG_IsOK(res1
)) {
13752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13754 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13755 result
= (int) ((arg1
)->m_exitcode
);
13756 resultobj
= SWIG_From_int(static_cast< int >(result
));
13763 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13766 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13767 return SWIG_Py_Void();
13770 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13771 return SWIG_Python_InitShadowInstance(args
);
13774 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
= 0;
13776 wxString
*arg1
= 0 ;
13777 int arg2
= (int) wxEXEC_ASYNC
;
13778 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13780 bool temp1
= false ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 PyObject
* obj2
= 0 ;
13788 char * kwnames
[] = {
13789 (char *) "command",(char *) "flags",(char *) "process", NULL
13792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13794 arg1
= wxString_in_helper(obj0
);
13795 if (arg1
== NULL
) SWIG_fail
;
13799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13800 if (!SWIG_IsOK(ecode2
)) {
13801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13803 arg2
= static_cast< int >(val2
);
13806 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13807 if (!SWIG_IsOK(res3
)) {
13808 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13810 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13813 if (!wxPyCheckForApp()) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_From_long(static_cast< long >(result
));
13834 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
= 0;
13837 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13838 wxKillError
*arg3
= (wxKillError
*) 0 ;
13839 int arg4
= (int) wxKILL_NOCHILDREN
;
13845 wxKillError temp3
;
13848 PyObject
* obj0
= 0 ;
13849 PyObject
* obj1
= 0 ;
13850 PyObject
* obj2
= 0 ;
13851 char * kwnames
[] = {
13852 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13859 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13860 if (!SWIG_IsOK(ecode1
)) {
13861 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13863 arg1
= static_cast< long >(val1
);
13865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13866 if (!SWIG_IsOK(ecode2
)) {
13867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13869 arg2
= static_cast< wxSignal
>(val2
);
13872 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13873 if (!SWIG_IsOK(ecode4
)) {
13874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13876 arg4
= static_cast< int >(val4
);
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_From_int(static_cast< int >(result
));
13887 o
= PyInt_FromLong((long) (*arg3
));
13891 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13900 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
= 0;
13902 int arg1
= (int) wxJOYSTICK1
;
13903 wxJoystick
*result
= 0 ;
13906 PyObject
* obj0
= 0 ;
13907 char * kwnames
[] = {
13908 (char *) "joystick", NULL
13911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13913 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13914 if (!SWIG_IsOK(ecode1
)) {
13915 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13917 arg1
= static_cast< int >(val1
);
13920 if (!wxPyCheckForApp()) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (wxJoystick
*)new wxJoystick(arg1
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13933 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13934 PyObject
*resultobj
= 0;
13935 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13938 PyObject
*swig_obj
[1] ;
13940 if (!args
) SWIG_fail
;
13941 swig_obj
[0] = args
;
13942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13943 if (!SWIG_IsOK(res1
)) {
13944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13946 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= SWIG_Py_Void();
13961 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13962 PyObject
*resultobj
= 0;
13963 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13967 PyObject
*swig_obj
[1] ;
13969 if (!args
) SWIG_fail
;
13970 swig_obj
[0] = args
;
13971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13972 if (!SWIG_IsOK(res1
)) {
13973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13975 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (arg1
)->GetPosition();
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
13989 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 PyObject
*resultobj
= 0;
13991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13995 PyObject
*swig_obj
[1] ;
13997 if (!args
) SWIG_fail
;
13998 swig_obj
[0] = args
;
13999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14000 if (!SWIG_IsOK(res1
)) {
14001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14003 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= (int)(arg1
)->GetZPosition();
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= SWIG_From_int(static_cast< int >(result
));
14017 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14018 PyObject
*resultobj
= 0;
14019 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14023 PyObject
*swig_obj
[1] ;
14025 if (!args
) SWIG_fail
;
14026 swig_obj
[0] = args
;
14027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14028 if (!SWIG_IsOK(res1
)) {
14029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14031 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (int)(arg1
)->GetButtonState();
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= SWIG_From_int(static_cast< int >(result
));
14045 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14046 PyObject
*resultobj
= 0;
14047 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14051 PyObject
*swig_obj
[1] ;
14053 if (!args
) SWIG_fail
;
14054 swig_obj
[0] = args
;
14055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14056 if (!SWIG_IsOK(res1
)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14059 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (int)(arg1
)->GetPOVPosition();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_From_int(static_cast< int >(result
));
14073 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14074 PyObject
*resultobj
= 0;
14075 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14079 PyObject
*swig_obj
[1] ;
14081 if (!args
) SWIG_fail
;
14082 swig_obj
[0] = args
;
14083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14084 if (!SWIG_IsOK(res1
)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14087 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (int)(arg1
)->GetPOVCTSPosition();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_From_int(static_cast< int >(result
));
14101 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14102 PyObject
*resultobj
= 0;
14103 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14107 PyObject
*swig_obj
[1] ;
14109 if (!args
) SWIG_fail
;
14110 swig_obj
[0] = args
;
14111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14112 if (!SWIG_IsOK(res1
)) {
14113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14115 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (int)(arg1
)->GetRudderPosition();
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= SWIG_From_int(static_cast< int >(result
));
14129 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14130 PyObject
*resultobj
= 0;
14131 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14135 PyObject
*swig_obj
[1] ;
14137 if (!args
) SWIG_fail
;
14138 swig_obj
[0] = args
;
14139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14140 if (!SWIG_IsOK(res1
)) {
14141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14143 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (int)(arg1
)->GetUPosition();
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= SWIG_From_int(static_cast< int >(result
));
14157 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14158 PyObject
*resultobj
= 0;
14159 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14163 PyObject
*swig_obj
[1] ;
14165 if (!args
) SWIG_fail
;
14166 swig_obj
[0] = args
;
14167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14168 if (!SWIG_IsOK(res1
)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14171 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (int)(arg1
)->GetVPosition();
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= SWIG_From_int(static_cast< int >(result
));
14185 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14186 PyObject
*resultobj
= 0;
14187 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14191 PyObject
*swig_obj
[1] ;
14193 if (!args
) SWIG_fail
;
14194 swig_obj
[0] = args
;
14195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14196 if (!SWIG_IsOK(res1
)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14199 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (int)(arg1
)->GetMovementThreshold();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= SWIG_From_int(static_cast< int >(result
));
14213 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
= 0;
14215 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14221 PyObject
* obj0
= 0 ;
14222 PyObject
* obj1
= 0 ;
14223 char * kwnames
[] = {
14224 (char *) "self",(char *) "threshold", NULL
14227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14232 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14234 if (!SWIG_IsOK(ecode2
)) {
14235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14237 arg2
= static_cast< int >(val2
);
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 (arg1
)->SetMovementThreshold(arg2
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_Py_Void();
14251 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14252 PyObject
*resultobj
= 0;
14253 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14257 PyObject
*swig_obj
[1] ;
14259 if (!args
) SWIG_fail
;
14260 swig_obj
[0] = args
;
14261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14265 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (bool)(arg1
)->IsOk();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14281 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14282 PyObject
*resultobj
= 0;
14283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14287 PyObject
*swig_obj
[1] ;
14289 if (!args
) SWIG_fail
;
14290 swig_obj
[0] = args
;
14291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14292 if (!SWIG_IsOK(res1
)) {
14293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14295 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (int)(arg1
)->GetNumberJoysticks();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= SWIG_From_int(static_cast< int >(result
));
14309 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14310 PyObject
*resultobj
= 0;
14311 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14315 PyObject
*swig_obj
[1] ;
14317 if (!args
) SWIG_fail
;
14318 swig_obj
[0] = args
;
14319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14320 if (!SWIG_IsOK(res1
)) {
14321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14323 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (int)(arg1
)->GetManufacturerId();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= SWIG_From_int(static_cast< int >(result
));
14337 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14338 PyObject
*resultobj
= 0;
14339 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14343 PyObject
*swig_obj
[1] ;
14345 if (!args
) SWIG_fail
;
14346 swig_obj
[0] = args
;
14347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14348 if (!SWIG_IsOK(res1
)) {
14349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14351 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (int)(arg1
)->GetProductId();
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_From_int(static_cast< int >(result
));
14365 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14366 PyObject
*resultobj
= 0;
14367 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14371 PyObject
*swig_obj
[1] ;
14373 if (!args
) SWIG_fail
;
14374 swig_obj
[0] = args
;
14375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14376 if (!SWIG_IsOK(res1
)) {
14377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14379 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (arg1
)->GetProductName();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14399 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14400 PyObject
*resultobj
= 0;
14401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14405 PyObject
*swig_obj
[1] ;
14407 if (!args
) SWIG_fail
;
14408 swig_obj
[0] = args
;
14409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14413 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (int)(arg1
)->GetXMin();
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= SWIG_From_int(static_cast< int >(result
));
14427 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14428 PyObject
*resultobj
= 0;
14429 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14433 PyObject
*swig_obj
[1] ;
14435 if (!args
) SWIG_fail
;
14436 swig_obj
[0] = args
;
14437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14438 if (!SWIG_IsOK(res1
)) {
14439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14441 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (int)(arg1
)->GetYMin();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_From_int(static_cast< int >(result
));
14455 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14456 PyObject
*resultobj
= 0;
14457 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14461 PyObject
*swig_obj
[1] ;
14463 if (!args
) SWIG_fail
;
14464 swig_obj
[0] = args
;
14465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14469 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= (int)(arg1
)->GetZMin();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_From_int(static_cast< int >(result
));
14483 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 PyObject
*resultobj
= 0;
14485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14489 PyObject
*swig_obj
[1] ;
14491 if (!args
) SWIG_fail
;
14492 swig_obj
[0] = args
;
14493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14494 if (!SWIG_IsOK(res1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14497 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (int)(arg1
)->GetXMax();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_From_int(static_cast< int >(result
));
14511 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14512 PyObject
*resultobj
= 0;
14513 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14517 PyObject
*swig_obj
[1] ;
14519 if (!args
) SWIG_fail
;
14520 swig_obj
[0] = args
;
14521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14525 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (int)(arg1
)->GetYMax();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= SWIG_From_int(static_cast< int >(result
));
14539 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14540 PyObject
*resultobj
= 0;
14541 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14545 PyObject
*swig_obj
[1] ;
14547 if (!args
) SWIG_fail
;
14548 swig_obj
[0] = args
;
14549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14550 if (!SWIG_IsOK(res1
)) {
14551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14553 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= (int)(arg1
)->GetZMax();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= SWIG_From_int(static_cast< int >(result
));
14567 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14568 PyObject
*resultobj
= 0;
14569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14573 PyObject
*swig_obj
[1] ;
14575 if (!args
) SWIG_fail
;
14576 swig_obj
[0] = args
;
14577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14581 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (int)(arg1
)->GetNumberButtons();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_From_int(static_cast< int >(result
));
14595 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14596 PyObject
*resultobj
= 0;
14597 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14601 PyObject
*swig_obj
[1] ;
14603 if (!args
) SWIG_fail
;
14604 swig_obj
[0] = args
;
14605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14606 if (!SWIG_IsOK(res1
)) {
14607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14609 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (int)(arg1
)->GetNumberAxes();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= SWIG_From_int(static_cast< int >(result
));
14623 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14624 PyObject
*resultobj
= 0;
14625 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14629 PyObject
*swig_obj
[1] ;
14631 if (!args
) SWIG_fail
;
14632 swig_obj
[0] = args
;
14633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14634 if (!SWIG_IsOK(res1
)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14637 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (int)(arg1
)->GetMaxButtons();
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= SWIG_From_int(static_cast< int >(result
));
14651 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14652 PyObject
*resultobj
= 0;
14653 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14657 PyObject
*swig_obj
[1] ;
14659 if (!args
) SWIG_fail
;
14660 swig_obj
[0] = args
;
14661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14662 if (!SWIG_IsOK(res1
)) {
14663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14665 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (int)(arg1
)->GetMaxAxes();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= SWIG_From_int(static_cast< int >(result
));
14679 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14680 PyObject
*resultobj
= 0;
14681 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14685 PyObject
*swig_obj
[1] ;
14687 if (!args
) SWIG_fail
;
14688 swig_obj
[0] = args
;
14689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14693 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (int)(arg1
)->GetPollingMin();
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= SWIG_From_int(static_cast< int >(result
));
14707 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14708 PyObject
*resultobj
= 0;
14709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14713 PyObject
*swig_obj
[1] ;
14715 if (!args
) SWIG_fail
;
14716 swig_obj
[0] = args
;
14717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14718 if (!SWIG_IsOK(res1
)) {
14719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14721 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (int)(arg1
)->GetPollingMax();
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= SWIG_From_int(static_cast< int >(result
));
14735 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14736 PyObject
*resultobj
= 0;
14737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14741 PyObject
*swig_obj
[1] ;
14743 if (!args
) SWIG_fail
;
14744 swig_obj
[0] = args
;
14745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14746 if (!SWIG_IsOK(res1
)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14749 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (int)(arg1
)->GetRudderMin();
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_From_int(static_cast< int >(result
));
14763 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14764 PyObject
*resultobj
= 0;
14765 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14769 PyObject
*swig_obj
[1] ;
14771 if (!args
) SWIG_fail
;
14772 swig_obj
[0] = args
;
14773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14774 if (!SWIG_IsOK(res1
)) {
14775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14777 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (int)(arg1
)->GetRudderMax();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_From_int(static_cast< int >(result
));
14791 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14792 PyObject
*resultobj
= 0;
14793 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14797 PyObject
*swig_obj
[1] ;
14799 if (!args
) SWIG_fail
;
14800 swig_obj
[0] = args
;
14801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14802 if (!SWIG_IsOK(res1
)) {
14803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14805 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (int)(arg1
)->GetUMin();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_From_int(static_cast< int >(result
));
14819 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14820 PyObject
*resultobj
= 0;
14821 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14825 PyObject
*swig_obj
[1] ;
14827 if (!args
) SWIG_fail
;
14828 swig_obj
[0] = args
;
14829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14833 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (int)(arg1
)->GetUMax();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_From_int(static_cast< int >(result
));
14847 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14848 PyObject
*resultobj
= 0;
14849 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14853 PyObject
*swig_obj
[1] ;
14855 if (!args
) SWIG_fail
;
14856 swig_obj
[0] = args
;
14857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14861 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (int)(arg1
)->GetVMin();
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= SWIG_From_int(static_cast< int >(result
));
14875 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14876 PyObject
*resultobj
= 0;
14877 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14881 PyObject
*swig_obj
[1] ;
14883 if (!args
) SWIG_fail
;
14884 swig_obj
[0] = args
;
14885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14886 if (!SWIG_IsOK(res1
)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14889 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (int)(arg1
)->GetVMax();
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_From_int(static_cast< int >(result
));
14903 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14904 PyObject
*resultobj
= 0;
14905 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14909 PyObject
*swig_obj
[1] ;
14911 if (!args
) SWIG_fail
;
14912 swig_obj
[0] = args
;
14913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14914 if (!SWIG_IsOK(res1
)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14917 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (bool)(arg1
)->HasRudder();
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14933 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14934 PyObject
*resultobj
= 0;
14935 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14939 PyObject
*swig_obj
[1] ;
14941 if (!args
) SWIG_fail
;
14942 swig_obj
[0] = args
;
14943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14944 if (!SWIG_IsOK(res1
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14947 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)(arg1
)->HasZ();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14963 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14964 PyObject
*resultobj
= 0;
14965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14969 PyObject
*swig_obj
[1] ;
14971 if (!args
) SWIG_fail
;
14972 swig_obj
[0] = args
;
14973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14977 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (bool)(arg1
)->HasU();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14993 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14994 PyObject
*resultobj
= 0;
14995 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14999 PyObject
*swig_obj
[1] ;
15001 if (!args
) SWIG_fail
;
15002 swig_obj
[0] = args
;
15003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15007 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (bool)(arg1
)->HasV();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15023 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15024 PyObject
*resultobj
= 0;
15025 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15029 PyObject
*swig_obj
[1] ;
15031 if (!args
) SWIG_fail
;
15032 swig_obj
[0] = args
;
15033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15034 if (!SWIG_IsOK(res1
)) {
15035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15037 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (bool)(arg1
)->HasPOV();
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15053 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15054 PyObject
*resultobj
= 0;
15055 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15059 PyObject
*swig_obj
[1] ;
15061 if (!args
) SWIG_fail
;
15062 swig_obj
[0] = args
;
15063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15064 if (!SWIG_IsOK(res1
)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15067 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (bool)(arg1
)->HasPOV4Dir();
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15083 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15084 PyObject
*resultobj
= 0;
15085 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15089 PyObject
*swig_obj
[1] ;
15091 if (!args
) SWIG_fail
;
15092 swig_obj
[0] = args
;
15093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15097 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (bool)(arg1
)->HasPOVCTS();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15113 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
= 0;
15115 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15116 wxWindow
*arg2
= (wxWindow
*) 0 ;
15117 int arg3
= (int) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 PyObject
* obj2
= 0 ;
15128 char * kwnames
[] = {
15129 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15134 if (!SWIG_IsOK(res1
)) {
15135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15137 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15139 if (!SWIG_IsOK(res2
)) {
15140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15142 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15145 if (!SWIG_IsOK(ecode3
)) {
15146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15148 arg3
= static_cast< int >(val3
);
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15165 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15166 PyObject
*resultobj
= 0;
15167 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15171 PyObject
*swig_obj
[1] ;
15173 if (!args
) SWIG_fail
;
15174 swig_obj
[0] = args
;
15175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15179 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (bool)(arg1
)->ReleaseCapture();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15195 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15198 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15199 return SWIG_Py_Void();
15202 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15203 return SWIG_Python_InitShadowInstance(args
);
15206 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
= 0;
15208 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15209 int arg2
= (int) 0 ;
15210 int arg3
= (int) wxJOYSTICK1
;
15211 int arg4
= (int) 0 ;
15212 wxJoystickEvent
*result
= 0 ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 PyObject
* obj2
= 0 ;
15224 PyObject
* obj3
= 0 ;
15225 char * kwnames
[] = {
15226 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15232 if (!SWIG_IsOK(ecode1
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15235 arg1
= static_cast< wxEventType
>(val1
);
15238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15239 if (!SWIG_IsOK(ecode2
)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15242 arg2
= static_cast< int >(val2
);
15245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15246 if (!SWIG_IsOK(ecode3
)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15249 arg3
= static_cast< int >(val3
);
15252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15253 if (!SWIG_IsOK(ecode4
)) {
15254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15256 arg4
= static_cast< int >(val4
);
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15271 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 PyObject
*resultobj
= 0;
15273 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15277 PyObject
*swig_obj
[1] ;
15279 if (!args
) SWIG_fail
;
15280 swig_obj
[0] = args
;
15281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15282 if (!SWIG_IsOK(res1
)) {
15283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15285 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15299 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15305 PyObject
*swig_obj
[1] ;
15307 if (!args
) SWIG_fail
;
15308 swig_obj
[0] = args
;
15309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15310 if (!SWIG_IsOK(res1
)) {
15311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15313 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_From_int(static_cast< int >(result
));
15327 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15328 PyObject
*resultobj
= 0;
15329 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15333 PyObject
*swig_obj
[1] ;
15335 if (!args
) SWIG_fail
;
15336 swig_obj
[0] = args
;
15337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15338 if (!SWIG_IsOK(res1
)) {
15339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15341 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_From_int(static_cast< int >(result
));
15355 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15356 PyObject
*resultobj
= 0;
15357 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15361 PyObject
*swig_obj
[1] ;
15363 if (!args
) SWIG_fail
;
15364 swig_obj
[0] = args
;
15365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15366 if (!SWIG_IsOK(res1
)) {
15367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15369 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= SWIG_From_int(static_cast< int >(result
));
15383 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15384 PyObject
*resultobj
= 0;
15385 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15389 PyObject
*swig_obj
[1] ;
15391 if (!args
) SWIG_fail
;
15392 swig_obj
[0] = args
;
15393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15394 if (!SWIG_IsOK(res1
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15397 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_From_int(static_cast< int >(result
));
15411 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= 0;
15413 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 char * kwnames
[] = {
15422 (char *) "self",(char *) "stick", NULL
15425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15430 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15432 if (!SWIG_IsOK(ecode2
)) {
15433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15435 arg2
= static_cast< int >(val2
);
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 (arg1
)->SetJoystick(arg2
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= SWIG_Py_Void();
15449 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
= 0;
15451 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15459 char * kwnames
[] = {
15460 (char *) "self",(char *) "state", NULL
15463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15465 if (!SWIG_IsOK(res1
)) {
15466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15468 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15470 if (!SWIG_IsOK(ecode2
)) {
15471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15473 arg2
= static_cast< int >(val2
);
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 (arg1
)->SetButtonState(arg2
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_Py_Void();
15487 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= 0;
15489 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 char * kwnames
[] = {
15498 (char *) "self",(char *) "change", NULL
15501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15503 if (!SWIG_IsOK(res1
)) {
15504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15506 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15508 if (!SWIG_IsOK(ecode2
)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15511 arg2
= static_cast< int >(val2
);
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 (arg1
)->SetButtonChange(arg2
);
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= SWIG_Py_Void();
15525 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
= 0;
15527 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15528 wxPoint
*arg2
= 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 char * kwnames
[] = {
15535 (char *) "self",(char *) "pos", NULL
15538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15540 if (!SWIG_IsOK(res1
)) {
15541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15543 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_Py_Void();
15561 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
= 0;
15563 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char * kwnames
[] = {
15572 (char *) "self",(char *) "zPos", NULL
15575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15577 if (!SWIG_IsOK(res1
)) {
15578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15580 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15582 if (!SWIG_IsOK(ecode2
)) {
15583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15585 arg2
= static_cast< int >(val2
);
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 (arg1
)->SetZPosition(arg2
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= SWIG_Py_Void();
15599 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15600 PyObject
*resultobj
= 0;
15601 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15605 PyObject
*swig_obj
[1] ;
15607 if (!args
) SWIG_fail
;
15608 swig_obj
[0] = args
;
15609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15610 if (!SWIG_IsOK(res1
)) {
15611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15613 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15629 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15630 PyObject
*resultobj
= 0;
15631 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15635 PyObject
*swig_obj
[1] ;
15637 if (!args
) SWIG_fail
;
15638 swig_obj
[0] = args
;
15639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15643 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15659 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15660 PyObject
*resultobj
= 0;
15661 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15665 PyObject
*swig_obj
[1] ;
15667 if (!args
) SWIG_fail
;
15668 swig_obj
[0] = args
;
15669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15670 if (!SWIG_IsOK(res1
)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15673 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15689 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
= 0;
15691 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15692 int arg2
= (int) wxJOY_BUTTON_ANY
;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 char * kwnames
[] = {
15701 (char *) "self",(char *) "but", NULL
15704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15706 if (!SWIG_IsOK(res1
)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15709 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15712 if (!SWIG_IsOK(ecode2
)) {
15713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15715 arg2
= static_cast< int >(val2
);
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15732 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
= 0;
15734 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15735 int arg2
= (int) wxJOY_BUTTON_ANY
;
15741 PyObject
* obj0
= 0 ;
15742 PyObject
* obj1
= 0 ;
15743 char * kwnames
[] = {
15744 (char *) "self",(char *) "but", NULL
15747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15749 if (!SWIG_IsOK(res1
)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15752 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15755 if (!SWIG_IsOK(ecode2
)) {
15756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15758 arg2
= static_cast< int >(val2
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15775 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
= 0;
15777 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15778 int arg2
= (int) wxJOY_BUTTON_ANY
;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 char * kwnames
[] = {
15787 (char *) "self",(char *) "but", NULL
15790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15792 if (!SWIG_IsOK(res1
)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15795 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15798 if (!SWIG_IsOK(ecode2
)) {
15799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15801 arg2
= static_cast< int >(val2
);
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15821 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15822 return SWIG_Py_Void();
15825 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15826 return SWIG_Python_InitShadowInstance(args
);
15829 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
= 0;
15831 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15832 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15833 wxSound
*result
= 0 ;
15834 bool temp1
= false ;
15835 PyObject
* obj0
= 0 ;
15836 char * kwnames
[] = {
15837 (char *) "fileName", NULL
15840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15843 arg1
= wxString_in_helper(obj0
);
15844 if (arg1
== NULL
) SWIG_fail
;
15849 if (!wxPyCheckForApp()) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15870 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
= 0;
15872 PyObject
*arg1
= (PyObject
*) 0 ;
15873 wxSound
*result
= 0 ;
15874 PyObject
* obj0
= 0 ;
15875 char * kwnames
[] = {
15876 (char *) "data", NULL
15879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15882 if (!wxPyCheckForApp()) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (wxSound
*)new_wxSound(arg1
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15895 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15896 PyObject
*resultobj
= 0;
15897 wxSound
*arg1
= (wxSound
*) 0 ;
15900 PyObject
*swig_obj
[1] ;
15902 if (!args
) SWIG_fail
;
15903 swig_obj
[0] = args
;
15904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15905 if (!SWIG_IsOK(res1
)) {
15906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15908 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= SWIG_Py_Void();
15923 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
= 0;
15925 wxSound
*arg1
= (wxSound
*) 0 ;
15926 wxString
*arg2
= 0 ;
15930 bool temp2
= false ;
15931 PyObject
* obj0
= 0 ;
15932 PyObject
* obj1
= 0 ;
15933 char * kwnames
[] = {
15934 (char *) "self",(char *) "fileName", NULL
15937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15939 if (!SWIG_IsOK(res1
)) {
15940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15942 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15944 arg2
= wxString_in_helper(obj1
);
15945 if (arg2
== NULL
) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15971 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
= 0;
15973 wxSound
*arg1
= (wxSound
*) 0 ;
15974 PyObject
*arg2
= (PyObject
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 char * kwnames
[] = {
15981 (char *) "self",(char *) "data", NULL
15984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15986 if (!SWIG_IsOK(res1
)) {
15987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
15989 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16006 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16007 PyObject
*resultobj
= 0;
16008 wxSound
*arg1
= (wxSound
*) 0 ;
16012 PyObject
*swig_obj
[1] ;
16014 if (!args
) SWIG_fail
;
16015 swig_obj
[0] = args
;
16016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16017 if (!SWIG_IsOK(res1
)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16020 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (bool)(arg1
)->IsOk();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16036 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
= 0;
16038 wxSound
*arg1
= (wxSound
*) 0 ;
16039 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16043 unsigned int val2
;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 char * kwnames
[] = {
16048 (char *) "self",(char *) "flags", NULL
16051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16053 if (!SWIG_IsOK(res1
)) {
16054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16056 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16058 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16059 if (!SWIG_IsOK(ecode2
)) {
16060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16062 arg2
= static_cast< unsigned int >(val2
);
16065 if (!wxPyCheckForApp()) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16080 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
= 0;
16082 wxString
*arg1
= 0 ;
16083 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16085 bool temp1
= false ;
16086 unsigned int val2
;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 char * kwnames
[] = {
16091 (char *) "filename",(char *) "flags", NULL
16094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16096 arg1
= wxString_in_helper(obj0
);
16097 if (arg1
== NULL
) SWIG_fail
;
16101 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16102 if (!SWIG_IsOK(ecode2
)) {
16103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16105 arg2
= static_cast< unsigned int >(val2
);
16108 if (!wxPyCheckForApp()) SWIG_fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16131 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16132 PyObject
*resultobj
= 0;
16134 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16136 if (!wxPyCheckForApp()) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= SWIG_Py_Void();
16149 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16152 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16153 return SWIG_Py_Void();
16156 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16157 return SWIG_Python_InitShadowInstance(args
);
16160 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
= 0;
16162 wxString
*arg1
= 0 ;
16163 wxString
*arg2
= 0 ;
16164 wxString
*arg3
= 0 ;
16165 wxString
*arg4
= 0 ;
16166 wxFileTypeInfo
*result
= 0 ;
16167 bool temp1
= false ;
16168 bool temp2
= false ;
16169 bool temp3
= false ;
16170 bool temp4
= false ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 PyObject
* obj2
= 0 ;
16174 PyObject
* obj3
= 0 ;
16175 char * kwnames
[] = {
16176 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16181 arg1
= wxString_in_helper(obj0
);
16182 if (arg1
== NULL
) SWIG_fail
;
16186 arg2
= wxString_in_helper(obj1
);
16187 if (arg2
== NULL
) SWIG_fail
;
16191 arg3
= wxString_in_helper(obj2
);
16192 if (arg3
== NULL
) SWIG_fail
;
16196 arg4
= wxString_in_helper(obj3
);
16197 if (arg4
== NULL
) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16245 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
= 0;
16247 wxArrayString
*arg1
= 0 ;
16248 wxFileTypeInfo
*result
= 0 ;
16249 bool temp1
= false ;
16250 PyObject
* obj0
= 0 ;
16251 char * kwnames
[] = {
16252 (char *) "sArray", NULL
16255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16257 if (! PySequence_Check(obj0
)) {
16258 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16261 arg1
= new wxArrayString
;
16263 int i
, len
=PySequence_Length(obj0
);
16264 for (i
=0; i
<len
; i
++) {
16265 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16266 wxString
* s
= wxString_in_helper(item
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16281 if (temp1
) delete arg1
;
16286 if (temp1
) delete arg1
;
16292 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16293 PyObject
*resultobj
= 0;
16294 wxFileTypeInfo
*result
= 0 ;
16296 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16310 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16311 PyObject
*resultobj
= 0;
16312 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16316 PyObject
*swig_obj
[1] ;
16318 if (!args
) SWIG_fail
;
16319 swig_obj
[0] = args
;
16320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16321 if (!SWIG_IsOK(res1
)) {
16322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16324 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16340 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
= 0;
16342 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16343 wxString
*arg2
= 0 ;
16344 int arg3
= (int) 0 ;
16347 bool temp2
= false ;
16350 PyObject
* obj0
= 0 ;
16351 PyObject
* obj1
= 0 ;
16352 PyObject
* obj2
= 0 ;
16353 char * kwnames
[] = {
16354 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16359 if (!SWIG_IsOK(res1
)) {
16360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16362 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16364 arg2
= wxString_in_helper(obj1
);
16365 if (arg2
== NULL
) SWIG_fail
;
16369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16370 if (!SWIG_IsOK(ecode3
)) {
16371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16373 arg3
= static_cast< int >(val3
);
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 resultobj
= SWIG_Py_Void();
16396 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
= 0;
16398 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16399 wxString
*arg2
= 0 ;
16402 bool temp2
= false ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 char * kwnames
[] = {
16406 (char *) "self",(char *) "shortDesc", NULL
16409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16411 if (!SWIG_IsOK(res1
)) {
16412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16414 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16416 arg2
= wxString_in_helper(obj1
);
16417 if (arg2
== NULL
) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= SWIG_Py_Void();
16441 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16442 PyObject
*resultobj
= 0;
16443 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16444 wxString
*result
= 0 ;
16447 PyObject
*swig_obj
[1] ;
16449 if (!args
) SWIG_fail
;
16450 swig_obj
[0] = args
;
16451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16455 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16460 result
= (wxString
*) &_result_ref
;
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16469 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16478 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16479 PyObject
*resultobj
= 0;
16480 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16481 wxString
*result
= 0 ;
16484 PyObject
*swig_obj
[1] ;
16486 if (!args
) SWIG_fail
;
16487 swig_obj
[0] = args
;
16488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16492 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16497 result
= (wxString
*) &_result_ref
;
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16506 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16515 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16516 PyObject
*resultobj
= 0;
16517 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16518 wxString
*result
= 0 ;
16521 PyObject
*swig_obj
[1] ;
16523 if (!args
) SWIG_fail
;
16524 swig_obj
[0] = args
;
16525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16526 if (!SWIG_IsOK(res1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16529 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16534 result
= (wxString
*) &_result_ref
;
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16543 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16552 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16553 PyObject
*resultobj
= 0;
16554 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16555 wxString
*result
= 0 ;
16558 PyObject
*swig_obj
[1] ;
16560 if (!args
) SWIG_fail
;
16561 swig_obj
[0] = args
;
16562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16563 if (!SWIG_IsOK(res1
)) {
16564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16566 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16571 result
= (wxString
*) &_result_ref
;
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16580 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16589 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16590 PyObject
*resultobj
= 0;
16591 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16592 wxString
*result
= 0 ;
16595 PyObject
*swig_obj
[1] ;
16597 if (!args
) SWIG_fail
;
16598 swig_obj
[0] = args
;
16599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16600 if (!SWIG_IsOK(res1
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16603 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16608 result
= (wxString
*) &_result_ref
;
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16617 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16626 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16627 PyObject
*resultobj
= 0;
16628 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16629 wxArrayString
*result
= 0 ;
16632 PyObject
*swig_obj
[1] ;
16634 if (!args
) SWIG_fail
;
16635 swig_obj
[0] = args
;
16636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16637 if (!SWIG_IsOK(res1
)) {
16638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16640 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16645 result
= (wxArrayString
*) &_result_ref
;
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= wxArrayString2PyList_helper(*result
);
16659 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16660 PyObject
*resultobj
= 0;
16661 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16665 PyObject
*swig_obj
[1] ;
16667 if (!args
) SWIG_fail
;
16668 swig_obj
[0] = args
;
16669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16670 if (!SWIG_IsOK(res1
)) {
16671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16673 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16687 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16688 PyObject
*resultobj
= 0;
16689 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16690 wxString
*result
= 0 ;
16693 PyObject
*swig_obj
[1] ;
16695 if (!args
) SWIG_fail
;
16696 swig_obj
[0] = args
;
16697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16698 if (!SWIG_IsOK(res1
)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16701 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16706 result
= (wxString
*) &_result_ref
;
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16715 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16724 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16725 PyObject
*resultobj
= 0;
16726 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16730 PyObject
*swig_obj
[1] ;
16732 if (!args
) SWIG_fail
;
16733 swig_obj
[0] = args
;
16734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16735 if (!SWIG_IsOK(res1
)) {
16736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16738 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= SWIG_From_int(static_cast< int >(result
));
16752 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16755 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16756 return SWIG_Py_Void();
16759 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16760 return SWIG_Python_InitShadowInstance(args
);
16763 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
= 0;
16765 wxFileTypeInfo
*arg1
= 0 ;
16766 wxFileType
*result
= 0 ;
16769 PyObject
* obj0
= 0 ;
16770 char * kwnames
[] = {
16771 (char *) "ftInfo", NULL
16774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16775 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16776 if (!SWIG_IsOK(res1
)) {
16777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16782 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16796 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16797 PyObject
*resultobj
= 0;
16798 wxFileType
*arg1
= (wxFileType
*) 0 ;
16801 PyObject
*swig_obj
[1] ;
16803 if (!args
) SWIG_fail
;
16804 swig_obj
[0] = args
;
16805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16806 if (!SWIG_IsOK(res1
)) {
16807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16809 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= SWIG_Py_Void();
16824 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16825 PyObject
*resultobj
= 0;
16826 wxFileType
*arg1
= (wxFileType
*) 0 ;
16827 PyObject
*result
= 0 ;
16830 PyObject
*swig_obj
[1] ;
16832 if (!args
) SWIG_fail
;
16833 swig_obj
[0] = args
;
16834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16835 if (!SWIG_IsOK(res1
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16838 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= result
;
16852 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16853 PyObject
*resultobj
= 0;
16854 wxFileType
*arg1
= (wxFileType
*) 0 ;
16855 PyObject
*result
= 0 ;
16858 PyObject
*swig_obj
[1] ;
16860 if (!args
) SWIG_fail
;
16861 swig_obj
[0] = args
;
16862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16863 if (!SWIG_IsOK(res1
)) {
16864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16866 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= result
;
16880 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16881 PyObject
*resultobj
= 0;
16882 wxFileType
*arg1
= (wxFileType
*) 0 ;
16883 PyObject
*result
= 0 ;
16886 PyObject
*swig_obj
[1] ;
16888 if (!args
) SWIG_fail
;
16889 swig_obj
[0] = args
;
16890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16894 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= result
;
16908 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16909 PyObject
*resultobj
= 0;
16910 wxFileType
*arg1
= (wxFileType
*) 0 ;
16911 wxIcon
*result
= 0 ;
16914 PyObject
*swig_obj
[1] ;
16916 if (!args
) SWIG_fail
;
16917 swig_obj
[0] = args
;
16918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16922 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16936 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16937 PyObject
*resultobj
= 0;
16938 wxFileType
*arg1
= (wxFileType
*) 0 ;
16939 PyObject
*result
= 0 ;
16942 PyObject
*swig_obj
[1] ;
16944 if (!args
) SWIG_fail
;
16945 swig_obj
[0] = args
;
16946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16947 if (!SWIG_IsOK(res1
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16950 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 resultobj
= result
;
16964 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16965 PyObject
*resultobj
= 0;
16966 wxFileType
*arg1
= (wxFileType
*) 0 ;
16967 PyObject
*result
= 0 ;
16970 PyObject
*swig_obj
[1] ;
16972 if (!args
) SWIG_fail
;
16973 swig_obj
[0] = args
;
16974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16975 if (!SWIG_IsOK(res1
)) {
16976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
16978 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= result
;
16992 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
= 0;
16994 wxFileType
*arg1
= (wxFileType
*) 0 ;
16995 wxString
*arg2
= 0 ;
16996 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16997 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16998 PyObject
*result
= 0 ;
17001 bool temp2
= false ;
17002 bool temp3
= false ;
17003 PyObject
* obj0
= 0 ;
17004 PyObject
* obj1
= 0 ;
17005 PyObject
* obj2
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17012 if (!SWIG_IsOK(res1
)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17015 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17017 arg2
= wxString_in_helper(obj1
);
17018 if (arg2
== NULL
) SWIG_fail
;
17023 arg3
= wxString_in_helper(obj2
);
17024 if (arg3
== NULL
) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= result
;
17057 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
= 0;
17059 wxFileType
*arg1
= (wxFileType
*) 0 ;
17060 wxString
*arg2
= 0 ;
17061 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17062 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17063 PyObject
*result
= 0 ;
17066 bool temp2
= false ;
17067 bool temp3
= false ;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 PyObject
* obj2
= 0 ;
17071 char * kwnames
[] = {
17072 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17077 if (!SWIG_IsOK(res1
)) {
17078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17080 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17082 arg2
= wxString_in_helper(obj1
);
17083 if (arg2
== NULL
) SWIG_fail
;
17088 arg3
= wxString_in_helper(obj2
);
17089 if (arg3
== NULL
) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= result
;
17122 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
= 0;
17124 wxFileType
*arg1
= (wxFileType
*) 0 ;
17125 wxString
*arg2
= 0 ;
17126 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17127 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17128 PyObject
*result
= 0 ;
17131 bool temp2
= false ;
17132 bool temp3
= false ;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 PyObject
* obj2
= 0 ;
17136 char * kwnames
[] = {
17137 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17142 if (!SWIG_IsOK(res1
)) {
17143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17145 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17147 arg2
= wxString_in_helper(obj1
);
17148 if (arg2
== NULL
) SWIG_fail
;
17153 arg3
= wxString_in_helper(obj2
);
17154 if (arg3
== NULL
) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= result
;
17187 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxFileType
*arg1
= (wxFileType
*) 0 ;
17190 wxString
*arg2
= 0 ;
17191 wxString
*arg3
= 0 ;
17192 bool arg4
= (bool) true ;
17196 bool temp2
= false ;
17197 bool temp3
= false ;
17200 PyObject
* obj0
= 0 ;
17201 PyObject
* obj1
= 0 ;
17202 PyObject
* obj2
= 0 ;
17203 PyObject
* obj3
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17210 if (!SWIG_IsOK(res1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17213 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17215 arg2
= wxString_in_helper(obj1
);
17216 if (arg2
== NULL
) SWIG_fail
;
17220 arg3
= wxString_in_helper(obj2
);
17221 if (arg3
== NULL
) SWIG_fail
;
17225 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17226 if (!SWIG_IsOK(ecode4
)) {
17227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17229 arg4
= static_cast< bool >(val4
);
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17262 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
= 0;
17264 wxFileType
*arg1
= (wxFileType
*) 0 ;
17265 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17266 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17267 int arg3
= (int) 0 ;
17271 bool temp2
= false ;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 PyObject
* obj2
= 0 ;
17277 char * kwnames
[] = {
17278 (char *) "self",(char *) "cmd",(char *) "index", NULL
17281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17283 if (!SWIG_IsOK(res1
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17286 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17289 arg2
= wxString_in_helper(obj1
);
17290 if (arg2
== NULL
) SWIG_fail
;
17295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17296 if (!SWIG_IsOK(ecode3
)) {
17297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17299 arg3
= static_cast< int >(val3
);
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17324 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17325 PyObject
*resultobj
= 0;
17326 wxFileType
*arg1
= (wxFileType
*) 0 ;
17330 PyObject
*swig_obj
[1] ;
17332 if (!args
) SWIG_fail
;
17333 swig_obj
[0] = args
;
17334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17335 if (!SWIG_IsOK(res1
)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17338 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (bool)(arg1
)->Unassociate();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17354 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
= 0;
17356 wxString
*arg1
= 0 ;
17357 wxString
*arg2
= 0 ;
17358 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17359 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17361 bool temp1
= false ;
17362 bool temp2
= false ;
17363 bool temp3
= false ;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 PyObject
* obj2
= 0 ;
17367 char * kwnames
[] = {
17368 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17373 arg1
= wxString_in_helper(obj0
);
17374 if (arg1
== NULL
) SWIG_fail
;
17378 arg2
= wxString_in_helper(obj1
);
17379 if (arg2
== NULL
) SWIG_fail
;
17384 arg3
= wxString_in_helper(obj2
);
17385 if (arg3
== NULL
) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17432 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17435 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17436 return SWIG_Py_Void();
17439 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17440 return SWIG_Python_InitShadowInstance(args
);
17443 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17444 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17449 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17450 PyObject
*pyobj
= 0;
17452 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17457 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
= 0;
17459 wxString
*arg1
= 0 ;
17460 wxString
*arg2
= 0 ;
17462 bool temp1
= false ;
17463 bool temp2
= false ;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 char * kwnames
[] = {
17467 (char *) "mimeType",(char *) "wildcard", NULL
17470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17472 arg1
= wxString_in_helper(obj0
);
17473 if (arg1
== NULL
) SWIG_fail
;
17477 arg2
= wxString_in_helper(obj1
);
17478 if (arg2
== NULL
) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17512 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17513 PyObject
*resultobj
= 0;
17514 wxMimeTypesManager
*result
= 0 ;
17516 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17530 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
= 0;
17532 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17533 int arg2
= (int) wxMAILCAP_ALL
;
17534 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17535 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17540 bool temp3
= false ;
17541 PyObject
* obj0
= 0 ;
17542 PyObject
* obj1
= 0 ;
17543 PyObject
* obj2
= 0 ;
17544 char * kwnames
[] = {
17545 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17550 if (!SWIG_IsOK(res1
)) {
17551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17553 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17556 if (!SWIG_IsOK(ecode2
)) {
17557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17559 arg2
= static_cast< int >(val2
);
17563 arg3
= wxString_in_helper(obj2
);
17564 if (arg3
== NULL
) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_Py_Void();
17589 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17590 PyObject
*resultobj
= 0;
17591 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17594 PyObject
*swig_obj
[1] ;
17596 if (!args
) SWIG_fail
;
17597 swig_obj
[0] = args
;
17598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17599 if (!SWIG_IsOK(res1
)) {
17600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17602 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 (arg1
)->ClearData();
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= SWIG_Py_Void();
17616 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
= 0;
17618 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17619 wxString
*arg2
= 0 ;
17620 wxFileType
*result
= 0 ;
17623 bool temp2
= false ;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 char * kwnames
[] = {
17627 (char *) "self",(char *) "ext", NULL
17630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17632 if (!SWIG_IsOK(res1
)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17635 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17637 arg2
= wxString_in_helper(obj1
);
17638 if (arg2
== NULL
) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17662 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
= 0;
17664 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17665 wxString
*arg2
= 0 ;
17666 wxFileType
*result
= 0 ;
17669 bool temp2
= false ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 char * kwnames
[] = {
17673 (char *) "self",(char *) "mimeType", NULL
17676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17678 if (!SWIG_IsOK(res1
)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17681 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17683 arg2
= wxString_in_helper(obj1
);
17684 if (arg2
== NULL
) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17708 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
= 0;
17710 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17711 wxString
*arg2
= 0 ;
17712 bool arg3
= (bool) false ;
17716 bool temp2
= false ;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 PyObject
* obj2
= 0 ;
17722 char * kwnames
[] = {
17723 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17728 if (!SWIG_IsOK(res1
)) {
17729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17731 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17733 arg2
= wxString_in_helper(obj1
);
17734 if (arg2
== NULL
) SWIG_fail
;
17738 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17739 if (!SWIG_IsOK(ecode3
)) {
17740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17742 arg3
= static_cast< bool >(val3
);
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17767 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
= 0;
17769 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17770 wxString
*arg2
= 0 ;
17774 bool temp2
= false ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 char * kwnames
[] = {
17778 (char *) "self",(char *) "filename", NULL
17781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17783 if (!SWIG_IsOK(res1
)) {
17784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17786 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17788 arg2
= wxString_in_helper(obj1
);
17789 if (arg2
== NULL
) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17815 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17816 PyObject
*resultobj
= 0;
17817 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17818 PyObject
*result
= 0 ;
17821 PyObject
*swig_obj
[1] ;
17823 if (!args
) SWIG_fail
;
17824 swig_obj
[0] = args
;
17825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17826 if (!SWIG_IsOK(res1
)) {
17827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17829 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= result
;
17843 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
= 0;
17845 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17846 wxFileTypeInfo
*arg2
= 0 ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char * kwnames
[] = {
17854 (char *) "self",(char *) "ft", NULL
17857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17859 if (!SWIG_IsOK(res1
)) {
17860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17862 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17864 if (!SWIG_IsOK(res2
)) {
17865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17870 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= SWIG_Py_Void();
17884 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
= 0;
17886 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17887 wxFileTypeInfo
*arg2
= 0 ;
17888 wxFileType
*result
= 0 ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char * kwnames
[] = {
17896 (char *) "self",(char *) "ftInfo", NULL
17899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17904 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17906 if (!SWIG_IsOK(res2
)) {
17907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17912 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17926 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
= 0;
17928 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17929 wxFileType
*arg2
= (wxFileType
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 char * kwnames
[] = {
17938 (char *) "self",(char *) "ft", NULL
17941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17943 if (!SWIG_IsOK(res1
)) {
17944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17946 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17948 if (!SWIG_IsOK(res2
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17951 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (bool)(arg1
)->Unassociate(arg2
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17967 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17968 PyObject
*resultobj
= 0;
17969 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17972 PyObject
*swig_obj
[1] ;
17974 if (!args
) SWIG_fail
;
17975 swig_obj
[0] = args
;
17976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17977 if (!SWIG_IsOK(res1
)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17980 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_Py_Void();
17995 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17998 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
17999 return SWIG_Py_Void();
18002 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18003 return SWIG_Python_InitShadowInstance(args
);
18006 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18007 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18012 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18013 PyObject
*pyobj
= 0;
18017 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18019 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18026 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18027 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18032 SWIGINTERN PyObject
*ART_MENU_get(void) {
18033 PyObject
*pyobj
= 0;
18037 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18039 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18046 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18047 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18052 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18053 PyObject
*pyobj
= 0;
18057 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18059 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18066 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18067 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18072 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18073 PyObject
*pyobj
= 0;
18077 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18079 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18086 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18087 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18092 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18093 PyObject
*pyobj
= 0;
18097 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18099 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18106 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18107 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18112 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18113 PyObject
*pyobj
= 0;
18117 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18119 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18126 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18127 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18132 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18133 PyObject
*pyobj
= 0;
18137 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18139 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18146 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18147 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18152 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18153 PyObject
*pyobj
= 0;
18157 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18159 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18166 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18167 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18172 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18173 PyObject
*pyobj
= 0;
18177 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18179 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18186 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18187 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18192 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18193 PyObject
*pyobj
= 0;
18197 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18199 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18206 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18207 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18212 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18213 PyObject
*pyobj
= 0;
18217 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18219 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18226 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18227 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18232 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18233 PyObject
*pyobj
= 0;
18237 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18239 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18246 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18247 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18252 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18253 PyObject
*pyobj
= 0;
18257 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18259 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18266 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18267 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18272 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18273 PyObject
*pyobj
= 0;
18277 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18279 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18286 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18287 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18292 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18293 PyObject
*pyobj
= 0;
18297 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18299 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18306 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18307 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18312 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18313 PyObject
*pyobj
= 0;
18317 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18319 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18326 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18327 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18332 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18333 PyObject
*pyobj
= 0;
18337 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18339 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18346 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18347 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18352 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18353 PyObject
*pyobj
= 0;
18357 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18359 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18366 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18367 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18372 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18373 PyObject
*pyobj
= 0;
18377 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18379 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18386 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18387 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18392 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18393 PyObject
*pyobj
= 0;
18397 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18399 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18406 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18407 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18412 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18413 PyObject
*pyobj
= 0;
18417 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18419 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18426 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18427 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18432 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18433 PyObject
*pyobj
= 0;
18437 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18439 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18446 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18447 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18452 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18453 PyObject
*pyobj
= 0;
18457 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18459 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18466 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18467 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18472 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18473 PyObject
*pyobj
= 0;
18477 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18479 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18486 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18487 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18492 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18493 PyObject
*pyobj
= 0;
18497 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18499 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18506 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18507 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18512 SWIGINTERN PyObject
*ART_HELP_get(void) {
18513 PyObject
*pyobj
= 0;
18517 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18519 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18526 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18527 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18532 SWIGINTERN PyObject
*ART_TIP_get(void) {
18533 PyObject
*pyobj
= 0;
18537 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18539 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18546 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18547 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18552 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18553 PyObject
*pyobj
= 0;
18557 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18559 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18566 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18567 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18572 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18573 PyObject
*pyobj
= 0;
18577 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18579 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18586 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18587 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18592 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18593 PyObject
*pyobj
= 0;
18597 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18599 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18606 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18607 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18612 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18613 PyObject
*pyobj
= 0;
18617 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18619 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18626 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18627 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18632 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18633 PyObject
*pyobj
= 0;
18637 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18639 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18646 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18647 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18652 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18653 PyObject
*pyobj
= 0;
18657 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18659 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18666 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18667 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18672 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18673 PyObject
*pyobj
= 0;
18677 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18679 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18686 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18687 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18692 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18693 PyObject
*pyobj
= 0;
18697 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18699 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18706 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18707 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18712 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18713 PyObject
*pyobj
= 0;
18717 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18719 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18726 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18727 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18732 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18733 PyObject
*pyobj
= 0;
18737 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18739 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18746 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18747 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18752 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18753 PyObject
*pyobj
= 0;
18757 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18759 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18766 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18767 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18772 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18773 PyObject
*pyobj
= 0;
18777 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18779 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18786 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18787 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18792 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18793 PyObject
*pyobj
= 0;
18797 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18799 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18806 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18807 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18812 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18813 PyObject
*pyobj
= 0;
18817 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18819 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18826 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18827 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18832 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18833 PyObject
*pyobj
= 0;
18837 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18839 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18846 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18847 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18852 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18853 PyObject
*pyobj
= 0;
18857 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18859 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18866 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18867 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18872 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18873 PyObject
*pyobj
= 0;
18877 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18879 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18886 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18887 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18892 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18893 PyObject
*pyobj
= 0;
18897 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18899 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18906 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18907 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18912 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18913 PyObject
*pyobj
= 0;
18917 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18919 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18926 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18927 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18932 SWIGINTERN PyObject
*ART_COPY_get(void) {
18933 PyObject
*pyobj
= 0;
18937 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18939 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18946 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18947 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18952 SWIGINTERN PyObject
*ART_CUT_get(void) {
18953 PyObject
*pyobj
= 0;
18957 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18959 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18966 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18967 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18972 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18973 PyObject
*pyobj
= 0;
18977 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18979 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18986 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
18987 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
18992 SWIGINTERN PyObject
*ART_DELETE_get(void) {
18993 PyObject
*pyobj
= 0;
18997 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
18999 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19006 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19007 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19012 SWIGINTERN PyObject
*ART_NEW_get(void) {
19013 PyObject
*pyobj
= 0;
19017 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19019 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19026 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19027 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19032 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19033 PyObject
*pyobj
= 0;
19037 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19039 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19046 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19047 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19052 SWIGINTERN PyObject
*ART_REDO_get(void) {
19053 PyObject
*pyobj
= 0;
19057 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19059 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19066 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19067 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19072 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19073 PyObject
*pyobj
= 0;
19077 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19079 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19086 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19087 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19092 SWIGINTERN PyObject
*ART_FIND_get(void) {
19093 PyObject
*pyobj
= 0;
19097 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19099 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19106 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19107 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19112 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19113 PyObject
*pyobj
= 0;
19117 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19119 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19126 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19127 PyObject
*resultobj
= 0;
19128 wxPyArtProvider
*result
= 0 ;
19130 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19132 if (!wxPyCheckForApp()) SWIG_fail
;
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19145 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19146 PyObject
*resultobj
= 0;
19147 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19150 PyObject
*swig_obj
[1] ;
19152 if (!args
) SWIG_fail
;
19153 swig_obj
[0] = args
;
19154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19155 if (!SWIG_IsOK(res1
)) {
19156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19158 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= SWIG_Py_Void();
19173 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
= 0;
19175 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19176 PyObject
*arg2
= (PyObject
*) 0 ;
19177 PyObject
*arg3
= (PyObject
*) 0 ;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 PyObject
* obj2
= 0 ;
19183 char * kwnames
[] = {
19184 (char *) "self",(char *) "self",(char *) "_class", NULL
19187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19189 if (!SWIG_IsOK(res1
)) {
19190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19192 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= SWIG_Py_Void();
19208 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
= 0;
19210 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 char * kwnames
[] = {
19214 (char *) "provider", NULL
19217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19218 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19219 if (!SWIG_IsOK(res1
)) {
19220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 wxPyArtProvider::PushProvider(arg1
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_Py_Void();
19235 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19236 PyObject
*resultobj
= 0;
19239 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 result
= (bool)wxPyArtProvider::PopProvider();
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19255 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 char * kwnames
[] = {
19263 (char *) "provider", NULL
19266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19268 if (!SWIG_IsOK(res1
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19271 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19287 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
= 0;
19289 wxString
*arg1
= 0 ;
19290 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19291 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19292 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19293 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19295 bool temp1
= false ;
19296 bool temp2
= false ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 PyObject
* obj2
= 0 ;
19301 char * kwnames
[] = {
19302 (char *) "id",(char *) "client",(char *) "size", NULL
19305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19307 arg1
= wxString_in_helper(obj0
);
19308 if (arg1
== NULL
) SWIG_fail
;
19313 arg2
= wxString_in_helper(obj1
);
19314 if (arg2
== NULL
) SWIG_fail
;
19321 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19325 if (!wxPyCheckForApp()) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19354 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
= 0;
19356 wxString
*arg1
= 0 ;
19357 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19358 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19359 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19360 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19362 bool temp1
= false ;
19363 bool temp2
= false ;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 PyObject
* obj2
= 0 ;
19368 char * kwnames
[] = {
19369 (char *) "id",(char *) "client",(char *) "size", NULL
19372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19374 arg1
= wxString_in_helper(obj0
);
19375 if (arg1
== NULL
) SWIG_fail
;
19380 arg2
= wxString_in_helper(obj1
);
19381 if (arg2
== NULL
) SWIG_fail
;
19388 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19392 if (!wxPyCheckForApp()) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19421 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
= 0;
19423 wxString
*arg1
= 0 ;
19424 bool arg2
= (bool) false ;
19426 bool temp1
= false ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 char * kwnames
[] = {
19432 (char *) "client",(char *) "platform_dependent", NULL
19435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19437 arg1
= wxString_in_helper(obj0
);
19438 if (arg1
== NULL
) SWIG_fail
;
19442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19443 if (!SWIG_IsOK(ecode2
)) {
19444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19446 arg2
= static_cast< bool >(val2
);
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19469 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19470 PyObject
*resultobj
= 0;
19471 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19474 PyObject
*swig_obj
[1] ;
19476 if (!args
) SWIG_fail
;
19477 swig_obj
[0] = args
;
19478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19479 if (!SWIG_IsOK(res1
)) {
19480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19482 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 wxPyArtProvider_Destroy(arg1
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_Py_Void();
19496 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19499 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19500 return SWIG_Py_Void();
19503 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19504 return SWIG_Python_InitShadowInstance(args
);
19507 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19508 PyObject
*resultobj
= 0;
19509 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19512 PyObject
*swig_obj
[1] ;
19514 if (!args
) SWIG_fail
;
19515 swig_obj
[0] = args
;
19516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19517 if (!SWIG_IsOK(res1
)) {
19518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19520 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= SWIG_Py_Void();
19535 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
= 0;
19537 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19538 wxConfigBase
*result
= 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char * kwnames
[] = {
19542 (char *) "config", NULL
19545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19546 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19547 if (!SWIG_IsOK(res1
)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19563 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
= 0;
19565 bool arg1
= (bool) true ;
19566 wxConfigBase
*result
= 0 ;
19569 PyObject
* obj0
= 0 ;
19570 char * kwnames
[] = {
19571 (char *) "createOnDemand", NULL
19574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19576 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19577 if (!SWIG_IsOK(ecode1
)) {
19578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19580 arg1
= static_cast< bool >(val1
);
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19595 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19596 PyObject
*resultobj
= 0;
19597 wxConfigBase
*result
= 0 ;
19599 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxConfigBase
*)wxConfigBase::Create();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19613 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19614 PyObject
*resultobj
= 0;
19616 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 wxConfigBase::DontCreateOnDemand();
19620 wxPyEndAllowThreads(__tstate
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19623 resultobj
= SWIG_Py_Void();
19630 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
= 0;
19632 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19633 wxString
*arg2
= 0 ;
19636 bool temp2
= false ;
19637 PyObject
* obj0
= 0 ;
19638 PyObject
* obj1
= 0 ;
19639 char * kwnames
[] = {
19640 (char *) "self",(char *) "path", NULL
19643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19645 if (!SWIG_IsOK(res1
)) {
19646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19648 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19650 arg2
= wxString_in_helper(obj1
);
19651 if (arg2
== NULL
) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->SetPath((wxString
const &)*arg2
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_Py_Void();
19675 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19676 PyObject
*resultobj
= 0;
19677 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19678 wxString
*result
= 0 ;
19681 PyObject
*swig_obj
[1] ;
19683 if (!args
) SWIG_fail
;
19684 swig_obj
[0] = args
;
19685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19686 if (!SWIG_IsOK(res1
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19689 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19694 result
= (wxString
*) &_result_ref
;
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19703 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19712 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19713 PyObject
*resultobj
= 0;
19714 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19715 PyObject
*result
= 0 ;
19718 PyObject
*swig_obj
[1] ;
19720 if (!args
) SWIG_fail
;
19721 swig_obj
[0] = args
;
19722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19723 if (!SWIG_IsOK(res1
)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19726 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= result
;
19740 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
= 0;
19742 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19744 PyObject
*result
= 0 ;
19749 PyObject
* obj0
= 0 ;
19750 PyObject
* obj1
= 0 ;
19751 char * kwnames
[] = {
19752 (char *) "self",(char *) "index", NULL
19755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19757 if (!SWIG_IsOK(res1
)) {
19758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19760 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19762 if (!SWIG_IsOK(ecode2
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19765 arg2
= static_cast< long >(val2
);
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= result
;
19779 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19780 PyObject
*resultobj
= 0;
19781 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19782 PyObject
*result
= 0 ;
19785 PyObject
*swig_obj
[1] ;
19787 if (!args
) SWIG_fail
;
19788 swig_obj
[0] = args
;
19789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19793 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= result
;
19807 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
= 0;
19809 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19811 PyObject
*result
= 0 ;
19816 PyObject
* obj0
= 0 ;
19817 PyObject
* obj1
= 0 ;
19818 char * kwnames
[] = {
19819 (char *) "self",(char *) "index", NULL
19822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19824 if (!SWIG_IsOK(res1
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19827 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19829 if (!SWIG_IsOK(ecode2
)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19832 arg2
= static_cast< long >(val2
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= result
;
19846 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
= 0;
19848 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19849 bool arg2
= (bool) false ;
19855 PyObject
* obj0
= 0 ;
19856 PyObject
* obj1
= 0 ;
19857 char * kwnames
[] = {
19858 (char *) "self",(char *) "recursive", NULL
19861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19863 if (!SWIG_IsOK(res1
)) {
19864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19866 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19868 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19869 if (!SWIG_IsOK(ecode2
)) {
19870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19872 arg2
= static_cast< bool >(val2
);
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19887 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
= 0;
19889 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19890 bool arg2
= (bool) false ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char * kwnames
[] = {
19899 (char *) "self",(char *) "recursive", NULL
19902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19904 if (!SWIG_IsOK(res1
)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19907 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19909 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19910 if (!SWIG_IsOK(ecode2
)) {
19911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19913 arg2
= static_cast< bool >(val2
);
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19928 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
= 0;
19930 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19931 wxString
*arg2
= 0 ;
19935 bool temp2
= false ;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 char * kwnames
[] = {
19939 (char *) "self",(char *) "name", NULL
19942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19944 if (!SWIG_IsOK(res1
)) {
19945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19947 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19949 arg2
= wxString_in_helper(obj1
);
19950 if (arg2
== NULL
) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19976 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
= 0;
19978 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19979 wxString
*arg2
= 0 ;
19983 bool temp2
= false ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char * kwnames
[] = {
19987 (char *) "self",(char *) "name", NULL
19990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19992 if (!SWIG_IsOK(res1
)) {
19993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19995 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19997 arg2
= wxString_in_helper(obj1
);
19998 if (arg2
== NULL
) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20024 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
= 0;
20026 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20027 wxString
*arg2
= 0 ;
20031 bool temp2
= false ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 char * kwnames
[] = {
20035 (char *) "self",(char *) "name", NULL
20038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20040 if (!SWIG_IsOK(res1
)) {
20041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20043 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20045 arg2
= wxString_in_helper(obj1
);
20046 if (arg2
== NULL
) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20072 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
= 0;
20074 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20075 wxString
*arg2
= 0 ;
20076 wxConfigBase::EntryType result
;
20079 bool temp2
= false ;
20080 PyObject
* obj0
= 0 ;
20081 PyObject
* obj1
= 0 ;
20082 char * kwnames
[] = {
20083 (char *) "self",(char *) "name", NULL
20086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20088 if (!SWIG_IsOK(res1
)) {
20089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20091 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20093 arg2
= wxString_in_helper(obj1
);
20094 if (arg2
== NULL
) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_From_int(static_cast< int >(result
));
20118 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
= 0;
20120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20121 wxString
*arg2
= 0 ;
20122 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20127 bool temp2
= false ;
20128 bool temp3
= false ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 PyObject
* obj2
= 0 ;
20132 char * kwnames
[] = {
20133 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20138 if (!SWIG_IsOK(res1
)) {
20139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20141 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20143 arg2
= wxString_in_helper(obj1
);
20144 if (arg2
== NULL
) SWIG_fail
;
20149 arg3
= wxString_in_helper(obj2
);
20150 if (arg3
== NULL
) SWIG_fail
;
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20189 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
= 0;
20191 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20192 wxString
*arg2
= 0 ;
20193 long arg3
= (long) 0 ;
20197 bool temp2
= false ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 PyObject
* obj2
= 0 ;
20203 char * kwnames
[] = {
20204 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20209 if (!SWIG_IsOK(res1
)) {
20210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20212 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20214 arg2
= wxString_in_helper(obj1
);
20215 if (arg2
== NULL
) SWIG_fail
;
20219 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20220 if (!SWIG_IsOK(ecode3
)) {
20221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20223 arg3
= static_cast< long >(val3
);
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_From_long(static_cast< long >(result
));
20246 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= 0;
20248 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20249 wxString
*arg2
= 0 ;
20250 double arg3
= (double) 0.0 ;
20254 bool temp2
= false ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 PyObject
* obj2
= 0 ;
20260 char * kwnames
[] = {
20261 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20266 if (!SWIG_IsOK(res1
)) {
20267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20269 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20271 arg2
= wxString_in_helper(obj1
);
20272 if (arg2
== NULL
) SWIG_fail
;
20276 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20277 if (!SWIG_IsOK(ecode3
)) {
20278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20280 arg3
= static_cast< double >(val3
);
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= SWIG_From_double(static_cast< double >(result
));
20303 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
= 0;
20305 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20306 wxString
*arg2
= 0 ;
20307 bool arg3
= (bool) false ;
20311 bool temp2
= false ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 PyObject
* obj2
= 0 ;
20317 char * kwnames
[] = {
20318 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20323 if (!SWIG_IsOK(res1
)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20326 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20328 arg2
= wxString_in_helper(obj1
);
20329 if (arg2
== NULL
) SWIG_fail
;
20333 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20334 if (!SWIG_IsOK(ecode3
)) {
20335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20337 arg3
= static_cast< bool >(val3
);
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20362 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
= 0;
20364 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20365 wxString
*arg2
= 0 ;
20366 wxString
*arg3
= 0 ;
20370 bool temp2
= false ;
20371 bool temp3
= false ;
20372 PyObject
* obj0
= 0 ;
20373 PyObject
* obj1
= 0 ;
20374 PyObject
* obj2
= 0 ;
20375 char * kwnames
[] = {
20376 (char *) "self",(char *) "key",(char *) "value", NULL
20379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20381 if (!SWIG_IsOK(res1
)) {
20382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20384 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20386 arg2
= wxString_in_helper(obj1
);
20387 if (arg2
== NULL
) SWIG_fail
;
20391 arg3
= wxString_in_helper(obj2
);
20392 if (arg3
== NULL
) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20426 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
= 0;
20428 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20429 wxString
*arg2
= 0 ;
20434 bool temp2
= false ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 PyObject
* obj2
= 0 ;
20440 char * kwnames
[] = {
20441 (char *) "self",(char *) "key",(char *) "value", NULL
20444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20446 if (!SWIG_IsOK(res1
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20449 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20451 arg2
= wxString_in_helper(obj1
);
20452 if (arg2
== NULL
) SWIG_fail
;
20455 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20456 if (!SWIG_IsOK(ecode3
)) {
20457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20459 arg3
= static_cast< long >(val3
);
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20483 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
= 0;
20485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20486 wxString
*arg2
= 0 ;
20491 bool temp2
= false ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 PyObject
* obj2
= 0 ;
20497 char * kwnames
[] = {
20498 (char *) "self",(char *) "key",(char *) "value", NULL
20501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20503 if (!SWIG_IsOK(res1
)) {
20504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20506 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20508 arg2
= wxString_in_helper(obj1
);
20509 if (arg2
== NULL
) SWIG_fail
;
20512 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20513 if (!SWIG_IsOK(ecode3
)) {
20514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20516 arg3
= static_cast< double >(val3
);
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20540 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
= 0;
20542 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20543 wxString
*arg2
= 0 ;
20548 bool temp2
= false ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 PyObject
* obj2
= 0 ;
20554 char * kwnames
[] = {
20555 (char *) "self",(char *) "key",(char *) "value", NULL
20558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20560 if (!SWIG_IsOK(res1
)) {
20561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20563 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20565 arg2
= wxString_in_helper(obj1
);
20566 if (arg2
== NULL
) SWIG_fail
;
20569 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20570 if (!SWIG_IsOK(ecode3
)) {
20571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20573 arg3
= static_cast< bool >(val3
);
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20597 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20600 bool arg2
= (bool) false ;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 char * kwnames
[] = {
20609 (char *) "self",(char *) "currentOnly", NULL
20612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20614 if (!SWIG_IsOK(res1
)) {
20615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20617 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20619 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20620 if (!SWIG_IsOK(ecode2
)) {
20621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20623 arg2
= static_cast< bool >(val2
);
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (bool)(arg1
)->Flush(arg2
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20640 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
= 0;
20642 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20643 wxString
*arg2
= 0 ;
20644 wxString
*arg3
= 0 ;
20648 bool temp2
= false ;
20649 bool temp3
= false ;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 PyObject
* obj2
= 0 ;
20653 char * kwnames
[] = {
20654 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20659 if (!SWIG_IsOK(res1
)) {
20660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20662 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20664 arg2
= wxString_in_helper(obj1
);
20665 if (arg2
== NULL
) SWIG_fail
;
20669 arg3
= wxString_in_helper(obj2
);
20670 if (arg3
== NULL
) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20704 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
= 0;
20706 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20707 wxString
*arg2
= 0 ;
20708 wxString
*arg3
= 0 ;
20712 bool temp2
= false ;
20713 bool temp3
= false ;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 PyObject
* obj2
= 0 ;
20717 char * kwnames
[] = {
20718 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20723 if (!SWIG_IsOK(res1
)) {
20724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20726 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20728 arg2
= wxString_in_helper(obj1
);
20729 if (arg2
== NULL
) SWIG_fail
;
20733 arg3
= wxString_in_helper(obj2
);
20734 if (arg3
== NULL
) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20768 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
= 0;
20770 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20771 wxString
*arg2
= 0 ;
20772 bool arg3
= (bool) true ;
20776 bool temp2
= false ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 PyObject
* obj2
= 0 ;
20782 char * kwnames
[] = {
20783 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20788 if (!SWIG_IsOK(res1
)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20791 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20793 arg2
= wxString_in_helper(obj1
);
20794 if (arg2
== NULL
) SWIG_fail
;
20798 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20799 if (!SWIG_IsOK(ecode3
)) {
20800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20802 arg3
= static_cast< bool >(val3
);
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20827 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
= 0;
20829 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20830 wxString
*arg2
= 0 ;
20834 bool temp2
= false ;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 char * kwnames
[] = {
20838 (char *) "self",(char *) "key", NULL
20841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20843 if (!SWIG_IsOK(res1
)) {
20844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20846 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20848 arg2
= wxString_in_helper(obj1
);
20849 if (arg2
== NULL
) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20875 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20876 PyObject
*resultobj
= 0;
20877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20881 PyObject
*swig_obj
[1] ;
20883 if (!args
) SWIG_fail
;
20884 swig_obj
[0] = args
;
20885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20886 if (!SWIG_IsOK(res1
)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20889 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (bool)(arg1
)->DeleteAll();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20905 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
= 0;
20907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20908 bool arg2
= (bool) true ;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 char * kwnames
[] = {
20916 (char *) "self",(char *) "doIt", NULL
20919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20924 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20926 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20927 if (!SWIG_IsOK(ecode2
)) {
20928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20930 arg2
= static_cast< bool >(val2
);
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 (arg1
)->SetExpandEnvVars(arg2
);
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_Py_Void();
20945 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20946 PyObject
*resultobj
= 0;
20947 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20951 PyObject
*swig_obj
[1] ;
20953 if (!args
) SWIG_fail
;
20954 swig_obj
[0] = args
;
20955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20956 if (!SWIG_IsOK(res1
)) {
20957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20959 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20975 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
= 0;
20977 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20978 bool arg2
= (bool) true ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 char * kwnames
[] = {
20986 (char *) "self",(char *) "doIt", NULL
20989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20991 if (!SWIG_IsOK(res1
)) {
20992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20994 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20996 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20997 if (!SWIG_IsOK(ecode2
)) {
20998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21000 arg2
= static_cast< bool >(val2
);
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 (arg1
)->SetRecordDefaults(arg2
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_Py_Void();
21015 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21016 PyObject
*resultobj
= 0;
21017 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21021 PyObject
*swig_obj
[1] ;
21023 if (!args
) SWIG_fail
;
21024 swig_obj
[0] = args
;
21025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21026 if (!SWIG_IsOK(res1
)) {
21027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21029 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21045 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
= 0;
21047 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21048 wxString
*arg2
= 0 ;
21052 bool temp2
= false ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char * kwnames
[] = {
21056 (char *) "self",(char *) "str", NULL
21059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21061 if (!SWIG_IsOK(res1
)) {
21062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21064 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21066 arg2
= wxString_in_helper(obj1
);
21067 if (arg2
== NULL
) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21097 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21098 PyObject
*resultobj
= 0;
21099 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21103 PyObject
*swig_obj
[1] ;
21105 if (!args
) SWIG_fail
;
21106 swig_obj
[0] = args
;
21107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21108 if (!SWIG_IsOK(res1
)) {
21109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21111 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21131 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21132 PyObject
*resultobj
= 0;
21133 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21137 PyObject
*swig_obj
[1] ;
21139 if (!args
) SWIG_fail
;
21140 swig_obj
[0] = args
;
21141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21142 if (!SWIG_IsOK(res1
)) {
21143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21145 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21165 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21166 PyObject
*resultobj
= 0;
21167 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21168 wxString
*arg2
= 0 ;
21171 bool temp2
= false ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 char * kwnames
[] = {
21175 (char *) "self",(char *) "appName", NULL
21178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21180 if (!SWIG_IsOK(res1
)) {
21181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21183 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21185 arg2
= wxString_in_helper(obj1
);
21186 if (arg2
== NULL
) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 (arg1
)->SetAppName((wxString
const &)*arg2
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= SWIG_Py_Void();
21210 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
= 0;
21212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21213 wxString
*arg2
= 0 ;
21216 bool temp2
= false ;
21217 PyObject
* obj0
= 0 ;
21218 PyObject
* obj1
= 0 ;
21219 char * kwnames
[] = {
21220 (char *) "self",(char *) "vendorName", NULL
21223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21225 if (!SWIG_IsOK(res1
)) {
21226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21228 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21230 arg2
= wxString_in_helper(obj1
);
21231 if (arg2
== NULL
) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_Py_Void();
21255 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
= 0;
21257 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 char * kwnames
[] = {
21266 (char *) "self",(char *) "style", NULL
21269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21271 if (!SWIG_IsOK(res1
)) {
21272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21274 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21275 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21276 if (!SWIG_IsOK(ecode2
)) {
21277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21279 arg2
= static_cast< long >(val2
);
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->SetStyle(arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_Py_Void();
21293 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 PyObject
*resultobj
= 0;
21295 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21299 PyObject
*swig_obj
[1] ;
21301 if (!args
) SWIG_fail
;
21302 swig_obj
[0] = args
;
21303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21304 if (!SWIG_IsOK(res1
)) {
21305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21307 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_From_long(static_cast< long >(result
));
21321 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21324 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21325 return SWIG_Py_Void();
21328 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
= 0;
21330 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21331 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21332 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21333 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21334 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21335 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21336 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21337 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21338 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21339 wxConfig
*result
= 0 ;
21340 bool temp1
= false ;
21341 bool temp2
= false ;
21342 bool temp3
= false ;
21343 bool temp4
= false ;
21346 PyObject
* obj0
= 0 ;
21347 PyObject
* obj1
= 0 ;
21348 PyObject
* obj2
= 0 ;
21349 PyObject
* obj3
= 0 ;
21350 PyObject
* obj4
= 0 ;
21351 char * kwnames
[] = {
21352 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21358 arg1
= wxString_in_helper(obj0
);
21359 if (arg1
== NULL
) SWIG_fail
;
21365 arg2
= wxString_in_helper(obj1
);
21366 if (arg2
== NULL
) SWIG_fail
;
21372 arg3
= wxString_in_helper(obj2
);
21373 if (arg3
== NULL
) SWIG_fail
;
21379 arg4
= wxString_in_helper(obj3
);
21380 if (arg4
== NULL
) SWIG_fail
;
21385 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21386 if (!SWIG_IsOK(ecode5
)) {
21387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21389 arg5
= static_cast< long >(val5
);
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21436 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21437 PyObject
*resultobj
= 0;
21438 wxConfig
*arg1
= (wxConfig
*) 0 ;
21441 PyObject
*swig_obj
[1] ;
21443 if (!args
) SWIG_fail
;
21444 swig_obj
[0] = args
;
21445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21446 if (!SWIG_IsOK(res1
)) {
21447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21449 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_Py_Void();
21464 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21467 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21468 return SWIG_Py_Void();
21471 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21472 return SWIG_Python_InitShadowInstance(args
);
21475 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
= 0;
21477 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21478 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21479 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21480 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21481 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21482 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21483 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21484 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21485 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21486 wxFileConfig
*result
= 0 ;
21487 bool temp1
= false ;
21488 bool temp2
= false ;
21489 bool temp3
= false ;
21490 bool temp4
= false ;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 PyObject
* obj2
= 0 ;
21496 PyObject
* obj3
= 0 ;
21497 PyObject
* obj4
= 0 ;
21498 char * kwnames
[] = {
21499 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21505 arg1
= wxString_in_helper(obj0
);
21506 if (arg1
== NULL
) SWIG_fail
;
21512 arg2
= wxString_in_helper(obj1
);
21513 if (arg2
== NULL
) SWIG_fail
;
21519 arg3
= wxString_in_helper(obj2
);
21520 if (arg3
== NULL
) SWIG_fail
;
21526 arg4
= wxString_in_helper(obj3
);
21527 if (arg4
== NULL
) SWIG_fail
;
21532 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21533 if (!SWIG_IsOK(ecode5
)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21536 arg5
= static_cast< long >(val5
);
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21583 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21584 PyObject
*resultobj
= 0;
21585 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21588 PyObject
*swig_obj
[1] ;
21590 if (!args
) SWIG_fail
;
21591 swig_obj
[0] = args
;
21592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21596 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_Py_Void();
21611 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21614 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21615 return SWIG_Py_Void();
21618 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21619 return SWIG_Python_InitShadowInstance(args
);
21622 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
= 0;
21624 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21625 wxString
*arg2
= 0 ;
21626 wxConfigPathChanger
*result
= 0 ;
21629 bool temp2
= false ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char * kwnames
[] = {
21633 (char *) "config",(char *) "entry", NULL
21636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21641 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21643 arg2
= wxString_in_helper(obj1
);
21644 if (arg2
== NULL
) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21668 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21669 PyObject
*resultobj
= 0;
21670 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21673 PyObject
*swig_obj
[1] ;
21675 if (!args
) SWIG_fail
;
21676 swig_obj
[0] = args
;
21677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21678 if (!SWIG_IsOK(res1
)) {
21679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21681 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_Py_Void();
21696 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21697 PyObject
*resultobj
= 0;
21698 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21699 wxString
*result
= 0 ;
21702 PyObject
*swig_obj
[1] ;
21704 if (!args
) SWIG_fail
;
21705 swig_obj
[0] = args
;
21706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21707 if (!SWIG_IsOK(res1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21710 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21715 result
= (wxString
*) &_result_ref
;
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21724 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21733 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21736 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21737 return SWIG_Py_Void();
21740 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21741 return SWIG_Python_InitShadowInstance(args
);
21744 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
= 0;
21746 wxString
*arg1
= 0 ;
21748 bool temp1
= false ;
21749 PyObject
* obj0
= 0 ;
21750 char * kwnames
[] = {
21751 (char *) "sz", NULL
21754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21756 arg1
= wxString_in_helper(obj0
);
21757 if (arg1
== NULL
) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21787 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21788 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21793 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21794 PyObject
*pyobj
= 0;
21798 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21800 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21807 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21808 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21813 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21814 PyObject
*pyobj
= 0;
21818 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21820 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21827 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
= 0;
21829 wxDateTime::Country arg1
;
21832 PyObject
* obj0
= 0 ;
21833 char * kwnames
[] = {
21834 (char *) "country", NULL
21837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21838 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21839 if (!SWIG_IsOK(ecode1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21842 arg1
= static_cast< wxDateTime::Country
>(val1
);
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 wxDateTime::SetCountry(arg1
);
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= SWIG_Py_Void();
21856 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21857 PyObject
*resultobj
= 0;
21858 wxDateTime::Country result
;
21860 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= SWIG_From_int(static_cast< int >(result
));
21874 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
= 0;
21876 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21880 PyObject
* obj0
= 0 ;
21881 char * kwnames
[] = {
21882 (char *) "country", NULL
21885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21887 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21888 if (!SWIG_IsOK(ecode1
)) {
21889 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21891 arg1
= static_cast< wxDateTime::Country
>(val1
);
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21908 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
= 0;
21910 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21914 PyObject
* obj0
= 0 ;
21915 char * kwnames
[] = {
21916 (char *) "cal", NULL
21919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21921 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21922 if (!SWIG_IsOK(ecode1
)) {
21923 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21925 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= SWIG_From_int(static_cast< int >(result
));
21940 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
= 0;
21946 PyObject
* obj0
= 0 ;
21947 char * kwnames
[] = {
21948 (char *) "year", NULL
21951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21953 if (!SWIG_IsOK(ecode1
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21956 arg1
= static_cast< int >(val1
);
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_From_int(static_cast< int >(result
));
21970 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
= 0;
21972 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21973 wxDateTime::Month result
;
21976 PyObject
* obj0
= 0 ;
21977 char * kwnames
[] = {
21978 (char *) "cal", NULL
21981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
21983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21984 if (!SWIG_IsOK(ecode1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21987 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 resultobj
= SWIG_From_int(static_cast< int >(result
));
22002 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
= 0;
22004 int arg1
= (int) wxDateTime::Inv_Year
;
22005 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22011 PyObject
* obj0
= 0 ;
22012 PyObject
* obj1
= 0 ;
22013 char * kwnames
[] = {
22014 (char *) "year",(char *) "cal", NULL
22017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22020 if (!SWIG_IsOK(ecode1
)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22023 arg1
= static_cast< int >(val1
);
22026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22027 if (!SWIG_IsOK(ecode2
)) {
22028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22030 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22047 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
= 0;
22049 int arg1
= (int) wxDateTime::Inv_Year
;
22053 PyObject
* obj0
= 0 ;
22054 char * kwnames
[] = {
22055 (char *) "year", NULL
22058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22061 if (!SWIG_IsOK(ecode1
)) {
22062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22064 arg1
= static_cast< int >(val1
);
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 result
= (int)wxDateTime::GetCentury(arg1
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_From_int(static_cast< int >(result
));
22079 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
= 0;
22082 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 char * kwnames
[] = {
22091 (char *) "year",(char *) "cal", NULL
22094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22095 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22096 if (!SWIG_IsOK(ecode1
)) {
22097 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22099 arg1
= static_cast< int >(val1
);
22101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22102 if (!SWIG_IsOK(ecode2
)) {
22103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22105 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_From_int(static_cast< int >(result
));
22120 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
= 0;
22122 wxDateTime::Month arg1
;
22123 int arg2
= (int) wxDateTime::Inv_Year
;
22124 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 PyObject
* obj2
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "month",(char *) "year",(char *) "cal", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22140 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22141 if (!SWIG_IsOK(ecode1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22144 arg1
= static_cast< wxDateTime::Month
>(val1
);
22146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22147 if (!SWIG_IsOK(ecode2
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22150 arg2
= static_cast< int >(val2
);
22153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22154 if (!SWIG_IsOK(ecode3
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22157 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= SWIG_From_int(static_cast< int >(result
));
22172 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
= 0;
22174 wxDateTime::Month arg1
;
22175 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 char * kwnames
[] = {
22184 (char *) "month",(char *) "flags", NULL
22187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22189 if (!SWIG_IsOK(ecode1
)) {
22190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22192 arg1
= static_cast< wxDateTime::Month
>(val1
);
22194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22195 if (!SWIG_IsOK(ecode2
)) {
22196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22198 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22219 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
= 0;
22221 wxDateTime::WeekDay arg1
;
22222 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22228 PyObject
* obj0
= 0 ;
22229 PyObject
* obj1
= 0 ;
22230 char * kwnames
[] = {
22231 (char *) "weekday",(char *) "flags", NULL
22234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22235 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22236 if (!SWIG_IsOK(ecode1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22239 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22242 if (!SWIG_IsOK(ecode2
)) {
22243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22245 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22266 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22267 PyObject
*resultobj
= 0;
22268 PyObject
*result
= 0 ;
22270 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= result
;
22284 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
= 0;
22286 int arg1
= (int) wxDateTime::Inv_Year
;
22287 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 char * kwnames
[] = {
22296 (char *) "year",(char *) "country", NULL
22299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22302 if (!SWIG_IsOK(ecode1
)) {
22303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22305 arg1
= static_cast< int >(val1
);
22308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22309 if (!SWIG_IsOK(ecode2
)) {
22310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22312 arg2
= static_cast< wxDateTime::Country
>(val2
);
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22329 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
= 0;
22331 int arg1
= (int) wxDateTime::Inv_Year
;
22332 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 char * kwnames
[] = {
22341 (char *) "year",(char *) "country", NULL
22344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22346 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22347 if (!SWIG_IsOK(ecode1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22350 arg1
= static_cast< int >(val1
);
22353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22354 if (!SWIG_IsOK(ecode2
)) {
22355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22357 arg2
= static_cast< wxDateTime::Country
>(val2
);
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22372 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
= 0;
22374 int arg1
= (int) wxDateTime::Inv_Year
;
22375 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 char * kwnames
[] = {
22384 (char *) "year",(char *) "country", NULL
22387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22390 if (!SWIG_IsOK(ecode1
)) {
22391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22393 arg1
= static_cast< int >(val1
);
22396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22397 if (!SWIG_IsOK(ecode2
)) {
22398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22400 arg2
= static_cast< wxDateTime::Country
>(val2
);
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22415 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 PyObject
*resultobj
= 0;
22419 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= wxDateTime::Now();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22433 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22434 PyObject
*resultobj
= 0;
22437 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= wxDateTime::UNow();
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22451 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22452 PyObject
*resultobj
= 0;
22455 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= wxDateTime::Today();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22469 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22470 PyObject
*resultobj
= 0;
22471 wxDateTime
*result
= 0 ;
22473 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (wxDateTime
*)new wxDateTime();
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22487 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
= 0;
22490 wxDateTime
*result
= 0 ;
22491 unsigned int val1
;
22493 PyObject
* obj0
= 0 ;
22494 char * kwnames
[] = {
22495 (char *) "timet", NULL
22498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22499 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22500 if (!SWIG_IsOK(ecode1
)) {
22501 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22503 arg1
= static_cast< time_t >(val1
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (wxDateTime
*)new wxDateTime(arg1
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22517 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
= 0;
22520 wxDateTime
*result
= 0 ;
22523 PyObject
* obj0
= 0 ;
22524 char * kwnames
[] = {
22525 (char *) "jdn", NULL
22528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22529 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22530 if (!SWIG_IsOK(ecode1
)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22533 arg1
= static_cast< double >(val1
);
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (wxDateTime
*)new wxDateTime(arg1
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22547 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
= 0;
22550 int arg2
= (int) 0 ;
22551 int arg3
= (int) 0 ;
22552 int arg4
= (int) 0 ;
22553 wxDateTime
*result
= 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 PyObject
* obj2
= 0 ;
22565 PyObject
* obj3
= 0 ;
22566 char * kwnames
[] = {
22567 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22571 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22572 if (!SWIG_IsOK(ecode1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22575 arg1
= static_cast< int >(val1
);
22577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22578 if (!SWIG_IsOK(ecode2
)) {
22579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22581 arg2
= static_cast< int >(val2
);
22584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22585 if (!SWIG_IsOK(ecode3
)) {
22586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22588 arg3
= static_cast< int >(val3
);
22591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22592 if (!SWIG_IsOK(ecode4
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22595 arg4
= static_cast< int >(val4
);
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22610 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
= 0;
22613 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22614 int arg3
= (int) wxDateTime::Inv_Year
;
22615 int arg4
= (int) 0 ;
22616 int arg5
= (int) 0 ;
22617 int arg6
= (int) 0 ;
22618 int arg7
= (int) 0 ;
22619 wxDateTime
*result
= 0 ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 PyObject
* obj2
= 0 ;
22637 PyObject
* obj3
= 0 ;
22638 PyObject
* obj4
= 0 ;
22639 PyObject
* obj5
= 0 ;
22640 PyObject
* obj6
= 0 ;
22641 char * kwnames
[] = {
22642 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22647 if (!SWIG_IsOK(ecode1
)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22650 arg1
= static_cast< int >(val1
);
22652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22653 if (!SWIG_IsOK(ecode2
)) {
22654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22656 arg2
= static_cast< wxDateTime::Month
>(val2
);
22659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22660 if (!SWIG_IsOK(ecode3
)) {
22661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22663 arg3
= static_cast< int >(val3
);
22666 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22667 if (!SWIG_IsOK(ecode4
)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22670 arg4
= static_cast< int >(val4
);
22673 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22674 if (!SWIG_IsOK(ecode5
)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22677 arg5
= static_cast< int >(val5
);
22680 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22681 if (!SWIG_IsOK(ecode6
)) {
22682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22684 arg6
= static_cast< int >(val6
);
22687 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22688 if (!SWIG_IsOK(ecode7
)) {
22689 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22691 arg7
= static_cast< int >(val7
);
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22706 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
= 0;
22708 wxDateTime
*arg1
= 0 ;
22709 wxDateTime
*result
= 0 ;
22712 PyObject
* obj0
= 0 ;
22713 char * kwnames
[] = {
22714 (char *) "date", NULL
22717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22718 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22719 if (!SWIG_IsOK(res1
)) {
22720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22725 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22739 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22740 PyObject
*resultobj
= 0;
22741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22744 PyObject
*swig_obj
[1] ;
22746 if (!args
) SWIG_fail
;
22747 swig_obj
[0] = args
;
22748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22749 if (!SWIG_IsOK(res1
)) {
22750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22752 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= SWIG_Py_Void();
22767 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22768 PyObject
*resultobj
= 0;
22769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22770 wxDateTime
*result
= 0 ;
22773 PyObject
*swig_obj
[1] ;
22775 if (!args
) SWIG_fail
;
22776 swig_obj
[0] = args
;
22777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22778 if (!SWIG_IsOK(res1
)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22781 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22786 result
= (wxDateTime
*) &_result_ref
;
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22798 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
= 0;
22800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22802 wxDateTime
*result
= 0 ;
22805 unsigned int val2
;
22807 PyObject
* obj0
= 0 ;
22808 PyObject
* obj1
= 0 ;
22809 char * kwnames
[] = {
22810 (char *) "self",(char *) "timet", NULL
22813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22815 if (!SWIG_IsOK(res1
)) {
22816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22818 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22819 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22820 if (!SWIG_IsOK(ecode2
)) {
22821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22823 arg2
= static_cast< time_t >(val2
);
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22828 result
= (wxDateTime
*) &_result_ref
;
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22840 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
= 0;
22842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22844 wxDateTime
*result
= 0 ;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 char * kwnames
[] = {
22852 (char *) "self",(char *) "jdn", NULL
22855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22857 if (!SWIG_IsOK(res1
)) {
22858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22860 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22861 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22862 if (!SWIG_IsOK(ecode2
)) {
22863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22865 arg2
= static_cast< double >(val2
);
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22870 result
= (wxDateTime
*) &_result_ref
;
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22882 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
= 0;
22884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22886 int arg3
= (int) 0 ;
22887 int arg4
= (int) 0 ;
22888 int arg5
= (int) 0 ;
22889 wxDateTime
*result
= 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 PyObject
* obj2
= 0 ;
22903 PyObject
* obj3
= 0 ;
22904 PyObject
* obj4
= 0 ;
22905 char * kwnames
[] = {
22906 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22911 if (!SWIG_IsOK(res1
)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22914 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22916 if (!SWIG_IsOK(ecode2
)) {
22917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22919 arg2
= static_cast< int >(val2
);
22921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22922 if (!SWIG_IsOK(ecode3
)) {
22923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22925 arg3
= static_cast< int >(val3
);
22928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22929 if (!SWIG_IsOK(ecode4
)) {
22930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22932 arg4
= static_cast< int >(val4
);
22935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22936 if (!SWIG_IsOK(ecode5
)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22939 arg5
= static_cast< int >(val5
);
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22945 result
= (wxDateTime
*) &_result_ref
;
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22957 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
= 0;
22959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22961 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22962 int arg4
= (int) wxDateTime::Inv_Year
;
22963 int arg5
= (int) 0 ;
22964 int arg6
= (int) 0 ;
22965 int arg7
= (int) 0 ;
22966 int arg8
= (int) 0 ;
22967 wxDateTime
*result
= 0 ;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 PyObject
* obj2
= 0 ;
22987 PyObject
* obj3
= 0 ;
22988 PyObject
* obj4
= 0 ;
22989 PyObject
* obj5
= 0 ;
22990 PyObject
* obj6
= 0 ;
22991 PyObject
* obj7
= 0 ;
22992 char * kwnames
[] = {
22993 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22998 if (!SWIG_IsOK(res1
)) {
22999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23001 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23003 if (!SWIG_IsOK(ecode2
)) {
23004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23006 arg2
= static_cast< int >(val2
);
23008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23009 if (!SWIG_IsOK(ecode3
)) {
23010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23012 arg3
= static_cast< wxDateTime::Month
>(val3
);
23015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23016 if (!SWIG_IsOK(ecode4
)) {
23017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23019 arg4
= static_cast< int >(val4
);
23022 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23023 if (!SWIG_IsOK(ecode5
)) {
23024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23026 arg5
= static_cast< int >(val5
);
23029 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23030 if (!SWIG_IsOK(ecode6
)) {
23031 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23033 arg6
= static_cast< int >(val6
);
23036 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23037 if (!SWIG_IsOK(ecode7
)) {
23038 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23040 arg7
= static_cast< int >(val7
);
23043 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23044 if (!SWIG_IsOK(ecode8
)) {
23045 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23047 arg8
= static_cast< int >(val8
);
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23053 result
= (wxDateTime
*) &_result_ref
;
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23065 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23066 PyObject
*resultobj
= 0;
23067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23068 wxDateTime
*result
= 0 ;
23071 PyObject
*swig_obj
[1] ;
23073 if (!args
) SWIG_fail
;
23074 swig_obj
[0] = args
;
23075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23076 if (!SWIG_IsOK(res1
)) {
23077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23079 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23084 result
= (wxDateTime
*) &_result_ref
;
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23096 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
= 0;
23098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23100 wxDateTime
*result
= 0 ;
23105 PyObject
* obj0
= 0 ;
23106 PyObject
* obj1
= 0 ;
23107 char * kwnames
[] = {
23108 (char *) "self",(char *) "year", NULL
23111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23116 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23118 if (!SWIG_IsOK(ecode2
)) {
23119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23121 arg2
= static_cast< int >(val2
);
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23126 result
= (wxDateTime
*) &_result_ref
;
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23138 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
= 0;
23140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23141 wxDateTime::Month arg2
;
23142 wxDateTime
*result
= 0 ;
23147 PyObject
* obj0
= 0 ;
23148 PyObject
* obj1
= 0 ;
23149 char * kwnames
[] = {
23150 (char *) "self",(char *) "month", NULL
23153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23155 if (!SWIG_IsOK(res1
)) {
23156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23158 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23160 if (!SWIG_IsOK(ecode2
)) {
23161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23163 arg2
= static_cast< wxDateTime::Month
>(val2
);
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23168 result
= (wxDateTime
*) &_result_ref
;
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23180 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
= 0;
23182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23184 wxDateTime
*result
= 0 ;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 char * kwnames
[] = {
23192 (char *) "self",(char *) "day", NULL
23195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23197 if (!SWIG_IsOK(res1
)) {
23198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23200 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23202 if (!SWIG_IsOK(ecode2
)) {
23203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23205 arg2
= static_cast< int >(val2
);
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23210 result
= (wxDateTime
*) &_result_ref
;
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23222 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= 0;
23224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23226 wxDateTime
*result
= 0 ;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 char * kwnames
[] = {
23234 (char *) "self",(char *) "hour", NULL
23237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23242 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23244 if (!SWIG_IsOK(ecode2
)) {
23245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23247 arg2
= static_cast< int >(val2
);
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23252 result
= (wxDateTime
*) &_result_ref
;
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23264 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
= 0;
23266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23268 wxDateTime
*result
= 0 ;
23273 PyObject
* obj0
= 0 ;
23274 PyObject
* obj1
= 0 ;
23275 char * kwnames
[] = {
23276 (char *) "self",(char *) "minute", NULL
23279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23281 if (!SWIG_IsOK(res1
)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23284 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23286 if (!SWIG_IsOK(ecode2
)) {
23287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23289 arg2
= static_cast< int >(val2
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23294 result
= (wxDateTime
*) &_result_ref
;
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23306 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
= 0;
23308 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23310 wxDateTime
*result
= 0 ;
23315 PyObject
* obj0
= 0 ;
23316 PyObject
* obj1
= 0 ;
23317 char * kwnames
[] = {
23318 (char *) "self",(char *) "second", NULL
23321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23323 if (!SWIG_IsOK(res1
)) {
23324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23326 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23328 if (!SWIG_IsOK(ecode2
)) {
23329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23331 arg2
= static_cast< int >(val2
);
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23336 result
= (wxDateTime
*) &_result_ref
;
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23348 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
= 0;
23350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23352 wxDateTime
*result
= 0 ;
23357 PyObject
* obj0
= 0 ;
23358 PyObject
* obj1
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "self",(char *) "millisecond", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23368 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23370 if (!SWIG_IsOK(ecode2
)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23373 arg2
= static_cast< int >(val2
);
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23378 result
= (wxDateTime
*) &_result_ref
;
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23390 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
= 0;
23392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23393 wxDateTime::WeekDay arg2
;
23394 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23395 wxDateTime
*result
= 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 PyObject
* obj2
= 0 ;
23405 char * kwnames
[] = {
23406 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23411 if (!SWIG_IsOK(res1
)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23414 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23416 if (!SWIG_IsOK(ecode2
)) {
23417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23419 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23422 if (!SWIG_IsOK(ecode3
)) {
23423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23425 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23431 result
= (wxDateTime
*) &_result_ref
;
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23443 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
= 0;
23445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23446 wxDateTime::WeekDay arg2
;
23447 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 PyObject
* obj2
= 0 ;
23458 char * kwnames
[] = {
23459 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23467 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23469 if (!SWIG_IsOK(ecode2
)) {
23470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23472 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23475 if (!SWIG_IsOK(ecode3
)) {
23476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23478 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23493 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
= 0;
23495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23496 wxDateTime::WeekDay arg2
;
23497 wxDateTime
*result
= 0 ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 char * kwnames
[] = {
23505 (char *) "self",(char *) "weekday", NULL
23508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23510 if (!SWIG_IsOK(res1
)) {
23511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23513 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23515 if (!SWIG_IsOK(ecode2
)) {
23516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23518 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23523 result
= (wxDateTime
*) &_result_ref
;
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23535 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
= 0;
23537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23538 wxDateTime::WeekDay arg2
;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char * kwnames
[] = {
23547 (char *) "self",(char *) "weekday", NULL
23550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23555 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23557 if (!SWIG_IsOK(ecode2
)) {
23558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23560 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (arg1
)->GetNextWeekDay(arg2
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23574 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
= 0;
23576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23577 wxDateTime::WeekDay arg2
;
23578 wxDateTime
*result
= 0 ;
23583 PyObject
* obj0
= 0 ;
23584 PyObject
* obj1
= 0 ;
23585 char * kwnames
[] = {
23586 (char *) "self",(char *) "weekday", NULL
23589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23594 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23596 if (!SWIG_IsOK(ecode2
)) {
23597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23599 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23604 result
= (wxDateTime
*) &_result_ref
;
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23616 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
= 0;
23618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23619 wxDateTime::WeekDay arg2
;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 char * kwnames
[] = {
23628 (char *) "self",(char *) "weekday", NULL
23631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23633 if (!SWIG_IsOK(res1
)) {
23634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23636 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23638 if (!SWIG_IsOK(ecode2
)) {
23639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23641 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (arg1
)->GetPrevWeekDay(arg2
);
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23655 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
= 0;
23657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23658 wxDateTime::WeekDay arg2
;
23659 int arg3
= (int) 1 ;
23660 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23661 int arg5
= (int) wxDateTime::Inv_Year
;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 PyObject
* obj2
= 0 ;
23676 PyObject
* obj3
= 0 ;
23677 PyObject
* obj4
= 0 ;
23678 char * kwnames
[] = {
23679 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23687 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23689 if (!SWIG_IsOK(ecode2
)) {
23690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23692 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23695 if (!SWIG_IsOK(ecode3
)) {
23696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23698 arg3
= static_cast< int >(val3
);
23701 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23702 if (!SWIG_IsOK(ecode4
)) {
23703 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23705 arg4
= static_cast< wxDateTime::Month
>(val4
);
23708 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23709 if (!SWIG_IsOK(ecode5
)) {
23710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23712 arg5
= static_cast< int >(val5
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23729 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
= 0;
23731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23732 wxDateTime::WeekDay arg2
;
23733 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23734 int arg4
= (int) wxDateTime::Inv_Year
;
23744 PyObject
* obj0
= 0 ;
23745 PyObject
* obj1
= 0 ;
23746 PyObject
* obj2
= 0 ;
23747 PyObject
* obj3
= 0 ;
23748 char * kwnames
[] = {
23749 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23754 if (!SWIG_IsOK(res1
)) {
23755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23757 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23759 if (!SWIG_IsOK(ecode2
)) {
23760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23762 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23765 if (!SWIG_IsOK(ecode3
)) {
23766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23768 arg3
= static_cast< wxDateTime::Month
>(val3
);
23771 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23772 if (!SWIG_IsOK(ecode4
)) {
23773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23775 arg4
= static_cast< int >(val4
);
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23792 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
= 0;
23794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23795 wxDateTime::WeekDay arg2
;
23796 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23797 int arg4
= (int) wxDateTime::Inv_Year
;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 PyObject
* obj2
= 0 ;
23810 PyObject
* obj3
= 0 ;
23811 char * kwnames
[] = {
23812 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23817 if (!SWIG_IsOK(res1
)) {
23818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23820 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23822 if (!SWIG_IsOK(ecode2
)) {
23823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23825 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23828 if (!SWIG_IsOK(ecode3
)) {
23829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23831 arg3
= static_cast< wxDateTime::Month
>(val3
);
23834 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23835 if (!SWIG_IsOK(ecode4
)) {
23836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23838 arg4
= static_cast< int >(val4
);
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23853 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
= 0;
23855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23857 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23858 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 PyObject
* obj2
= 0 ;
23871 PyObject
* obj3
= 0 ;
23872 char * kwnames
[] = {
23873 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23878 if (!SWIG_IsOK(res1
)) {
23879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23881 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23883 if (!SWIG_IsOK(ecode2
)) {
23884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23886 arg2
= static_cast< int >(val2
);
23888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23889 if (!SWIG_IsOK(ecode3
)) {
23890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23892 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23896 if (!SWIG_IsOK(ecode4
)) {
23897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23899 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23916 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
= 0;
23918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23920 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23921 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 PyObject
* obj2
= 0 ;
23934 PyObject
* obj3
= 0 ;
23935 char * kwnames
[] = {
23936 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23941 if (!SWIG_IsOK(res1
)) {
23942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23944 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23946 if (!SWIG_IsOK(ecode2
)) {
23947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23949 arg2
= static_cast< int >(val2
);
23951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23952 if (!SWIG_IsOK(ecode3
)) {
23953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23955 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23958 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23959 if (!SWIG_IsOK(ecode4
)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23962 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23977 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
= 0;
23981 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 PyObject
* obj2
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23998 if (!SWIG_IsOK(ecode1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24001 arg1
= static_cast< int >(val1
);
24002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24003 if (!SWIG_IsOK(ecode2
)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24006 arg2
= static_cast< int >(val2
);
24008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24009 if (!SWIG_IsOK(ecode3
)) {
24010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24012 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24027 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
= 0;
24029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24030 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24031 int arg3
= (int) wxDateTime::Inv_Year
;
24032 wxDateTime
*result
= 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 PyObject
* obj2
= 0 ;
24042 char * kwnames
[] = {
24043 (char *) "self",(char *) "month",(char *) "year", NULL
24046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24048 if (!SWIG_IsOK(res1
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24051 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24054 if (!SWIG_IsOK(ecode2
)) {
24055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24057 arg2
= static_cast< wxDateTime::Month
>(val2
);
24060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24061 if (!SWIG_IsOK(ecode3
)) {
24062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24064 arg3
= static_cast< int >(val3
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24070 result
= (wxDateTime
*) &_result_ref
;
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24082 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
= 0;
24084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24085 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24086 int arg3
= (int) wxDateTime::Inv_Year
;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 PyObject
* obj2
= 0 ;
24097 char * kwnames
[] = {
24098 (char *) "self",(char *) "month",(char *) "year", NULL
24101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24103 if (!SWIG_IsOK(res1
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24106 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24109 if (!SWIG_IsOK(ecode2
)) {
24110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24112 arg2
= static_cast< wxDateTime::Month
>(val2
);
24115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24116 if (!SWIG_IsOK(ecode3
)) {
24117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24119 arg3
= static_cast< int >(val3
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24134 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
= 0;
24136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24138 wxDateTime
*result
= 0 ;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char * kwnames
[] = {
24146 (char *) "self",(char *) "yday", NULL
24149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24151 if (!SWIG_IsOK(res1
)) {
24152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24154 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24156 if (!SWIG_IsOK(ecode2
)) {
24157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24159 arg2
= static_cast< int >(val2
);
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24164 result
= (wxDateTime
*) &_result_ref
;
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24176 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
= 0;
24178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24185 PyObject
* obj0
= 0 ;
24186 PyObject
* obj1
= 0 ;
24187 char * kwnames
[] = {
24188 (char *) "self",(char *) "yday", NULL
24191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24193 if (!SWIG_IsOK(res1
)) {
24194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24196 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24198 if (!SWIG_IsOK(ecode2
)) {
24199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24201 arg2
= static_cast< int >(val2
);
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 result
= (arg1
)->GetYearDay(arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24215 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24216 PyObject
*resultobj
= 0;
24217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24221 PyObject
*swig_obj
[1] ;
24223 if (!args
) SWIG_fail
;
24224 swig_obj
[0] = args
;
24225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24226 if (!SWIG_IsOK(res1
)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24229 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (double)(arg1
)->GetJulianDayNumber();
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 resultobj
= SWIG_From_double(static_cast< double >(result
));
24243 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24244 PyObject
*resultobj
= 0;
24245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24249 PyObject
*swig_obj
[1] ;
24251 if (!args
) SWIG_fail
;
24252 swig_obj
[0] = args
;
24253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24254 if (!SWIG_IsOK(res1
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24257 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (double)(arg1
)->GetJDN();
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= SWIG_From_double(static_cast< double >(result
));
24271 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24272 PyObject
*resultobj
= 0;
24273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24277 PyObject
*swig_obj
[1] ;
24279 if (!args
) SWIG_fail
;
24280 swig_obj
[0] = args
;
24281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24282 if (!SWIG_IsOK(res1
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24285 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= SWIG_From_double(static_cast< double >(result
));
24299 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24300 PyObject
*resultobj
= 0;
24301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24305 PyObject
*swig_obj
[1] ;
24307 if (!args
) SWIG_fail
;
24308 swig_obj
[0] = args
;
24309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24310 if (!SWIG_IsOK(res1
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24313 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (double)(arg1
)->GetMJD();
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= SWIG_From_double(static_cast< double >(result
));
24327 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24328 PyObject
*resultobj
= 0;
24329 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24333 PyObject
*swig_obj
[1] ;
24335 if (!args
) SWIG_fail
;
24336 swig_obj
[0] = args
;
24337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24338 if (!SWIG_IsOK(res1
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24341 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (double)(arg1
)->GetRataDie();
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= SWIG_From_double(static_cast< double >(result
));
24355 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
= 0;
24357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24358 wxDateTime::TimeZone
*arg2
= 0 ;
24359 bool arg3
= (bool) false ;
24363 bool temp2
= false ;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 PyObject
* obj2
= 0 ;
24369 char * kwnames
[] = {
24370 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24375 if (!SWIG_IsOK(res1
)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24378 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24380 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24384 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24385 if (!SWIG_IsOK(ecode3
)) {
24386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24388 arg3
= static_cast< bool >(val3
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24398 if (temp2
) delete arg2
;
24403 if (temp2
) delete arg2
;
24409 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
= 0;
24411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24412 wxDateTime::TimeZone
*arg2
= 0 ;
24413 bool arg3
= (bool) false ;
24414 wxDateTime
*result
= 0 ;
24417 bool temp2
= false ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 PyObject
* obj2
= 0 ;
24423 char * kwnames
[] = {
24424 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24429 if (!SWIG_IsOK(res1
)) {
24430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24432 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24434 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24438 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24439 if (!SWIG_IsOK(ecode3
)) {
24440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24442 arg3
= static_cast< bool >(val3
);
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24448 result
= (wxDateTime
*) &_result_ref
;
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24455 if (temp2
) delete arg2
;
24460 if (temp2
) delete arg2
;
24466 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
= 0;
24468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24469 wxDateTime::TimeZone
*arg2
= 0 ;
24470 bool arg3
= (bool) false ;
24474 bool temp2
= false ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 PyObject
* obj2
= 0 ;
24480 char * kwnames
[] = {
24481 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24486 if (!SWIG_IsOK(res1
)) {
24487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24489 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24491 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24495 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24496 if (!SWIG_IsOK(ecode3
)) {
24497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24499 arg3
= static_cast< bool >(val3
);
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24509 if (temp2
) delete arg2
;
24514 if (temp2
) delete arg2
;
24520 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
= 0;
24522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24523 wxDateTime::TimeZone
*arg2
= 0 ;
24524 bool arg3
= (bool) false ;
24525 wxDateTime
*result
= 0 ;
24528 bool temp2
= false ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 PyObject
* obj2
= 0 ;
24534 char * kwnames
[] = {
24535 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24540 if (!SWIG_IsOK(res1
)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24543 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24545 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24549 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24550 if (!SWIG_IsOK(ecode3
)) {
24551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24553 arg3
= static_cast< bool >(val3
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24559 result
= (wxDateTime
*) &_result_ref
;
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24566 if (temp2
) delete arg2
;
24571 if (temp2
) delete arg2
;
24577 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
= 0;
24579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24580 bool arg2
= (bool) false ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 char * kwnames
[] = {
24589 (char *) "self",(char *) "noDST", NULL
24592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24594 if (!SWIG_IsOK(res1
)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24597 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24599 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24600 if (!SWIG_IsOK(ecode2
)) {
24601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24603 arg2
= static_cast< bool >(val2
);
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24618 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
= 0;
24620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24621 bool arg2
= (bool) false ;
24622 wxDateTime
*result
= 0 ;
24627 PyObject
* obj0
= 0 ;
24628 PyObject
* obj1
= 0 ;
24629 char * kwnames
[] = {
24630 (char *) "self",(char *) "noDST", NULL
24633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24638 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24640 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24641 if (!SWIG_IsOK(ecode2
)) {
24642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24644 arg2
= static_cast< bool >(val2
);
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24650 result
= (wxDateTime
*) &_result_ref
;
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24662 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
= 0;
24664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24665 bool arg2
= (bool) false ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 char * kwnames
[] = {
24674 (char *) "self",(char *) "noDST", NULL
24677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24682 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24684 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24685 if (!SWIG_IsOK(ecode2
)) {
24686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24688 arg2
= static_cast< bool >(val2
);
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24703 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
= 0;
24705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24706 bool arg2
= (bool) false ;
24707 wxDateTime
*result
= 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char * kwnames
[] = {
24715 (char *) "self",(char *) "noDST", NULL
24718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24720 if (!SWIG_IsOK(res1
)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24723 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24725 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24726 if (!SWIG_IsOK(ecode2
)) {
24727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24729 arg2
= static_cast< bool >(val2
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24735 result
= (wxDateTime
*) &_result_ref
;
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24747 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
= 0;
24749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24750 bool arg2
= (bool) false ;
24756 PyObject
* obj0
= 0 ;
24757 PyObject
* obj1
= 0 ;
24758 char * kwnames
[] = {
24759 (char *) "self",(char *) "noDST", NULL
24762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24764 if (!SWIG_IsOK(res1
)) {
24765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24767 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24769 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24770 if (!SWIG_IsOK(ecode2
)) {
24771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24773 arg2
= static_cast< bool >(val2
);
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24788 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
= 0;
24790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24791 bool arg2
= (bool) false ;
24792 wxDateTime
*result
= 0 ;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 char * kwnames
[] = {
24800 (char *) "self",(char *) "noDST", NULL
24803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24805 if (!SWIG_IsOK(res1
)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24808 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24810 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24811 if (!SWIG_IsOK(ecode2
)) {
24812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24814 arg2
= static_cast< bool >(val2
);
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24820 result
= (wxDateTime
*) &_result_ref
;
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24832 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
= 0;
24834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24835 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "self",(char *) "country", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24852 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24855 if (!SWIG_IsOK(ecode2
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24858 arg2
= static_cast< wxDateTime::Country
>(val2
);
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (int)(arg1
)->IsDST(arg2
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= SWIG_From_int(static_cast< int >(result
));
24873 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24874 PyObject
*resultobj
= 0;
24875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24879 PyObject
*swig_obj
[1] ;
24881 if (!args
) SWIG_fail
;
24882 swig_obj
[0] = args
;
24883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24884 if (!SWIG_IsOK(res1
)) {
24885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24887 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24903 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24904 PyObject
*resultobj
= 0;
24905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24909 PyObject
*swig_obj
[1] ;
24911 if (!args
) SWIG_fail
;
24912 swig_obj
[0] = args
;
24913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24914 if (!SWIG_IsOK(res1
)) {
24915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24917 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24931 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
= 0;
24933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24934 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24935 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24939 bool temp2
= false ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char * kwnames
[] = {
24943 (char *) "self",(char *) "tz", NULL
24946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24948 if (!SWIG_IsOK(res1
)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24951 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24954 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= SWIG_From_int(static_cast< int >(result
));
24966 if (temp2
) delete arg2
;
24971 if (temp2
) delete arg2
;
24977 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
= 0;
24979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24980 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24981 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24982 wxDateTime::Month result
;
24985 bool temp2
= false ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char * kwnames
[] = {
24989 (char *) "self",(char *) "tz", NULL
24992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24994 if (!SWIG_IsOK(res1
)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24997 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25000 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= SWIG_From_int(static_cast< int >(result
));
25012 if (temp2
) delete arg2
;
25017 if (temp2
) delete arg2
;
25023 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25026 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25027 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25031 bool temp2
= false ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "self",(char *) "tz", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25043 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25046 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= SWIG_From_int(static_cast< int >(result
));
25058 if (temp2
) delete arg2
;
25063 if (temp2
) delete arg2
;
25069 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
= 0;
25071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25072 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25073 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25074 wxDateTime::WeekDay result
;
25077 bool temp2
= false ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 char * kwnames
[] = {
25081 (char *) "self",(char *) "tz", NULL
25084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25086 if (!SWIG_IsOK(res1
)) {
25087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25089 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25092 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= SWIG_From_int(static_cast< int >(result
));
25104 if (temp2
) delete arg2
;
25109 if (temp2
) delete arg2
;
25115 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
= 0;
25117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25118 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25119 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25123 bool temp2
= false ;
25124 PyObject
* obj0
= 0 ;
25125 PyObject
* obj1
= 0 ;
25126 char * kwnames
[] = {
25127 (char *) "self",(char *) "tz", NULL
25130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25132 if (!SWIG_IsOK(res1
)) {
25133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25135 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25138 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= SWIG_From_int(static_cast< int >(result
));
25150 if (temp2
) delete arg2
;
25155 if (temp2
) delete arg2
;
25161 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
= 0;
25163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25164 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25165 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25169 bool temp2
= false ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 char * kwnames
[] = {
25173 (char *) "self",(char *) "tz", NULL
25176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25178 if (!SWIG_IsOK(res1
)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25181 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25184 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_From_int(static_cast< int >(result
));
25196 if (temp2
) delete arg2
;
25201 if (temp2
) delete arg2
;
25207 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
= 0;
25209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25210 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25211 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25215 bool temp2
= false ;
25216 PyObject
* obj0
= 0 ;
25217 PyObject
* obj1
= 0 ;
25218 char * kwnames
[] = {
25219 (char *) "self",(char *) "tz", NULL
25222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25224 if (!SWIG_IsOK(res1
)) {
25225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25227 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25230 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= SWIG_From_int(static_cast< int >(result
));
25242 if (temp2
) delete arg2
;
25247 if (temp2
) delete arg2
;
25253 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
= 0;
25255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25256 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25257 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25261 bool temp2
= false ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char * kwnames
[] = {
25265 (char *) "self",(char *) "tz", NULL
25268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25270 if (!SWIG_IsOK(res1
)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25273 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25276 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_From_int(static_cast< int >(result
));
25288 if (temp2
) delete arg2
;
25293 if (temp2
) delete arg2
;
25299 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
= 0;
25301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25302 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25303 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25307 bool temp2
= false ;
25308 PyObject
* obj0
= 0 ;
25309 PyObject
* obj1
= 0 ;
25310 char * kwnames
[] = {
25311 (char *) "self",(char *) "tz", NULL
25314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25319 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25322 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_From_int(static_cast< int >(result
));
25334 if (temp2
) delete arg2
;
25339 if (temp2
) delete arg2
;
25345 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
= 0;
25347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25348 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25349 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25350 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25356 bool temp3
= false ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 PyObject
* obj2
= 0 ;
25360 char * kwnames
[] = {
25361 (char *) "self",(char *) "flags",(char *) "tz", NULL
25364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25369 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25372 if (!SWIG_IsOK(ecode2
)) {
25373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25375 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25379 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= SWIG_From_int(static_cast< int >(result
));
25391 if (temp3
) delete arg3
;
25396 if (temp3
) delete arg3
;
25402 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
= 0;
25404 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25405 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25406 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25407 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25413 bool temp3
= false ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 PyObject
* obj2
= 0 ;
25417 char * kwnames
[] = {
25418 (char *) "self",(char *) "flags",(char *) "tz", NULL
25421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25426 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25429 if (!SWIG_IsOK(ecode2
)) {
25430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25432 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25436 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= SWIG_From_int(static_cast< int >(result
));
25448 if (temp3
) delete arg3
;
25453 if (temp3
) delete arg3
;
25459 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
= 0;
25461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25462 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25468 PyObject
* obj0
= 0 ;
25469 PyObject
* obj1
= 0 ;
25470 char * kwnames
[] = {
25471 (char *) "self",(char *) "country", NULL
25474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25476 if (!SWIG_IsOK(res1
)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25479 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25482 if (!SWIG_IsOK(ecode2
)) {
25483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25485 arg2
= static_cast< wxDateTime::Country
>(val2
);
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25502 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
= 0;
25504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25505 wxDateTime
*arg2
= 0 ;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char * kwnames
[] = {
25514 (char *) "self",(char *) "datetime", NULL
25517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25519 if (!SWIG_IsOK(res1
)) {
25520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25522 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25524 if (!SWIG_IsOK(res2
)) {
25525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25530 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25546 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
= 0;
25548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25549 wxDateTime
*arg2
= 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 char * kwnames
[] = {
25558 (char *) "self",(char *) "datetime", NULL
25561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25563 if (!SWIG_IsOK(res1
)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25566 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25568 if (!SWIG_IsOK(res2
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25574 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25590 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
= 0;
25592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25593 wxDateTime
*arg2
= 0 ;
25599 PyObject
* obj0
= 0 ;
25600 PyObject
* obj1
= 0 ;
25601 char * kwnames
[] = {
25602 (char *) "self",(char *) "datetime", NULL
25605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25607 if (!SWIG_IsOK(res1
)) {
25608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25610 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25612 if (!SWIG_IsOK(res2
)) {
25613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25618 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25634 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
= 0;
25636 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25637 wxDateTime
*arg2
= 0 ;
25638 wxDateTime
*arg3
= 0 ;
25646 PyObject
* obj0
= 0 ;
25647 PyObject
* obj1
= 0 ;
25648 PyObject
* obj2
= 0 ;
25649 char * kwnames
[] = {
25650 (char *) "self",(char *) "t1",(char *) "t2", NULL
25653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25655 if (!SWIG_IsOK(res1
)) {
25656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25658 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25660 if (!SWIG_IsOK(res2
)) {
25661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25666 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25667 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25668 if (!SWIG_IsOK(res3
)) {
25669 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25674 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25690 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
= 0;
25692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25693 wxDateTime
*arg2
= 0 ;
25694 wxDateTime
*arg3
= 0 ;
25702 PyObject
* obj0
= 0 ;
25703 PyObject
* obj1
= 0 ;
25704 PyObject
* obj2
= 0 ;
25705 char * kwnames
[] = {
25706 (char *) "self",(char *) "t1",(char *) "t2", NULL
25709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25711 if (!SWIG_IsOK(res1
)) {
25712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25714 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25715 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25716 if (!SWIG_IsOK(res2
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25722 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25723 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25724 if (!SWIG_IsOK(res3
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25730 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25746 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
= 0;
25748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25749 wxDateTime
*arg2
= 0 ;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 char * kwnames
[] = {
25758 (char *) "self",(char *) "dt", NULL
25761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25763 if (!SWIG_IsOK(res1
)) {
25764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25766 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25768 if (!SWIG_IsOK(res2
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25774 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25790 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
= 0;
25792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25793 wxDateTime
*arg2
= 0 ;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 char * kwnames
[] = {
25802 (char *) "self",(char *) "dt", NULL
25805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25807 if (!SWIG_IsOK(res1
)) {
25808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25810 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25812 if (!SWIG_IsOK(res2
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25818 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25834 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
= 0;
25836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25837 wxDateTime
*arg2
= 0 ;
25838 wxTimeSpan
*arg3
= 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 PyObject
* obj2
= 0 ;
25849 char * kwnames
[] = {
25850 (char *) "self",(char *) "dt",(char *) "ts", NULL
25853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25855 if (!SWIG_IsOK(res1
)) {
25856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25858 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25859 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25860 if (!SWIG_IsOK(res2
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25866 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25867 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25868 if (!SWIG_IsOK(res3
)) {
25869 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25874 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25890 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
= 0;
25892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25893 wxTimeSpan
*arg2
= 0 ;
25894 wxDateTime
*result
= 0 ;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 char * kwnames
[] = {
25902 (char *) "self",(char *) "diff", NULL
25905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25907 if (!SWIG_IsOK(res1
)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25910 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25912 if (!SWIG_IsOK(res2
)) {
25913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25918 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25923 result
= (wxDateTime
*) &_result_ref
;
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25935 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
= 0;
25937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25938 wxDateSpan
*arg2
= 0 ;
25939 wxDateTime
*result
= 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char * kwnames
[] = {
25947 (char *) "self",(char *) "diff", NULL
25950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25955 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25957 if (!SWIG_IsOK(res2
)) {
25958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25963 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25968 result
= (wxDateTime
*) &_result_ref
;
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25980 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
= 0;
25982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25983 wxTimeSpan
*arg2
= 0 ;
25984 wxDateTime
*result
= 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 char * kwnames
[] = {
25992 (char *) "self",(char *) "diff", NULL
25995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25997 if (!SWIG_IsOK(res1
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26000 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26002 if (!SWIG_IsOK(res2
)) {
26003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26008 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26013 result
= (wxDateTime
*) &_result_ref
;
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26025 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
= 0;
26027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26028 wxDateSpan
*arg2
= 0 ;
26029 wxDateTime
*result
= 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char * kwnames
[] = {
26037 (char *) "self",(char *) "diff", NULL
26040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26045 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26047 if (!SWIG_IsOK(res2
)) {
26048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26053 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26058 result
= (wxDateTime
*) &_result_ref
;
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26070 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
= 0;
26072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26073 wxDateTime
*arg2
= 0 ;
26079 PyObject
* obj0
= 0 ;
26080 PyObject
* obj1
= 0 ;
26081 char * kwnames
[] = {
26082 (char *) "self",(char *) "dt", NULL
26085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26090 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26092 if (!SWIG_IsOK(res2
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26098 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26112 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26113 PyObject
*resultobj
= 0;
26114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26115 wxTimeSpan
*arg2
= 0 ;
26116 wxDateTime
*result
= 0 ;
26122 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26124 if (!SWIG_IsOK(res1
)) {
26125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26127 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26128 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26129 if (!SWIG_IsOK(res2
)) {
26130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26135 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26140 result
= (wxDateTime
*) &_result_ref
;
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26152 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26153 PyObject
*resultobj
= 0;
26154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26155 wxDateSpan
*arg2
= 0 ;
26156 wxDateTime
*result
= 0 ;
26162 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26164 if (!SWIG_IsOK(res1
)) {
26165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26167 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26168 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26169 if (!SWIG_IsOK(res2
)) {
26170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26175 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26180 result
= (wxDateTime
*) &_result_ref
;
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26192 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26196 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26201 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26202 _v
= SWIG_CheckState(res
);
26204 if (!_v
) goto check_1
;
26205 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26210 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26214 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26219 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26220 PyObject
*resultobj
= 0;
26221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26222 wxTimeSpan
*arg2
= 0 ;
26223 wxDateTime
*result
= 0 ;
26229 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26231 if (!SWIG_IsOK(res1
)) {
26232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26234 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26235 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26236 if (!SWIG_IsOK(res2
)) {
26237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26242 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26247 result
= (wxDateTime
*) &_result_ref
;
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26259 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26260 PyObject
*resultobj
= 0;
26261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26262 wxDateSpan
*arg2
= 0 ;
26263 wxDateTime
*result
= 0 ;
26269 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26274 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26275 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26276 if (!SWIG_IsOK(res2
)) {
26277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26282 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26287 result
= (wxDateTime
*) &_result_ref
;
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26299 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26303 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26308 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26309 _v
= SWIG_CheckState(res
);
26311 if (!_v
) goto check_1
;
26312 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26317 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26321 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26326 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26327 PyObject
*resultobj
= 0;
26328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26329 wxTimeSpan
*arg2
= 0 ;
26336 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26338 if (!SWIG_IsOK(res1
)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26341 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26342 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26343 if (!SWIG_IsOK(res2
)) {
26344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26349 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26363 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26364 PyObject
*resultobj
= 0;
26365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26366 wxDateSpan
*arg2
= 0 ;
26373 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26375 if (!SWIG_IsOK(res1
)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26378 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26379 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26380 if (!SWIG_IsOK(res2
)) {
26381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26386 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26400 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26404 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26409 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26410 _v
= SWIG_CheckState(res
);
26412 if (!_v
) goto check_1
;
26413 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26418 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26422 Py_INCREF(Py_NotImplemented
);
26423 return Py_NotImplemented
;
26427 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26428 PyObject
*resultobj
= 0;
26429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26430 wxDateTime
*arg2
= 0 ;
26437 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26439 if (!SWIG_IsOK(res1
)) {
26440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26442 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26443 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26444 if (!SWIG_IsOK(res2
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26450 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26464 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26465 PyObject
*resultobj
= 0;
26466 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26467 wxTimeSpan
*arg2
= 0 ;
26474 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26476 if (!SWIG_IsOK(res1
)) {
26477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26479 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26480 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26481 if (!SWIG_IsOK(res2
)) {
26482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26487 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26501 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26502 PyObject
*resultobj
= 0;
26503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26504 wxDateSpan
*arg2
= 0 ;
26511 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26513 if (!SWIG_IsOK(res1
)) {
26514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26516 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26517 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26518 if (!SWIG_IsOK(res2
)) {
26519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26524 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26538 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26542 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26547 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26548 _v
= SWIG_CheckState(res
);
26550 if (!_v
) goto check_1
;
26551 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26558 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26559 _v
= SWIG_CheckState(res
);
26561 if (!_v
) goto check_2
;
26562 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26567 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26571 Py_INCREF(Py_NotImplemented
);
26572 return Py_NotImplemented
;
26576 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
= 0;
26578 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26579 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26585 PyObject
* obj0
= 0 ;
26586 PyObject
* obj1
= 0 ;
26587 char * kwnames
[] = {
26588 (char *) "self",(char *) "other", NULL
26591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26593 if (!SWIG_IsOK(res1
)) {
26594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26596 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26598 if (!SWIG_IsOK(res2
)) {
26599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26601 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26617 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
= 0;
26619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26620 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char * kwnames
[] = {
26629 (char *) "self",(char *) "other", NULL
26632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26634 if (!SWIG_IsOK(res1
)) {
26635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26637 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26639 if (!SWIG_IsOK(res2
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26642 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26658 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
= 0;
26660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26661 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26667 PyObject
* obj0
= 0 ;
26668 PyObject
* obj1
= 0 ;
26669 char * kwnames
[] = {
26670 (char *) "self",(char *) "other", NULL
26673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26675 if (!SWIG_IsOK(res1
)) {
26676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26678 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26680 if (!SWIG_IsOK(res2
)) {
26681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26683 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26699 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
= 0;
26701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26702 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 char * kwnames
[] = {
26711 (char *) "self",(char *) "other", NULL
26714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26716 if (!SWIG_IsOK(res1
)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26719 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26721 if (!SWIG_IsOK(res2
)) {
26722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26724 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26740 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26741 PyObject
*resultobj
= 0;
26742 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26743 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26749 PyObject
* obj0
= 0 ;
26750 PyObject
* obj1
= 0 ;
26751 char * kwnames
[] = {
26752 (char *) "self",(char *) "other", NULL
26755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26757 if (!SWIG_IsOK(res1
)) {
26758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26760 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26762 if (!SWIG_IsOK(res2
)) {
26763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26765 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26781 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
= 0;
26783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26784 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 char * kwnames
[] = {
26793 (char *) "self",(char *) "other", NULL
26796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26798 if (!SWIG_IsOK(res1
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26801 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26802 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26803 if (!SWIG_IsOK(res2
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26806 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26822 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
= 0;
26824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26825 wxString
*arg2
= 0 ;
26829 bool temp2
= false ;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 char * kwnames
[] = {
26833 (char *) "self",(char *) "date", NULL
26836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26838 if (!SWIG_IsOK(res1
)) {
26839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26841 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26843 arg2
= wxString_in_helper(obj1
);
26844 if (arg2
== NULL
) SWIG_fail
;
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_From_int(static_cast< int >(result
));
26868 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= 0;
26870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26871 wxString
*arg2
= 0 ;
26872 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26874 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26875 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26879 bool temp2
= false ;
26880 bool temp3
= false ;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 PyObject
* obj2
= 0 ;
26886 PyObject
* obj3
= 0 ;
26887 char * kwnames
[] = {
26888 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26893 if (!SWIG_IsOK(res1
)) {
26894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26896 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26898 arg2
= wxString_in_helper(obj1
);
26899 if (arg2
== NULL
) SWIG_fail
;
26904 arg3
= wxString_in_helper(obj2
);
26905 if (arg3
== NULL
) SWIG_fail
;
26910 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26911 if (!SWIG_IsOK(res4
)) {
26912 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26917 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= SWIG_From_int(static_cast< int >(result
));
26948 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
= 0;
26950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26951 wxString
*arg2
= 0 ;
26955 bool temp2
= false ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char * kwnames
[] = {
26959 (char *) "self",(char *) "datetime", NULL
26962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26964 if (!SWIG_IsOK(res1
)) {
26965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26967 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26969 arg2
= wxString_in_helper(obj1
);
26970 if (arg2
== NULL
) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= SWIG_From_int(static_cast< int >(result
));
26994 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
= 0;
26996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26997 wxString
*arg2
= 0 ;
27001 bool temp2
= false ;
27002 PyObject
* obj0
= 0 ;
27003 PyObject
* obj1
= 0 ;
27004 char * kwnames
[] = {
27005 (char *) "self",(char *) "date", NULL
27008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27010 if (!SWIG_IsOK(res1
)) {
27011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27013 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27015 arg2
= wxString_in_helper(obj1
);
27016 if (arg2
== NULL
) SWIG_fail
;
27020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_From_int(static_cast< int >(result
));
27040 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
= 0;
27042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27043 wxString
*arg2
= 0 ;
27047 bool temp2
= false ;
27048 PyObject
* obj0
= 0 ;
27049 PyObject
* obj1
= 0 ;
27050 char * kwnames
[] = {
27051 (char *) "self",(char *) "time", NULL
27054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27056 if (!SWIG_IsOK(res1
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27059 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27061 arg2
= wxString_in_helper(obj1
);
27062 if (arg2
== NULL
) SWIG_fail
;
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= SWIG_From_int(static_cast< int >(result
));
27086 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
= 0;
27088 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27089 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27090 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27091 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27092 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27096 bool temp2
= false ;
27097 bool temp3
= false ;
27098 PyObject
* obj0
= 0 ;
27099 PyObject
* obj1
= 0 ;
27100 PyObject
* obj2
= 0 ;
27101 char * kwnames
[] = {
27102 (char *) "self",(char *) "format",(char *) "tz", NULL
27105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27110 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27113 arg2
= wxString_in_helper(obj1
);
27114 if (arg2
== NULL
) SWIG_fail
;
27120 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27142 if (temp3
) delete arg3
;
27151 if (temp3
) delete arg3
;
27157 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27158 PyObject
*resultobj
= 0;
27159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27163 PyObject
*swig_obj
[1] ;
27165 if (!args
) SWIG_fail
;
27166 swig_obj
[0] = args
;
27167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27168 if (!SWIG_IsOK(res1
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27171 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27191 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27192 PyObject
*resultobj
= 0;
27193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27197 PyObject
*swig_obj
[1] ;
27199 if (!args
) SWIG_fail
;
27200 swig_obj
[0] = args
;
27201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27205 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27225 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27226 PyObject
*resultobj
= 0;
27227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27231 PyObject
*swig_obj
[1] ;
27233 if (!args
) SWIG_fail
;
27234 swig_obj
[0] = args
;
27235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27236 if (!SWIG_IsOK(res1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27239 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27259 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27260 PyObject
*resultobj
= 0;
27261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27265 PyObject
*swig_obj
[1] ;
27267 if (!args
) SWIG_fail
;
27268 swig_obj
[0] = args
;
27269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27270 if (!SWIG_IsOK(res1
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27273 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27293 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27296 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27297 return SWIG_Py_Void();
27300 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27301 return SWIG_Python_InitShadowInstance(args
);
27304 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
= 0;
27310 PyObject
* obj0
= 0 ;
27311 char * kwnames
[] = {
27312 (char *) "ms", NULL
27315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27316 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27317 if (!SWIG_IsOK(ecode1
)) {
27318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27320 arg1
= static_cast< long >(val1
);
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= wxTimeSpan::Milliseconds(arg1
);
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27334 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 PyObject
*resultobj
= 0;
27338 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= wxTimeSpan::Millisecond();
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27352 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
= 0;
27358 PyObject
* obj0
= 0 ;
27359 char * kwnames
[] = {
27360 (char *) "sec", NULL
27363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27364 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27365 if (!SWIG_IsOK(ecode1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27368 arg1
= static_cast< long >(val1
);
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 result
= wxTimeSpan::Seconds(arg1
);
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27382 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27383 PyObject
*resultobj
= 0;
27386 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 result
= wxTimeSpan::Second();
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27400 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
= 0;
27406 PyObject
* obj0
= 0 ;
27407 char * kwnames
[] = {
27408 (char *) "min", NULL
27411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27412 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27413 if (!SWIG_IsOK(ecode1
)) {
27414 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27416 arg1
= static_cast< long >(val1
);
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 result
= wxTimeSpan::Minutes(arg1
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27430 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27431 PyObject
*resultobj
= 0;
27434 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 result
= wxTimeSpan::Minute();
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27448 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
= 0;
27454 PyObject
* obj0
= 0 ;
27455 char * kwnames
[] = {
27456 (char *) "hours", NULL
27459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27460 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27461 if (!SWIG_IsOK(ecode1
)) {
27462 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27464 arg1
= static_cast< long >(val1
);
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= wxTimeSpan::Hours(arg1
);
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27471 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27478 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27479 PyObject
*resultobj
= 0;
27482 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 result
= wxTimeSpan::Hour();
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27496 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
= 0;
27502 PyObject
* obj0
= 0 ;
27503 char * kwnames
[] = {
27504 (char *) "days", NULL
27507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27508 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27509 if (!SWIG_IsOK(ecode1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27512 arg1
= static_cast< long >(val1
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= wxTimeSpan::Days(arg1
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27526 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27527 PyObject
*resultobj
= 0;
27530 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 result
= wxTimeSpan::Day();
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27544 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
= 0;
27550 PyObject
* obj0
= 0 ;
27551 char * kwnames
[] = {
27552 (char *) "days", NULL
27555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27556 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27557 if (!SWIG_IsOK(ecode1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27560 arg1
= static_cast< long >(val1
);
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= wxTimeSpan::Weeks(arg1
);
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27574 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27575 PyObject
*resultobj
= 0;
27578 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= wxTimeSpan::Week();
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27592 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
= 0;
27594 long arg1
= (long) 0 ;
27595 long arg2
= (long) 0 ;
27596 long arg3
= (long) 0 ;
27597 long arg4
= (long) 0 ;
27598 wxTimeSpan
*result
= 0 ;
27607 PyObject
* obj0
= 0 ;
27608 PyObject
* obj1
= 0 ;
27609 PyObject
* obj2
= 0 ;
27610 PyObject
* obj3
= 0 ;
27611 char * kwnames
[] = {
27612 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27617 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27618 if (!SWIG_IsOK(ecode1
)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27621 arg1
= static_cast< long >(val1
);
27624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27625 if (!SWIG_IsOK(ecode2
)) {
27626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27628 arg2
= static_cast< long >(val2
);
27631 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27632 if (!SWIG_IsOK(ecode3
)) {
27633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27635 arg3
= static_cast< long >(val3
);
27638 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27639 if (!SWIG_IsOK(ecode4
)) {
27640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27642 arg4
= static_cast< long >(val4
);
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27657 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27662 PyObject
*swig_obj
[1] ;
27664 if (!args
) SWIG_fail
;
27665 swig_obj
[0] = args
;
27666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27670 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= SWIG_Py_Void();
27685 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
= 0;
27687 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27688 wxTimeSpan
*arg2
= 0 ;
27689 wxTimeSpan
*result
= 0 ;
27694 PyObject
* obj0
= 0 ;
27695 PyObject
* obj1
= 0 ;
27696 char * kwnames
[] = {
27697 (char *) "self",(char *) "diff", NULL
27700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27702 if (!SWIG_IsOK(res1
)) {
27703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27705 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27707 if (!SWIG_IsOK(res2
)) {
27708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27713 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27718 result
= (wxTimeSpan
*) &_result_ref
;
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27730 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
= 0;
27732 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27733 wxTimeSpan
*arg2
= 0 ;
27734 wxTimeSpan
*result
= 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char * kwnames
[] = {
27742 (char *) "self",(char *) "diff", NULL
27745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27747 if (!SWIG_IsOK(res1
)) {
27748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27750 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27752 if (!SWIG_IsOK(res2
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27758 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27763 result
= (wxTimeSpan
*) &_result_ref
;
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27775 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
= 0;
27777 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27779 wxTimeSpan
*result
= 0 ;
27784 PyObject
* obj0
= 0 ;
27785 PyObject
* obj1
= 0 ;
27786 char * kwnames
[] = {
27787 (char *) "self",(char *) "n", NULL
27790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27792 if (!SWIG_IsOK(res1
)) {
27793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27795 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27797 if (!SWIG_IsOK(ecode2
)) {
27798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27800 arg2
= static_cast< int >(val2
);
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27804 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27805 result
= (wxTimeSpan
*) &_result_ref
;
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27817 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27818 PyObject
*resultobj
= 0;
27819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27820 wxTimeSpan
*result
= 0 ;
27823 PyObject
*swig_obj
[1] ;
27825 if (!args
) SWIG_fail
;
27826 swig_obj
[0] = args
;
27827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27831 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27836 result
= (wxTimeSpan
*) &_result_ref
;
27838 wxPyEndAllowThreads(__tstate
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27848 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27849 PyObject
*resultobj
= 0;
27850 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27854 PyObject
*swig_obj
[1] ;
27856 if (!args
) SWIG_fail
;
27857 swig_obj
[0] = args
;
27858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27859 if (!SWIG_IsOK(res1
)) {
27860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27862 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27876 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
= 0;
27878 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27879 wxTimeSpan
*arg2
= 0 ;
27880 wxTimeSpan
*result
= 0 ;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 char * kwnames
[] = {
27888 (char *) "self",(char *) "diff", NULL
27891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27893 if (!SWIG_IsOK(res1
)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27896 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27898 if (!SWIG_IsOK(res2
)) {
27899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27904 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27909 result
= (wxTimeSpan
*) &_result_ref
;
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27921 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
= 0;
27923 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27924 wxTimeSpan
*arg2
= 0 ;
27925 wxTimeSpan
*result
= 0 ;
27930 PyObject
* obj0
= 0 ;
27931 PyObject
* obj1
= 0 ;
27932 char * kwnames
[] = {
27933 (char *) "self",(char *) "diff", NULL
27936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27938 if (!SWIG_IsOK(res1
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27941 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27943 if (!SWIG_IsOK(res2
)) {
27944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27949 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27954 result
= (wxTimeSpan
*) &_result_ref
;
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27966 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27967 PyObject
*resultobj
= 0;
27968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27970 wxTimeSpan
*result
= 0 ;
27975 PyObject
* obj0
= 0 ;
27976 PyObject
* obj1
= 0 ;
27977 char * kwnames
[] = {
27978 (char *) "self",(char *) "n", NULL
27981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27986 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27988 if (!SWIG_IsOK(ecode2
)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
27991 arg2
= static_cast< int >(val2
);
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27996 result
= (wxTimeSpan
*) &_result_ref
;
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28008 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28009 PyObject
*resultobj
= 0;
28010 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28011 wxTimeSpan
*result
= 0 ;
28014 PyObject
*swig_obj
[1] ;
28016 if (!args
) SWIG_fail
;
28017 swig_obj
[0] = args
;
28018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28019 if (!SWIG_IsOK(res1
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28022 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28027 result
= (wxTimeSpan
*) &_result_ref
;
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28039 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
= 0;
28041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28042 wxTimeSpan
*arg2
= 0 ;
28048 PyObject
* obj0
= 0 ;
28049 PyObject
* obj1
= 0 ;
28050 char * kwnames
[] = {
28051 (char *) "self",(char *) "other", NULL
28054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28059 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28061 if (!SWIG_IsOK(res2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28067 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28081 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
= 0;
28083 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28084 wxTimeSpan
*arg2
= 0 ;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 char * kwnames
[] = {
28093 (char *) "self",(char *) "other", NULL
28096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28098 if (!SWIG_IsOK(res1
)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28101 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28103 if (!SWIG_IsOK(res2
)) {
28104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28109 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28123 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
= 0;
28125 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28132 PyObject
* obj0
= 0 ;
28133 PyObject
* obj1
= 0 ;
28134 char * kwnames
[] = {
28135 (char *) "self",(char *) "n", NULL
28138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28140 if (!SWIG_IsOK(res1
)) {
28141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28143 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28145 if (!SWIG_IsOK(ecode2
)) {
28146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28148 arg2
= static_cast< int >(val2
);
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 result
= wxTimeSpan___mul__(arg1
,arg2
);
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28162 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
= 0;
28164 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28171 PyObject
* obj0
= 0 ;
28172 PyObject
* obj1
= 0 ;
28173 char * kwnames
[] = {
28174 (char *) "self",(char *) "n", NULL
28177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28179 if (!SWIG_IsOK(res1
)) {
28180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28182 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28184 if (!SWIG_IsOK(ecode2
)) {
28185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28187 arg2
= static_cast< int >(val2
);
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28201 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
= 0;
28203 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28204 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 char * kwnames
[] = {
28213 (char *) "self",(char *) "other", NULL
28216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28221 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28223 if (!SWIG_IsOK(res2
)) {
28224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28226 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28242 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
= 0;
28244 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28245 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28251 PyObject
* obj0
= 0 ;
28252 PyObject
* obj1
= 0 ;
28253 char * kwnames
[] = {
28254 (char *) "self",(char *) "other", NULL
28257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28259 if (!SWIG_IsOK(res1
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28262 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28264 if (!SWIG_IsOK(res2
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28267 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28283 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
= 0;
28285 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28286 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28292 PyObject
* obj0
= 0 ;
28293 PyObject
* obj1
= 0 ;
28294 char * kwnames
[] = {
28295 (char *) "self",(char *) "other", NULL
28298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28300 if (!SWIG_IsOK(res1
)) {
28301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28303 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28305 if (!SWIG_IsOK(res2
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28308 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28311 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28324 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
= 0;
28326 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28327 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28333 PyObject
* obj0
= 0 ;
28334 PyObject
* obj1
= 0 ;
28335 char * kwnames
[] = {
28336 (char *) "self",(char *) "other", NULL
28339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28344 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28346 if (!SWIG_IsOK(res2
)) {
28347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28349 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28365 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
= 0;
28367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28368 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28374 PyObject
* obj0
= 0 ;
28375 PyObject
* obj1
= 0 ;
28376 char * kwnames
[] = {
28377 (char *) "self",(char *) "other", NULL
28380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28382 if (!SWIG_IsOK(res1
)) {
28383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28385 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28387 if (!SWIG_IsOK(res2
)) {
28388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28390 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28406 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
= 0;
28408 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28409 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28415 PyObject
* obj0
= 0 ;
28416 PyObject
* obj1
= 0 ;
28417 char * kwnames
[] = {
28418 (char *) "self",(char *) "other", NULL
28421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28423 if (!SWIG_IsOK(res1
)) {
28424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28426 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28428 if (!SWIG_IsOK(res2
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28431 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28447 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28448 PyObject
*resultobj
= 0;
28449 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28453 PyObject
*swig_obj
[1] ;
28455 if (!args
) SWIG_fail
;
28456 swig_obj
[0] = args
;
28457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28458 if (!SWIG_IsOK(res1
)) {
28459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28461 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28477 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28478 PyObject
*resultobj
= 0;
28479 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28483 PyObject
*swig_obj
[1] ;
28485 if (!args
) SWIG_fail
;
28486 swig_obj
[0] = args
;
28487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28488 if (!SWIG_IsOK(res1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28491 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28507 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28508 PyObject
*resultobj
= 0;
28509 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28513 PyObject
*swig_obj
[1] ;
28515 if (!args
) SWIG_fail
;
28516 swig_obj
[0] = args
;
28517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28518 if (!SWIG_IsOK(res1
)) {
28519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28521 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28537 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
= 0;
28539 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28540 wxTimeSpan
*arg2
= 0 ;
28546 PyObject
* obj0
= 0 ;
28547 PyObject
* obj1
= 0 ;
28548 char * kwnames
[] = {
28549 (char *) "self",(char *) "ts", NULL
28552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28557 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28559 if (!SWIG_IsOK(res2
)) {
28560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28565 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28581 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28582 PyObject
*resultobj
= 0;
28583 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28584 wxTimeSpan
*arg2
= 0 ;
28590 PyObject
* obj0
= 0 ;
28591 PyObject
* obj1
= 0 ;
28592 char * kwnames
[] = {
28593 (char *) "self",(char *) "ts", NULL
28596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28601 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28603 if (!SWIG_IsOK(res2
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28609 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28625 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
= 0;
28627 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28628 wxTimeSpan
*arg2
= 0 ;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 char * kwnames
[] = {
28637 (char *) "self",(char *) "t", NULL
28640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28642 if (!SWIG_IsOK(res1
)) {
28643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28645 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28647 if (!SWIG_IsOK(res2
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28653 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28669 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28670 PyObject
*resultobj
= 0;
28671 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28675 PyObject
*swig_obj
[1] ;
28677 if (!args
) SWIG_fail
;
28678 swig_obj
[0] = args
;
28679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28680 if (!SWIG_IsOK(res1
)) {
28681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28683 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= SWIG_From_int(static_cast< int >(result
));
28697 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28698 PyObject
*resultobj
= 0;
28699 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28703 PyObject
*swig_obj
[1] ;
28705 if (!args
) SWIG_fail
;
28706 swig_obj
[0] = args
;
28707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28708 if (!SWIG_IsOK(res1
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28711 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= SWIG_From_int(static_cast< int >(result
));
28725 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28726 PyObject
*resultobj
= 0;
28727 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28731 PyObject
*swig_obj
[1] ;
28733 if (!args
) SWIG_fail
;
28734 swig_obj
[0] = args
;
28735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28736 if (!SWIG_IsOK(res1
)) {
28737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28739 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28746 resultobj
= SWIG_From_int(static_cast< int >(result
));
28753 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28754 PyObject
*resultobj
= 0;
28755 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28759 PyObject
*swig_obj
[1] ;
28761 if (!args
) SWIG_fail
;
28762 swig_obj
[0] = args
;
28763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28764 if (!SWIG_IsOK(res1
)) {
28765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28767 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_From_int(static_cast< int >(result
));
28781 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28782 PyObject
*resultobj
= 0;
28783 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28787 PyObject
*swig_obj
[1] ;
28789 if (!args
) SWIG_fail
;
28790 swig_obj
[0] = args
;
28791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28792 if (!SWIG_IsOK(res1
)) {
28793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28795 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28803 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28804 hi
= PyLong_FromLong( (&result
)->GetHi() );
28805 lo
= PyLong_FromLong( (&result
)->GetLo() );
28806 shifter
= PyLong_FromLong(32);
28807 shifted
= PyNumber_Lshift(hi
, shifter
);
28808 resultobj
= PyNumber_Or(shifted
, lo
);
28811 Py_DECREF(shifter
);
28812 Py_DECREF(shifted
);
28820 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28821 PyObject
*resultobj
= 0;
28822 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28826 PyObject
*swig_obj
[1] ;
28828 if (!args
) SWIG_fail
;
28829 swig_obj
[0] = args
;
28830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28831 if (!SWIG_IsOK(res1
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28834 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28842 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28843 hi
= PyLong_FromLong( (&result
)->GetHi() );
28844 lo
= PyLong_FromLong( (&result
)->GetLo() );
28845 shifter
= PyLong_FromLong(32);
28846 shifted
= PyNumber_Lshift(hi
, shifter
);
28847 resultobj
= PyNumber_Or(shifted
, lo
);
28850 Py_DECREF(shifter
);
28851 Py_DECREF(shifted
);
28859 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
= 0;
28861 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28862 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28863 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28867 bool temp2
= false ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "self",(char *) "format", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28879 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28882 arg2
= wxString_in_helper(obj1
);
28883 if (arg2
== NULL
) SWIG_fail
;
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28890 wxPyEndAllowThreads(__tstate
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28914 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28917 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28918 return SWIG_Py_Void();
28921 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28922 return SWIG_Python_InitShadowInstance(args
);
28925 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
= 0;
28927 int arg1
= (int) 0 ;
28928 int arg2
= (int) 0 ;
28929 int arg3
= (int) 0 ;
28930 int arg4
= (int) 0 ;
28931 wxDateSpan
*result
= 0 ;
28940 PyObject
* obj0
= 0 ;
28941 PyObject
* obj1
= 0 ;
28942 PyObject
* obj2
= 0 ;
28943 PyObject
* obj3
= 0 ;
28944 char * kwnames
[] = {
28945 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28951 if (!SWIG_IsOK(ecode1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28954 arg1
= static_cast< int >(val1
);
28957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28958 if (!SWIG_IsOK(ecode2
)) {
28959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28961 arg2
= static_cast< int >(val2
);
28964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28965 if (!SWIG_IsOK(ecode3
)) {
28966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28968 arg3
= static_cast< int >(val3
);
28971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28972 if (!SWIG_IsOK(ecode4
)) {
28973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28975 arg4
= static_cast< int >(val4
);
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
28990 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28991 PyObject
*resultobj
= 0;
28992 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
28995 PyObject
*swig_obj
[1] ;
28997 if (!args
) SWIG_fail
;
28998 swig_obj
[0] = args
;
28999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29000 if (!SWIG_IsOK(res1
)) {
29001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29003 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= SWIG_Py_Void();
29018 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
= 0;
29024 PyObject
* obj0
= 0 ;
29025 char * kwnames
[] = {
29026 (char *) "days", NULL
29029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29031 if (!SWIG_IsOK(ecode1
)) {
29032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29034 arg1
= static_cast< int >(val1
);
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 result
= wxDateSpan::Days(arg1
);
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29048 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29049 PyObject
*resultobj
= 0;
29052 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 result
= wxDateSpan::Day();
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29066 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
= 0;
29072 PyObject
* obj0
= 0 ;
29073 char * kwnames
[] = {
29074 (char *) "weeks", NULL
29077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29079 if (!SWIG_IsOK(ecode1
)) {
29080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29082 arg1
= static_cast< int >(val1
);
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 result
= wxDateSpan::Weeks(arg1
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29096 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29097 PyObject
*resultobj
= 0;
29100 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 result
= wxDateSpan::Week();
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29114 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
= 0;
29120 PyObject
* obj0
= 0 ;
29121 char * kwnames
[] = {
29122 (char *) "mon", NULL
29125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29127 if (!SWIG_IsOK(ecode1
)) {
29128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29130 arg1
= static_cast< int >(val1
);
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= wxDateSpan::Months(arg1
);
29134 wxPyEndAllowThreads(__tstate
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29137 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29144 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29145 PyObject
*resultobj
= 0;
29148 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 result
= wxDateSpan::Month();
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29162 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
= 0;
29168 PyObject
* obj0
= 0 ;
29169 char * kwnames
[] = {
29170 (char *) "years", NULL
29173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29175 if (!SWIG_IsOK(ecode1
)) {
29176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29178 arg1
= static_cast< int >(val1
);
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= wxDateSpan::Years(arg1
);
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29192 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29193 PyObject
*resultobj
= 0;
29196 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 result
= wxDateSpan::Year();
29200 wxPyEndAllowThreads(__tstate
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29210 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
= 0;
29212 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29214 wxDateSpan
*result
= 0 ;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 char * kwnames
[] = {
29222 (char *) "self",(char *) "n", NULL
29225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29227 if (!SWIG_IsOK(res1
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29230 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29232 if (!SWIG_IsOK(ecode2
)) {
29233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29235 arg2
= static_cast< int >(val2
);
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29240 result
= (wxDateSpan
*) &_result_ref
;
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29252 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
= 0;
29254 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29256 wxDateSpan
*result
= 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 char * kwnames
[] = {
29264 (char *) "self",(char *) "n", NULL
29267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29269 if (!SWIG_IsOK(res1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29272 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29274 if (!SWIG_IsOK(ecode2
)) {
29275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29277 arg2
= static_cast< int >(val2
);
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29281 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29282 result
= (wxDateSpan
*) &_result_ref
;
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29294 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
= 0;
29296 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29298 wxDateSpan
*result
= 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 char * kwnames
[] = {
29306 (char *) "self",(char *) "n", NULL
29309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29311 if (!SWIG_IsOK(res1
)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29314 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29316 if (!SWIG_IsOK(ecode2
)) {
29317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29319 arg2
= static_cast< int >(val2
);
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29324 result
= (wxDateSpan
*) &_result_ref
;
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29336 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
= 0;
29338 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29340 wxDateSpan
*result
= 0 ;
29345 PyObject
* obj0
= 0 ;
29346 PyObject
* obj1
= 0 ;
29347 char * kwnames
[] = {
29348 (char *) "self",(char *) "n", NULL
29351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29353 if (!SWIG_IsOK(res1
)) {
29354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29356 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29358 if (!SWIG_IsOK(ecode2
)) {
29359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29361 arg2
= static_cast< int >(val2
);
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29366 result
= (wxDateSpan
*) &_result_ref
;
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29378 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29379 PyObject
*resultobj
= 0;
29380 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29384 PyObject
*swig_obj
[1] ;
29386 if (!args
) SWIG_fail
;
29387 swig_obj
[0] = args
;
29388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29389 if (!SWIG_IsOK(res1
)) {
29390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29392 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 resultobj
= SWIG_From_int(static_cast< int >(result
));
29406 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29407 PyObject
*resultobj
= 0;
29408 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29412 PyObject
*swig_obj
[1] ;
29414 if (!args
) SWIG_fail
;
29415 swig_obj
[0] = args
;
29416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29417 if (!SWIG_IsOK(res1
)) {
29418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29420 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29424 wxPyEndAllowThreads(__tstate
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= SWIG_From_int(static_cast< int >(result
));
29434 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29435 PyObject
*resultobj
= 0;
29436 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29440 PyObject
*swig_obj
[1] ;
29442 if (!args
) SWIG_fail
;
29443 swig_obj
[0] = args
;
29444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29445 if (!SWIG_IsOK(res1
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29448 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_From_int(static_cast< int >(result
));
29462 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29463 PyObject
*resultobj
= 0;
29464 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29468 PyObject
*swig_obj
[1] ;
29470 if (!args
) SWIG_fail
;
29471 swig_obj
[0] = args
;
29472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29473 if (!SWIG_IsOK(res1
)) {
29474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29476 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= SWIG_From_int(static_cast< int >(result
));
29490 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29491 PyObject
*resultobj
= 0;
29492 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29496 PyObject
*swig_obj
[1] ;
29498 if (!args
) SWIG_fail
;
29499 swig_obj
[0] = args
;
29500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29501 if (!SWIG_IsOK(res1
)) {
29502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29504 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29507 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= SWIG_From_int(static_cast< int >(result
));
29518 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
= 0;
29520 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29521 wxDateSpan
*arg2
= 0 ;
29522 wxDateSpan
*result
= 0 ;
29527 PyObject
* obj0
= 0 ;
29528 PyObject
* obj1
= 0 ;
29529 char * kwnames
[] = {
29530 (char *) "self",(char *) "other", NULL
29533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29538 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29540 if (!SWIG_IsOK(res2
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29546 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29551 result
= (wxDateSpan
*) &_result_ref
;
29553 wxPyEndAllowThreads(__tstate
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29563 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
= 0;
29565 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29566 wxDateSpan
*arg2
= 0 ;
29567 wxDateSpan
*result
= 0 ;
29572 PyObject
* obj0
= 0 ;
29573 PyObject
* obj1
= 0 ;
29574 char * kwnames
[] = {
29575 (char *) "self",(char *) "other", NULL
29578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29580 if (!SWIG_IsOK(res1
)) {
29581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29583 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29585 if (!SWIG_IsOK(res2
)) {
29586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29591 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29596 result
= (wxDateSpan
*) &_result_ref
;
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29608 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29609 PyObject
*resultobj
= 0;
29610 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29611 wxDateSpan
*result
= 0 ;
29614 PyObject
*swig_obj
[1] ;
29616 if (!args
) SWIG_fail
;
29617 swig_obj
[0] = args
;
29618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29619 if (!SWIG_IsOK(res1
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29622 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29627 result
= (wxDateSpan
*) &_result_ref
;
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29639 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
= 0;
29641 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29643 wxDateSpan
*result
= 0 ;
29648 PyObject
* obj0
= 0 ;
29649 PyObject
* obj1
= 0 ;
29650 char * kwnames
[] = {
29651 (char *) "self",(char *) "factor", NULL
29654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29656 if (!SWIG_IsOK(res1
)) {
29657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29659 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29661 if (!SWIG_IsOK(ecode2
)) {
29662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29664 arg2
= static_cast< int >(val2
);
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29669 result
= (wxDateSpan
*) &_result_ref
;
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29681 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
= 0;
29683 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29684 wxDateSpan
*arg2
= 0 ;
29685 wxDateSpan
*result
= 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char * kwnames
[] = {
29693 (char *) "self",(char *) "other", NULL
29696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29698 if (!SWIG_IsOK(res1
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29701 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29703 if (!SWIG_IsOK(res2
)) {
29704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29709 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29714 result
= (wxDateSpan
*) &_result_ref
;
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29726 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
= 0;
29728 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29729 wxDateSpan
*arg2
= 0 ;
29730 wxDateSpan
*result
= 0 ;
29735 PyObject
* obj0
= 0 ;
29736 PyObject
* obj1
= 0 ;
29737 char * kwnames
[] = {
29738 (char *) "self",(char *) "other", NULL
29741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29743 if (!SWIG_IsOK(res1
)) {
29744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29746 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29748 if (!SWIG_IsOK(res2
)) {
29749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29754 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29759 result
= (wxDateSpan
*) &_result_ref
;
29761 wxPyEndAllowThreads(__tstate
);
29762 if (PyErr_Occurred()) SWIG_fail
;
29764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29771 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29772 PyObject
*resultobj
= 0;
29773 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29774 wxDateSpan
*result
= 0 ;
29777 PyObject
*swig_obj
[1] ;
29779 if (!args
) SWIG_fail
;
29780 swig_obj
[0] = args
;
29781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29782 if (!SWIG_IsOK(res1
)) {
29783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29785 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29790 result
= (wxDateSpan
*) &_result_ref
;
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29802 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
= 0;
29804 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29806 wxDateSpan
*result
= 0 ;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 char * kwnames
[] = {
29814 (char *) "self",(char *) "factor", NULL
29817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29819 if (!SWIG_IsOK(res1
)) {
29820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29822 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29824 if (!SWIG_IsOK(ecode2
)) {
29825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29827 arg2
= static_cast< int >(val2
);
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29832 result
= (wxDateSpan
*) &_result_ref
;
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29844 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
= 0;
29846 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29847 wxDateSpan
*arg2
= 0 ;
29853 PyObject
* obj0
= 0 ;
29854 PyObject
* obj1
= 0 ;
29855 char * kwnames
[] = {
29856 (char *) "self",(char *) "other", NULL
29859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29861 if (!SWIG_IsOK(res1
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29864 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29866 if (!SWIG_IsOK(res2
)) {
29867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29872 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29886 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
= 0;
29888 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29889 wxDateSpan
*arg2
= 0 ;
29895 PyObject
* obj0
= 0 ;
29896 PyObject
* obj1
= 0 ;
29897 char * kwnames
[] = {
29898 (char *) "self",(char *) "other", NULL
29901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29906 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29908 if (!SWIG_IsOK(res2
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29914 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29928 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
= 0;
29930 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 char * kwnames
[] = {
29940 (char *) "self",(char *) "n", NULL
29943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29945 if (!SWIG_IsOK(res1
)) {
29946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29948 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29950 if (!SWIG_IsOK(ecode2
)) {
29951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29953 arg2
= static_cast< int >(val2
);
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= wxDateSpan___mul__(arg1
,arg2
);
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29967 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
= 0;
29969 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29976 PyObject
* obj0
= 0 ;
29977 PyObject
* obj1
= 0 ;
29978 char * kwnames
[] = {
29979 (char *) "self",(char *) "n", NULL
29982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29984 if (!SWIG_IsOK(res1
)) {
29985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29987 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29989 if (!SWIG_IsOK(ecode2
)) {
29990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29992 arg2
= static_cast< int >(val2
);
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= wxDateSpan___rmul__(arg1
,arg2
);
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30006 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= 0;
30008 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30009 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 char * kwnames
[] = {
30018 (char *) "self",(char *) "other", NULL
30021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30023 if (!SWIG_IsOK(res1
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30026 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30028 if (!SWIG_IsOK(res2
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30031 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30034 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30047 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
= 0;
30049 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30050 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30056 PyObject
* obj0
= 0 ;
30057 PyObject
* obj1
= 0 ;
30058 char * kwnames
[] = {
30059 (char *) "self",(char *) "other", NULL
30062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30067 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30069 if (!SWIG_IsOK(res2
)) {
30070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30072 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30075 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30088 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30091 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30092 return SWIG_Py_Void();
30095 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30096 return SWIG_Python_InitShadowInstance(args
);
30099 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30100 PyObject
*resultobj
= 0;
30103 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30106 result
= (long)wxGetLocalTime();
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 resultobj
= SWIG_From_long(static_cast< long >(result
));
30117 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30118 PyObject
*resultobj
= 0;
30121 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= (long)wxGetUTCTime();
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= SWIG_From_long(static_cast< long >(result
));
30135 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30136 PyObject
*resultobj
= 0;
30139 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 result
= (long)wxGetCurrentTime();
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30146 resultobj
= SWIG_From_long(static_cast< long >(result
));
30153 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30154 PyObject
*resultobj
= 0;
30157 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= wxGetLocalTimeMillis();
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30165 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30166 hi
= PyLong_FromLong( (&result
)->GetHi() );
30167 lo
= PyLong_FromLong( (&result
)->GetLo() );
30168 shifter
= PyLong_FromLong(32);
30169 shifted
= PyNumber_Lshift(hi
, shifter
);
30170 resultobj
= PyNumber_Or(shifted
, lo
);
30173 Py_DECREF(shifter
);
30174 Py_DECREF(shifted
);
30182 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30183 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30188 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30189 PyObject
*pyobj
= 0;
30191 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30196 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
= 0;
30198 wxDataFormatId arg1
;
30199 wxDataFormat
*result
= 0 ;
30202 PyObject
* obj0
= 0 ;
30203 char * kwnames
[] = {
30204 (char *) "type", NULL
30207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30209 if (!SWIG_IsOK(ecode1
)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30212 arg1
= static_cast< wxDataFormatId
>(val1
);
30214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30215 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30226 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30227 PyObject
*resultobj
= 0;
30228 wxString
*arg1
= 0 ;
30229 wxDataFormat
*result
= 0 ;
30230 bool temp1
= false ;
30231 PyObject
* obj0
= 0 ;
30232 char * kwnames
[] = {
30233 (char *) "format", NULL
30236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30238 arg1
= wxString_in_helper(obj0
);
30239 if (arg1
== NULL
) SWIG_fail
;
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30263 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30264 PyObject
*resultobj
= 0;
30265 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30268 PyObject
*swig_obj
[1] ;
30270 if (!args
) SWIG_fail
;
30271 swig_obj
[0] = args
;
30272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30273 if (!SWIG_IsOK(res1
)) {
30274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30276 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= SWIG_Py_Void();
30291 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30292 PyObject
*resultobj
= 0;
30293 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30294 wxDataFormatId arg2
;
30301 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30303 if (!SWIG_IsOK(res1
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30306 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30307 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30308 if (!SWIG_IsOK(ecode2
)) {
30309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30311 arg2
= static_cast< wxDataFormatId
>(val2
);
30313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30314 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30327 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30328 PyObject
*resultobj
= 0;
30329 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30330 wxDataFormatId arg2
;
30337 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30339 if (!SWIG_IsOK(res1
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30342 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30343 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30344 if (!SWIG_IsOK(ecode2
)) {
30345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30347 arg2
= static_cast< wxDataFormatId
>(val2
);
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30351 wxPyEndAllowThreads(__tstate
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30363 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30364 PyObject
*resultobj
= 0;
30365 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30366 wxDataFormat
*arg2
= 0 ;
30373 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30375 if (!SWIG_IsOK(res1
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30378 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30379 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30380 if (!SWIG_IsOK(res2
)) {
30381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30386 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30402 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30406 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30411 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30412 _v
= SWIG_CheckState(res
);
30414 if (!_v
) goto check_1
;
30415 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30420 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30424 Py_INCREF(Py_NotImplemented
);
30425 return Py_NotImplemented
;
30429 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30430 PyObject
*resultobj
= 0;
30431 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30432 wxDataFormat
*arg2
= 0 ;
30439 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30441 if (!SWIG_IsOK(res1
)) {
30442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30444 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30445 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30446 if (!SWIG_IsOK(res2
)) {
30447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30452 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30455 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30468 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30472 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30477 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30478 _v
= SWIG_CheckState(res
);
30480 if (!_v
) goto check_1
;
30481 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30486 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30490 Py_INCREF(Py_NotImplemented
);
30491 return Py_NotImplemented
;
30495 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
= 0;
30497 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30498 wxDataFormatId arg2
;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 char * kwnames
[] = {
30506 (char *) "self",(char *) "format", NULL
30509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30514 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30516 if (!SWIG_IsOK(ecode2
)) {
30517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30519 arg2
= static_cast< wxDataFormatId
>(val2
);
30521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30522 (arg1
)->SetType(arg2
);
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= SWIG_Py_Void();
30533 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30534 PyObject
*resultobj
= 0;
30535 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30536 wxDataFormatId result
;
30539 PyObject
*swig_obj
[1] ;
30541 if (!args
) SWIG_fail
;
30542 swig_obj
[0] = args
;
30543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30544 if (!SWIG_IsOK(res1
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30547 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= SWIG_From_int(static_cast< int >(result
));
30561 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30562 PyObject
*resultobj
= 0;
30563 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30567 PyObject
*swig_obj
[1] ;
30569 if (!args
) SWIG_fail
;
30570 swig_obj
[0] = args
;
30571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30572 if (!SWIG_IsOK(res1
)) {
30573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30575 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30578 result
= ((wxDataFormat
const *)arg1
)->GetId();
30579 wxPyEndAllowThreads(__tstate
);
30580 if (PyErr_Occurred()) SWIG_fail
;
30584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30595 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
= 0;
30597 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30598 wxString
*arg2
= 0 ;
30601 bool temp2
= false ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 char * kwnames
[] = {
30605 (char *) "self",(char *) "format", NULL
30608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30610 if (!SWIG_IsOK(res1
)) {
30611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30613 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30615 arg2
= wxString_in_helper(obj1
);
30616 if (arg2
== NULL
) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 (arg1
)->SetId((wxString
const &)*arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= SWIG_Py_Void();
30640 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30643 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30644 return SWIG_Py_Void();
30647 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30648 return SWIG_Python_InitShadowInstance(args
);
30651 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30652 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30657 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30658 PyObject
*pyobj
= 0;
30660 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30665 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30666 PyObject
*resultobj
= 0;
30667 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30670 PyObject
*swig_obj
[1] ;
30672 if (!args
) SWIG_fail
;
30673 swig_obj
[0] = args
;
30674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30675 if (!SWIG_IsOK(res1
)) {
30676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30678 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= SWIG_Py_Void();
30693 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
= 0;
30695 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30696 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30697 SwigValueWrapper
<wxDataFormat
> result
;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30704 char * kwnames
[] = {
30705 (char *) "self",(char *) "dir", NULL
30708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30710 if (!SWIG_IsOK(res1
)) {
30711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30713 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30716 if (!SWIG_IsOK(ecode2
)) {
30717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30719 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30734 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30735 PyObject
*resultobj
= 0;
30736 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30737 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30743 PyObject
* obj0
= 0 ;
30744 PyObject
* obj1
= 0 ;
30745 char * kwnames
[] = {
30746 (char *) "self",(char *) "dir", NULL
30749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30751 if (!SWIG_IsOK(res1
)) {
30752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30754 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30757 if (!SWIG_IsOK(ecode2
)) {
30758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30760 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30775 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
= 0;
30777 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30778 wxDataFormat
*arg2
= 0 ;
30779 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30787 PyObject
* obj0
= 0 ;
30788 PyObject
* obj1
= 0 ;
30789 PyObject
* obj2
= 0 ;
30790 char * kwnames
[] = {
30791 (char *) "self",(char *) "format",(char *) "dir", NULL
30794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30796 if (!SWIG_IsOK(res1
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30799 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30801 if (!SWIG_IsOK(res2
)) {
30802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30807 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30810 if (!SWIG_IsOK(ecode3
)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30813 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30817 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30830 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
= 0;
30832 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30833 wxDataFormat
*arg2
= 0 ;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 char * kwnames
[] = {
30842 (char *) "self",(char *) "format", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30850 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30852 if (!SWIG_IsOK(res2
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30858 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30865 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30872 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
= 0;
30874 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30875 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30876 PyObject
*result
= 0 ;
30881 PyObject
* obj0
= 0 ;
30882 PyObject
* obj1
= 0 ;
30883 char * kwnames
[] = {
30884 (char *) "self",(char *) "dir", NULL
30887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30889 if (!SWIG_IsOK(res1
)) {
30890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30892 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30895 if (!SWIG_IsOK(ecode2
)) {
30896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30898 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= result
;
30913 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
= 0;
30915 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30916 wxDataFormat
*arg2
= 0 ;
30917 PyObject
*result
= 0 ;
30922 PyObject
* obj0
= 0 ;
30923 PyObject
* obj1
= 0 ;
30924 char * kwnames
[] = {
30925 (char *) "self",(char *) "format", NULL
30928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30933 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30935 if (!SWIG_IsOK(res2
)) {
30936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30941 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30945 wxPyEndAllowThreads(__tstate
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= result
;
30955 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30956 PyObject
*resultobj
= 0;
30957 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30958 wxDataFormat
*arg2
= 0 ;
30959 PyObject
*arg3
= (PyObject
*) 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 PyObject
* obj2
= 0 ;
30968 char * kwnames
[] = {
30969 (char *) "self",(char *) "format",(char *) "data", NULL
30972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30974 if (!SWIG_IsOK(res1
)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30977 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30979 if (!SWIG_IsOK(res2
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30985 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
30990 wxPyEndAllowThreads(__tstate
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31002 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31005 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31006 return SWIG_Py_Void();
31009 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
= 0;
31011 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31012 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31013 wxDataObjectSimple
*result
= 0 ;
31016 PyObject
* obj0
= 0 ;
31017 char * kwnames
[] = {
31018 (char *) "format", NULL
31021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31023 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31024 if (!SWIG_IsOK(res1
)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31030 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31045 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31046 PyObject
*resultobj
= 0;
31047 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31048 wxDataFormat
*result
= 0 ;
31051 PyObject
*swig_obj
[1] ;
31053 if (!args
) SWIG_fail
;
31054 swig_obj
[0] = args
;
31055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31056 if (!SWIG_IsOK(res1
)) {
31057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31059 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31064 result
= (wxDataFormat
*) &_result_ref
;
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31076 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31077 PyObject
*resultobj
= 0;
31078 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31079 wxDataFormat
*arg2
= 0 ;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 char * kwnames
[] = {
31087 (char *) "self",(char *) "format", NULL
31090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31092 if (!SWIG_IsOK(res1
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31095 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31097 if (!SWIG_IsOK(res2
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31103 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= SWIG_Py_Void();
31117 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31118 PyObject
*resultobj
= 0;
31119 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31123 PyObject
*swig_obj
[1] ;
31125 if (!args
) SWIG_fail
;
31126 swig_obj
[0] = args
;
31127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31128 if (!SWIG_IsOK(res1
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31131 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31145 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31146 PyObject
*resultobj
= 0;
31147 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31148 PyObject
*result
= 0 ;
31151 PyObject
*swig_obj
[1] ;
31153 if (!args
) SWIG_fail
;
31154 swig_obj
[0] = args
;
31155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31156 if (!SWIG_IsOK(res1
)) {
31157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31159 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31162 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= result
;
31173 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
= 0;
31175 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31176 PyObject
*arg2
= (PyObject
*) 0 ;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 char * kwnames
[] = {
31183 (char *) "self",(char *) "data", NULL
31186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31188 if (!SWIG_IsOK(res1
)) {
31189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31191 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31208 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31211 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31212 return SWIG_Py_Void();
31215 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31216 return SWIG_Python_InitShadowInstance(args
);
31219 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
= 0;
31221 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31222 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31223 wxPyDataObjectSimple
*result
= 0 ;
31226 PyObject
* obj0
= 0 ;
31227 char * kwnames
[] = {
31228 (char *) "format", NULL
31231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31233 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31234 if (!SWIG_IsOK(res1
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31240 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31255 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
= 0;
31257 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31258 PyObject
*arg2
= (PyObject
*) 0 ;
31259 PyObject
*arg3
= (PyObject
*) 0 ;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 PyObject
* obj2
= 0 ;
31265 char * kwnames
[] = {
31266 (char *) "self",(char *) "self",(char *) "_class", NULL
31269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31271 if (!SWIG_IsOK(res1
)) {
31272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31274 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31283 resultobj
= SWIG_Py_Void();
31290 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31293 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31294 return SWIG_Py_Void();
31297 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31298 return SWIG_Python_InitShadowInstance(args
);
31301 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31302 PyObject
*resultobj
= 0;
31303 wxDataObjectComposite
*result
= 0 ;
31305 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31309 wxPyEndAllowThreads(__tstate
);
31310 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31319 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31320 PyObject
*resultobj
= 0;
31321 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31322 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31323 bool arg3
= (bool) false ;
31329 PyObject
* obj0
= 0 ;
31330 PyObject
* obj1
= 0 ;
31331 PyObject
* obj2
= 0 ;
31332 char * kwnames
[] = {
31333 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31341 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31342 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31343 if (!SWIG_IsOK(res2
)) {
31344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31347 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31348 if (!SWIG_IsOK(ecode3
)) {
31349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31351 arg3
= static_cast< bool >(val3
);
31354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31355 (arg1
)->Add(arg2
,arg3
);
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 resultobj
= SWIG_Py_Void();
31366 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31367 PyObject
*resultobj
= 0;
31368 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31369 SwigValueWrapper
<wxDataFormat
> result
;
31372 PyObject
*swig_obj
[1] ;
31374 if (!args
) SWIG_fail
;
31375 swig_obj
[0] = args
;
31376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31377 if (!SWIG_IsOK(res1
)) {
31378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31380 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31387 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31394 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31397 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31398 return SWIG_Py_Void();
31401 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31402 return SWIG_Python_InitShadowInstance(args
);
31405 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31406 PyObject
*resultobj
= 0;
31407 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31408 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31409 wxTextDataObject
*result
= 0 ;
31410 bool temp1
= false ;
31411 PyObject
* obj0
= 0 ;
31412 char * kwnames
[] = {
31413 (char *) "text", NULL
31416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31419 arg1
= wxString_in_helper(obj0
);
31420 if (arg1
== NULL
) SWIG_fail
;
31425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31426 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31445 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31446 PyObject
*resultobj
= 0;
31447 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31451 PyObject
*swig_obj
[1] ;
31453 if (!args
) SWIG_fail
;
31454 swig_obj
[0] = args
;
31455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31456 if (!SWIG_IsOK(res1
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31459 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 result
= (size_t)(arg1
)->GetTextLength();
31463 wxPyEndAllowThreads(__tstate
);
31464 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31473 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31474 PyObject
*resultobj
= 0;
31475 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31479 PyObject
*swig_obj
[1] ;
31481 if (!args
) SWIG_fail
;
31482 swig_obj
[0] = args
;
31483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31484 if (!SWIG_IsOK(res1
)) {
31485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31487 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31490 result
= (arg1
)->GetText();
31491 wxPyEndAllowThreads(__tstate
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31507 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31508 PyObject
*resultobj
= 0;
31509 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31510 wxString
*arg2
= 0 ;
31513 bool temp2
= false ;
31514 PyObject
* obj0
= 0 ;
31515 PyObject
* obj1
= 0 ;
31516 char * kwnames
[] = {
31517 (char *) "self",(char *) "text", NULL
31520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31522 if (!SWIG_IsOK(res1
)) {
31523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31525 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31527 arg2
= wxString_in_helper(obj1
);
31528 if (arg2
== NULL
) SWIG_fail
;
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 (arg1
)->SetText((wxString
const &)*arg2
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= SWIG_Py_Void();
31552 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31555 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31556 return SWIG_Py_Void();
31559 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31560 return SWIG_Python_InitShadowInstance(args
);
31563 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31564 PyObject
*resultobj
= 0;
31565 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31566 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31567 wxPyTextDataObject
*result
= 0 ;
31568 bool temp1
= false ;
31569 PyObject
* obj0
= 0 ;
31570 char * kwnames
[] = {
31571 (char *) "text", NULL
31574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31577 arg1
= wxString_in_helper(obj0
);
31578 if (arg1
== NULL
) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31603 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
= 0;
31605 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31606 PyObject
*arg2
= (PyObject
*) 0 ;
31607 PyObject
*arg3
= (PyObject
*) 0 ;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 PyObject
* obj2
= 0 ;
31613 char * kwnames
[] = {
31614 (char *) "self",(char *) "self",(char *) "_class", NULL
31617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31619 if (!SWIG_IsOK(res1
)) {
31620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31622 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31627 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= SWIG_Py_Void();
31638 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31641 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31642 return SWIG_Py_Void();
31645 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31646 return SWIG_Python_InitShadowInstance(args
);
31649 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31650 PyObject
*resultobj
= 0;
31651 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31652 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31653 wxBitmapDataObject
*result
= 0 ;
31656 PyObject
* obj0
= 0 ;
31657 char * kwnames
[] = {
31658 (char *) "bitmap", NULL
31661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31663 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31664 if (!SWIG_IsOK(res1
)) {
31665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31670 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31675 wxPyEndAllowThreads(__tstate
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31685 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31686 PyObject
*resultobj
= 0;
31687 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31691 PyObject
*swig_obj
[1] ;
31693 if (!args
) SWIG_fail
;
31694 swig_obj
[0] = args
;
31695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31696 if (!SWIG_IsOK(res1
)) {
31697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31699 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31706 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31713 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31714 PyObject
*resultobj
= 0;
31715 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31716 wxBitmap
*arg2
= 0 ;
31721 PyObject
* obj0
= 0 ;
31722 PyObject
* obj1
= 0 ;
31723 char * kwnames
[] = {
31724 (char *) "self",(char *) "bitmap", NULL
31727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31729 if (!SWIG_IsOK(res1
)) {
31730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31732 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31734 if (!SWIG_IsOK(res2
)) {
31735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31740 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= SWIG_Py_Void();
31754 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31757 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31758 return SWIG_Py_Void();
31761 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31762 return SWIG_Python_InitShadowInstance(args
);
31765 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
= 0;
31767 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31768 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31769 wxPyBitmapDataObject
*result
= 0 ;
31772 PyObject
* obj0
= 0 ;
31773 char * kwnames
[] = {
31774 (char *) "bitmap", NULL
31777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31779 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31780 if (!SWIG_IsOK(res1
)) {
31781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31786 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31790 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31791 wxPyEndAllowThreads(__tstate
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31801 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31802 PyObject
*resultobj
= 0;
31803 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31804 PyObject
*arg2
= (PyObject
*) 0 ;
31805 PyObject
*arg3
= (PyObject
*) 0 ;
31808 PyObject
* obj0
= 0 ;
31809 PyObject
* obj1
= 0 ;
31810 PyObject
* obj2
= 0 ;
31811 char * kwnames
[] = {
31812 (char *) "self",(char *) "self",(char *) "_class", NULL
31815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31817 if (!SWIG_IsOK(res1
)) {
31818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31820 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 resultobj
= SWIG_Py_Void();
31836 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31839 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31840 return SWIG_Py_Void();
31843 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31844 return SWIG_Python_InitShadowInstance(args
);
31847 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31848 PyObject
*resultobj
= 0;
31849 wxFileDataObject
*result
= 0 ;
31851 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 result
= (wxFileDataObject
*)new wxFileDataObject();
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31865 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31866 PyObject
*resultobj
= 0;
31867 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31868 wxArrayString
*result
= 0 ;
31871 PyObject
*swig_obj
[1] ;
31873 if (!args
) SWIG_fail
;
31874 swig_obj
[0] = args
;
31875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31876 if (!SWIG_IsOK(res1
)) {
31877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31879 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31883 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31884 result
= (wxArrayString
*) &_result_ref
;
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31890 resultobj
= wxArrayString2PyList_helper(*result
);
31898 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31899 PyObject
*resultobj
= 0;
31900 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31901 wxString
*arg2
= 0 ;
31904 bool temp2
= false ;
31905 PyObject
* obj0
= 0 ;
31906 PyObject
* obj1
= 0 ;
31907 char * kwnames
[] = {
31908 (char *) "self",(char *) "filename", NULL
31911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31913 if (!SWIG_IsOK(res1
)) {
31914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31916 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31918 arg2
= wxString_in_helper(obj1
);
31919 if (arg2
== NULL
) SWIG_fail
;
31923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31924 (arg1
)->AddFile((wxString
const &)*arg2
);
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31928 resultobj
= SWIG_Py_Void();
31943 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31946 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31947 return SWIG_Py_Void();
31950 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31951 return SWIG_Python_InitShadowInstance(args
);
31954 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31955 PyObject
*resultobj
= 0;
31956 wxDataFormat
*arg1
= 0 ;
31957 wxCustomDataObject
*result
= 0 ;
31961 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31963 if (!SWIG_IsOK(res1
)) {
31964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31969 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31983 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31984 PyObject
*resultobj
= 0;
31985 wxString
*arg1
= 0 ;
31986 wxCustomDataObject
*result
= 0 ;
31987 bool temp1
= false ;
31989 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31991 arg1
= wxString_in_helper(swig_obj
[0]);
31992 if (arg1
== NULL
) SWIG_fail
;
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32016 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32017 PyObject
*resultobj
= 0;
32018 wxCustomDataObject
*result
= 0 ;
32020 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32034 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32038 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32041 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32047 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32050 if (!_v
) goto check_2
;
32051 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32056 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32060 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32065 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32066 PyObject
*resultobj
= 0;
32067 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32068 PyObject
*arg2
= (PyObject
*) 0 ;
32072 PyObject
* obj0
= 0 ;
32073 PyObject
* obj1
= 0 ;
32074 char * kwnames
[] = {
32075 (char *) "self",(char *) "data", NULL
32078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32080 if (!SWIG_IsOK(res1
)) {
32081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32083 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32100 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32101 PyObject
*resultobj
= 0;
32102 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32106 PyObject
*swig_obj
[1] ;
32108 if (!args
) SWIG_fail
;
32109 swig_obj
[0] = args
;
32110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32111 if (!SWIG_IsOK(res1
)) {
32112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32114 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 result
= (size_t)(arg1
)->GetSize();
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32128 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32129 PyObject
*resultobj
= 0;
32130 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32131 PyObject
*result
= 0 ;
32134 PyObject
*swig_obj
[1] ;
32136 if (!args
) SWIG_fail
;
32137 swig_obj
[0] = args
;
32138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32142 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= result
;
32156 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32159 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32160 return SWIG_Py_Void();
32163 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32164 return SWIG_Python_InitShadowInstance(args
);
32167 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32168 PyObject
*resultobj
= 0;
32169 wxURLDataObject
*result
= 0 ;
32171 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= (wxURLDataObject
*)new wxURLDataObject();
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32185 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32186 PyObject
*resultobj
= 0;
32187 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32191 PyObject
*swig_obj
[1] ;
32193 if (!args
) SWIG_fail
;
32194 swig_obj
[0] = args
;
32195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32196 if (!SWIG_IsOK(res1
)) {
32197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32199 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32202 result
= (arg1
)->GetURL();
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32219 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32220 PyObject
*resultobj
= 0;
32221 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32222 wxString
*arg2
= 0 ;
32225 bool temp2
= false ;
32226 PyObject
* obj0
= 0 ;
32227 PyObject
* obj1
= 0 ;
32228 char * kwnames
[] = {
32229 (char *) "self",(char *) "url", NULL
32232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32234 if (!SWIG_IsOK(res1
)) {
32235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32237 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32239 arg2
= wxString_in_helper(obj1
);
32240 if (arg2
== NULL
) SWIG_fail
;
32244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32245 (arg1
)->SetURL((wxString
const &)*arg2
);
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32249 resultobj
= SWIG_Py_Void();
32264 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32267 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32268 return SWIG_Py_Void();
32271 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32272 return SWIG_Python_InitShadowInstance(args
);
32275 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32276 PyObject
*resultobj
= 0;
32277 wxMetafileDataObject
*result
= 0 ;
32279 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32293 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32296 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32297 return SWIG_Py_Void();
32300 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32301 return SWIG_Python_InitShadowInstance(args
);
32304 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32305 PyObject
*resultobj
= 0;
32306 wxDragResult arg1
;
32310 PyObject
* obj0
= 0 ;
32311 char * kwnames
[] = {
32312 (char *) "res", NULL
32315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32317 if (!SWIG_IsOK(ecode1
)) {
32318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32320 arg1
= static_cast< wxDragResult
>(val1
);
32322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32323 result
= (bool)wxIsDragResultOk(arg1
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32336 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32337 PyObject
*resultobj
= 0;
32338 wxWindow
*arg1
= (wxWindow
*) 0 ;
32339 wxIcon
const &arg2_defvalue
= wxNullIcon
;
32340 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
32341 wxIcon
const &arg3_defvalue
= wxNullIcon
;
32342 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
32343 wxIcon
const &arg4_defvalue
= wxNullIcon
;
32344 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
32345 wxPyDropSource
*result
= 0 ;
32354 PyObject
* obj0
= 0 ;
32355 PyObject
* obj1
= 0 ;
32356 PyObject
* obj2
= 0 ;
32357 PyObject
* obj3
= 0 ;
32358 char * kwnames
[] = {
32359 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32367 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32370 if (!SWIG_IsOK(res2
)) {
32371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32376 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32379 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
32380 if (!SWIG_IsOK(res3
)) {
32381 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32386 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
32389 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
32390 if (!SWIG_IsOK(res4
)) {
32391 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32396 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
32399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32400 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32411 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32412 PyObject
*resultobj
= 0;
32413 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32414 PyObject
*arg2
= (PyObject
*) 0 ;
32415 PyObject
*arg3
= (PyObject
*) 0 ;
32421 PyObject
* obj0
= 0 ;
32422 PyObject
* obj1
= 0 ;
32423 PyObject
* obj2
= 0 ;
32424 PyObject
* obj3
= 0 ;
32425 char * kwnames
[] = {
32426 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32431 if (!SWIG_IsOK(res1
)) {
32432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32434 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32437 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32438 if (!SWIG_IsOK(ecode4
)) {
32439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32441 arg4
= static_cast< int >(val4
);
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= SWIG_Py_Void();
32455 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32456 PyObject
*resultobj
= 0;
32457 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32460 PyObject
*swig_obj
[1] ;
32462 if (!args
) SWIG_fail
;
32463 swig_obj
[0] = args
;
32464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32465 if (!SWIG_IsOK(res1
)) {
32466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32468 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= SWIG_Py_Void();
32483 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32484 PyObject
*resultobj
= 0;
32485 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32486 wxDataObject
*arg2
= 0 ;
32491 PyObject
* obj0
= 0 ;
32492 PyObject
* obj1
= 0 ;
32493 char * kwnames
[] = {
32494 (char *) "self",(char *) "data", NULL
32497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32499 if (!SWIG_IsOK(res1
)) {
32500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32502 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32504 if (!SWIG_IsOK(res2
)) {
32505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32510 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32513 (arg1
)->SetData(*arg2
);
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32517 resultobj
= SWIG_Py_Void();
32524 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32525 PyObject
*resultobj
= 0;
32526 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32527 wxDataObject
*result
= 0 ;
32530 PyObject
*swig_obj
[1] ;
32532 if (!args
) SWIG_fail
;
32533 swig_obj
[0] = args
;
32534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32535 if (!SWIG_IsOK(res1
)) {
32536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32538 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32552 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32553 PyObject
*resultobj
= 0;
32554 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32555 wxDragResult arg2
;
32556 wxCursor
*arg3
= 0 ;
32563 PyObject
* obj0
= 0 ;
32564 PyObject
* obj1
= 0 ;
32565 PyObject
* obj2
= 0 ;
32566 char * kwnames
[] = {
32567 (char *) "self",(char *) "res",(char *) "cursor", NULL
32570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32572 if (!SWIG_IsOK(res1
)) {
32573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32575 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32577 if (!SWIG_IsOK(ecode2
)) {
32578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32580 arg2
= static_cast< wxDragResult
>(val2
);
32581 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32582 if (!SWIG_IsOK(res3
)) {
32583 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32588 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32591 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32592 wxPyEndAllowThreads(__tstate
);
32593 if (PyErr_Occurred()) SWIG_fail
;
32595 resultobj
= SWIG_Py_Void();
32602 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
= 0;
32604 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32605 int arg2
= (int) wxDrag_CopyOnly
;
32606 wxDragResult result
;
32611 PyObject
* obj0
= 0 ;
32612 PyObject
* obj1
= 0 ;
32613 char * kwnames
[] = {
32614 (char *) "self",(char *) "flags", NULL
32617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32622 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32625 if (!SWIG_IsOK(ecode2
)) {
32626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32628 arg2
= static_cast< int >(val2
);
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= SWIG_From_int(static_cast< int >(result
));
32643 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
= 0;
32645 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32646 wxDragResult arg2
;
32652 PyObject
* obj0
= 0 ;
32653 PyObject
* obj1
= 0 ;
32654 char * kwnames
[] = {
32655 (char *) "self",(char *) "effect", NULL
32658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32660 if (!SWIG_IsOK(res1
)) {
32661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32663 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32665 if (!SWIG_IsOK(ecode2
)) {
32666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32668 arg2
= static_cast< wxDragResult
>(val2
);
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32684 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32687 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32688 return SWIG_Py_Void();
32691 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32692 return SWIG_Python_InitShadowInstance(args
);
32695 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32696 PyObject
*resultobj
= 0;
32697 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32698 wxPyDropTarget
*result
= 0 ;
32700 PyObject
* obj0
= 0 ;
32701 char * kwnames
[] = {
32702 (char *) "dataObject", NULL
32705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32707 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32708 if (!SWIG_IsOK(res1
)) {
32709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32725 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
= 0;
32727 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32728 PyObject
*arg2
= (PyObject
*) 0 ;
32729 PyObject
*arg3
= (PyObject
*) 0 ;
32732 PyObject
* obj0
= 0 ;
32733 PyObject
* obj1
= 0 ;
32734 PyObject
* obj2
= 0 ;
32735 char * kwnames
[] = {
32736 (char *) "self",(char *) "self",(char *) "_class", NULL
32739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32744 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32750 wxPyEndAllowThreads(__tstate
);
32751 if (PyErr_Occurred()) SWIG_fail
;
32753 resultobj
= SWIG_Py_Void();
32760 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32761 PyObject
*resultobj
= 0;
32762 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32765 PyObject
*swig_obj
[1] ;
32767 if (!args
) SWIG_fail
;
32768 swig_obj
[0] = args
;
32769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32770 if (!SWIG_IsOK(res1
)) {
32771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32773 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= SWIG_Py_Void();
32788 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32789 PyObject
*resultobj
= 0;
32790 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32791 wxDataObject
*result
= 0 ;
32794 PyObject
*swig_obj
[1] ;
32796 if (!args
) SWIG_fail
;
32797 swig_obj
[0] = args
;
32798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32799 if (!SWIG_IsOK(res1
)) {
32800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32802 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32816 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
= 0;
32818 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32819 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32823 PyObject
* obj0
= 0 ;
32824 PyObject
* obj1
= 0 ;
32825 char * kwnames
[] = {
32826 (char *) "self",(char *) "dataObject", NULL
32829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32831 if (!SWIG_IsOK(res1
)) {
32832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32834 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32835 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32836 if (!SWIG_IsOK(res2
)) {
32837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 (arg1
)->SetDataObject(arg2
);
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32845 resultobj
= SWIG_Py_Void();
32852 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32853 PyObject
*resultobj
= 0;
32854 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32857 wxDragResult arg4
;
32858 wxDragResult result
;
32867 PyObject
* obj0
= 0 ;
32868 PyObject
* obj1
= 0 ;
32869 PyObject
* obj2
= 0 ;
32870 PyObject
* obj3
= 0 ;
32871 char * kwnames
[] = {
32872 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32877 if (!SWIG_IsOK(res1
)) {
32878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32880 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32882 if (!SWIG_IsOK(ecode2
)) {
32883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32885 arg2
= static_cast< int >(val2
);
32886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32887 if (!SWIG_IsOK(ecode3
)) {
32888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32890 arg3
= static_cast< int >(val3
);
32891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32892 if (!SWIG_IsOK(ecode4
)) {
32893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32895 arg4
= static_cast< wxDragResult
>(val4
);
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32899 wxPyEndAllowThreads(__tstate
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32902 resultobj
= SWIG_From_int(static_cast< int >(result
));
32909 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32910 PyObject
*resultobj
= 0;
32911 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32914 wxDragResult arg4
;
32915 wxDragResult result
;
32924 PyObject
* obj0
= 0 ;
32925 PyObject
* obj1
= 0 ;
32926 PyObject
* obj2
= 0 ;
32927 PyObject
* obj3
= 0 ;
32928 char * kwnames
[] = {
32929 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32934 if (!SWIG_IsOK(res1
)) {
32935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32937 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32939 if (!SWIG_IsOK(ecode2
)) {
32940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
32942 arg2
= static_cast< int >(val2
);
32943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32944 if (!SWIG_IsOK(ecode3
)) {
32945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
32947 arg3
= static_cast< int >(val3
);
32948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32949 if (!SWIG_IsOK(ecode4
)) {
32950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
32952 arg4
= static_cast< wxDragResult
>(val4
);
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32959 resultobj
= SWIG_From_int(static_cast< int >(result
));
32966 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32967 PyObject
*resultobj
= 0;
32968 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32971 PyObject
*swig_obj
[1] ;
32973 if (!args
) SWIG_fail
;
32974 swig_obj
[0] = args
;
32975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32976 if (!SWIG_IsOK(res1
)) {
32977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32979 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32983 wxPyEndAllowThreads(__tstate
);
32984 if (PyErr_Occurred()) SWIG_fail
;
32986 resultobj
= SWIG_Py_Void();
32993 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32994 PyObject
*resultobj
= 0;
32995 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33005 PyObject
* obj0
= 0 ;
33006 PyObject
* obj1
= 0 ;
33007 PyObject
* obj2
= 0 ;
33008 char * kwnames
[] = {
33009 (char *) "self",(char *) "x",(char *) "y", NULL
33012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) 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_OnDrop" "', 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_OnDrop" "', 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_OnDrop" "', expected argument " "3"" of type '" "int""'");
33027 arg3
= static_cast< int >(val3
);
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33043 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33044 PyObject
*resultobj
= 0;
33045 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33049 PyObject
*swig_obj
[1] ;
33051 if (!args
) SWIG_fail
;
33052 swig_obj
[0] = args
;
33053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33054 if (!SWIG_IsOK(res1
)) {
33055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33057 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 result
= (bool)(arg1
)->GetData();
33061 wxPyEndAllowThreads(__tstate
);
33062 if (PyErr_Occurred()) SWIG_fail
;
33065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33073 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33074 PyObject
*resultobj
= 0;
33075 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33076 wxDragResult arg2
;
33081 PyObject
* obj0
= 0 ;
33082 PyObject
* obj1
= 0 ;
33083 char * kwnames
[] = {
33084 (char *) "self",(char *) "action", NULL
33087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33089 if (!SWIG_IsOK(res1
)) {
33090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33092 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33094 if (!SWIG_IsOK(ecode2
)) {
33095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33097 arg2
= static_cast< wxDragResult
>(val2
);
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 (arg1
)->SetDefaultAction(arg2
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= SWIG_Py_Void();
33111 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33112 PyObject
*resultobj
= 0;
33113 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33114 wxDragResult result
;
33117 PyObject
*swig_obj
[1] ;
33119 if (!args
) SWIG_fail
;
33120 swig_obj
[0] = args
;
33121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33122 if (!SWIG_IsOK(res1
)) {
33123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33125 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= SWIG_From_int(static_cast< int >(result
));
33139 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33142 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33143 return SWIG_Py_Void();
33146 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33147 return SWIG_Python_InitShadowInstance(args
);
33150 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33151 PyObject
*resultobj
= 0;
33152 wxPyTextDropTarget
*result
= 0 ;
33154 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33168 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33169 PyObject
*resultobj
= 0;
33170 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33171 PyObject
*arg2
= (PyObject
*) 0 ;
33172 PyObject
*arg3
= (PyObject
*) 0 ;
33175 PyObject
* obj0
= 0 ;
33176 PyObject
* obj1
= 0 ;
33177 PyObject
* obj2
= 0 ;
33178 char * kwnames
[] = {
33179 (char *) "self",(char *) "self",(char *) "_class", NULL
33182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33184 if (!SWIG_IsOK(res1
)) {
33185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33187 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33192 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33196 resultobj
= SWIG_Py_Void();
33203 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33204 PyObject
*resultobj
= 0;
33205 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33208 wxString
*arg4
= 0 ;
33216 bool temp4
= false ;
33217 PyObject
* obj0
= 0 ;
33218 PyObject
* obj1
= 0 ;
33219 PyObject
* obj2
= 0 ;
33220 PyObject
* obj3
= 0 ;
33221 char * kwnames
[] = {
33222 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33227 if (!SWIG_IsOK(res1
)) {
33228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33230 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33232 if (!SWIG_IsOK(ecode2
)) {
33233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33235 arg2
= static_cast< int >(val2
);
33236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33237 if (!SWIG_IsOK(ecode3
)) {
33238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33240 arg3
= static_cast< int >(val3
);
33242 arg4
= wxString_in_helper(obj3
);
33243 if (arg4
== NULL
) SWIG_fail
;
33247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33248 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33269 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33270 PyObject
*resultobj
= 0;
33271 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33274 wxDragResult arg4
;
33275 wxDragResult result
;
33284 PyObject
* obj0
= 0 ;
33285 PyObject
* obj1
= 0 ;
33286 PyObject
* obj2
= 0 ;
33287 PyObject
* obj3
= 0 ;
33288 char * kwnames
[] = {
33289 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33294 if (!SWIG_IsOK(res1
)) {
33295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33297 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33299 if (!SWIG_IsOK(ecode2
)) {
33300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33302 arg2
= static_cast< int >(val2
);
33303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33304 if (!SWIG_IsOK(ecode3
)) {
33305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33307 arg3
= static_cast< int >(val3
);
33308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33309 if (!SWIG_IsOK(ecode4
)) {
33310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33312 arg4
= static_cast< wxDragResult
>(val4
);
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_From_int(static_cast< int >(result
));
33326 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
= 0;
33328 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33331 wxDragResult arg4
;
33332 wxDragResult result
;
33341 PyObject
* obj0
= 0 ;
33342 PyObject
* obj1
= 0 ;
33343 PyObject
* obj2
= 0 ;
33344 PyObject
* obj3
= 0 ;
33345 char * kwnames
[] = {
33346 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33351 if (!SWIG_IsOK(res1
)) {
33352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33354 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33356 if (!SWIG_IsOK(ecode2
)) {
33357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33359 arg2
= static_cast< int >(val2
);
33360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33361 if (!SWIG_IsOK(ecode3
)) {
33362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33364 arg3
= static_cast< int >(val3
);
33365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33366 if (!SWIG_IsOK(ecode4
)) {
33367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33369 arg4
= static_cast< wxDragResult
>(val4
);
33371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33372 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33373 wxPyEndAllowThreads(__tstate
);
33374 if (PyErr_Occurred()) SWIG_fail
;
33376 resultobj
= SWIG_From_int(static_cast< int >(result
));
33383 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33384 PyObject
*resultobj
= 0;
33385 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33388 PyObject
*swig_obj
[1] ;
33390 if (!args
) SWIG_fail
;
33391 swig_obj
[0] = args
;
33392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33393 if (!SWIG_IsOK(res1
)) {
33394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33396 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 wxPyEndAllowThreads(__tstate
);
33401 if (PyErr_Occurred()) SWIG_fail
;
33403 resultobj
= SWIG_Py_Void();
33410 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33411 PyObject
*resultobj
= 0;
33412 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33422 PyObject
* obj0
= 0 ;
33423 PyObject
* obj1
= 0 ;
33424 PyObject
* obj2
= 0 ;
33425 char * kwnames
[] = {
33426 (char *) "self",(char *) "x",(char *) "y", NULL
33429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) 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_OnDrop" "', 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_OnDrop" "', 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_OnDrop" "', expected argument " "3"" of type '" "int""'");
33444 arg3
= static_cast< int >(val3
);
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33447 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33448 wxPyEndAllowThreads(__tstate
);
33449 if (PyErr_Occurred()) SWIG_fail
;
33452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33460 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33461 PyObject
*resultobj
= 0;
33462 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33465 wxDragResult arg4
;
33466 wxDragResult result
;
33475 PyObject
* obj0
= 0 ;
33476 PyObject
* obj1
= 0 ;
33477 PyObject
* obj2
= 0 ;
33478 PyObject
* obj3
= 0 ;
33479 char * kwnames
[] = {
33480 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33485 if (!SWIG_IsOK(res1
)) {
33486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33488 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33490 if (!SWIG_IsOK(ecode2
)) {
33491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33493 arg2
= static_cast< int >(val2
);
33494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33495 if (!SWIG_IsOK(ecode3
)) {
33496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33498 arg3
= static_cast< int >(val3
);
33499 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33500 if (!SWIG_IsOK(ecode4
)) {
33501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33503 arg4
= static_cast< wxDragResult
>(val4
);
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33507 wxPyEndAllowThreads(__tstate
);
33508 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= SWIG_From_int(static_cast< int >(result
));
33517 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33521 return SWIG_Py_Void();
33524 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33525 return SWIG_Python_InitShadowInstance(args
);
33528 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33529 PyObject
*resultobj
= 0;
33530 wxPyFileDropTarget
*result
= 0 ;
33532 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33535 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33536 wxPyEndAllowThreads(__tstate
);
33537 if (PyErr_Occurred()) SWIG_fail
;
33539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33546 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33547 PyObject
*resultobj
= 0;
33548 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33549 PyObject
*arg2
= (PyObject
*) 0 ;
33550 PyObject
*arg3
= (PyObject
*) 0 ;
33553 PyObject
* obj0
= 0 ;
33554 PyObject
* obj1
= 0 ;
33555 PyObject
* obj2
= 0 ;
33556 char * kwnames
[] = {
33557 (char *) "self",(char *) "self",(char *) "_class", NULL
33560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33562 if (!SWIG_IsOK(res1
)) {
33563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33565 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33570 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33574 resultobj
= SWIG_Py_Void();
33581 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33582 PyObject
*resultobj
= 0;
33583 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33586 wxArrayString
*arg4
= 0 ;
33594 bool temp4
= false ;
33595 PyObject
* obj0
= 0 ;
33596 PyObject
* obj1
= 0 ;
33597 PyObject
* obj2
= 0 ;
33598 PyObject
* obj3
= 0 ;
33599 char * kwnames
[] = {
33600 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33605 if (!SWIG_IsOK(res1
)) {
33606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33608 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33610 if (!SWIG_IsOK(ecode2
)) {
33611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33613 arg2
= static_cast< int >(val2
);
33614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33615 if (!SWIG_IsOK(ecode3
)) {
33616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33618 arg3
= static_cast< int >(val3
);
33620 if (! PySequence_Check(obj3
)) {
33621 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33624 arg4
= new wxArrayString
;
33626 int i
, len
=PySequence_Length(obj3
);
33627 for (i
=0; i
<len
; i
++) {
33628 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33629 wxString
* s
= wxString_in_helper(item
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33646 if (temp4
) delete arg4
;
33651 if (temp4
) delete arg4
;
33657 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33658 PyObject
*resultobj
= 0;
33659 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33662 wxDragResult arg4
;
33663 wxDragResult result
;
33672 PyObject
* obj0
= 0 ;
33673 PyObject
* obj1
= 0 ;
33674 PyObject
* obj2
= 0 ;
33675 PyObject
* obj3
= 0 ;
33676 char * kwnames
[] = {
33677 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33682 if (!SWIG_IsOK(res1
)) {
33683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33685 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33687 if (!SWIG_IsOK(ecode2
)) {
33688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33690 arg2
= static_cast< int >(val2
);
33691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33692 if (!SWIG_IsOK(ecode3
)) {
33693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33695 arg3
= static_cast< int >(val3
);
33696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33697 if (!SWIG_IsOK(ecode4
)) {
33698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33700 arg4
= static_cast< wxDragResult
>(val4
);
33702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33703 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33707 resultobj
= SWIG_From_int(static_cast< int >(result
));
33714 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33715 PyObject
*resultobj
= 0;
33716 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33719 wxDragResult arg4
;
33720 wxDragResult result
;
33729 PyObject
* obj0
= 0 ;
33730 PyObject
* obj1
= 0 ;
33731 PyObject
* obj2
= 0 ;
33732 PyObject
* obj3
= 0 ;
33733 char * kwnames
[] = {
33734 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33739 if (!SWIG_IsOK(res1
)) {
33740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33742 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33744 if (!SWIG_IsOK(ecode2
)) {
33745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33747 arg2
= static_cast< int >(val2
);
33748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33749 if (!SWIG_IsOK(ecode3
)) {
33750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33752 arg3
= static_cast< int >(val3
);
33753 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33754 if (!SWIG_IsOK(ecode4
)) {
33755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33757 arg4
= static_cast< wxDragResult
>(val4
);
33759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33760 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33764 resultobj
= SWIG_From_int(static_cast< int >(result
));
33771 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33772 PyObject
*resultobj
= 0;
33773 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33776 PyObject
*swig_obj
[1] ;
33778 if (!args
) SWIG_fail
;
33779 swig_obj
[0] = args
;
33780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33781 if (!SWIG_IsOK(res1
)) {
33782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33784 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 wxPyEndAllowThreads(__tstate
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33791 resultobj
= SWIG_Py_Void();
33798 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33799 PyObject
*resultobj
= 0;
33800 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 PyObject
* obj2
= 0 ;
33813 char * kwnames
[] = {
33814 (char *) "self",(char *) "x",(char *) "y", NULL
33817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) 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_OnDrop" "', 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_OnDrop" "', 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_OnDrop" "', expected argument " "3"" of type '" "int""'");
33832 arg3
= static_cast< int >(val3
);
33834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33835 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33836 wxPyEndAllowThreads(__tstate
);
33837 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33848 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33849 PyObject
*resultobj
= 0;
33850 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33853 wxDragResult arg4
;
33854 wxDragResult result
;
33863 PyObject
* obj0
= 0 ;
33864 PyObject
* obj1
= 0 ;
33865 PyObject
* obj2
= 0 ;
33866 PyObject
* obj3
= 0 ;
33867 char * kwnames
[] = {
33868 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33873 if (!SWIG_IsOK(res1
)) {
33874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33876 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33878 if (!SWIG_IsOK(ecode2
)) {
33879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33881 arg2
= static_cast< int >(val2
);
33882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33883 if (!SWIG_IsOK(ecode3
)) {
33884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33886 arg3
= static_cast< int >(val3
);
33887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33888 if (!SWIG_IsOK(ecode4
)) {
33889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33891 arg4
= static_cast< wxDragResult
>(val4
);
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33895 wxPyEndAllowThreads(__tstate
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33898 resultobj
= SWIG_From_int(static_cast< int >(result
));
33905 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
33909 return SWIG_Py_Void();
33912 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33913 return SWIG_Python_InitShadowInstance(args
);
33916 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33917 PyObject
*resultobj
= 0;
33918 wxClipboard
*result
= 0 ;
33920 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
33922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33923 result
= (wxClipboard
*)new wxClipboard();
33924 wxPyEndAllowThreads(__tstate
);
33925 if (PyErr_Occurred()) SWIG_fail
;
33927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
33934 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33935 PyObject
*resultobj
= 0;
33936 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33939 PyObject
*swig_obj
[1] ;
33941 if (!args
) SWIG_fail
;
33942 swig_obj
[0] = args
;
33943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
33944 if (!SWIG_IsOK(res1
)) {
33945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
33947 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= SWIG_Py_Void();
33962 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33963 PyObject
*resultobj
= 0;
33964 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33968 PyObject
*swig_obj
[1] ;
33970 if (!args
) SWIG_fail
;
33971 swig_obj
[0] = args
;
33972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
33973 if (!SWIG_IsOK(res1
)) {
33974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
33976 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 result
= (bool)(arg1
)->Open();
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33992 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33993 PyObject
*resultobj
= 0;
33994 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33997 PyObject
*swig_obj
[1] ;
33999 if (!args
) SWIG_fail
;
34000 swig_obj
[0] = args
;
34001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34002 if (!SWIG_IsOK(res1
)) {
34003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34005 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 wxPyEndAllowThreads(__tstate
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34012 resultobj
= SWIG_Py_Void();
34019 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34020 PyObject
*resultobj
= 0;
34021 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34025 PyObject
*swig_obj
[1] ;
34027 if (!args
) SWIG_fail
;
34028 swig_obj
[0] = args
;
34029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34030 if (!SWIG_IsOK(res1
)) {
34031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34033 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34049 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34050 PyObject
*resultobj
= 0;
34051 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34052 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34057 PyObject
* obj0
= 0 ;
34058 PyObject
* obj1
= 0 ;
34059 char * kwnames
[] = {
34060 (char *) "self",(char *) "data", NULL
34063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34065 if (!SWIG_IsOK(res1
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34068 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34069 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34070 if (!SWIG_IsOK(res2
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (bool)(arg1
)->AddData(arg2
);
34076 wxPyEndAllowThreads(__tstate
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34088 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34089 PyObject
*resultobj
= 0;
34090 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34091 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34096 PyObject
* obj0
= 0 ;
34097 PyObject
* obj1
= 0 ;
34098 char * kwnames
[] = {
34099 (char *) "self",(char *) "data", NULL
34102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34107 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34108 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34109 if (!SWIG_IsOK(res2
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 result
= (bool)(arg1
)->SetData(arg2
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34127 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34128 PyObject
*resultobj
= 0;
34129 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34130 wxDataFormat
*arg2
= 0 ;
34136 PyObject
* obj0
= 0 ;
34137 PyObject
* obj1
= 0 ;
34138 char * kwnames
[] = {
34139 (char *) "self",(char *) "format", NULL
34142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34144 if (!SWIG_IsOK(res1
)) {
34145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34147 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34149 if (!SWIG_IsOK(res2
)) {
34150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34155 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34158 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34159 wxPyEndAllowThreads(__tstate
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34171 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
= 0;
34173 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34174 wxDataObject
*arg2
= 0 ;
34180 PyObject
* obj0
= 0 ;
34181 PyObject
* obj1
= 0 ;
34182 char * kwnames
[] = {
34183 (char *) "self",(char *) "data", NULL
34186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34188 if (!SWIG_IsOK(res1
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34191 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34193 if (!SWIG_IsOK(res2
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34199 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= (bool)(arg1
)->GetData(*arg2
);
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34215 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34216 PyObject
*resultobj
= 0;
34217 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34220 PyObject
*swig_obj
[1] ;
34222 if (!args
) SWIG_fail
;
34223 swig_obj
[0] = args
;
34224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34225 if (!SWIG_IsOK(res1
)) {
34226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34228 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 resultobj
= SWIG_Py_Void();
34242 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34243 PyObject
*resultobj
= 0;
34244 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34248 PyObject
*swig_obj
[1] ;
34250 if (!args
) SWIG_fail
;
34251 swig_obj
[0] = args
;
34252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34253 if (!SWIG_IsOK(res1
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34256 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34259 result
= (bool)(arg1
)->Flush();
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34272 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
= 0;
34274 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34275 bool arg2
= (bool) true ;
34280 PyObject
* obj0
= 0 ;
34281 PyObject
* obj1
= 0 ;
34282 char * kwnames
[] = {
34283 (char *) "self",(char *) "primary", NULL
34286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34288 if (!SWIG_IsOK(res1
)) {
34289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34291 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34293 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34294 if (!SWIG_IsOK(ecode2
)) {
34295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34297 arg2
= static_cast< bool >(val2
);
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 (arg1
)->UsePrimarySelection(arg2
);
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= SWIG_Py_Void();
34312 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34313 PyObject
*resultobj
= 0;
34314 wxClipboard
*result
= 0 ;
34316 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34319 result
= (wxClipboard
*)wxClipboard::Get();
34320 wxPyEndAllowThreads(__tstate
);
34321 if (PyErr_Occurred()) SWIG_fail
;
34323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34330 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34333 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34334 return SWIG_Py_Void();
34337 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34338 return SWIG_Python_InitShadowInstance(args
);
34341 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34342 PyObject
*resultobj
= 0;
34343 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34344 wxClipboardLocker
*result
= 0 ;
34347 PyObject
* obj0
= 0 ;
34348 char * kwnames
[] = {
34349 (char *) "clipboard", NULL
34352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34355 if (!SWIG_IsOK(res1
)) {
34356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34358 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34362 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34363 wxPyEndAllowThreads(__tstate
);
34364 if (PyErr_Occurred()) SWIG_fail
;
34366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34373 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34374 PyObject
*resultobj
= 0;
34375 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34378 PyObject
*swig_obj
[1] ;
34380 if (!args
) SWIG_fail
;
34381 swig_obj
[0] = args
;
34382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34383 if (!SWIG_IsOK(res1
)) {
34384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34386 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 wxPyEndAllowThreads(__tstate
);
34392 if (PyErr_Occurred()) SWIG_fail
;
34394 resultobj
= SWIG_Py_Void();
34401 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34402 PyObject
*resultobj
= 0;
34403 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34407 PyObject
*swig_obj
[1] ;
34409 if (!args
) SWIG_fail
;
34410 swig_obj
[0] = args
;
34411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34412 if (!SWIG_IsOK(res1
)) {
34413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34415 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34418 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34419 wxPyEndAllowThreads(__tstate
);
34420 if (PyErr_Occurred()) SWIG_fail
;
34423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34431 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34434 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34435 return SWIG_Py_Void();
34438 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34439 return SWIG_Python_InitShadowInstance(args
);
34442 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34443 PyObject
*resultobj
= 0;
34444 int arg1
= (int) 0 ;
34445 int arg2
= (int) 0 ;
34446 int arg3
= (int) 0 ;
34447 int arg4
= (int) 0 ;
34448 wxVideoMode
*result
= 0 ;
34457 PyObject
* obj0
= 0 ;
34458 PyObject
* obj1
= 0 ;
34459 PyObject
* obj2
= 0 ;
34460 PyObject
* obj3
= 0 ;
34461 char * kwnames
[] = {
34462 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34467 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34468 if (!SWIG_IsOK(ecode1
)) {
34469 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34471 arg1
= static_cast< int >(val1
);
34474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34475 if (!SWIG_IsOK(ecode2
)) {
34476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34478 arg2
= static_cast< int >(val2
);
34481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34482 if (!SWIG_IsOK(ecode3
)) {
34483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34485 arg3
= static_cast< int >(val3
);
34488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34489 if (!SWIG_IsOK(ecode4
)) {
34490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34492 arg4
= static_cast< int >(val4
);
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34507 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34508 PyObject
*resultobj
= 0;
34509 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34512 PyObject
*swig_obj
[1] ;
34514 if (!args
) SWIG_fail
;
34515 swig_obj
[0] = args
;
34516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34517 if (!SWIG_IsOK(res1
)) {
34518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34520 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= SWIG_Py_Void();
34535 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
= 0;
34537 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34538 wxVideoMode
*arg2
= 0 ;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 char * kwnames
[] = {
34547 (char *) "self",(char *) "other", NULL
34550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34552 if (!SWIG_IsOK(res1
)) {
34553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34555 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34557 if (!SWIG_IsOK(res2
)) {
34558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34563 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34579 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34580 PyObject
*resultobj
= 0;
34581 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34585 PyObject
*swig_obj
[1] ;
34587 if (!args
) SWIG_fail
;
34588 swig_obj
[0] = args
;
34589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34590 if (!SWIG_IsOK(res1
)) {
34591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34593 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34596 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34600 resultobj
= SWIG_From_int(static_cast< int >(result
));
34607 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34608 PyObject
*resultobj
= 0;
34609 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34613 PyObject
*swig_obj
[1] ;
34615 if (!args
) SWIG_fail
;
34616 swig_obj
[0] = args
;
34617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34618 if (!SWIG_IsOK(res1
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34621 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34628 resultobj
= SWIG_From_int(static_cast< int >(result
));
34635 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34636 PyObject
*resultobj
= 0;
34637 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34641 PyObject
*swig_obj
[1] ;
34643 if (!args
) SWIG_fail
;
34644 swig_obj
[0] = args
;
34645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34646 if (!SWIG_IsOK(res1
)) {
34647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34649 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= SWIG_From_int(static_cast< int >(result
));
34663 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34664 PyObject
*resultobj
= 0;
34665 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34669 PyObject
*swig_obj
[1] ;
34671 if (!args
) SWIG_fail
;
34672 swig_obj
[0] = args
;
34673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34674 if (!SWIG_IsOK(res1
)) {
34675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34677 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34693 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34694 PyObject
*resultobj
= 0;
34695 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34696 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34702 PyObject
* obj0
= 0 ;
34703 PyObject
* obj1
= 0 ;
34704 char * kwnames
[] = {
34705 (char *) "self",(char *) "other", NULL
34708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34710 if (!SWIG_IsOK(res1
)) {
34711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34713 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34715 if (!SWIG_IsOK(res2
)) {
34716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34718 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34721 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34722 wxPyEndAllowThreads(__tstate
);
34723 if (PyErr_Occurred()) SWIG_fail
;
34726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34734 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34735 PyObject
*resultobj
= 0;
34736 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34737 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34743 PyObject
* obj0
= 0 ;
34744 PyObject
* obj1
= 0 ;
34745 char * kwnames
[] = {
34746 (char *) "self",(char *) "other", NULL
34749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34751 if (!SWIG_IsOK(res1
)) {
34752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34754 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34756 if (!SWIG_IsOK(res2
)) {
34757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34759 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34775 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34776 PyObject
*resultobj
= 0;
34777 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34783 PyObject
*swig_obj
[2] ;
34785 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34787 if (!SWIG_IsOK(res1
)) {
34788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34790 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34791 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34792 if (!SWIG_IsOK(ecode2
)) {
34793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34795 arg2
= static_cast< int >(val2
);
34796 if (arg1
) (arg1
)->w
= arg2
;
34798 resultobj
= SWIG_Py_Void();
34805 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34806 PyObject
*resultobj
= 0;
34807 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34811 PyObject
*swig_obj
[1] ;
34813 if (!args
) SWIG_fail
;
34814 swig_obj
[0] = args
;
34815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34816 if (!SWIG_IsOK(res1
)) {
34817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34819 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34820 result
= (int) ((arg1
)->w
);
34821 resultobj
= SWIG_From_int(static_cast< int >(result
));
34828 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34829 PyObject
*resultobj
= 0;
34830 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34836 PyObject
*swig_obj
[2] ;
34838 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34840 if (!SWIG_IsOK(res1
)) {
34841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34843 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34844 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34845 if (!SWIG_IsOK(ecode2
)) {
34846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34848 arg2
= static_cast< int >(val2
);
34849 if (arg1
) (arg1
)->h
= arg2
;
34851 resultobj
= SWIG_Py_Void();
34858 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34859 PyObject
*resultobj
= 0;
34860 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34864 PyObject
*swig_obj
[1] ;
34866 if (!args
) SWIG_fail
;
34867 swig_obj
[0] = args
;
34868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34869 if (!SWIG_IsOK(res1
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34872 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34873 result
= (int) ((arg1
)->h
);
34874 resultobj
= SWIG_From_int(static_cast< int >(result
));
34881 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34882 PyObject
*resultobj
= 0;
34883 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34889 PyObject
*swig_obj
[2] ;
34891 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34893 if (!SWIG_IsOK(res1
)) {
34894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34896 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34897 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34898 if (!SWIG_IsOK(ecode2
)) {
34899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34901 arg2
= static_cast< int >(val2
);
34902 if (arg1
) (arg1
)->bpp
= arg2
;
34904 resultobj
= SWIG_Py_Void();
34911 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34912 PyObject
*resultobj
= 0;
34913 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34917 PyObject
*swig_obj
[1] ;
34919 if (!args
) SWIG_fail
;
34920 swig_obj
[0] = args
;
34921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34922 if (!SWIG_IsOK(res1
)) {
34923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34925 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34926 result
= (int) ((arg1
)->bpp
);
34927 resultobj
= SWIG_From_int(static_cast< int >(result
));
34934 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34935 PyObject
*resultobj
= 0;
34936 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34942 PyObject
*swig_obj
[2] ;
34944 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
34945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34946 if (!SWIG_IsOK(res1
)) {
34947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34949 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34950 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34951 if (!SWIG_IsOK(ecode2
)) {
34952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
34954 arg2
= static_cast< int >(val2
);
34955 if (arg1
) (arg1
)->refresh
= arg2
;
34957 resultobj
= SWIG_Py_Void();
34964 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34965 PyObject
*resultobj
= 0;
34966 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34970 PyObject
*swig_obj
[1] ;
34972 if (!args
) SWIG_fail
;
34973 swig_obj
[0] = args
;
34974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34975 if (!SWIG_IsOK(res1
)) {
34976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34978 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34979 result
= (int) ((arg1
)->refresh
);
34980 resultobj
= SWIG_From_int(static_cast< int >(result
));
34987 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34990 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
34991 return SWIG_Py_Void();
34994 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34995 return SWIG_Python_InitShadowInstance(args
);
34998 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
34999 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35004 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35005 PyObject
*pyobj
= 0;
35007 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35012 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35013 PyObject
*resultobj
= 0;
35014 size_t arg1
= (size_t) 0 ;
35015 wxDisplay
*result
= 0 ;
35018 PyObject
* obj0
= 0 ;
35019 char * kwnames
[] = {
35020 (char *) "index", NULL
35023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35025 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35026 if (!SWIG_IsOK(ecode1
)) {
35027 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35029 arg1
= static_cast< size_t >(val1
);
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (wxDisplay
*)new wxDisplay(arg1
);
35034 wxPyEndAllowThreads(__tstate
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35044 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35045 PyObject
*resultobj
= 0;
35046 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35049 PyObject
*swig_obj
[1] ;
35051 if (!args
) SWIG_fail
;
35052 swig_obj
[0] = args
;
35053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35054 if (!SWIG_IsOK(res1
)) {
35055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35057 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35062 wxPyEndAllowThreads(__tstate
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35065 resultobj
= SWIG_Py_Void();
35072 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35073 PyObject
*resultobj
= 0;
35076 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35079 result
= (size_t)wxDisplay::GetCount();
35080 wxPyEndAllowThreads(__tstate
);
35081 if (PyErr_Occurred()) SWIG_fail
;
35083 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35090 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35091 PyObject
*resultobj
= 0;
35092 wxPoint
*arg1
= 0 ;
35095 PyObject
* obj0
= 0 ;
35096 char * kwnames
[] = {
35097 (char *) "pt", NULL
35100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35103 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35107 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35108 wxPyEndAllowThreads(__tstate
);
35109 if (PyErr_Occurred()) SWIG_fail
;
35111 resultobj
= SWIG_From_int(static_cast< int >(result
));
35118 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35119 PyObject
*resultobj
= 0;
35120 wxWindow
*arg1
= (wxWindow
*) 0 ;
35124 PyObject
* obj0
= 0 ;
35125 char * kwnames
[] = {
35126 (char *) "window", NULL
35129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35131 if (!SWIG_IsOK(res1
)) {
35132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35137 result
= (int)wxDisplay::GetFromWindow(arg1
);
35138 wxPyEndAllowThreads(__tstate
);
35139 if (PyErr_Occurred()) SWIG_fail
;
35141 resultobj
= SWIG_From_int(static_cast< int >(result
));
35148 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35149 PyObject
*resultobj
= 0;
35150 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35154 PyObject
*swig_obj
[1] ;
35156 if (!args
) SWIG_fail
;
35157 swig_obj
[0] = args
;
35158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35159 if (!SWIG_IsOK(res1
)) {
35160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35162 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35178 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35179 PyObject
*resultobj
= 0;
35180 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35184 PyObject
*swig_obj
[1] ;
35186 if (!args
) SWIG_fail
;
35187 swig_obj
[0] = args
;
35188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35189 if (!SWIG_IsOK(res1
)) {
35190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35192 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35195 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35196 wxPyEndAllowThreads(__tstate
);
35197 if (PyErr_Occurred()) SWIG_fail
;
35199 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35206 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35207 PyObject
*resultobj
= 0;
35208 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35212 PyObject
*swig_obj
[1] ;
35214 if (!args
) SWIG_fail
;
35215 swig_obj
[0] = args
;
35216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35217 if (!SWIG_IsOK(res1
)) {
35218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35220 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35223 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35224 wxPyEndAllowThreads(__tstate
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35227 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35234 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35235 PyObject
*resultobj
= 0;
35236 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35240 PyObject
*swig_obj
[1] ;
35242 if (!args
) SWIG_fail
;
35243 swig_obj
[0] = args
;
35244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35245 if (!SWIG_IsOK(res1
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35248 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35251 result
= ((wxDisplay
const *)arg1
)->GetName();
35252 wxPyEndAllowThreads(__tstate
);
35253 if (PyErr_Occurred()) SWIG_fail
;
35257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35268 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35269 PyObject
*resultobj
= 0;
35270 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35274 PyObject
*swig_obj
[1] ;
35276 if (!args
) SWIG_fail
;
35277 swig_obj
[0] = args
;
35278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35279 if (!SWIG_IsOK(res1
)) {
35280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35282 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35285 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35286 wxPyEndAllowThreads(__tstate
);
35287 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35298 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
= 0;
35300 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35301 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35302 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35303 PyObject
*result
= 0 ;
35308 PyObject
* obj0
= 0 ;
35309 PyObject
* obj1
= 0 ;
35310 char * kwnames
[] = {
35311 (char *) "self",(char *) "mode", NULL
35314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35316 if (!SWIG_IsOK(res1
)) {
35317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35319 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35322 if (!SWIG_IsOK(res2
)) {
35323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35328 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= result
;
35343 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35344 PyObject
*resultobj
= 0;
35345 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35346 wxVideoMode result
;
35349 PyObject
*swig_obj
[1] ;
35351 if (!args
) SWIG_fail
;
35352 swig_obj
[0] = args
;
35353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35354 if (!SWIG_IsOK(res1
)) {
35355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35357 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35364 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35371 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35372 PyObject
*resultobj
= 0;
35373 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35374 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35375 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 char * kwnames
[] = {
35384 (char *) "self",(char *) "mode", NULL
35387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35389 if (!SWIG_IsOK(res1
)) {
35390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35392 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35395 if (!SWIG_IsOK(res2
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35401 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35405 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35418 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35419 PyObject
*resultobj
= 0;
35420 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35423 PyObject
*swig_obj
[1] ;
35425 if (!args
) SWIG_fail
;
35426 swig_obj
[0] = args
;
35427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35428 if (!SWIG_IsOK(res1
)) {
35429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35431 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35434 wxDisplay_ResetMode(arg1
);
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35438 resultobj
= SWIG_Py_Void();
35445 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35448 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35449 return SWIG_Py_Void();
35452 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35453 return SWIG_Python_InitShadowInstance(args
);
35456 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35457 PyObject
*resultobj
= 0;
35458 wxStandardPaths
*result
= 0 ;
35460 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35474 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35475 PyObject
*resultobj
= 0;
35476 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35480 PyObject
*swig_obj
[1] ;
35482 if (!args
) SWIG_fail
;
35483 swig_obj
[0] = args
;
35484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35485 if (!SWIG_IsOK(res1
)) {
35486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35488 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35492 wxPyEndAllowThreads(__tstate
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35508 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35509 PyObject
*resultobj
= 0;
35510 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35514 PyObject
*swig_obj
[1] ;
35516 if (!args
) SWIG_fail
;
35517 swig_obj
[0] = args
;
35518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35519 if (!SWIG_IsOK(res1
)) {
35520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35522 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35542 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35543 PyObject
*resultobj
= 0;
35544 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35548 PyObject
*swig_obj
[1] ;
35550 if (!args
) SWIG_fail
;
35551 swig_obj
[0] = args
;
35552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35553 if (!SWIG_IsOK(res1
)) {
35554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35556 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35559 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35576 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35577 PyObject
*resultobj
= 0;
35578 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35582 PyObject
*swig_obj
[1] ;
35584 if (!args
) SWIG_fail
;
35585 swig_obj
[0] = args
;
35586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35587 if (!SWIG_IsOK(res1
)) {
35588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35590 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35593 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35594 wxPyEndAllowThreads(__tstate
);
35595 if (PyErr_Occurred()) SWIG_fail
;
35599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35610 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35611 PyObject
*resultobj
= 0;
35612 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35616 PyObject
*swig_obj
[1] ;
35618 if (!args
) SWIG_fail
;
35619 swig_obj
[0] = args
;
35620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35621 if (!SWIG_IsOK(res1
)) {
35622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35624 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35644 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35645 PyObject
*resultobj
= 0;
35646 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35650 PyObject
*swig_obj
[1] ;
35652 if (!args
) SWIG_fail
;
35653 swig_obj
[0] = args
;
35654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35655 if (!SWIG_IsOK(res1
)) {
35656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35658 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35661 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35678 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35679 PyObject
*resultobj
= 0;
35680 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35684 PyObject
*swig_obj
[1] ;
35686 if (!args
) SWIG_fail
;
35687 swig_obj
[0] = args
;
35688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35689 if (!SWIG_IsOK(res1
)) {
35690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35692 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35695 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35696 wxPyEndAllowThreads(__tstate
);
35697 if (PyErr_Occurred()) SWIG_fail
;
35701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35712 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35713 PyObject
*resultobj
= 0;
35714 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35718 PyObject
*swig_obj
[1] ;
35720 if (!args
) SWIG_fail
;
35721 swig_obj
[0] = args
;
35722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35723 if (!SWIG_IsOK(res1
)) {
35724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35726 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35730 wxPyEndAllowThreads(__tstate
);
35731 if (PyErr_Occurred()) SWIG_fail
;
35735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35746 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35747 PyObject
*resultobj
= 0;
35748 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35749 wxString
*arg2
= 0 ;
35750 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35754 bool temp2
= false ;
35757 PyObject
* obj0
= 0 ;
35758 PyObject
* obj1
= 0 ;
35759 PyObject
* obj2
= 0 ;
35760 char * kwnames
[] = {
35761 (char *) "self",(char *) "lang",(char *) "category", NULL
35764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35766 if (!SWIG_IsOK(res1
)) {
35767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35769 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35771 arg2
= wxString_in_helper(obj1
);
35772 if (arg2
== NULL
) SWIG_fail
;
35776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35777 if (!SWIG_IsOK(ecode3
)) {
35778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35780 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35784 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35785 wxPyEndAllowThreads(__tstate
);
35786 if (PyErr_Occurred()) SWIG_fail
;
35790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35809 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35810 PyObject
*resultobj
= 0;
35811 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35815 PyObject
*swig_obj
[1] ;
35817 if (!args
) SWIG_fail
;
35818 swig_obj
[0] = args
;
35819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35820 if (!SWIG_IsOK(res1
)) {
35821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35823 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35843 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35844 PyObject
*resultobj
= 0;
35845 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35846 wxString
*arg2
= 0 ;
35849 bool temp2
= false ;
35850 PyObject
* obj0
= 0 ;
35851 PyObject
* obj1
= 0 ;
35852 char * kwnames
[] = {
35853 (char *) "self",(char *) "prefix", NULL
35856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35858 if (!SWIG_IsOK(res1
)) {
35859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35861 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35863 arg2
= wxString_in_helper(obj1
);
35864 if (arg2
== NULL
) SWIG_fail
;
35868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35869 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
35870 wxPyEndAllowThreads(__tstate
);
35871 if (PyErr_Occurred()) SWIG_fail
;
35873 resultobj
= SWIG_Py_Void();
35888 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35889 PyObject
*resultobj
= 0;
35890 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35894 PyObject
*swig_obj
[1] ;
35896 if (!args
) SWIG_fail
;
35897 swig_obj
[0] = args
;
35898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35899 if (!SWIG_IsOK(res1
)) {
35900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35902 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35905 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
35906 wxPyEndAllowThreads(__tstate
);
35907 if (PyErr_Occurred()) SWIG_fail
;
35911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35922 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35925 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
35926 return SWIG_Py_Void();
35929 static PyMethodDef SwigMethods
[] = {
35930 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
35935 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
35937 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
35938 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
35945 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
35946 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
35947 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
35949 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35952 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
35953 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
35954 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
35956 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
35957 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
35959 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
35960 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
35961 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
35962 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35968 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
35969 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
35970 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
35971 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
35972 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
35973 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
35974 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
35976 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
35977 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35979 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35980 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35981 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35983 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35985 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
35987 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
35988 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
35989 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
35990 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
35991 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
35992 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
35993 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
35994 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
35995 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35996 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
35997 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35998 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
35999 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36000 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36001 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36002 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36004 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36005 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36006 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36007 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36008 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36009 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36010 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36011 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36012 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36013 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36014 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36015 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36016 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36017 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36018 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36019 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36020 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36021 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36022 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36023 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36024 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36025 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36026 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36027 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36028 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36029 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36030 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36031 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36032 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36033 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36034 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36035 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36036 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36037 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36038 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36039 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36040 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36041 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36042 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36043 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36044 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36045 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36046 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36047 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36048 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36049 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36050 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36051 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36052 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36053 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36054 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36055 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36056 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36057 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36058 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36059 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36060 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36061 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36062 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36063 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36064 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36065 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36066 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36067 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36068 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36069 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36070 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36071 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36072 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36073 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36074 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36075 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36076 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36077 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36078 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36079 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36080 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36081 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36082 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36083 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36084 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36085 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36086 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36087 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36088 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36089 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36090 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36091 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36092 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36093 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36094 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36095 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36096 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36097 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36098 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36099 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36100 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36101 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36102 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36103 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36104 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36105 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36106 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36107 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36108 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36109 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36110 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36111 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36112 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36113 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36114 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36115 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36116 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36117 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36118 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36119 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36120 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36121 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36122 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36123 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36124 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36125 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36126 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36127 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36128 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36129 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36130 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36131 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36132 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36133 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36134 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36135 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36136 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36137 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36138 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36139 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36140 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36141 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36142 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36143 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36144 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36145 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36146 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36147 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36148 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36149 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36150 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36151 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36152 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36153 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36154 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36155 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36156 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36157 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36159 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36160 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36161 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36162 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36163 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36164 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36165 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36167 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36168 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36169 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36170 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36171 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36172 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36173 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36174 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36175 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36177 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36178 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36179 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36180 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36181 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36184 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36185 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36186 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36187 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36188 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36189 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36190 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36191 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36192 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36193 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36194 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36195 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36196 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36197 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36198 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36199 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36200 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36201 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36202 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36203 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36213 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36214 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36215 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36216 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36217 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36218 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36219 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36220 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36222 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36223 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36225 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36226 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36230 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36231 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36232 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36233 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36234 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36235 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36236 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36237 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36238 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36239 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36240 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36241 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36243 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36244 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36245 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36246 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36247 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36248 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36249 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36250 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36253 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36254 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36255 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36256 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36257 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36258 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36259 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36260 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36261 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36262 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36263 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36265 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36266 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36267 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36268 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36269 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36270 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36271 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36272 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36273 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36274 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36275 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36276 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36277 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36278 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36279 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36280 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36281 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36282 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36283 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36284 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36285 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36286 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36287 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36288 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36289 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36290 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36291 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36292 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36293 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36294 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36295 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36296 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36297 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36298 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36299 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36300 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36301 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36302 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36303 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36304 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36309 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36310 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36311 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36312 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36316 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36317 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36320 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36323 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36326 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36327 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36328 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36329 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36331 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36332 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36333 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36334 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36335 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36336 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36337 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36338 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36339 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36340 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36341 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36342 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36343 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36344 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36345 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36347 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36348 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36349 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36350 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36351 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36352 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36353 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36354 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36357 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36358 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36359 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36361 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36362 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36364 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36366 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36371 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36375 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36376 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36377 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36378 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36379 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36382 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36386 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36387 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36388 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36389 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36390 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36392 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36393 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36394 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36396 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36397 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36398 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36399 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36402 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36409 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36410 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36411 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36412 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36413 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36414 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36419 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36420 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36422 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36424 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36425 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36426 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36427 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36431 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36432 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36434 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36435 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36436 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36437 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36438 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36439 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36440 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36442 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36443 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36444 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36445 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36447 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36448 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36449 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36450 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36453 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36458 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36459 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36460 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36463 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36464 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36465 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36466 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36472 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36473 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36478 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36479 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36480 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36481 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36485 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36500 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36502 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36503 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36504 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36505 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36506 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36518 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36519 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36526 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36545 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36546 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36547 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36548 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36561 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36562 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36563 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36564 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36565 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36566 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36568 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36570 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36572 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36574 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36576 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36577 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36578 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36580 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36584 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36585 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36589 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36600 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36601 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36602 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36606 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36607 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36608 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36609 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36610 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36611 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36613 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36614 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36616 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36618 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36620 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36622 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36624 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36629 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36630 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36631 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36632 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36633 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36636 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36640 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36648 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36649 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36650 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36651 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36652 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36653 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36656 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36657 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36658 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36660 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36661 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36663 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36664 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36665 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36673 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36675 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36677 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36678 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36680 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36681 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36684 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36685 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36686 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
36688 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36689 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36690 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36691 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36692 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36693 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36695 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36696 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36699 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36700 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36702 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36704 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36705 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36708 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36709 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36710 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36711 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36713 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36714 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36715 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36717 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36718 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36719 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36720 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36721 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36722 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36724 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36725 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36726 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36727 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36728 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36732 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36734 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36738 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36739 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36742 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36743 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36747 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36749 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36751 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36752 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36753 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36754 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36759 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36762 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36763 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36764 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36769 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36772 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
36773 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
36774 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
36775 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
36776 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
36777 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
36778 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
36783 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
36784 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
36786 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
36787 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
36788 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
36790 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
36791 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
36792 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
36793 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
36795 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
36797 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
36798 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
36799 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
36800 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
36803 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
36804 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
36805 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
36806 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
36807 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
36808 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
36809 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
36810 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
36811 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
36812 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
36814 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
36815 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
36818 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
36819 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
36820 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
36821 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
36822 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
36824 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
36826 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
36827 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
36828 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
36829 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
36830 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
36831 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
36832 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
36833 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
36834 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
36835 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
36836 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
36837 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
36839 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
36841 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
36842 { NULL
, NULL
, 0, NULL
}
36846 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36848 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36851 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36852 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36854 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36855 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36857 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36858 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36860 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36861 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36863 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36864 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36866 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
36867 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
36869 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36870 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36872 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36875 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36878 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36879 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36881 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
36882 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
36884 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36885 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36887 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36888 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36890 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36891 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36893 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36894 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36896 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36897 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36899 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36900 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36902 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36903 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36905 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36906 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36908 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36909 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36911 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
36912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36914 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36915 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36917 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36918 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36920 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36921 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36923 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36924 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36926 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36927 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36929 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36930 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36932 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36933 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36935 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36936 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36938 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36939 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36941 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36942 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36944 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
36945 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
36947 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36948 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36950 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36951 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36953 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36956 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36959 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36960 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36962 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36963 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36965 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36966 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36968 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
36969 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
36971 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
36972 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
36974 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
36975 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36977 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
36978 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36980 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
36981 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
36983 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
36984 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
36986 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
36987 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
36989 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
36990 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
36992 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
36993 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36995 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
36996 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
36998 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
36999 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37001 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37002 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37004 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37005 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37007 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37008 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37010 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37011 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37013 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37014 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37016 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37017 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37019 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37020 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37022 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37023 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37025 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37026 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37028 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37029 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37031 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37032 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37034 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37035 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37037 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37038 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37040 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37041 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37043 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37046 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37047 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37049 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37050 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37052 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37053 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37055 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37056 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37058 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37059 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37061 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37062 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37064 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37065 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37067 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37068 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37070 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37071 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37073 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37074 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37076 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37077 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37079 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37082 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37083 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37085 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37086 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37088 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37089 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37091 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37092 return (void *)((wxObject
*) ((wxSizer
*) x
));
37094 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37095 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37097 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37098 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37100 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37103 static void *_p_wxEventTo_p_wxObject(void *x
) {
37104 return (void *)((wxObject
*) ((wxEvent
*) x
));
37106 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37107 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37109 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37110 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37112 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37113 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37115 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37118 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37119 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37121 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37122 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37124 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37125 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37127 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37128 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37130 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37131 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37133 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37134 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37136 static void *_p_wxControlTo_p_wxObject(void *x
) {
37137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37139 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37140 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37142 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37143 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37145 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37146 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37148 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37149 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37151 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37152 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37154 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37155 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37157 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37158 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37160 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37161 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37163 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37164 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37166 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37167 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37169 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37170 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37172 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37173 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37175 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37178 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37179 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37181 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37182 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37184 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37185 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37187 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37188 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37190 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37191 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37193 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37194 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37196 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37197 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37199 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37200 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37202 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37203 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37205 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37206 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37208 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37209 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37211 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37212 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37214 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37215 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37217 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37218 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37220 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37223 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37226 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37227 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37229 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37232 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37233 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37235 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37236 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37238 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37239 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37241 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37242 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37244 static void *_p_wxImageTo_p_wxObject(void *x
) {
37245 return (void *)((wxObject
*) ((wxImage
*) x
));
37247 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37248 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37250 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37251 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37253 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37254 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37256 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37259 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37260 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37262 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37263 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37265 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37266 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37268 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37269 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37271 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37274 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37275 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37277 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37278 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37280 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37283 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37284 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37286 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37287 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37289 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37290 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37292 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37293 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37295 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37296 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37298 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37299 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37301 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37304 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37305 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37307 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37308 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37310 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37311 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37313 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37316 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37317 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37319 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37322 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37325 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37326 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37328 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37329 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37331 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37332 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37334 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37335 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37337 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37338 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37340 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37341 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37343 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37344 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37346 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37347 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37349 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37350 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37352 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37353 return (void *)((wxWindow
*) ((wxControl
*) x
));
37355 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37356 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37358 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37359 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37361 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37362 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37364 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37365 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37367 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37368 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};
37369 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37370 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37371 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37372 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37373 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37374 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37375 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37376 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37377 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37378 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37379 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37380 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37381 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37382 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37383 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37384 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37385 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37386 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37387 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37388 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37389 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37390 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37391 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37392 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37393 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37394 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37395 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37396 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37397 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37398 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37399 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37400 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37401 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37402 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37403 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37404 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37405 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37406 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37407 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37408 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37409 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37410 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37411 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37412 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37413 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37414 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37415 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37416 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37417 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37418 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37419 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37420 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37421 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37422 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37423 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37424 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37425 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37426 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37427 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37428 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37429 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37430 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37431 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37432 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37433 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37434 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37435 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37436 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37437 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37438 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37439 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37440 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37441 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37442 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37443 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37444 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37445 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37446 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37447 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37448 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37449 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37450 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37451 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37452 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37453 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37454 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37455 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37456 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37457 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37458 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37459 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37460 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37461 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37462 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37463 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37464 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37465 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37466 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37467 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37468 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37469 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37470 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37471 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37472 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37473 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37474 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37475 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37476 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37477 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37478 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37479 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37480 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37481 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37482 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37483 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37484 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37485 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37486 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37487 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37488 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37489 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37490 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37491 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37492 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37493 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37494 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37495 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37496 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37497 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37498 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37499 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37500 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37501 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37502 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37503 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37504 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37505 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37506 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37507 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37508 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37509 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37510 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37511 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37512 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37513 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37514 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37515 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37516 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37517 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37518 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37519 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37520 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37521 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37522 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37523 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37524 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37525 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37526 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37527 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37528 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37529 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37530 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37531 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37532 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37533 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37534 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37535 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37536 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37538 static swig_type_info
*swig_type_initial
[] = {
37540 &_swigt__p_form_ops_t
,
37542 &_swigt__p_unsigned_char
,
37543 &_swigt__p_unsigned_int
,
37544 &_swigt__p_unsigned_long
,
37546 &_swigt__p_wxANIHandler
,
37547 &_swigt__p_wxAcceleratorTable
,
37548 &_swigt__p_wxActivateEvent
,
37549 &_swigt__p_wxArrayString
,
37550 &_swigt__p_wxBMPHandler
,
37551 &_swigt__p_wxBitmap
,
37552 &_swigt__p_wxBitmapDataObject
,
37553 &_swigt__p_wxBoxSizer
,
37554 &_swigt__p_wxBusyCursor
,
37555 &_swigt__p_wxBusyInfo
,
37556 &_swigt__p_wxCURHandler
,
37557 &_swigt__p_wxCaret
,
37559 &_swigt__p_wxChildFocusEvent
,
37560 &_swigt__p_wxClipboard
,
37561 &_swigt__p_wxClipboardLocker
,
37562 &_swigt__p_wxClipboardTextEvent
,
37563 &_swigt__p_wxCloseEvent
,
37564 &_swigt__p_wxColour
,
37565 &_swigt__p_wxCommandEvent
,
37566 &_swigt__p_wxConfig
,
37567 &_swigt__p_wxConfigBase
,
37568 &_swigt__p_wxConfigPathChanger
,
37569 &_swigt__p_wxContextMenuEvent
,
37570 &_swigt__p_wxControl
,
37571 &_swigt__p_wxControlWithItems
,
37572 &_swigt__p_wxCursor
,
37573 &_swigt__p_wxCustomDataObject
,
37575 &_swigt__p_wxDataFormat
,
37576 &_swigt__p_wxDataObject
,
37577 &_swigt__p_wxDataObjectComposite
,
37578 &_swigt__p_wxDataObjectSimple
,
37579 &_swigt__p_wxDateEvent
,
37580 &_swigt__p_wxDateSpan
,
37581 &_swigt__p_wxDateTime
,
37582 &_swigt__p_wxDateTime__TimeZone
,
37583 &_swigt__p_wxDisplay
,
37584 &_swigt__p_wxDisplayChangedEvent
,
37585 &_swigt__p_wxDropFilesEvent
,
37586 &_swigt__p_wxDuplexMode
,
37587 &_swigt__p_wxEraseEvent
,
37588 &_swigt__p_wxEvent
,
37589 &_swigt__p_wxEvtHandler
,
37590 &_swigt__p_wxFSFile
,
37591 &_swigt__p_wxFileConfig
,
37592 &_swigt__p_wxFileDataObject
,
37593 &_swigt__p_wxFileHistory
,
37594 &_swigt__p_wxFileSystem
,
37595 &_swigt__p_wxFileType
,
37596 &_swigt__p_wxFileTypeInfo
,
37597 &_swigt__p_wxFlexGridSizer
,
37598 &_swigt__p_wxFocusEvent
,
37600 &_swigt__p_wxFrame
,
37601 &_swigt__p_wxGBSizerItem
,
37602 &_swigt__p_wxGIFHandler
,
37603 &_swigt__p_wxGridBagSizer
,
37604 &_swigt__p_wxGridSizer
,
37605 &_swigt__p_wxICOHandler
,
37607 &_swigt__p_wxIconizeEvent
,
37608 &_swigt__p_wxIdleEvent
,
37609 &_swigt__p_wxImage
,
37610 &_swigt__p_wxImageHandler
,
37611 &_swigt__p_wxIndividualLayoutConstraint
,
37612 &_swigt__p_wxInitDialogEvent
,
37613 &_swigt__p_wxJPEGHandler
,
37614 &_swigt__p_wxJoystick
,
37615 &_swigt__p_wxJoystickEvent
,
37616 &_swigt__p_wxKeyEvent
,
37617 &_swigt__p_wxKillError
,
37618 &_swigt__p_wxLayoutConstraints
,
37620 &_swigt__p_wxLogBuffer
,
37621 &_swigt__p_wxLogChain
,
37622 &_swigt__p_wxLogGui
,
37623 &_swigt__p_wxLogNull
,
37624 &_swigt__p_wxLogStderr
,
37625 &_swigt__p_wxLogTextCtrl
,
37626 &_swigt__p_wxLogWindow
,
37627 &_swigt__p_wxMaximizeEvent
,
37628 &_swigt__p_wxMemorySize
,
37630 &_swigt__p_wxMenuBar
,
37631 &_swigt__p_wxMenuEvent
,
37632 &_swigt__p_wxMenuItem
,
37633 &_swigt__p_wxMetafileDataObject
,
37634 &_swigt__p_wxMimeTypesManager
,
37635 &_swigt__p_wxMouseCaptureChangedEvent
,
37636 &_swigt__p_wxMouseEvent
,
37637 &_swigt__p_wxMouseState
,
37638 &_swigt__p_wxMoveEvent
,
37639 &_swigt__p_wxMutexGuiLocker
,
37640 &_swigt__p_wxNavigationKeyEvent
,
37641 &_swigt__p_wxNcPaintEvent
,
37642 &_swigt__p_wxNotifyEvent
,
37643 &_swigt__p_wxObject
,
37644 &_swigt__p_wxOutputStream
,
37645 &_swigt__p_wxPCXHandler
,
37646 &_swigt__p_wxPNGHandler
,
37647 &_swigt__p_wxPNMHandler
,
37648 &_swigt__p_wxPaintEvent
,
37649 &_swigt__p_wxPaletteChangedEvent
,
37650 &_swigt__p_wxPaperSize
,
37651 &_swigt__p_wxPoint
,
37652 &_swigt__p_wxProcessEvent
,
37653 &_swigt__p_wxPyApp
,
37654 &_swigt__p_wxPyArtProvider
,
37655 &_swigt__p_wxPyBitmapDataObject
,
37656 &_swigt__p_wxPyCommandEvent
,
37657 &_swigt__p_wxPyDataObjectSimple
,
37658 &_swigt__p_wxPyDropSource
,
37659 &_swigt__p_wxPyDropTarget
,
37660 &_swigt__p_wxPyEvent
,
37661 &_swigt__p_wxPyFileDropTarget
,
37662 &_swigt__p_wxPyImageHandler
,
37663 &_swigt__p_wxPyLog
,
37664 &_swigt__p_wxPyProcess
,
37665 &_swigt__p_wxPySizer
,
37666 &_swigt__p_wxPyTextDataObject
,
37667 &_swigt__p_wxPyTextDropTarget
,
37668 &_swigt__p_wxPyTimer
,
37669 &_swigt__p_wxPyTipProvider
,
37670 &_swigt__p_wxPyValidator
,
37671 &_swigt__p_wxQueryNewPaletteEvent
,
37673 &_swigt__p_wxScrollEvent
,
37674 &_swigt__p_wxScrollWinEvent
,
37675 &_swigt__p_wxSetCursorEvent
,
37676 &_swigt__p_wxShowEvent
,
37677 &_swigt__p_wxSingleInstanceChecker
,
37679 &_swigt__p_wxSizeEvent
,
37680 &_swigt__p_wxSizer
,
37681 &_swigt__p_wxSizerItem
,
37682 &_swigt__p_wxSound
,
37683 &_swigt__p_wxStandardPaths
,
37684 &_swigt__p_wxStaticBoxSizer
,
37685 &_swigt__p_wxStdDialogButtonSizer
,
37686 &_swigt__p_wxStopWatch
,
37687 &_swigt__p_wxString
,
37688 &_swigt__p_wxSysColourChangedEvent
,
37689 &_swigt__p_wxSystemOptions
,
37690 &_swigt__p_wxSystemSettings
,
37691 &_swigt__p_wxTIFFHandler
,
37692 &_swigt__p_wxTextCtrl
,
37693 &_swigt__p_wxTextDataObject
,
37694 &_swigt__p_wxTimeSpan
,
37695 &_swigt__p_wxTimer
,
37696 &_swigt__p_wxTimerEvent
,
37697 &_swigt__p_wxTimerRunner
,
37698 &_swigt__p_wxTipProvider
,
37699 &_swigt__p_wxToolTip
,
37700 &_swigt__p_wxURLDataObject
,
37701 &_swigt__p_wxUpdateUIEvent
,
37702 &_swigt__p_wxValidator
,
37703 &_swigt__p_wxVideoMode
,
37704 &_swigt__p_wxWindow
,
37705 &_swigt__p_wxWindowCreateEvent
,
37706 &_swigt__p_wxWindowDestroyEvent
,
37707 &_swigt__p_wxWindowDisabler
,
37708 &_swigt__p_wxXPMHandler
,
37711 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37712 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37713 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37714 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37715 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37716 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37717 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37718 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37719 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37720 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}};
37721 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37722 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37723 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37724 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37725 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37726 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37727 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37728 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37729 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}};
37730 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37731 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37732 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37733 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37734 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37735 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}};
37736 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37737 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}};
37738 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37739 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37740 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37741 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37742 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37743 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37744 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37745 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37746 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37747 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37748 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37749 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37750 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37751 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37752 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37753 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37754 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37755 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37756 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37757 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37758 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37759 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37760 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37761 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37762 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
37763 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37764 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37765 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37766 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37767 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37768 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37769 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37770 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37771 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37772 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37773 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37774 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37775 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37776 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37777 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37778 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37779 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37780 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_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}};
37781 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37782 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37783 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37784 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37785 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37786 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37787 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}};
37788 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
37789 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37790 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
37791 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
37792 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
37793 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37794 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
37795 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37796 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
37797 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
37798 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
37799 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}};
37800 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
37801 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
37802 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
37803 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
37804 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
37805 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37806 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
37807 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
37808 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37809 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37810 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
37811 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
37812 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
37813 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37814 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37815 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37816 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37817 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37818 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37819 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37820 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37821 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37822 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37823 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37824 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37825 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37826 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37827 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37828 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37829 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37830 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37831 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37832 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37833 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37834 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37835 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37836 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37837 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37838 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37839 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37840 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37841 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37842 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37843 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_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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_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_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_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_wxProcessEvent
, _p_wxProcessEventTo_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}};
37844 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
37845 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37846 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37847 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
37848 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
37849 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37850 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
37851 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
37852 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}};
37853 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37854 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
37855 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
37856 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37857 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37858 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
37859 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
37860 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37861 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
37862 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37863 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
37864 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
37865 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
37866 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37867 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
37868 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
37869 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37870 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}};
37871 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
37872 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
37873 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
37874 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
37875 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}};
37876 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
37877 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37878 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
37879 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}};
37880 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
37882 static swig_cast_info
*swig_cast_initial
[] = {
37884 _swigc__p_form_ops_t
,
37886 _swigc__p_unsigned_char
,
37887 _swigc__p_unsigned_int
,
37888 _swigc__p_unsigned_long
,
37890 _swigc__p_wxANIHandler
,
37891 _swigc__p_wxAcceleratorTable
,
37892 _swigc__p_wxActivateEvent
,
37893 _swigc__p_wxArrayString
,
37894 _swigc__p_wxBMPHandler
,
37895 _swigc__p_wxBitmap
,
37896 _swigc__p_wxBitmapDataObject
,
37897 _swigc__p_wxBoxSizer
,
37898 _swigc__p_wxBusyCursor
,
37899 _swigc__p_wxBusyInfo
,
37900 _swigc__p_wxCURHandler
,
37903 _swigc__p_wxChildFocusEvent
,
37904 _swigc__p_wxClipboard
,
37905 _swigc__p_wxClipboardLocker
,
37906 _swigc__p_wxClipboardTextEvent
,
37907 _swigc__p_wxCloseEvent
,
37908 _swigc__p_wxColour
,
37909 _swigc__p_wxCommandEvent
,
37910 _swigc__p_wxConfig
,
37911 _swigc__p_wxConfigBase
,
37912 _swigc__p_wxConfigPathChanger
,
37913 _swigc__p_wxContextMenuEvent
,
37914 _swigc__p_wxControl
,
37915 _swigc__p_wxControlWithItems
,
37916 _swigc__p_wxCursor
,
37917 _swigc__p_wxCustomDataObject
,
37919 _swigc__p_wxDataFormat
,
37920 _swigc__p_wxDataObject
,
37921 _swigc__p_wxDataObjectComposite
,
37922 _swigc__p_wxDataObjectSimple
,
37923 _swigc__p_wxDateEvent
,
37924 _swigc__p_wxDateSpan
,
37925 _swigc__p_wxDateTime
,
37926 _swigc__p_wxDateTime__TimeZone
,
37927 _swigc__p_wxDisplay
,
37928 _swigc__p_wxDisplayChangedEvent
,
37929 _swigc__p_wxDropFilesEvent
,
37930 _swigc__p_wxDuplexMode
,
37931 _swigc__p_wxEraseEvent
,
37933 _swigc__p_wxEvtHandler
,
37934 _swigc__p_wxFSFile
,
37935 _swigc__p_wxFileConfig
,
37936 _swigc__p_wxFileDataObject
,
37937 _swigc__p_wxFileHistory
,
37938 _swigc__p_wxFileSystem
,
37939 _swigc__p_wxFileType
,
37940 _swigc__p_wxFileTypeInfo
,
37941 _swigc__p_wxFlexGridSizer
,
37942 _swigc__p_wxFocusEvent
,
37945 _swigc__p_wxGBSizerItem
,
37946 _swigc__p_wxGIFHandler
,
37947 _swigc__p_wxGridBagSizer
,
37948 _swigc__p_wxGridSizer
,
37949 _swigc__p_wxICOHandler
,
37951 _swigc__p_wxIconizeEvent
,
37952 _swigc__p_wxIdleEvent
,
37954 _swigc__p_wxImageHandler
,
37955 _swigc__p_wxIndividualLayoutConstraint
,
37956 _swigc__p_wxInitDialogEvent
,
37957 _swigc__p_wxJPEGHandler
,
37958 _swigc__p_wxJoystick
,
37959 _swigc__p_wxJoystickEvent
,
37960 _swigc__p_wxKeyEvent
,
37961 _swigc__p_wxKillError
,
37962 _swigc__p_wxLayoutConstraints
,
37964 _swigc__p_wxLogBuffer
,
37965 _swigc__p_wxLogChain
,
37966 _swigc__p_wxLogGui
,
37967 _swigc__p_wxLogNull
,
37968 _swigc__p_wxLogStderr
,
37969 _swigc__p_wxLogTextCtrl
,
37970 _swigc__p_wxLogWindow
,
37971 _swigc__p_wxMaximizeEvent
,
37972 _swigc__p_wxMemorySize
,
37974 _swigc__p_wxMenuBar
,
37975 _swigc__p_wxMenuEvent
,
37976 _swigc__p_wxMenuItem
,
37977 _swigc__p_wxMetafileDataObject
,
37978 _swigc__p_wxMimeTypesManager
,
37979 _swigc__p_wxMouseCaptureChangedEvent
,
37980 _swigc__p_wxMouseEvent
,
37981 _swigc__p_wxMouseState
,
37982 _swigc__p_wxMoveEvent
,
37983 _swigc__p_wxMutexGuiLocker
,
37984 _swigc__p_wxNavigationKeyEvent
,
37985 _swigc__p_wxNcPaintEvent
,
37986 _swigc__p_wxNotifyEvent
,
37987 _swigc__p_wxObject
,
37988 _swigc__p_wxOutputStream
,
37989 _swigc__p_wxPCXHandler
,
37990 _swigc__p_wxPNGHandler
,
37991 _swigc__p_wxPNMHandler
,
37992 _swigc__p_wxPaintEvent
,
37993 _swigc__p_wxPaletteChangedEvent
,
37994 _swigc__p_wxPaperSize
,
37996 _swigc__p_wxProcessEvent
,
37998 _swigc__p_wxPyArtProvider
,
37999 _swigc__p_wxPyBitmapDataObject
,
38000 _swigc__p_wxPyCommandEvent
,
38001 _swigc__p_wxPyDataObjectSimple
,
38002 _swigc__p_wxPyDropSource
,
38003 _swigc__p_wxPyDropTarget
,
38004 _swigc__p_wxPyEvent
,
38005 _swigc__p_wxPyFileDropTarget
,
38006 _swigc__p_wxPyImageHandler
,
38008 _swigc__p_wxPyProcess
,
38009 _swigc__p_wxPySizer
,
38010 _swigc__p_wxPyTextDataObject
,
38011 _swigc__p_wxPyTextDropTarget
,
38012 _swigc__p_wxPyTimer
,
38013 _swigc__p_wxPyTipProvider
,
38014 _swigc__p_wxPyValidator
,
38015 _swigc__p_wxQueryNewPaletteEvent
,
38017 _swigc__p_wxScrollEvent
,
38018 _swigc__p_wxScrollWinEvent
,
38019 _swigc__p_wxSetCursorEvent
,
38020 _swigc__p_wxShowEvent
,
38021 _swigc__p_wxSingleInstanceChecker
,
38023 _swigc__p_wxSizeEvent
,
38025 _swigc__p_wxSizerItem
,
38027 _swigc__p_wxStandardPaths
,
38028 _swigc__p_wxStaticBoxSizer
,
38029 _swigc__p_wxStdDialogButtonSizer
,
38030 _swigc__p_wxStopWatch
,
38031 _swigc__p_wxString
,
38032 _swigc__p_wxSysColourChangedEvent
,
38033 _swigc__p_wxSystemOptions
,
38034 _swigc__p_wxSystemSettings
,
38035 _swigc__p_wxTIFFHandler
,
38036 _swigc__p_wxTextCtrl
,
38037 _swigc__p_wxTextDataObject
,
38038 _swigc__p_wxTimeSpan
,
38040 _swigc__p_wxTimerEvent
,
38041 _swigc__p_wxTimerRunner
,
38042 _swigc__p_wxTipProvider
,
38043 _swigc__p_wxToolTip
,
38044 _swigc__p_wxURLDataObject
,
38045 _swigc__p_wxUpdateUIEvent
,
38046 _swigc__p_wxValidator
,
38047 _swigc__p_wxVideoMode
,
38048 _swigc__p_wxWindow
,
38049 _swigc__p_wxWindowCreateEvent
,
38050 _swigc__p_wxWindowDestroyEvent
,
38051 _swigc__p_wxWindowDisabler
,
38052 _swigc__p_wxXPMHandler
,
38056 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38058 static swig_const_info swig_const_table
[] = {
38059 {0, 0, 0, 0.0, 0, 0}};
38064 /* -----------------------------------------------------------------------------
38065 * Type initialization:
38066 * This problem is tough by the requirement that no dynamic
38067 * memory is used. Also, since swig_type_info structures store pointers to
38068 * swig_cast_info structures and swig_cast_info structures store pointers back
38069 * to swig_type_info structures, we need some lookup code at initialization.
38070 * The idea is that swig generates all the structures that are needed.
38071 * The runtime then collects these partially filled structures.
38072 * The SWIG_InitializeModule function takes these initial arrays out of
38073 * swig_module, and does all the lookup, filling in the swig_module.types
38074 * array with the correct data and linking the correct swig_cast_info
38075 * structures together.
38077 * The generated swig_type_info structures are assigned staticly to an initial
38078 * array. We just loop though that array, and handle each type individually.
38079 * First we lookup if this type has been already loaded, and if so, use the
38080 * loaded structure instead of the generated one. Then we have to fill in the
38081 * cast linked list. The cast data is initially stored in something like a
38082 * two-dimensional array. Each row corresponds to a type (there are the same
38083 * number of rows as there are in the swig_type_initial array). Each entry in
38084 * a column is one of the swig_cast_info structures for that type.
38085 * The cast_initial array is actually an array of arrays, because each row has
38086 * a variable number of columns. So to actually build the cast linked list,
38087 * we find the array of casts associated with the type, and loop through it
38088 * adding the casts to the list. The one last trick we need to do is making
38089 * sure the type pointer in the swig_cast_info struct is correct.
38091 * First off, we lookup the cast->type name to see if it is already loaded.
38092 * There are three cases to handle:
38093 * 1) If the cast->type has already been loaded AND the type we are adding
38094 * casting info to has not been loaded (it is in this module), THEN we
38095 * replace the cast->type pointer with the type pointer that has already
38097 * 2) If BOTH types (the one we are adding casting info to, and the
38098 * cast->type) are loaded, THEN the cast info has already been loaded by
38099 * the previous module so we just ignore it.
38100 * 3) Finally, if cast->type has not already been loaded, then we add that
38101 * swig_cast_info to the linked list (because the cast->type) pointer will
38103 * ----------------------------------------------------------------------------- */
38113 #define SWIGRUNTIME_DEBUG
38117 SWIG_InitializeModule(void *clientdata
) {
38119 swig_module_info
*module_head
;
38120 static int init_run
= 0;
38122 clientdata
= clientdata
;
38124 if (init_run
) return;
38127 /* Initialize the swig_module */
38128 swig_module
.type_initial
= swig_type_initial
;
38129 swig_module
.cast_initial
= swig_cast_initial
;
38131 /* Try and load any already created modules */
38132 module_head
= SWIG_GetModule(clientdata
);
38134 swig_module
.next
= module_head
->next
;
38135 module_head
->next
= &swig_module
;
38137 /* This is the first module loaded */
38138 swig_module
.next
= &swig_module
;
38139 SWIG_SetModule(clientdata
, &swig_module
);
38142 /* Now work on filling in swig_module.types */
38143 #ifdef SWIGRUNTIME_DEBUG
38144 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38146 for (i
= 0; i
< swig_module
.size
; ++i
) {
38147 swig_type_info
*type
= 0;
38148 swig_type_info
*ret
;
38149 swig_cast_info
*cast
;
38151 #ifdef SWIGRUNTIME_DEBUG
38152 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38155 /* if there is another module already loaded */
38156 if (swig_module
.next
!= &swig_module
) {
38157 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38160 /* Overwrite clientdata field */
38161 #ifdef SWIGRUNTIME_DEBUG
38162 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38164 if (swig_module
.type_initial
[i
]->clientdata
) {
38165 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38166 #ifdef SWIGRUNTIME_DEBUG
38167 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38171 type
= swig_module
.type_initial
[i
];
38174 /* Insert casting types */
38175 cast
= swig_module
.cast_initial
[i
];
38176 while (cast
->type
) {
38177 /* Don't need to add information already in the list */
38179 #ifdef SWIGRUNTIME_DEBUG
38180 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38182 if (swig_module
.next
!= &swig_module
) {
38183 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38184 #ifdef SWIGRUNTIME_DEBUG
38185 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38189 if (type
== swig_module
.type_initial
[i
]) {
38190 #ifdef SWIGRUNTIME_DEBUG
38191 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38196 /* Check for casting already in the list */
38197 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38198 #ifdef SWIGRUNTIME_DEBUG
38199 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38201 if (!ocast
) ret
= 0;
38206 #ifdef SWIGRUNTIME_DEBUG
38207 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38210 type
->cast
->prev
= cast
;
38211 cast
->next
= type
->cast
;
38217 /* Set entry in modules->types array equal to the type */
38218 swig_module
.types
[i
] = type
;
38220 swig_module
.types
[i
] = 0;
38222 #ifdef SWIGRUNTIME_DEBUG
38223 printf("**** SWIG_InitializeModule: Cast List ******\n");
38224 for (i
= 0; i
< swig_module
.size
; ++i
) {
38226 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38227 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38228 while (cast
->type
) {
38229 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38233 printf("---- Total casts: %d\n",j
);
38235 printf("**** SWIG_InitializeModule: Cast List ******\n");
38239 /* This function will propagate the clientdata field of type to
38240 * any new swig_type_info structures that have been added into the list
38241 * of equivalent types. It is like calling
38242 * SWIG_TypeClientData(type, clientdata) a second time.
38245 SWIG_PropagateClientData(void) {
38247 swig_cast_info
*equiv
;
38248 static int init_run
= 0;
38250 if (init_run
) return;
38253 for (i
= 0; i
< swig_module
.size
; i
++) {
38254 if (swig_module
.types
[i
]->clientdata
) {
38255 equiv
= swig_module
.types
[i
]->cast
;
38257 if (!equiv
->converter
) {
38258 if (equiv
->type
&& !equiv
->type
->clientdata
)
38259 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38261 equiv
= equiv
->next
;
38281 /* Python-specific SWIG API */
38282 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38283 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38284 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38286 /* -----------------------------------------------------------------------------
38287 * global variable support code.
38288 * ----------------------------------------------------------------------------- */
38290 typedef struct swig_globalvar
{
38291 char *name
; /* Name of global variable */
38292 PyObject
*(*get_attr
)(void); /* Return the current value */
38293 int (*set_attr
)(PyObject
*); /* Set the value */
38294 struct swig_globalvar
*next
;
38297 typedef struct swig_varlinkobject
{
38299 swig_globalvar
*vars
;
38300 } swig_varlinkobject
;
38302 SWIGINTERN PyObject
*
38303 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38304 return PyString_FromString("<Swig global variables>");
38307 SWIGINTERN PyObject
*
38308 swig_varlink_str(swig_varlinkobject
*v
) {
38309 PyObject
*str
= PyString_FromString("(");
38310 swig_globalvar
*var
;
38311 for (var
= v
->vars
; var
; var
=var
->next
) {
38312 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38313 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38315 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38320 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38321 PyObject
*str
= swig_varlink_str(v
);
38322 fprintf(fp
,"Swig global variables ");
38323 fprintf(fp
,"%s\n", PyString_AsString(str
));
38329 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38330 swig_globalvar
*var
= v
->vars
;
38332 swig_globalvar
*n
= var
->next
;
38339 SWIGINTERN PyObject
*
38340 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38341 PyObject
*res
= NULL
;
38342 swig_globalvar
*var
= v
->vars
;
38344 if (strcmp(var
->name
,n
) == 0) {
38345 res
= (*var
->get_attr
)();
38350 if (res
== NULL
&& !PyErr_Occurred()) {
38351 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38357 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38359 swig_globalvar
*var
= v
->vars
;
38361 if (strcmp(var
->name
,n
) == 0) {
38362 res
= (*var
->set_attr
)(p
);
38367 if (res
== 1 && !PyErr_Occurred()) {
38368 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38373 SWIGINTERN PyTypeObject
*
38374 swig_varlink_type(void) {
38375 static char varlink__doc__
[] = "Swig var link object";
38376 static PyTypeObject varlink_type
;
38377 static int type_init
= 0;
38379 const PyTypeObject tmp
38381 PyObject_HEAD_INIT(NULL
)
38382 0, /* Number of items in variable part (ob_size) */
38383 (char *)"swigvarlink", /* Type name (tp_name) */
38384 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38385 0, /* Itemsize (tp_itemsize) */
38386 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38387 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38388 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38389 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38390 0, /* tp_compare */
38391 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38392 0, /* tp_as_number */
38393 0, /* tp_as_sequence */
38394 0, /* tp_as_mapping */
38397 (reprfunc
)swig_varlink_str
, /* tp_str */
38398 0, /* tp_getattro */
38399 0, /* tp_setattro */
38400 0, /* tp_as_buffer */
38402 varlink__doc__
, /* tp_doc */
38403 0, /* tp_traverse */
38405 0, /* tp_richcompare */
38406 0, /* tp_weaklistoffset */
38407 #if PY_VERSION_HEX >= 0x02020000
38408 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38410 #if PY_VERSION_HEX >= 0x02030000
38413 #ifdef COUNT_ALLOCS
38414 0,0,0,0 /* tp_alloc -> tp_next */
38417 varlink_type
= tmp
;
38418 varlink_type
.ob_type
= &PyType_Type
;
38421 return &varlink_type
;
38424 /* Create a variable linking object for use later */
38425 SWIGINTERN PyObject
*
38426 SWIG_Python_newvarlink(void) {
38427 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38431 return ((PyObject
*) result
);
38435 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38436 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38437 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38439 size_t size
= strlen(name
)+1;
38440 gv
->name
= (char *)malloc(size
);
38442 strncpy(gv
->name
,name
,size
);
38443 gv
->get_attr
= get_attr
;
38444 gv
->set_attr
= set_attr
;
38445 gv
->next
= v
->vars
;
38451 SWIGINTERN PyObject
*
38453 static PyObject
*_SWIG_globals
= 0;
38454 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38455 return _SWIG_globals
;
38458 /* -----------------------------------------------------------------------------
38459 * constants/methods manipulation
38460 * ----------------------------------------------------------------------------- */
38462 /* Install Constants */
38464 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38467 for (i
= 0; constants
[i
].type
; ++i
) {
38468 switch(constants
[i
].type
) {
38469 case SWIG_PY_POINTER
:
38470 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38472 case SWIG_PY_BINARY
:
38473 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38480 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38486 /* -----------------------------------------------------------------------------*/
38487 /* Fix SwigMethods to carry the callback ptrs when needed */
38488 /* -----------------------------------------------------------------------------*/
38491 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38492 swig_const_info
*const_table
,
38493 swig_type_info
**types
,
38494 swig_type_info
**types_initial
) {
38496 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38497 char *c
= methods
[i
].ml_doc
;
38498 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38500 swig_const_info
*ci
= 0;
38501 char *name
= c
+ 10;
38502 for (j
= 0; const_table
[j
].type
; ++j
) {
38503 if (strncmp(const_table
[j
].name
, name
,
38504 strlen(const_table
[j
].name
)) == 0) {
38505 ci
= &(const_table
[j
]);
38510 size_t shift
= (ci
->ptype
) - types
;
38511 swig_type_info
*ty
= types_initial
[shift
];
38512 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38513 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38514 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38517 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38519 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38521 strncpy(buff
, "swig_ptr: ", 10);
38523 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38524 methods
[i
].ml_doc
= ndoc
;
38536 /* -----------------------------------------------------------------------------*
38537 * Partial Init method
38538 * -----------------------------------------------------------------------------*/
38543 SWIGEXPORT
void SWIG_init(void) {
38546 /* Fix SwigMethods to carry the callback ptrs when needed */
38547 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38549 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38550 d
= PyModule_GetDict(m
);
38552 SWIG_InitializeModule(0);
38553 SWIG_InstallConstants(d
,swig_const_table
);
38556 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38557 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38558 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38559 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38560 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38561 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38562 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38563 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38564 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38565 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38566 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38567 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38568 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38569 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38570 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38571 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38572 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38573 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38574 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38575 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38576 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38577 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38578 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38579 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38580 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38581 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38582 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38583 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38584 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38585 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38586 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38587 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38588 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38589 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38590 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38591 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38592 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38593 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38594 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38595 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38596 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38597 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38598 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38599 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38600 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38601 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38602 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38603 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38604 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38605 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38606 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38607 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38608 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38609 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38610 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38611 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38612 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38613 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38614 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38615 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38616 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38617 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38618 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38619 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38620 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38621 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38622 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38623 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38624 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38625 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38626 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38627 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38628 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38629 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38630 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38631 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38632 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38633 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38634 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38635 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38636 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38637 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38638 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38639 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38640 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38641 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38642 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38643 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38644 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38645 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38646 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38647 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38648 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38649 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38650 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38651 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38652 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38653 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38654 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38655 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38656 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38657 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38659 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38661 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38662 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38663 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38664 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38665 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38666 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38667 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38668 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38669 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38670 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38671 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38672 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38673 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38674 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38675 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38676 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38677 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38678 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38679 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38680 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38681 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38682 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38683 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38684 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38685 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38686 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38687 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38688 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38689 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38690 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38691 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38692 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38693 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38694 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38695 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38696 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38697 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38698 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38699 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38700 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38701 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38702 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38703 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38704 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38705 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38706 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38707 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38708 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38709 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38710 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38711 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38712 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38713 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38715 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38717 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38718 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38719 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38720 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38721 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38722 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38723 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
38724 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
38725 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
38726 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
38727 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
38728 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
38729 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
38730 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
38731 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
38732 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
38733 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
38734 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
38735 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
38736 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
38737 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
38738 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
38739 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
38740 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
38741 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
38742 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
38743 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
38744 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
38745 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
38746 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
38747 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
38748 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
38749 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
38750 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
38751 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
38752 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
38753 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
38754 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
38755 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
38756 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
38757 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
38758 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
38759 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
38760 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
38761 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
38762 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
38763 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
38764 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
38765 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
38766 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
38767 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
38768 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
38769 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
38770 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
38771 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
38772 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
38773 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
38774 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
38775 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
38776 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
38777 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
38778 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
38779 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
38780 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
38781 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
38782 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
38783 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
38784 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
38785 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
38786 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
38787 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
38788 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
38789 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
38790 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
38791 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
38792 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
38794 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
38796 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
38797 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
38798 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
38799 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
38800 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
38801 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
38802 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
38803 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
38804 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
38805 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
38806 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
38807 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
38808 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
38809 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
38810 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
38811 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
38812 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
38813 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
38814 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
38815 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
38816 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
38817 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
38818 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
38819 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
38820 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
38821 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
38822 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
38823 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
38824 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
38825 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
38826 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
38827 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
38828 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
38829 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
38830 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
38831 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
38832 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
38833 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
38834 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
38835 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
38836 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
38837 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
38838 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
38839 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
38840 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
38841 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
38842 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
38843 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
38844 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
38845 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
38846 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
38847 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
38848 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
38849 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
38850 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
38851 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
38852 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
38853 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
38854 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
38855 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
38856 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
38857 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
38858 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
38859 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
38860 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
38861 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
38862 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
38863 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
38864 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
38865 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
38866 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
38867 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
38868 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
38869 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
38870 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
38871 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
38872 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
38873 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
38874 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
38875 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
38876 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
38877 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
38878 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
38879 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
38880 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
38881 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
38882 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
38883 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
38884 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
38885 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
38886 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
38887 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
38888 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
38889 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
38890 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
38891 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
38892 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
38893 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
38894 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
38895 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
38896 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
38897 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
38898 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
38899 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
38900 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
38901 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
38902 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
38903 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
38904 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
38905 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
38906 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
38907 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
38908 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
38909 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
38910 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
38911 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
38912 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
38913 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
38914 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
38915 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
38916 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
38917 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
38918 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
38919 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
38920 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
38921 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
38922 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
38923 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
38924 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
38925 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
38926 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
38927 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
38928 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
38929 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
38930 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
38931 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
38932 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
38933 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
38934 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
38935 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
38936 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
38937 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
38938 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
38939 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
38940 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
38941 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
38942 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
38943 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
38944 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
38945 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
38946 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
38947 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
38948 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
38949 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
38950 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
38951 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
38952 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
38953 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
38954 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
38955 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
38956 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
38957 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
38958 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
38959 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
38960 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
38961 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
38962 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
38963 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
38964 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
38965 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
38966 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
38967 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
38968 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
38969 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
38970 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
38971 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
38972 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
38973 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
38974 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
38975 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
38976 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
38977 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
38978 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
38979 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
38980 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
38981 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
38982 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
38983 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
38984 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
38985 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
38986 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
38987 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
38988 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
38989 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
38990 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
38991 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
38992 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
38993 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
38994 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
38995 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
38997 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
38998 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
38999 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39000 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39002 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39003 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39004 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39005 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));