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_wxCloseEvent swig_types[23]
2486 #define SWIGTYPE_p_wxColour swig_types[24]
2487 #define SWIGTYPE_p_wxCommandEvent swig_types[25]
2488 #define SWIGTYPE_p_wxConfig swig_types[26]
2489 #define SWIGTYPE_p_wxConfigBase swig_types[27]
2490 #define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2492 #define SWIGTYPE_p_wxControl swig_types[30]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2494 #define SWIGTYPE_p_wxCursor swig_types[32]
2495 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
2496 #define SWIGTYPE_p_wxDC swig_types[34]
2497 #define SWIGTYPE_p_wxDataFormat swig_types[35]
2498 #define SWIGTYPE_p_wxDataObject swig_types[36]
2499 #define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
2500 #define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDateSpan swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
2505 #define SWIGTYPE_p_wxDisplay swig_types[43]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
2512 #define SWIGTYPE_p_wxFSFile swig_types[50]
2513 #define SWIGTYPE_p_wxFileConfig swig_types[51]
2514 #define SWIGTYPE_p_wxFileDataObject swig_types[52]
2515 #define SWIGTYPE_p_wxFileHistory swig_types[53]
2516 #define SWIGTYPE_p_wxFileSystem swig_types[54]
2517 #define SWIGTYPE_p_wxFileType swig_types[55]
2518 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFrame swig_types[60]
2523 #define SWIGTYPE_p_wxGBSizerItem swig_types[61]
2524 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2525 #define SWIGTYPE_p_wxGridBagSizer swig_types[63]
2526 #define SWIGTYPE_p_wxGridSizer swig_types[64]
2527 #define SWIGTYPE_p_wxICOHandler swig_types[65]
2528 #define SWIGTYPE_p_wxIcon swig_types[66]
2529 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
2530 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
2531 #define SWIGTYPE_p_wxImage swig_types[69]
2532 #define SWIGTYPE_p_wxImageHandler swig_types[70]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxJoystick swig_types[74]
2537 #define SWIGTYPE_p_wxJoystickEvent swig_types[75]
2538 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
2539 #define SWIGTYPE_p_wxKillError swig_types[77]
2540 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2541 #define SWIGTYPE_p_wxLog swig_types[79]
2542 #define SWIGTYPE_p_wxLogBuffer swig_types[80]
2543 #define SWIGTYPE_p_wxLogChain swig_types[81]
2544 #define SWIGTYPE_p_wxLogGui swig_types[82]
2545 #define SWIGTYPE_p_wxLogNull swig_types[83]
2546 #define SWIGTYPE_p_wxLogStderr swig_types[84]
2547 #define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
2548 #define SWIGTYPE_p_wxLogWindow swig_types[86]
2549 #define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMemorySize swig_types[88]
2551 #define SWIGTYPE_p_wxMenu swig_types[89]
2552 #define SWIGTYPE_p_wxMenuBar swig_types[90]
2553 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMenuItem swig_types[92]
2555 #define SWIGTYPE_p_wxMetafile 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;
2814 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2817 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2818 return SWIG_TypeError
;
2821 *val
= (unsigned long)v
;
2826 SWIGINTERNINLINE PyObject
*
2827 SWIG_From_unsigned_SS_long (unsigned long value
)
2829 return (value
> LONG_MAX
) ?
2830 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2834 void* wxGetXDisplay()
2837 return wxGetDisplay();
2844 wxWindow
* FindWindowAtPointer() {
2846 return wxFindWindowAtPointer(unused
);
2850 bool wxThread_IsMain() {
2851 #ifdef WXP_WITH_THREAD
2852 return wxThread::IsMain();
2858 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2862 #include <wx/snglinst.h>
2866 #include <wx/msw/private.h>
2867 #include <wx/dynload.h>
2872 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2883 // This one only partially works. Appears to be an undocumented
2884 // "standard" convention that not all widgets adhear to. For
2885 // example, for some widgets backgrounds or non-client areas may
2887 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2892 // This one works much better, nearly all widgets and their
2893 // children are captured correctly[**]. Prior to the big
2894 // background erase changes that Vadim did in 2004-2005 this
2895 // method failed badly on XP with Themes activated, most native
2896 // widgets draw only partially, if at all. Without themes it
2897 // worked just like on Win2k. After those changes this method
2900 // ** For example the radio buttons in a wxRadioBox are not its
2901 // children by default, but you can capture it via the panel
2902 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2903 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2904 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2905 PRF_ERASEBKGND
| PRF_OWNED
);
2911 // This one is only defined in the latest SDK and is only
2912 // available on XP. MSDN says it is similar to sending WM_PRINT
2913 // so I expect that it will work similar to the above. Since it
2914 // is avaialble only on XP, it can't be compiled like this and
2915 // will have to be loaded dynamically.
2916 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2921 // Use PrintWindow if available, or fallback to WM_PRINT
2922 // otherwise. Unfortunately using PrintWindow is even worse than
2923 // WM_PRINT. For most native widgets nothing is drawn to the dc
2924 // at all, with or without Themes.
2925 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2926 static bool s_triedToLoad
= false;
2927 static PrintWindow_t pfnPrintWindow
= NULL
;
2928 if ( !s_triedToLoad
)
2931 s_triedToLoad
= true;
2932 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2933 if ( dllUser32
.IsLoaded() )
2935 wxLogNull nolog
; // Don't report errors here
2936 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2941 //printf("Using PrintWindow\n");
2942 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2946 //printf("Using WM_PRINT\n");
2947 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2948 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2949 PRF_ERASEBKGND
| PRF_OWNED
);
2960 #include <wx/tipdlg.h>
2963 SWIGINTERNINLINE PyObject
*
2964 SWIG_From_size_t (size_t value
)
2966 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2970 class wxPyTipProvider
: public wxTipProvider
{
2972 wxPyTipProvider(size_t currentTip
)
2973 : wxTipProvider(currentTip
) {}
2975 DEC_PYCALLBACK_STRING__pure(GetTip
);
2976 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2980 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2981 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2984 SWIGINTERNINLINE
int
2985 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2988 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2989 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2994 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2996 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2998 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2999 : wxTimer(owner
, id
)
3006 SWIGINTERN swig_type_info
*
3007 SWIG_pchar_descriptor()
3009 static int init
= 0;
3010 static swig_type_info
* info
= 0;
3012 info
= SWIG_TypeQuery("_p_char");
3019 SWIGINTERNINLINE PyObject
*
3020 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3023 if (size
> INT_MAX
) {
3024 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3025 return pchar_descriptor
?
3026 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3028 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3031 return SWIG_Py_Void();
3036 SWIGINTERNINLINE PyObject
*
3037 SWIG_FromCharPtr(const char *cptr
)
3039 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3044 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3047 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3048 if (SWIG_IsOK(res
)) {
3049 if ((v
> UINT_MAX
)) {
3050 return SWIG_OverflowError
;
3052 if (val
) *val
= static_cast< unsigned int >(v
);
3058 SWIGINTERN wxString
wxLog_TimeStamp(){
3060 wxLog::TimeStamp(&msg
);
3063 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3064 // Make some wrappers that double any % signs so they are 'escaped'
3065 void wxPyLogFatalError(const wxString
& msg
)
3068 m
.Replace(wxT("%"), wxT("%%"));
3072 void wxPyLogError(const wxString
& msg
)
3075 m
.Replace(wxT("%"), wxT("%%"));
3079 void wxPyLogWarning(const wxString
& msg
)
3082 m
.Replace(wxT("%"), wxT("%%"));
3086 void wxPyLogMessage(const wxString
& msg
)
3089 m
.Replace(wxT("%"), wxT("%%"));
3093 void wxPyLogInfo(const wxString
& msg
)
3096 m
.Replace(wxT("%"), wxT("%%"));
3100 void wxPyLogDebug(const wxString
& msg
)
3103 m
.Replace(wxT("%"), wxT("%%"));
3107 void wxPyLogVerbose(const wxString
& msg
)
3110 m
.Replace(wxT("%"), wxT("%%"));
3114 void wxPyLogStatus(const wxString
& msg
)
3117 m
.Replace(wxT("%"), wxT("%%"));
3121 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3124 m
.Replace(wxT("%"), wxT("%%"));
3125 wxLogStatus(pFrame
, m
);
3128 void wxPyLogSysError(const wxString
& msg
)
3131 m
.Replace(wxT("%"), wxT("%%"));
3135 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3138 m
.Replace(wxT("%"), wxT("%%"));
3139 wxLogGeneric(level
, m
);
3142 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3145 m
.Replace(wxT("%"), wxT("%%"));
3146 wxLogTrace(mask
, m
);
3149 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3152 m
.Replace(wxT("%"), wxT("%%"));
3153 wxLogTrace(mask
, m
);
3158 // A wxLog class that can be derived from in wxPython
3159 class wxPyLog
: public wxLog
{
3161 wxPyLog() : wxLog() {}
3163 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3165 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3166 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3167 PyObject
* s
= wx2PyString(szString
);
3168 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3171 wxPyEndBlockThreads(blocked
);
3173 wxLog::DoLog(level
, szString
, t
);
3176 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3179 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3180 PyObject
* s
= wx2PyString(szString
);
3181 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3184 wxPyEndBlockThreads(blocked
);
3186 wxLog::DoLogString(szString
, t
);
3189 DEC_PYCALLBACK_VOID_(Flush
);
3192 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3197 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3200 #include <wx/joystick.h>
3203 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3204 // A C++ stub class for wxJoystick for platforms that don't have it.
3205 class wxJoystick
: public wxObject
{
3207 wxJoystick(int joystick
= wxJOYSTICK1
) {
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 PyErr_SetString(PyExc_NotImplementedError
,
3210 "wxJoystick is not available on this platform.");
3211 wxPyEndBlockThreads(blocked
);
3213 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3214 int GetZPosition() { return -1; }
3215 int GetButtonState() { return -1; }
3216 int GetPOVPosition() { return -1; }
3217 int GetPOVCTSPosition() { return -1; }
3218 int GetRudderPosition() { return -1; }
3219 int GetUPosition() { return -1; }
3220 int GetVPosition() { return -1; }
3221 int GetMovementThreshold() { return -1; }
3222 void SetMovementThreshold(int threshold
) {}
3224 bool IsOk(void) { return false; }
3225 int GetNumberJoysticks() { return -1; }
3226 int GetManufacturerId() { return -1; }
3227 int GetProductId() { return -1; }
3228 wxString
GetProductName() { return wxEmptyString
; }
3229 int GetXMin() { return -1; }
3230 int GetYMin() { return -1; }
3231 int GetZMin() { return -1; }
3232 int GetXMax() { return -1; }
3233 int GetYMax() { return -1; }
3234 int GetZMax() { return -1; }
3235 int GetNumberButtons() { return -1; }
3236 int GetNumberAxes() { return -1; }
3237 int GetMaxButtons() { return -1; }
3238 int GetMaxAxes() { return -1; }
3239 int GetPollingMin() { return -1; }
3240 int GetPollingMax() { return -1; }
3241 int GetRudderMin() { return -1; }
3242 int GetRudderMax() { return -1; }
3243 int GetUMin() { return -1; }
3244 int GetUMax() { return -1; }
3245 int GetVMin() { return -1; }
3246 int GetVMax() { return -1; }
3248 bool HasRudder() { return false; }
3249 bool HasZ() { return false; }
3250 bool HasU() { return false; }
3251 bool HasV() { return false; }
3252 bool HasPOV() { return false; }
3253 bool HasPOV4Dir() { return false; }
3254 bool HasPOVCTS() { return false; }
3256 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3257 bool ReleaseCapture() { return false; }
3262 #include <wx/sound.h>
3266 // A C++ stub class for wxWave for platforms that don't have it.
3267 class wxSound
: public wxObject
3271 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3272 PyErr_SetString(PyExc_NotImplementedError
,
3273 "wxSound is not available on this platform.");
3274 wxPyEndBlockThreads(blocked
);
3276 wxSound(const wxString
&/*, bool*/) {
3277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3278 PyErr_SetString(PyExc_NotImplementedError
,
3279 "wxSound is not available on this platform.");
3280 wxPyEndBlockThreads(blocked
);
3282 wxSound(int, const wxByte
*) {
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 PyErr_SetString(PyExc_NotImplementedError
,
3285 "wxSound is not available on this platform.");
3286 wxPyEndBlockThreads(blocked
);
3291 bool Create(const wxString
&/*, bool*/) { return false; }
3292 bool Create(int, const wxByte
*) { return false; };
3293 bool IsOk() { return false; };
3294 bool Play(unsigned) const { return false; }
3295 static bool Play(const wxString
&, unsigned) { return false; }
3296 static void Stop() {}
3301 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3302 if (fileName
.Length() == 0)
3305 return new wxSound(fileName
);
3307 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3308 unsigned char* buffer
; int size
;
3309 wxSound
*sound
= NULL
;
3311 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3312 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3314 sound
= new wxSound(size
, buffer
);
3316 wxPyEndBlockThreads(blocked
);
3319 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3321 unsigned char* buffer
;
3325 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3326 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3328 rv
= self
->Create(size
, buffer
);
3330 wxPyEndBlockThreads(blocked
);
3333 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3334 PyErr_SetString(PyExc_NotImplementedError
,
3335 "Create from data is not available on this platform.");
3336 wxPyEndBlockThreads(blocked
);
3341 #include <wx/mimetype.h>
3343 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3345 if (self
->GetMimeType(&str
))
3346 return wx2PyString(str
);
3350 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3352 if (self
->GetMimeTypes(arr
))
3353 return wxArrayString2PyList_helper(arr
);
3357 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3359 if (self
->GetExtensions(arr
))
3360 return wxArrayString2PyList_helper(arr
);
3364 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3366 if (self
->GetIcon(&loc
))
3367 return new wxIcon(loc
);
3371 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3373 if (self
->GetIcon(&loc
)) {
3374 wxString iconFile
= loc
.GetFileName();
3377 iconIndex
= loc
.GetIndex();
3379 // Make a tuple and put the values in it
3380 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3381 PyObject
* tuple
= PyTuple_New(3);
3382 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3383 wxT("wxIcon"), true));
3384 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3385 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3386 wxPyEndBlockThreads(blocked
);
3392 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3394 if (self
->GetDescription(&str
))
3395 return wx2PyString(str
);
3399 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3401 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3402 return wx2PyString(str
);
3406 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3408 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3409 return wx2PyString(str
);
3413 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3414 wxArrayString verbs
;
3415 wxArrayString commands
;
3416 if (self
->GetAllCommands(&verbs
, &commands
,
3417 wxFileType::MessageParameters(filename
, mimetype
))) {
3418 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3419 PyObject
* tuple
= PyTuple_New(2);
3420 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3421 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3422 wxPyEndBlockThreads(blocked
);
3428 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3429 return wxFileType::ExpandCommand(command
,
3430 wxFileType::MessageParameters(filename
, mimetype
));
3432 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3434 self
->EnumAllFileTypes(arr
);
3435 return wxArrayString2PyList_helper(arr
);
3438 #include <wx/artprov.h>
3440 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3441 static const wxString
wxPyART_MENU(wxART_MENU
);
3442 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3443 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3444 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3445 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3446 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3447 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3448 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3449 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3450 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3451 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3452 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3453 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3454 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3455 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3456 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3457 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3458 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3459 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3460 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3461 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3462 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3463 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3464 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3465 static const wxString
wxPyART_HELP(wxART_HELP
);
3466 static const wxString
wxPyART_TIP(wxART_TIP
);
3467 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3468 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3469 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3470 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3471 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3472 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3473 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3474 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3475 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3476 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3477 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3478 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3479 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3480 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3481 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3482 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3483 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3484 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3485 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3486 static const wxString
wxPyART_COPY(wxART_COPY
);
3487 static const wxString
wxPyART_CUT(wxART_CUT
);
3488 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3489 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3490 static const wxString
wxPyART_NEW(wxART_NEW
);
3491 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3492 static const wxString
wxPyART_REDO(wxART_REDO
);
3493 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3494 static const wxString
wxPyART_FIND(wxART_FIND
);
3495 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3496 // Python aware wxArtProvider
3497 class wxPyArtProvider
: public wxArtProvider
{
3500 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3501 const wxArtClient
& client
,
3502 const wxSize
& size
) {
3503 wxBitmap rval
= wxNullBitmap
;
3504 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3505 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3506 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3510 s1
= wx2PyString(id
);
3511 s2
= wx2PyString(client
);
3512 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3517 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3522 wxPyEndBlockThreads(blocked
);
3529 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3533 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3534 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3535 PyObject
* ret
= PyTuple_New(3);
3537 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3538 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3539 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3541 wxPyEndBlockThreads(blocked
);
3545 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3550 cont
= self
->GetFirstGroup(value
, index
);
3551 return __EnumerationHelper(cont
, value
, index
);
3553 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3557 cont
= self
->GetNextGroup(value
, index
);
3558 return __EnumerationHelper(cont
, value
, index
);
3560 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3565 cont
= self
->GetFirstEntry(value
, index
);
3566 return __EnumerationHelper(cont
, value
, index
);
3568 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3572 cont
= self
->GetNextEntry(value
, index
);
3573 return __EnumerationHelper(cont
, value
, index
);
3575 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3577 self
->Read(key
, &rv
, defaultVal
);
3582 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3584 if (PyNumber_Check(obj
)) {
3585 if (val
) *val
= PyFloat_AsDouble(obj
);
3588 return SWIG_TypeError
;
3591 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3593 self
->Read(key
, &rv
, defaultVal
);
3597 #define SWIG_From_double PyFloat_FromDouble
3599 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3601 self
->Read(key
, &rv
, defaultVal
);
3605 #include <wx/datetime.h>
3607 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3608 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3610 #define LOCAL_TZ wxDateTime::Local
3612 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3615 wxDateTime::GetAmPmStrings(&am
, &pm
);
3616 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3617 PyObject
* tup
= PyTuple_New(2);
3618 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3619 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3620 wxPyEndBlockThreads(blocked
);
3624 SWIGINTERNINLINE PyObject
*
3625 SWIG_From_unsigned_SS_int (unsigned int value
)
3627 return SWIG_From_unsigned_SS_long (value
);
3630 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3631 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3632 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3633 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3634 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3635 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3636 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3637 return (*self
< *other
);
3639 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3640 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3641 return (*self
<= *other
);
3643 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3644 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3645 return (*self
> *other
);
3647 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3648 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3649 return (*self
>= *other
);
3651 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3652 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3653 return (*self
== *other
);
3655 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3656 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3657 return (*self
!= *other
);
3659 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3661 const wxChar
* _date
= date
;
3662 rv
= self
->ParseRfc822Date(_date
);
3663 if (rv
== NULL
) return -1;
3666 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3668 const wxChar
* _date
= date
;
3669 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3670 if (rv
== NULL
) return -1;
3673 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3675 const wxChar
* _datetime
= datetime
;
3676 rv
= self
->ParseDateTime(_datetime
);
3677 if (rv
== NULL
) return -1;
3678 return rv
- _datetime
;
3680 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3682 const wxChar
* _date
= date
;
3683 rv
= self
->ParseDate(_date
);
3684 if (rv
== NULL
) return -1;
3687 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3689 const wxChar
* _time
= time
;
3690 rv
= self
->ParseTime(_time
);
3691 if (rv
== NULL
) return -1;
3694 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3695 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3696 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3697 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3698 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3699 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3700 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3701 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3702 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3703 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3704 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3705 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3706 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3707 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3708 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3709 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3711 #include <wx/dataobj.h>
3713 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3714 size_t count
= self
->GetFormatCount(dir
);
3715 wxDataFormat
* formats
= new wxDataFormat
[count
];
3716 self
->GetAllFormats(formats
, dir
);
3718 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3719 PyObject
* list
= PyList_New(count
);
3720 for (size_t i
=0; i
<count
; i
++) {
3721 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3722 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3723 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3725 wxPyEndBlockThreads(blocked
);
3729 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3730 PyObject
* rval
= NULL
;
3731 size_t size
= self
->GetDataSize(format
);
3732 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3734 char* buf
= new char[size
];
3735 if (self
->GetDataHere(format
, buf
))
3736 rval
= PyString_FromStringAndSize(buf
, size
);
3743 wxPyEndBlockThreads(blocked
);
3746 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3748 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3749 if (PyString_Check(data
)) {
3750 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3753 // raise a TypeError if not a string
3754 PyErr_SetString(PyExc_TypeError
, "String expected.");
3757 wxPyEndBlockThreads(blocked
);
3760 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3761 PyObject
* rval
= NULL
;
3762 size_t size
= self
->GetDataSize();
3763 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3765 char* buf
= new char[size
];
3766 if (self
->GetDataHere(buf
))
3767 rval
= PyString_FromStringAndSize(buf
, size
);
3774 wxPyEndBlockThreads(blocked
);
3777 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3779 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3780 if (PyString_Check(data
)) {
3781 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3784 // raise a TypeError if not a string
3785 PyErr_SetString(PyExc_TypeError
, "String expected.");
3788 wxPyEndBlockThreads(blocked
);
3791 // Create a new class for wxPython to use
3792 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3794 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3795 : wxDataObjectSimple(format
) {}
3797 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3798 bool GetDataHere(void *buf
) const;
3799 bool SetData(size_t len
, const void *buf
) const;
3803 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3805 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3806 // We need to get the data for this object and write it to buf. I think
3807 // the best way to do this for wxPython is to have the Python method
3808 // return either a string or None and then act appropriately with the
3812 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3813 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3815 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3817 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3819 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3823 wxPyEndBlockThreads(blocked
);
3827 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3828 // For this one we simply need to make a string from buf and len
3829 // and send it to the Python method.
3831 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3832 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3833 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3834 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3837 wxPyEndBlockThreads(blocked
);
3841 // Create a new class for wxPython to use
3842 class wxPyTextDataObject
: public wxTextDataObject
{
3844 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3845 : wxTextDataObject(text
) {}
3847 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3848 DEC_PYCALLBACK_STRING__const(GetText
);
3849 DEC_PYCALLBACK__STRING(SetText
);
3853 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3854 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3855 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3858 // Create a new class for wxPython to use
3859 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3861 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3862 : wxBitmapDataObject(bitmap
) {}
3864 wxBitmap
GetBitmap() const;
3865 void SetBitmap(const wxBitmap
& bitmap
);
3869 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3870 wxBitmap
* rval
= &wxNullBitmap
;
3871 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3872 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3875 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3877 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3882 wxPyEndBlockThreads(blocked
);
3886 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3888 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3889 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3890 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3893 wxPyEndBlockThreads(blocked
);
3896 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3897 return new wxCustomDataObject(wxDataFormat(formatName
));
3899 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3901 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3902 if (PyString_Check(data
)) {
3903 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3906 // raise a TypeError if not a string
3907 PyErr_SetString(PyExc_TypeError
, "String expected.");
3910 wxPyEndBlockThreads(blocked
);
3913 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3915 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3916 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3917 wxPyEndBlockThreads(blocked
);
3921 #include <wx/metafile.h>
3924 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3927 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3928 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3929 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3930 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3931 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3934 class wxPyTextDropTarget
: public wxTextDropTarget
{
3936 wxPyTextDropTarget() {}
3938 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3940 DEC_PYCALLBACK__(OnLeave
);
3941 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3942 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3943 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3944 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3949 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3950 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3951 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3952 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3953 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3954 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3958 class wxPyFileDropTarget
: public wxFileDropTarget
{
3960 wxPyFileDropTarget() {}
3962 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3964 DEC_PYCALLBACK__(OnLeave
);
3965 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3966 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3967 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3968 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3973 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3974 const wxArrayString
& filenames
) {
3976 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3977 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3978 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3979 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3982 wxPyEndBlockThreads(blocked
);
3988 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3989 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3990 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3991 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3992 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3997 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3999 #include <wx/display.h>
4001 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4002 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4005 const wxVideoMode wxDefaultVideoMode
;
4008 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4010 PyObject
* pyList
= NULL
;
4011 wxArrayVideoModes arr
= self
->GetModes(mode
);
4012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4013 pyList
= PyList_New(0);
4014 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4016 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4017 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4018 PyList_Append(pyList
, pyObj
);
4021 wxPyEndBlockThreads(blocked
);
4024 wxPyRaiseNotImplemented();
4028 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4030 return self
->GetCurrentMode();
4032 wxPyRaiseNotImplemented();
4033 return wxDefaultVideoMode
;
4036 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4038 return self
->ChangeMode(mode
);
4040 wxPyRaiseNotImplemented();
4044 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4048 wxPyRaiseNotImplemented();
4052 #include <wx/stdpaths.h>
4054 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4055 return (wxStandardPaths
*) &wxStandardPaths::Get();
4057 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4058 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4062 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
= 0;
4064 wxSystemColour arg1
;
4068 PyObject
* obj0
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "index", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4074 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4075 if (!SWIG_IsOK(ecode1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4078 arg1
= static_cast< wxSystemColour
>(val1
);
4080 if (!wxPyCheckForApp()) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= wxSystemSettings::GetColour(arg1
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4093 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
= 0;
4099 PyObject
* obj0
= 0 ;
4100 char * kwnames
[] = {
4101 (char *) "index", NULL
4104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4106 if (!SWIG_IsOK(ecode1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4109 arg1
= static_cast< wxSystemFont
>(val1
);
4111 if (!wxPyCheckForApp()) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= wxSystemSettings::GetFont(arg1
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
= 0;
4126 wxSystemMetric arg1
;
4127 wxWindow
*arg2
= (wxWindow
*) NULL
;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4135 char * kwnames
[] = {
4136 (char *) "index",(char *) "win", NULL
4139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4140 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4141 if (!SWIG_IsOK(ecode1
)) {
4142 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4144 arg1
= static_cast< wxSystemMetric
>(val1
);
4146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4147 if (!SWIG_IsOK(res2
)) {
4148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4150 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4153 if (!wxPyCheckForApp()) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= SWIG_From_int(static_cast< int >(result
));
4166 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
= 0;
4168 wxSystemFeature arg1
;
4172 PyObject
* obj0
= 0 ;
4173 char * kwnames
[] = {
4174 (char *) "index", NULL
4177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4179 if (!SWIG_IsOK(ecode1
)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4182 arg1
= static_cast< wxSystemFeature
>(val1
);
4184 if (!wxPyCheckForApp()) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4199 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4200 PyObject
*resultobj
= 0;
4201 wxSystemScreenType result
;
4203 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4205 if (!wxPyCheckForApp()) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_From_int(static_cast< int >(result
));
4218 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
= 0;
4220 wxSystemScreenType arg1
;
4223 PyObject
* obj0
= 0 ;
4224 char * kwnames
[] = {
4225 (char *) "screen", NULL
4228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4230 if (!SWIG_IsOK(ecode1
)) {
4231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4233 arg1
= static_cast< wxSystemScreenType
>(val1
);
4235 if (!wxPyCheckForApp()) SWIG_fail
;
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 wxSystemSettings::SetScreenType(arg1
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= SWIG_Py_Void();
4248 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4251 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4252 return SWIG_Py_Void();
4255 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4256 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4261 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4262 PyObject
*pyobj
= 0;
4266 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4268 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4275 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4276 PyObject
*resultobj
= 0;
4277 wxSystemOptions
*result
= 0 ;
4279 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= (wxSystemOptions
*)new wxSystemOptions();
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4293 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
= 0;
4295 wxString
*arg1
= 0 ;
4296 wxString
*arg2
= 0 ;
4297 bool temp1
= false ;
4298 bool temp2
= false ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4301 char * kwnames
[] = {
4302 (char *) "name",(char *) "value", NULL
4305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4307 arg1
= wxString_in_helper(obj0
);
4308 if (arg1
== NULL
) SWIG_fail
;
4312 arg2
= wxString_in_helper(obj1
);
4313 if (arg2
== NULL
) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxString
*arg1
= 0 ;
4349 bool temp1
= false ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "name",(char *) "value", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 arg1
= wxString_in_helper(obj0
);
4361 if (arg1
== NULL
) SWIG_fail
;
4364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4365 if (!SWIG_IsOK(ecode2
)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4368 arg2
= static_cast< int >(val2
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_Py_Void();
4390 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxString
*arg1
= 0 ;
4394 bool temp1
= false ;
4395 PyObject
* obj0
= 0 ;
4396 char * kwnames
[] = {
4397 (char *) "name", NULL
4400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4402 arg1
= wxString_in_helper(obj0
);
4403 if (arg1
== NULL
) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4433 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
= 0;
4435 wxString
*arg1
= 0 ;
4437 bool temp1
= false ;
4438 PyObject
* obj0
= 0 ;
4439 char * kwnames
[] = {
4440 (char *) "name", NULL
4443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4445 arg1
= wxString_in_helper(obj0
);
4446 if (arg1
== NULL
) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= SWIG_From_int(static_cast< int >(result
));
4470 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
= 0;
4472 wxString
*arg1
= 0 ;
4474 bool temp1
= false ;
4475 PyObject
* obj0
= 0 ;
4476 char * kwnames
[] = {
4477 (char *) "name", NULL
4480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4482 arg1
= wxString_in_helper(obj0
);
4483 if (arg1
== NULL
) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4509 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
= 0;
4511 wxString
*arg1
= 0 ;
4513 bool temp1
= false ;
4514 PyObject
* obj0
= 0 ;
4515 char * kwnames
[] = {
4516 (char *) "name", NULL
4519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4521 arg1
= wxString_in_helper(obj0
);
4522 if (arg1
== NULL
) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4548 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4551 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4552 return SWIG_Py_Void();
4555 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4556 return SWIG_Python_InitShadowInstance(args
);
4559 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4560 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4565 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4566 PyObject
*pyobj
= 0;
4570 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4572 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4579 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4580 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4585 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4586 PyObject
*pyobj
= 0;
4590 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4592 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4599 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4600 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4605 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4606 PyObject
*pyobj
= 0;
4610 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4612 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4619 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4623 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (long)wxNewId();
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_long(static_cast< long >(result
));
4637 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
= 0;
4642 PyObject
* obj0
= 0 ;
4643 char * kwnames
[] = {
4647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4648 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4649 if (!SWIG_IsOK(ecode1
)) {
4650 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4652 arg1
= static_cast< long >(val1
);
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= SWIG_Py_Void();
4666 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4667 PyObject
*resultobj
= 0;
4670 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (long)wxGetCurrentId();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_From_long(static_cast< long >(result
));
4684 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
= 0;
4690 PyObject
* obj0
= 0 ;
4691 char * kwnames
[] = {
4695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4696 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4697 if (!SWIG_IsOK(ecode1
)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4700 arg1
= static_cast< int >(val1
);
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= (bool)wxIsStockID(arg1
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4716 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
= 0;
4719 wxString
*arg2
= 0 ;
4723 bool temp2
= false ;
4724 PyObject
* obj0
= 0 ;
4725 PyObject
* obj1
= 0 ;
4726 char * kwnames
[] = {
4727 (char *) "id",(char *) "label", NULL
4730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4732 if (!SWIG_IsOK(ecode1
)) {
4733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4735 arg1
= static_cast< int >(val1
);
4737 arg2
= wxString_in_helper(obj1
);
4738 if (arg2
== NULL
) SWIG_fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4764 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
= 0;
4767 bool arg2
= (bool) true ;
4768 wxString arg3
= (wxString
) wxPyEmptyString
;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 PyObject
* obj2
= 0 ;
4777 char * kwnames
[] = {
4778 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4783 if (!SWIG_IsOK(ecode1
)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4786 arg1
= static_cast< int >(val1
);
4788 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4789 if (!SWIG_IsOK(ecode2
)) {
4790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4792 arg2
= static_cast< bool >(val2
);
4796 wxString
* sptr
= wxString_in_helper(obj2
);
4797 if (sptr
== NULL
) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4821 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4822 PyObject
*resultobj
= 0;
4824 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4826 if (!wxPyCheckForApp()) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_Py_Void();
4839 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4840 PyObject
*resultobj
= 0;
4842 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4844 if (!wxPyCheckForApp()) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_Py_Void();
4857 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4859 bool arg1
= (bool) true ;
4863 PyObject
* obj0
= 0 ;
4864 char * kwnames
[] = {
4865 (char *) "resetTimer", NULL
4868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4870 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4871 if (!SWIG_IsOK(ecode1
)) {
4872 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4874 arg1
= static_cast< bool >(val1
);
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (long)wxGetElapsedTime(arg1
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_From_long(static_cast< long >(result
));
4889 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4890 PyObject
*resultobj
= 0;
4893 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (bool)wxIsBusy();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4909 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4910 PyObject
*resultobj
= 0;
4913 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4933 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
= 0;
4935 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4936 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4938 bool temp1
= false ;
4939 PyObject
* obj0
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "command", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4947 arg1
= wxString_in_helper(obj0
);
4948 if (arg1
== NULL
) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (bool)wxShell((wxString
const &)*arg1
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4975 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4976 PyObject
*resultobj
= 0;
4978 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 resultobj
= SWIG_Py_Void();
4992 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4994 int *arg1
= (int *) 0 ;
4995 int *arg2
= (int *) 0 ;
4998 int res1
= SWIG_TMPOBJ
;
5000 int res2
= SWIG_TMPOBJ
;
5004 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (int)wxGetOsVersion(arg1
,arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_From_int(static_cast< int >(result
));
5012 if (SWIG_IsTmpObj(res1
)) {
5013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5015 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5018 if (SWIG_IsTmpObj(res2
)) {
5019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5021 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5030 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5031 PyObject
*resultobj
= 0;
5034 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= wxGetOsDescription();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5054 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 PyObject
*resultobj
= 0;
5056 wxMemorySize result
;
5058 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= wxGetFreeMemory();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5072 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
= 0;
5074 wxShutdownFlags arg1
;
5078 PyObject
* obj0
= 0 ;
5079 char * kwnames
[] = {
5080 (char *) "wFlags", NULL
5083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5085 if (!SWIG_IsOK(ecode1
)) {
5086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5088 arg1
= static_cast< wxShutdownFlags
>(val1
);
5090 if (!wxPyCheckForApp()) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= (bool)wxShutdown(arg1
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5105 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
= 0;
5110 PyObject
* obj0
= 0 ;
5111 char * kwnames
[] = {
5112 (char *) "secs", NULL
5115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5117 if (!SWIG_IsOK(ecode1
)) {
5118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5120 arg1
= static_cast< int >(val1
);
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_Py_Void();
5134 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
= 0;
5136 unsigned long arg1
;
5137 unsigned long val1
;
5139 PyObject
* obj0
= 0 ;
5140 char * kwnames
[] = {
5141 (char *) "milliseconds", NULL
5144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5145 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5146 if (!SWIG_IsOK(ecode1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5149 arg1
= static_cast< unsigned long >(val1
);
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_Py_Void();
5163 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
= 0;
5165 unsigned long arg1
;
5166 unsigned long val1
;
5168 PyObject
* obj0
= 0 ;
5169 char * kwnames
[] = {
5170 (char *) "microseconds", NULL
5173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5174 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5175 if (!SWIG_IsOK(ecode1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5178 arg1
= static_cast< unsigned long >(val1
);
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_Py_Void();
5192 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
= 0;
5197 PyObject
* obj0
= 0 ;
5198 char * kwnames
[] = {
5199 (char *) "enable", NULL
5202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5203 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5204 if (!SWIG_IsOK(ecode1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5207 arg1
= static_cast< bool >(val1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 wxEnableTopLevelWindows(arg1
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_Py_Void();
5221 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5223 wxString
*arg1
= 0 ;
5225 bool temp1
= false ;
5226 PyObject
* obj0
= 0 ;
5227 char * kwnames
[] = {
5231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5233 arg1
= wxString_in_helper(obj0
);
5234 if (arg1
== NULL
) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5264 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5265 PyObject
*resultobj
= 0;
5268 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= wxGetEmailAddress();
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5288 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5289 PyObject
*resultobj
= 0;
5292 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= wxGetHostName();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5312 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5313 PyObject
*resultobj
= 0;
5316 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= wxGetFullHostName();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5336 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5340 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= wxGetUserId();
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5360 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5361 PyObject
*resultobj
= 0;
5364 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= wxGetUserName();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5384 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5385 PyObject
*resultobj
= 0;
5388 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= wxGetHomeDir();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5408 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
= 0;
5410 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5411 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5413 bool temp1
= false ;
5414 PyObject
* obj0
= 0 ;
5415 char * kwnames
[] = {
5416 (char *) "user", NULL
5419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5422 arg1
= wxString_in_helper(obj0
);
5423 if (arg1
== NULL
) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 result
= wxGetUserHome((wxString
const &)*arg1
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5454 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5455 PyObject
*resultobj
= 0;
5456 unsigned long result
;
5458 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (unsigned long)wxGetProcessId();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5472 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5473 PyObject
*resultobj
= 0;
5475 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_Py_Void();
5489 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
= 0;
5491 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5492 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5493 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5494 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5495 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5496 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5497 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5498 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5499 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5500 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5501 int arg6
= (int) 0 ;
5502 wxWindow
*arg7
= (wxWindow
*) NULL
;
5503 int arg8
= (int) -1 ;
5504 int arg9
= (int) -1 ;
5506 bool temp1
= false ;
5507 bool temp2
= false ;
5508 bool temp3
= false ;
5509 bool temp4
= false ;
5510 bool temp5
= false ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 PyObject
* obj2
= 0 ;
5522 PyObject
* obj3
= 0 ;
5523 PyObject
* obj4
= 0 ;
5524 PyObject
* obj5
= 0 ;
5525 PyObject
* obj6
= 0 ;
5526 PyObject
* obj7
= 0 ;
5527 PyObject
* obj8
= 0 ;
5528 char * kwnames
[] = {
5529 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5535 arg1
= wxString_in_helper(obj0
);
5536 if (arg1
== NULL
) SWIG_fail
;
5542 arg2
= wxString_in_helper(obj1
);
5543 if (arg2
== NULL
) SWIG_fail
;
5549 arg3
= wxString_in_helper(obj2
);
5550 if (arg3
== NULL
) SWIG_fail
;
5556 arg4
= wxString_in_helper(obj3
);
5557 if (arg4
== NULL
) SWIG_fail
;
5563 arg5
= wxString_in_helper(obj4
);
5564 if (arg5
== NULL
) SWIG_fail
;
5569 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5570 if (!SWIG_IsOK(ecode6
)) {
5571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5573 arg6
= static_cast< int >(val6
);
5576 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5577 if (!SWIG_IsOK(res7
)) {
5578 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5580 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5583 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5584 if (!SWIG_IsOK(ecode8
)) {
5585 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5587 arg8
= static_cast< int >(val8
);
5590 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5591 if (!SWIG_IsOK(ecode9
)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5594 arg9
= static_cast< int >(val9
);
5597 if (!wxPyCheckForApp()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5656 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxString
*arg1
= 0 ;
5659 wxString
*arg2
= 0 ;
5660 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5661 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5662 wxWindow
*arg4
= (wxWindow
*) NULL
;
5664 bool temp1
= false ;
5665 bool temp2
= false ;
5666 bool temp3
= false ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5672 PyObject
* obj3
= 0 ;
5673 char * kwnames
[] = {
5674 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5679 arg1
= wxString_in_helper(obj0
);
5680 if (arg1
== NULL
) SWIG_fail
;
5684 arg2
= wxString_in_helper(obj1
);
5685 if (arg2
== NULL
) SWIG_fail
;
5690 arg3
= wxString_in_helper(obj2
);
5691 if (arg3
== NULL
) SWIG_fail
;
5696 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5697 if (!SWIG_IsOK(res4
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5700 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5703 if (!wxPyCheckForApp()) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5746 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
= 0;
5748 wxString
*arg1
= 0 ;
5749 wxString
*arg2
= 0 ;
5750 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5751 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5752 wxWindow
*arg4
= (wxWindow
*) NULL
;
5754 bool temp1
= false ;
5755 bool temp2
= false ;
5756 bool temp3
= false ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5761 PyObject
* obj2
= 0 ;
5762 PyObject
* obj3
= 0 ;
5763 char * kwnames
[] = {
5764 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5769 arg1
= wxString_in_helper(obj0
);
5770 if (arg1
== NULL
) SWIG_fail
;
5774 arg2
= wxString_in_helper(obj1
);
5775 if (arg2
== NULL
) SWIG_fail
;
5780 arg3
= wxString_in_helper(obj2
);
5781 if (arg3
== NULL
) SWIG_fail
;
5786 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5787 if (!SWIG_IsOK(res4
)) {
5788 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5790 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5793 if (!wxPyCheckForApp()) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5836 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
= 0;
5838 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5839 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5840 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5841 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5842 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5845 wxWindow
*arg5
= (wxWindow
*) NULL
;
5847 bool temp1
= false ;
5848 bool temp2
= false ;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5856 PyObject
* obj2
= 0 ;
5857 PyObject
* obj3
= 0 ;
5858 PyObject
* obj4
= 0 ;
5859 char * kwnames
[] = {
5860 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5866 arg1
= wxString_in_helper(obj0
);
5867 if (arg1
== NULL
) SWIG_fail
;
5873 arg2
= wxString_in_helper(obj1
);
5874 if (arg2
== NULL
) SWIG_fail
;
5879 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5880 if (!SWIG_IsOK(ecode3
)) {
5881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5883 arg3
= static_cast< long >(val3
);
5888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5892 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5893 if (!SWIG_IsOK(res5
)) {
5894 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5896 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5899 if (!wxPyCheckForApp()) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5934 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
= 0;
5936 wxString
*arg1
= 0 ;
5937 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5938 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5941 wxWindow
*arg4
= (wxWindow
*) NULL
;
5942 int arg5
= (int) -1 ;
5943 int arg6
= (int) -1 ;
5944 bool arg7
= (bool) true ;
5946 bool temp1
= false ;
5947 bool temp2
= false ;
5948 bool temp3
= false ;
5957 PyObject
* obj0
= 0 ;
5958 PyObject
* obj1
= 0 ;
5959 PyObject
* obj2
= 0 ;
5960 PyObject
* obj3
= 0 ;
5961 PyObject
* obj4
= 0 ;
5962 PyObject
* obj5
= 0 ;
5963 PyObject
* obj6
= 0 ;
5964 char * kwnames
[] = {
5965 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5970 arg1
= wxString_in_helper(obj0
);
5971 if (arg1
== NULL
) SWIG_fail
;
5976 arg2
= wxString_in_helper(obj1
);
5977 if (arg2
== NULL
) SWIG_fail
;
5983 arg3
= wxString_in_helper(obj2
);
5984 if (arg3
== NULL
) SWIG_fail
;
5989 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5990 if (!SWIG_IsOK(res4
)) {
5991 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
5993 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
5997 if (!SWIG_IsOK(ecode5
)) {
5998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6000 arg5
= static_cast< int >(val5
);
6003 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6004 if (!SWIG_IsOK(ecode6
)) {
6005 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6007 arg6
= static_cast< int >(val6
);
6010 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6011 if (!SWIG_IsOK(ecode7
)) {
6012 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6014 arg7
= static_cast< bool >(val7
);
6017 if (!wxPyCheckForApp()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6060 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
= 0;
6062 wxString
*arg1
= 0 ;
6063 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6064 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6067 wxWindow
*arg4
= (wxWindow
*) NULL
;
6069 bool temp1
= false ;
6070 bool temp2
= false ;
6071 bool temp3
= false ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 PyObject
* obj2
= 0 ;
6077 PyObject
* obj3
= 0 ;
6078 char * kwnames
[] = {
6079 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6084 arg1
= wxString_in_helper(obj0
);
6085 if (arg1
== NULL
) SWIG_fail
;
6090 arg2
= wxString_in_helper(obj1
);
6091 if (arg2
== NULL
) SWIG_fail
;
6097 arg3
= wxString_in_helper(obj2
);
6098 if (arg3
== NULL
) SWIG_fail
;
6103 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6104 if (!SWIG_IsOK(res4
)) {
6105 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6107 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6110 if (!wxPyCheckForApp()) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6153 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
= 0;
6155 wxString
*arg1
= 0 ;
6156 wxString
*arg2
= 0 ;
6158 wxString
*arg4
= (wxString
*) 0 ;
6159 wxWindow
*arg5
= (wxWindow
*) NULL
;
6160 int arg6
= (int) -1 ;
6161 int arg7
= (int) -1 ;
6162 bool arg8
= (bool) true ;
6163 int arg9
= (int) 150 ;
6164 int arg10
= (int) 200 ;
6166 bool temp1
= false ;
6167 bool temp2
= false ;
6180 PyObject
* obj0
= 0 ;
6181 PyObject
* obj1
= 0 ;
6182 PyObject
* obj2
= 0 ;
6183 PyObject
* obj3
= 0 ;
6184 PyObject
* obj4
= 0 ;
6185 PyObject
* obj5
= 0 ;
6186 PyObject
* obj6
= 0 ;
6187 PyObject
* obj7
= 0 ;
6188 PyObject
* obj8
= 0 ;
6189 char * kwnames
[] = {
6190 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6195 arg1
= wxString_in_helper(obj0
);
6196 if (arg1
== NULL
) SWIG_fail
;
6200 arg2
= wxString_in_helper(obj1
);
6201 if (arg2
== NULL
) SWIG_fail
;
6205 arg3
= PyList_Size(obj2
);
6206 arg4
= wxString_LIST_helper(obj2
);
6207 if (arg4
== NULL
) SWIG_fail
;
6210 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6211 if (!SWIG_IsOK(res5
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6214 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6217 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6218 if (!SWIG_IsOK(ecode6
)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6221 arg6
= static_cast< int >(val6
);
6224 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6225 if (!SWIG_IsOK(ecode7
)) {
6226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6228 arg7
= static_cast< int >(val7
);
6231 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6232 if (!SWIG_IsOK(ecode8
)) {
6233 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6235 arg8
= static_cast< bool >(val8
);
6238 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6239 if (!SWIG_IsOK(ecode9
)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6242 arg9
= static_cast< int >(val9
);
6245 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6246 if (!SWIG_IsOK(ecode10
)) {
6247 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6249 arg10
= static_cast< int >(val10
);
6252 if (!wxPyCheckForApp()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6274 if (arg4
) delete [] arg4
;
6287 if (arg4
) delete [] arg4
;
6293 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
= 0;
6295 wxString
*arg1
= 0 ;
6296 wxString
*arg2
= 0 ;
6298 wxString
*arg4
= (wxString
*) 0 ;
6299 wxWindow
*arg5
= (wxWindow
*) NULL
;
6300 int arg6
= (int) -1 ;
6301 int arg7
= (int) -1 ;
6302 bool arg8
= (bool) true ;
6303 int arg9
= (int) 150 ;
6304 int arg10
= (int) 200 ;
6306 bool temp1
= false ;
6307 bool temp2
= false ;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6322 PyObject
* obj2
= 0 ;
6323 PyObject
* obj3
= 0 ;
6324 PyObject
* obj4
= 0 ;
6325 PyObject
* obj5
= 0 ;
6326 PyObject
* obj6
= 0 ;
6327 PyObject
* obj7
= 0 ;
6328 PyObject
* obj8
= 0 ;
6329 char * kwnames
[] = {
6330 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6335 arg1
= wxString_in_helper(obj0
);
6336 if (arg1
== NULL
) SWIG_fail
;
6340 arg2
= wxString_in_helper(obj1
);
6341 if (arg2
== NULL
) SWIG_fail
;
6345 arg3
= PyList_Size(obj2
);
6346 arg4
= wxString_LIST_helper(obj2
);
6347 if (arg4
== NULL
) SWIG_fail
;
6350 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6351 if (!SWIG_IsOK(res5
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6354 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6357 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6358 if (!SWIG_IsOK(ecode6
)) {
6359 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6361 arg6
= static_cast< int >(val6
);
6364 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6365 if (!SWIG_IsOK(ecode7
)) {
6366 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6368 arg7
= static_cast< int >(val7
);
6371 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6372 if (!SWIG_IsOK(ecode8
)) {
6373 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6375 arg8
= static_cast< bool >(val8
);
6378 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6379 if (!SWIG_IsOK(ecode9
)) {
6380 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6382 arg9
= static_cast< int >(val9
);
6385 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6386 if (!SWIG_IsOK(ecode10
)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6389 arg10
= static_cast< int >(val10
);
6392 if (!wxPyCheckForApp()) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= SWIG_From_int(static_cast< int >(result
));
6408 if (arg4
) delete [] arg4
;
6421 if (arg4
) delete [] arg4
;
6427 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxString
*arg1
= 0 ;
6430 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6431 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6432 int arg3
= (int) wxOK
|wxCENTRE
;
6433 wxWindow
*arg4
= (wxWindow
*) NULL
;
6434 int arg5
= (int) -1 ;
6435 int arg6
= (int) -1 ;
6437 bool temp1
= false ;
6438 bool temp2
= false ;
6447 PyObject
* obj0
= 0 ;
6448 PyObject
* obj1
= 0 ;
6449 PyObject
* obj2
= 0 ;
6450 PyObject
* obj3
= 0 ;
6451 PyObject
* obj4
= 0 ;
6452 PyObject
* obj5
= 0 ;
6453 char * kwnames
[] = {
6454 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6459 arg1
= wxString_in_helper(obj0
);
6460 if (arg1
== NULL
) SWIG_fail
;
6465 arg2
= wxString_in_helper(obj1
);
6466 if (arg2
== NULL
) SWIG_fail
;
6471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6472 if (!SWIG_IsOK(ecode3
)) {
6473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6475 arg3
= static_cast< int >(val3
);
6478 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6479 if (!SWIG_IsOK(res4
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6482 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6486 if (!SWIG_IsOK(ecode5
)) {
6487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6489 arg5
= static_cast< int >(val5
);
6492 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6493 if (!SWIG_IsOK(ecode6
)) {
6494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6496 arg6
= static_cast< int >(val6
);
6499 if (!wxPyCheckForApp()) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_From_int(static_cast< int >(result
));
6528 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6529 PyObject
*resultobj
= 0;
6532 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6534 if (!wxPyCheckForApp()) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (bool)wxColourDisplay();
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6549 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6550 PyObject
*resultobj
= 0;
6553 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6555 if (!wxPyCheckForApp()) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (int)wxDisplayDepth();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_From_int(static_cast< int >(result
));
6568 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6572 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6574 if (!wxPyCheckForApp()) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (int)wxGetDisplayDepth();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= SWIG_From_int(static_cast< int >(result
));
6587 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6588 PyObject
*resultobj
= 0;
6589 int *arg1
= (int *) 0 ;
6590 int *arg2
= (int *) 0 ;
6592 int res1
= SWIG_TMPOBJ
;
6594 int res2
= SWIG_TMPOBJ
;
6598 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6600 if (!wxPyCheckForApp()) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 wxDisplaySize(arg1
,arg2
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= SWIG_Py_Void();
6607 if (SWIG_IsTmpObj(res1
)) {
6608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6610 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6613 if (SWIG_IsTmpObj(res2
)) {
6614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6616 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6625 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6626 PyObject
*resultobj
= 0;
6629 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6631 if (!wxPyCheckForApp()) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= wxGetDisplaySize();
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6644 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 int *arg1
= (int *) 0 ;
6647 int *arg2
= (int *) 0 ;
6649 int res1
= SWIG_TMPOBJ
;
6651 int res2
= SWIG_TMPOBJ
;
6655 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6657 if (!wxPyCheckForApp()) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 wxDisplaySizeMM(arg1
,arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= SWIG_Py_Void();
6664 if (SWIG_IsTmpObj(res1
)) {
6665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6667 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6670 if (SWIG_IsTmpObj(res2
)) {
6671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6673 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6682 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6683 PyObject
*resultobj
= 0;
6686 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6688 if (!wxPyCheckForApp()) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= wxGetDisplaySizeMM();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6701 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6702 PyObject
*resultobj
= 0;
6703 int *arg1
= (int *) 0 ;
6704 int *arg2
= (int *) 0 ;
6705 int *arg3
= (int *) 0 ;
6706 int *arg4
= (int *) 0 ;
6708 int res1
= SWIG_TMPOBJ
;
6710 int res2
= SWIG_TMPOBJ
;
6712 int res3
= SWIG_TMPOBJ
;
6714 int res4
= SWIG_TMPOBJ
;
6720 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6722 if (!wxPyCheckForApp()) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= SWIG_Py_Void();
6729 if (SWIG_IsTmpObj(res1
)) {
6730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6732 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6735 if (SWIG_IsTmpObj(res2
)) {
6736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6738 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6741 if (SWIG_IsTmpObj(res3
)) {
6742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6744 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6747 if (SWIG_IsTmpObj(res4
)) {
6748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6750 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6759 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6760 PyObject
*resultobj
= 0;
6763 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6765 if (!wxPyCheckForApp()) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= wxGetClientDisplayRect();
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6778 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
= 0;
6780 wxCursor
*arg1
= 0 ;
6783 PyObject
* obj0
= 0 ;
6784 char * kwnames
[] = {
6785 (char *) "cursor", NULL
6788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6789 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6790 if (!SWIG_IsOK(res1
)) {
6791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6796 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6798 if (!wxPyCheckForApp()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_Py_Void();
6811 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6812 PyObject
*resultobj
= 0;
6815 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6817 if (!wxPyCheckForApp()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (void *)wxGetXDisplay();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6830 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
= 0;
6832 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6835 PyObject
* obj0
= 0 ;
6836 char * kwnames
[] = {
6837 (char *) "cursor", NULL
6840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6843 if (!SWIG_IsOK(res1
)) {
6844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6846 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 wxBeginBusyCursor(arg1
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_Py_Void();
6862 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6863 PyObject
*resultobj
= 0;
6866 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6868 if (!wxPyCheckForApp()) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 result
= wxGetMousePosition();
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6881 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6882 PyObject
*resultobj
= 0;
6883 wxWindow
*result
= 0 ;
6885 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6887 if (!wxPyCheckForApp()) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (wxWindow
*)FindWindowAtPointer();
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= wxPyMake_wxObject(result
, 0);
6902 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6903 PyObject
*resultobj
= 0;
6904 wxWindow
*result
= 0 ;
6906 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6908 if (!wxPyCheckForApp()) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 result
= (wxWindow
*)wxGetActiveWindow();
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= wxPyMake_wxObject(result
, 0);
6923 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6926 wxWindow
*result
= 0 ;
6928 PyObject
* obj0
= 0 ;
6929 char * kwnames
[] = {
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6936 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6939 if (!wxPyCheckForApp()) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= wxPyMake_wxObject(result
, 0);
6954 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
= 0;
6957 wxWindow
*result
= 0 ;
6959 PyObject
* obj0
= 0 ;
6960 char * kwnames
[] = {
6964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6967 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6970 if (!wxPyCheckForApp()) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= wxPyMake_wxObject(result
, 0);
6985 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
= 0;
6987 wxWindow
*arg1
= (wxWindow
*) 0 ;
6988 wxWindow
*result
= 0 ;
6991 PyObject
* obj0
= 0 ;
6992 char * kwnames
[] = {
6993 (char *) "win", NULL
6996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7001 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7003 if (!wxPyCheckForApp()) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= wxPyMake_wxObject(result
, 0);
7018 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
= 0;
7020 wxString
*arg1
= 0 ;
7022 bool temp1
= false ;
7023 PyObject
* obj0
= 0 ;
7024 char * kwnames
[] = {
7025 (char *) "url", NULL
7028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7030 arg1
= wxString_in_helper(obj0
);
7031 if (arg1
== NULL
) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7057 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
= 0;
7063 PyObject
* obj0
= 0 ;
7064 char * kwnames
[] = {
7065 (char *) "key", NULL
7068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7070 if (!SWIG_IsOK(ecode1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7073 arg1
= static_cast< wxKeyCode
>(val1
);
7075 if (!wxPyCheckForApp()) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= (bool)wxGetKeyState(arg1
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7090 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7091 PyObject
*resultobj
= 0;
7092 wxMouseState
*result
= 0 ;
7094 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (wxMouseState
*)new wxMouseState();
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7108 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7109 PyObject
*resultobj
= 0;
7110 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7113 PyObject
*swig_obj
[1] ;
7115 if (!args
) SWIG_fail
;
7117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7118 if (!SWIG_IsOK(res1
)) {
7119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7121 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= SWIG_Py_Void();
7136 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7137 PyObject
*resultobj
= 0;
7138 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7142 PyObject
*swig_obj
[1] ;
7144 if (!args
) SWIG_fail
;
7146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7147 if (!SWIG_IsOK(res1
)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7150 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (int)(arg1
)->GetX();
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_From_int(static_cast< int >(result
));
7164 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7165 PyObject
*resultobj
= 0;
7166 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7170 PyObject
*swig_obj
[1] ;
7172 if (!args
) SWIG_fail
;
7174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7175 if (!SWIG_IsOK(res1
)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7178 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (int)(arg1
)->GetY();
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= SWIG_From_int(static_cast< int >(result
));
7192 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7193 PyObject
*resultobj
= 0;
7194 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7198 PyObject
*swig_obj
[1] ;
7200 if (!args
) SWIG_fail
;
7202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7203 if (!SWIG_IsOK(res1
)) {
7204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7206 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (bool)(arg1
)->LeftDown();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7222 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7223 PyObject
*resultobj
= 0;
7224 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7228 PyObject
*swig_obj
[1] ;
7230 if (!args
) SWIG_fail
;
7232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7233 if (!SWIG_IsOK(res1
)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7236 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (bool)(arg1
)->MiddleDown();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7252 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7253 PyObject
*resultobj
= 0;
7254 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7258 PyObject
*swig_obj
[1] ;
7260 if (!args
) SWIG_fail
;
7262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7263 if (!SWIG_IsOK(res1
)) {
7264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7266 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (bool)(arg1
)->RightDown();
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7282 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 PyObject
*resultobj
= 0;
7284 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7288 PyObject
*swig_obj
[1] ;
7290 if (!args
) SWIG_fail
;
7292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7293 if (!SWIG_IsOK(res1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7296 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (bool)(arg1
)->ControlDown();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7312 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7313 PyObject
*resultobj
= 0;
7314 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7318 PyObject
*swig_obj
[1] ;
7320 if (!args
) SWIG_fail
;
7322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7323 if (!SWIG_IsOK(res1
)) {
7324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7326 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (bool)(arg1
)->ShiftDown();
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7342 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7343 PyObject
*resultobj
= 0;
7344 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7348 PyObject
*swig_obj
[1] ;
7350 if (!args
) SWIG_fail
;
7352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7353 if (!SWIG_IsOK(res1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7356 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (bool)(arg1
)->AltDown();
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7372 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 PyObject
*resultobj
= 0;
7374 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7378 PyObject
*swig_obj
[1] ;
7380 if (!args
) SWIG_fail
;
7382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7383 if (!SWIG_IsOK(res1
)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7386 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 result
= (bool)(arg1
)->MetaDown();
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7402 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7403 PyObject
*resultobj
= 0;
7404 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7408 PyObject
*swig_obj
[1] ;
7410 if (!args
) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7416 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (bool)(arg1
)->CmdDown();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7432 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
= 0;
7434 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7442 char * kwnames
[] = {
7443 (char *) "self",(char *) "x", NULL
7446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7448 if (!SWIG_IsOK(res1
)) {
7449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7451 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7453 if (!SWIG_IsOK(ecode2
)) {
7454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7456 arg2
= static_cast< int >(val2
);
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= SWIG_Py_Void();
7470 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
= 0;
7472 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7479 PyObject
* obj1
= 0 ;
7480 char * kwnames
[] = {
7481 (char *) "self",(char *) "y", NULL
7484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7486 if (!SWIG_IsOK(res1
)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7489 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7491 if (!SWIG_IsOK(ecode2
)) {
7492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7494 arg2
= static_cast< int >(val2
);
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_Py_Void();
7508 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
= 0;
7510 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7518 char * kwnames
[] = {
7519 (char *) "self",(char *) "down", NULL
7522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7524 if (!SWIG_IsOK(res1
)) {
7525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7527 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7528 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7529 if (!SWIG_IsOK(ecode2
)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7532 arg2
= static_cast< bool >(val2
);
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 (arg1
)->SetLeftDown(arg2
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_Py_Void();
7546 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
= 0;
7548 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7556 char * kwnames
[] = {
7557 (char *) "self",(char *) "down", NULL
7560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7562 if (!SWIG_IsOK(res1
)) {
7563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7565 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7566 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7567 if (!SWIG_IsOK(ecode2
)) {
7568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7570 arg2
= static_cast< bool >(val2
);
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 (arg1
)->SetMiddleDown(arg2
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_Py_Void();
7584 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
= 0;
7586 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7594 char * kwnames
[] = {
7595 (char *) "self",(char *) "down", NULL
7598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7600 if (!SWIG_IsOK(res1
)) {
7601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7603 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7605 if (!SWIG_IsOK(ecode2
)) {
7606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7608 arg2
= static_cast< bool >(val2
);
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 (arg1
)->SetRightDown(arg2
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_Py_Void();
7622 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
= 0;
7624 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7632 char * kwnames
[] = {
7633 (char *) "self",(char *) "down", NULL
7636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7638 if (!SWIG_IsOK(res1
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7641 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7642 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7643 if (!SWIG_IsOK(ecode2
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7646 arg2
= static_cast< bool >(val2
);
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 (arg1
)->SetControlDown(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_Py_Void();
7660 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
= 0;
7662 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7669 PyObject
* obj1
= 0 ;
7670 char * kwnames
[] = {
7671 (char *) "self",(char *) "down", NULL
7674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7676 if (!SWIG_IsOK(res1
)) {
7677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7679 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7681 if (!SWIG_IsOK(ecode2
)) {
7682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7684 arg2
= static_cast< bool >(val2
);
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 (arg1
)->SetShiftDown(arg2
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_Py_Void();
7698 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
= 0;
7700 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "self",(char *) "down", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7717 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7718 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7719 if (!SWIG_IsOK(ecode2
)) {
7720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7722 arg2
= static_cast< bool >(val2
);
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 (arg1
)->SetAltDown(arg2
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_Py_Void();
7736 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
= 0;
7738 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7746 char * kwnames
[] = {
7747 (char *) "self",(char *) "down", NULL
7750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7752 if (!SWIG_IsOK(res1
)) {
7753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7755 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7756 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7757 if (!SWIG_IsOK(ecode2
)) {
7758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7760 arg2
= static_cast< bool >(val2
);
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 (arg1
)->SetMetaDown(arg2
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_Py_Void();
7774 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7777 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7778 return SWIG_Py_Void();
7781 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7782 return SWIG_Python_InitShadowInstance(args
);
7785 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7786 PyObject
*resultobj
= 0;
7787 wxMouseState result
;
7789 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= wxGetMouseState();
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7803 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7804 PyObject
*resultobj
= 0;
7806 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 wxWakeUpMainThread();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_Py_Void();
7821 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7822 PyObject
*resultobj
= 0;
7824 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7826 if (!wxPyCheckForApp()) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_Py_Void();
7839 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7840 PyObject
*resultobj
= 0;
7842 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7844 if (!wxPyCheckForApp()) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_Py_Void();
7857 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7858 PyObject
*resultobj
= 0;
7859 wxMutexGuiLocker
*result
= 0 ;
7861 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7863 if (!wxPyCheckForApp()) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7876 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7877 PyObject
*resultobj
= 0;
7878 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7881 PyObject
*swig_obj
[1] ;
7883 if (!args
) SWIG_fail
;
7885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7886 if (!SWIG_IsOK(res1
)) {
7887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7889 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_Py_Void();
7904 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7907 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7908 return SWIG_Py_Void();
7911 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7912 return SWIG_Python_InitShadowInstance(args
);
7915 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7916 PyObject
*resultobj
= 0;
7919 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (bool)wxThread_IsMain();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7935 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
= 0;
7937 wxString
*arg1
= 0 ;
7938 wxToolTip
*result
= 0 ;
7939 bool temp1
= false ;
7940 PyObject
* obj0
= 0 ;
7941 char * kwnames
[] = {
7942 (char *) "tip", NULL
7945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7947 arg1
= wxString_in_helper(obj0
);
7948 if (arg1
== NULL
) SWIG_fail
;
7952 if (!wxPyCheckForApp()) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
7973 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7974 PyObject
*resultobj
= 0;
7975 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7978 PyObject
*swig_obj
[1] ;
7980 if (!args
) SWIG_fail
;
7982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
7983 if (!SWIG_IsOK(res1
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
7986 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_Py_Void();
8001 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
= 0;
8003 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8004 wxString
*arg2
= 0 ;
8007 bool temp2
= false ;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8010 char * kwnames
[] = {
8011 (char *) "self",(char *) "tip", NULL
8014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8019 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8021 arg2
= wxString_in_helper(obj1
);
8022 if (arg2
== NULL
) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 (arg1
)->SetTip((wxString
const &)*arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_Py_Void();
8046 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8047 PyObject
*resultobj
= 0;
8048 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8052 PyObject
*swig_obj
[1] ;
8054 if (!args
) SWIG_fail
;
8056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8057 if (!SWIG_IsOK(res1
)) {
8058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8060 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (arg1
)->GetTip();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8080 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8081 PyObject
*resultobj
= 0;
8082 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8083 wxWindow
*result
= 0 ;
8086 PyObject
*swig_obj
[1] ;
8088 if (!args
) SWIG_fail
;
8090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8091 if (!SWIG_IsOK(res1
)) {
8092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8094 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 result
= (wxWindow
*)(arg1
)->GetWindow();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= wxPyMake_wxObject(result
, 0);
8110 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
= 0;
8115 PyObject
* obj0
= 0 ;
8116 char * kwnames
[] = {
8117 (char *) "flag", NULL
8120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8121 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8122 if (!SWIG_IsOK(ecode1
)) {
8123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8125 arg1
= static_cast< bool >(val1
);
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 wxToolTip::Enable(arg1
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_Py_Void();
8139 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
= 0;
8144 PyObject
* obj0
= 0 ;
8145 char * kwnames
[] = {
8146 (char *) "milliseconds", NULL
8149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8150 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8151 if (!SWIG_IsOK(ecode1
)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8154 arg1
= static_cast< long >(val1
);
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 wxToolTip::SetDelay(arg1
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= SWIG_Py_Void();
8168 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8171 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8172 return SWIG_Py_Void();
8175 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8176 return SWIG_Python_InitShadowInstance(args
);
8179 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
= 0;
8181 wxWindow
*arg1
= (wxWindow
*) 0 ;
8183 wxCaret
*result
= 0 ;
8187 PyObject
* obj0
= 0 ;
8188 PyObject
* obj1
= 0 ;
8189 char * kwnames
[] = {
8190 (char *) "window",(char *) "size", NULL
8193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8195 if (!SWIG_IsOK(res1
)) {
8196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8204 if (!wxPyCheckForApp()) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8217 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8218 PyObject
*resultobj
= 0;
8219 wxCaret
*arg1
= (wxCaret
*) 0 ;
8222 PyObject
*swig_obj
[1] ;
8224 if (!args
) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8230 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= SWIG_Py_Void();
8245 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8246 PyObject
*resultobj
= 0;
8247 wxCaret
*arg1
= (wxCaret
*) 0 ;
8250 PyObject
*swig_obj
[1] ;
8252 if (!args
) SWIG_fail
;
8254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8255 if (!SWIG_IsOK(res1
)) {
8256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8258 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 wxCaret_Destroy(arg1
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= SWIG_Py_Void();
8272 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8273 PyObject
*resultobj
= 0;
8274 wxCaret
*arg1
= (wxCaret
*) 0 ;
8278 PyObject
*swig_obj
[1] ;
8280 if (!args
) SWIG_fail
;
8282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8283 if (!SWIG_IsOK(res1
)) {
8284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8286 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (bool)(arg1
)->IsOk();
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8302 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8303 PyObject
*resultobj
= 0;
8304 wxCaret
*arg1
= (wxCaret
*) 0 ;
8308 PyObject
*swig_obj
[1] ;
8310 if (!args
) SWIG_fail
;
8312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8313 if (!SWIG_IsOK(res1
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8316 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 result
= (bool)(arg1
)->IsVisible();
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8332 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8333 PyObject
*resultobj
= 0;
8334 wxCaret
*arg1
= (wxCaret
*) 0 ;
8338 PyObject
*swig_obj
[1] ;
8340 if (!args
) SWIG_fail
;
8342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8343 if (!SWIG_IsOK(res1
)) {
8344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8346 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 result
= (arg1
)->GetPosition();
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8360 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8361 PyObject
*resultobj
= 0;
8362 wxCaret
*arg1
= (wxCaret
*) 0 ;
8363 int *arg2
= (int *) 0 ;
8364 int *arg3
= (int *) 0 ;
8368 int res2
= SWIG_TMPOBJ
;
8370 int res3
= SWIG_TMPOBJ
;
8371 PyObject
*swig_obj
[1] ;
8375 if (!args
) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8381 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->GetPosition(arg2
,arg3
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_Py_Void();
8389 if (SWIG_IsTmpObj(res2
)) {
8390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8392 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8395 if (SWIG_IsTmpObj(res3
)) {
8396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8398 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8407 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8408 PyObject
*resultobj
= 0;
8409 wxCaret
*arg1
= (wxCaret
*) 0 ;
8413 PyObject
*swig_obj
[1] ;
8415 if (!args
) SWIG_fail
;
8417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8418 if (!SWIG_IsOK(res1
)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8421 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (arg1
)->GetSize();
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8435 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8436 PyObject
*resultobj
= 0;
8437 wxCaret
*arg1
= (wxCaret
*) 0 ;
8438 int *arg2
= (int *) 0 ;
8439 int *arg3
= (int *) 0 ;
8443 int res2
= SWIG_TMPOBJ
;
8445 int res3
= SWIG_TMPOBJ
;
8446 PyObject
*swig_obj
[1] ;
8450 if (!args
) SWIG_fail
;
8452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8453 if (!SWIG_IsOK(res1
)) {
8454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8456 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 (arg1
)->GetSize(arg2
,arg3
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_Py_Void();
8464 if (SWIG_IsTmpObj(res2
)) {
8465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8467 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8470 if (SWIG_IsTmpObj(res3
)) {
8471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8473 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8482 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8483 PyObject
*resultobj
= 0;
8484 wxCaret
*arg1
= (wxCaret
*) 0 ;
8485 wxWindow
*result
= 0 ;
8488 PyObject
*swig_obj
[1] ;
8490 if (!args
) SWIG_fail
;
8492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8493 if (!SWIG_IsOK(res1
)) {
8494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8496 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (wxWindow
*)(arg1
)->GetWindow();
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= wxPyMake_wxObject(result
, 0);
8512 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
= 0;
8514 wxCaret
*arg1
= (wxCaret
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8526 char * kwnames
[] = {
8527 (char *) "self",(char *) "x",(char *) "y", NULL
8530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8532 if (!SWIG_IsOK(res1
)) {
8533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8535 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8537 if (!SWIG_IsOK(ecode2
)) {
8538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8540 arg2
= static_cast< int >(val2
);
8541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8542 if (!SWIG_IsOK(ecode3
)) {
8543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8545 arg3
= static_cast< int >(val3
);
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 (arg1
)->Move(arg2
,arg3
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_Py_Void();
8559 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
= 0;
8561 wxCaret
*arg1
= (wxCaret
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8568 char * kwnames
[] = {
8569 (char *) "self",(char *) "pt", NULL
8572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8574 if (!SWIG_IsOK(res1
)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8577 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 (arg1
)->Move((wxPoint
const &)*arg2
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_Py_Void();
8595 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
= 0;
8597 wxCaret
*arg1
= (wxCaret
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8609 char * kwnames
[] = {
8610 (char *) "self",(char *) "width",(char *) "height", NULL
8613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8615 if (!SWIG_IsOK(res1
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8618 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8620 if (!SWIG_IsOK(ecode2
)) {
8621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8623 arg2
= static_cast< int >(val2
);
8624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8625 if (!SWIG_IsOK(ecode3
)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8628 arg3
= static_cast< int >(val3
);
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 (arg1
)->SetSize(arg2
,arg3
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_Py_Void();
8642 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
= 0;
8644 wxCaret
*arg1
= (wxCaret
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8651 char * kwnames
[] = {
8652 (char *) "self",(char *) "size", NULL
8655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8657 if (!SWIG_IsOK(res1
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8660 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8663 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 (arg1
)->SetSize((wxSize
const &)*arg2
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_Py_Void();
8678 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
= 0;
8680 wxCaret
*arg1
= (wxCaret
*) 0 ;
8681 int arg2
= (int) true ;
8686 PyObject
* obj0
= 0 ;
8687 PyObject
* obj1
= 0 ;
8688 char * kwnames
[] = {
8689 (char *) "self",(char *) "show", NULL
8692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8694 if (!SWIG_IsOK(res1
)) {
8695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8697 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8700 if (!SWIG_IsOK(ecode2
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8703 arg2
= static_cast< int >(val2
);
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_Py_Void();
8718 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8719 PyObject
*resultobj
= 0;
8720 wxCaret
*arg1
= (wxCaret
*) 0 ;
8723 PyObject
*swig_obj
[1] ;
8725 if (!args
) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8731 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= SWIG_Py_Void();
8745 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8746 PyObject
*resultobj
= 0;
8749 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (int)wxCaret::GetBlinkTime();
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_From_int(static_cast< int >(result
));
8763 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
= 0;
8768 PyObject
* obj0
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "milliseconds", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8775 if (!SWIG_IsOK(ecode1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8778 arg1
= static_cast< int >(val1
);
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 wxCaret::SetBlinkTime(arg1
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_Py_Void();
8792 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8795 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8796 return SWIG_Py_Void();
8799 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8800 return SWIG_Python_InitShadowInstance(args
);
8803 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8806 wxBusyCursor
*result
= 0 ;
8809 PyObject
* obj0
= 0 ;
8810 char * kwnames
[] = {
8811 (char *) "cursor", NULL
8814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8817 if (!SWIG_IsOK(res1
)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8820 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8823 if (!wxPyCheckForApp()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8836 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8837 PyObject
*resultobj
= 0;
8838 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8841 PyObject
*swig_obj
[1] ;
8843 if (!args
) SWIG_fail
;
8845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8846 if (!SWIG_IsOK(res1
)) {
8847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8849 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_Py_Void();
8864 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8867 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8868 return SWIG_Py_Void();
8871 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8872 return SWIG_Python_InitShadowInstance(args
);
8875 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
= 0;
8877 wxWindow
*arg1
= (wxWindow
*) NULL
;
8878 wxWindowDisabler
*result
= 0 ;
8881 PyObject
* obj0
= 0 ;
8882 char * kwnames
[] = {
8883 (char *) "winToSkip", NULL
8886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8895 if (!wxPyCheckForApp()) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8908 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8909 PyObject
*resultobj
= 0;
8910 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8913 PyObject
*swig_obj
[1] ;
8915 if (!args
) SWIG_fail
;
8917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8918 if (!SWIG_IsOK(res1
)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8921 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_Py_Void();
8936 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8938 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8939 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8940 return SWIG_Py_Void();
8943 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8944 return SWIG_Python_InitShadowInstance(args
);
8947 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxString
*arg1
= 0 ;
8950 wxBusyInfo
*result
= 0 ;
8951 bool temp1
= false ;
8952 PyObject
* obj0
= 0 ;
8953 char * kwnames
[] = {
8954 (char *) "message", NULL
8957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8959 arg1
= wxString_in_helper(obj0
);
8960 if (arg1
== NULL
) SWIG_fail
;
8964 if (!wxPyCheckForApp()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
8985 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8986 PyObject
*resultobj
= 0;
8987 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
8990 PyObject
*swig_obj
[1] ;
8992 if (!args
) SWIG_fail
;
8994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
8995 if (!SWIG_IsOK(res1
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
8998 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_Py_Void();
9013 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9016 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9017 return SWIG_Py_Void();
9020 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9021 return SWIG_Python_InitShadowInstance(args
);
9024 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9025 PyObject
*resultobj
= 0;
9026 wxStopWatch
*result
= 0 ;
9028 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (wxStopWatch
*)new wxStopWatch();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9042 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
= 0;
9044 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9045 long arg2
= (long) 0 ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9052 char * kwnames
[] = {
9053 (char *) "self",(char *) "t0", NULL
9056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9058 if (!SWIG_IsOK(res1
)) {
9059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9061 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9063 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9064 if (!SWIG_IsOK(ecode2
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9067 arg2
= static_cast< long >(val2
);
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 (arg1
)->Start(arg2
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 resultobj
= SWIG_Py_Void();
9082 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9083 PyObject
*resultobj
= 0;
9084 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9087 PyObject
*swig_obj
[1] ;
9089 if (!args
) SWIG_fail
;
9091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9092 if (!SWIG_IsOK(res1
)) {
9093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9095 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= SWIG_Py_Void();
9109 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9110 PyObject
*resultobj
= 0;
9111 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9114 PyObject
*swig_obj
[1] ;
9116 if (!args
) SWIG_fail
;
9118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9119 if (!SWIG_IsOK(res1
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9122 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_Py_Void();
9136 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 PyObject
*resultobj
= 0;
9138 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9142 PyObject
*swig_obj
[1] ;
9144 if (!args
) SWIG_fail
;
9146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9147 if (!SWIG_IsOK(res1
)) {
9148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9150 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_From_long(static_cast< long >(result
));
9164 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9167 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9168 return SWIG_Py_Void();
9171 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9172 return SWIG_Python_InitShadowInstance(args
);
9175 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= 0;
9177 int arg1
= (int) 9 ;
9178 int arg2
= (int) wxID_FILE1
;
9179 wxFileHistory
*result
= 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 char * kwnames
[] = {
9187 (char *) "maxFiles",(char *) "idBase", NULL
9190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9193 if (!SWIG_IsOK(ecode1
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9196 arg1
= static_cast< int >(val1
);
9199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9200 if (!SWIG_IsOK(ecode2
)) {
9201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9203 arg2
= static_cast< int >(val2
);
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9218 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9219 PyObject
*resultobj
= 0;
9220 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9223 PyObject
*swig_obj
[1] ;
9225 if (!args
) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9231 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= SWIG_Py_Void();
9246 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
= 0;
9248 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9249 wxString
*arg2
= 0 ;
9252 bool temp2
= false ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 char * kwnames
[] = {
9256 (char *) "self",(char *) "file", NULL
9259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9261 if (!SWIG_IsOK(res1
)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9264 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9266 arg2
= wxString_in_helper(obj1
);
9267 if (arg2
== NULL
) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_Py_Void();
9291 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= 0;
9293 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9300 PyObject
* obj1
= 0 ;
9301 char * kwnames
[] = {
9302 (char *) "self",(char *) "i", NULL
9305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9310 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9312 if (!SWIG_IsOK(ecode2
)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9315 arg2
= static_cast< int >(val2
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 (arg1
)->RemoveFileFromHistory(arg2
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_Py_Void();
9329 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9330 PyObject
*resultobj
= 0;
9331 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9335 PyObject
*swig_obj
[1] ;
9337 if (!args
) SWIG_fail
;
9339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9340 if (!SWIG_IsOK(res1
)) {
9341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9343 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_From_int(static_cast< int >(result
));
9357 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9360 wxMenu
*arg2
= (wxMenu
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 char * kwnames
[] = {
9368 (char *) "self",(char *) "menu", NULL
9371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9373 if (!SWIG_IsOK(res1
)) {
9374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9376 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9378 if (!SWIG_IsOK(res2
)) {
9379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9381 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 (arg1
)->UseMenu(arg2
);
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_Py_Void();
9395 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
= 0;
9397 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9398 wxMenu
*arg2
= (wxMenu
*) 0 ;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9405 char * kwnames
[] = {
9406 (char *) "self",(char *) "menu", NULL
9409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9411 if (!SWIG_IsOK(res1
)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9414 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9416 if (!SWIG_IsOK(res2
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9419 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 (arg1
)->RemoveMenu(arg2
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_Py_Void();
9433 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= 0;
9435 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9436 wxConfigBase
*arg2
= 0 ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 char * kwnames
[] = {
9444 (char *) "self",(char *) "config", NULL
9447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9449 if (!SWIG_IsOK(res1
)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9452 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9454 if (!SWIG_IsOK(res2
)) {
9455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9460 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 (arg1
)->Load(*arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_Py_Void();
9474 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= 0;
9476 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9477 wxConfigBase
*arg2
= 0 ;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9484 char * kwnames
[] = {
9485 (char *) "self",(char *) "config", NULL
9488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9490 if (!SWIG_IsOK(res1
)) {
9491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9493 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9495 if (!SWIG_IsOK(res2
)) {
9496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9501 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 (arg1
)->Save(*arg2
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_Py_Void();
9515 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9516 PyObject
*resultobj
= 0;
9517 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9520 PyObject
*swig_obj
[1] ;
9522 if (!args
) SWIG_fail
;
9524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9525 if (!SWIG_IsOK(res1
)) {
9526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9528 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 (arg1
)->AddFilesToMenu();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_Py_Void();
9542 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
= 0;
9544 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9545 wxMenu
*arg2
= (wxMenu
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9552 char * kwnames
[] = {
9553 (char *) "self",(char *) "menu", NULL
9556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9558 if (!SWIG_IsOK(res1
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9561 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9563 if (!SWIG_IsOK(res2
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9566 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 (arg1
)->AddFilesToMenu(arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_Py_Void();
9580 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
= 0;
9582 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9591 char * kwnames
[] = {
9592 (char *) "self",(char *) "i", NULL
9595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9597 if (!SWIG_IsOK(res1
)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9600 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9602 if (!SWIG_IsOK(ecode2
)) {
9603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9605 arg2
= static_cast< int >(val2
);
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9625 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9626 PyObject
*resultobj
= 0;
9627 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9631 PyObject
*swig_obj
[1] ;
9633 if (!args
) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9639 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_From_int(static_cast< int >(result
));
9653 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9656 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9657 return SWIG_Py_Void();
9660 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9661 return SWIG_Python_InitShadowInstance(args
);
9664 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
= 0;
9666 wxString
*arg1
= 0 ;
9667 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9668 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9669 wxSingleInstanceChecker
*result
= 0 ;
9670 bool temp1
= false ;
9671 bool temp2
= false ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9674 char * kwnames
[] = {
9675 (char *) "name",(char *) "path", NULL
9678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9680 arg1
= wxString_in_helper(obj0
);
9681 if (arg1
== NULL
) SWIG_fail
;
9686 arg2
= wxString_in_helper(obj1
);
9687 if (arg2
== NULL
) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9720 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9721 PyObject
*resultobj
= 0;
9722 wxSingleInstanceChecker
*result
= 0 ;
9724 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9738 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9739 PyObject
*resultobj
= 0;
9740 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9743 PyObject
*swig_obj
[1] ;
9745 if (!args
) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9751 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_Py_Void();
9766 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= 0;
9768 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9769 wxString
*arg2
= 0 ;
9770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9775 bool temp2
= false ;
9776 bool temp3
= false ;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9779 PyObject
* obj2
= 0 ;
9780 char * kwnames
[] = {
9781 (char *) "self",(char *) "name",(char *) "path", NULL
9784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9789 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9791 arg2
= wxString_in_helper(obj1
);
9792 if (arg2
== NULL
) SWIG_fail
;
9797 arg3
= wxString_in_helper(obj2
);
9798 if (arg3
== NULL
) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9833 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9834 PyObject
*resultobj
= 0;
9835 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9839 PyObject
*swig_obj
[1] ;
9841 if (!args
) SWIG_fail
;
9843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9844 if (!SWIG_IsOK(res1
)) {
9845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9847 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9866 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9867 return SWIG_Py_Void();
9870 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9871 return SWIG_Python_InitShadowInstance(args
);
9874 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
= 0;
9876 wxWindow
*arg1
= (wxWindow
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9885 char * kwnames
[] = {
9886 (char *) "window",(char *) "dc", NULL
9889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9891 if (!SWIG_IsOK(res1
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9894 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9896 if (!SWIG_IsOK(res2
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9902 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9918 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9919 PyObject
*resultobj
= 0;
9920 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9923 PyObject
*swig_obj
[1] ;
9925 if (!args
) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9931 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_Py_Void();
9946 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9947 PyObject
*resultobj
= 0;
9948 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9952 PyObject
*swig_obj
[1] ;
9954 if (!args
) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9960 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (arg1
)->GetTip();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9980 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9981 PyObject
*resultobj
= 0;
9982 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9986 PyObject
*swig_obj
[1] ;
9988 if (!args
) SWIG_fail
;
9990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9991 if (!SWIG_IsOK(res1
)) {
9992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9994 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (size_t)(arg1
)->GetCurrentTip();
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10008 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
= 0;
10010 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10011 wxString
*arg2
= 0 ;
10015 bool temp2
= false ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 char * kwnames
[] = {
10019 (char *) "self",(char *) "tip", NULL
10022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10024 if (!SWIG_IsOK(res1
)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10027 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10029 arg2
= wxString_in_helper(obj1
);
10030 if (arg2
== NULL
) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10060 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10063 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10064 return SWIG_Py_Void();
10067 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
= 0;
10070 wxPyTipProvider
*result
= 0 ;
10073 PyObject
* obj0
= 0 ;
10074 char * kwnames
[] = {
10075 (char *) "currentTip", NULL
10078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10079 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10080 if (!SWIG_IsOK(ecode1
)) {
10081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10083 arg1
= static_cast< size_t >(val1
);
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10097 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
= 0;
10099 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10100 PyObject
*arg2
= (PyObject
*) 0 ;
10101 PyObject
*arg3
= (PyObject
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 PyObject
* obj2
= 0 ;
10107 char * kwnames
[] = {
10108 (char *) "self",(char *) "self",(char *) "_class", NULL
10111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10113 if (!SWIG_IsOK(res1
)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10116 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= SWIG_Py_Void();
10132 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10136 return SWIG_Py_Void();
10139 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10140 return SWIG_Python_InitShadowInstance(args
);
10143 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
= 0;
10145 wxWindow
*arg1
= (wxWindow
*) 0 ;
10146 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10147 bool arg3
= (bool) true ;
10155 PyObject
* obj0
= 0 ;
10156 PyObject
* obj1
= 0 ;
10157 PyObject
* obj2
= 0 ;
10158 char * kwnames
[] = {
10159 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10164 if (!SWIG_IsOK(res1
)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10169 if (!SWIG_IsOK(res2
)) {
10170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10172 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10174 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10175 if (!SWIG_IsOK(ecode3
)) {
10176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10178 arg3
= static_cast< bool >(val3
);
10181 if (!wxPyCheckForApp()) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10196 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
= 0;
10198 wxString
*arg1
= 0 ;
10200 wxTipProvider
*result
= 0 ;
10201 bool temp1
= false ;
10204 PyObject
* obj0
= 0 ;
10205 PyObject
* obj1
= 0 ;
10206 char * kwnames
[] = {
10207 (char *) "filename",(char *) "currentTip", NULL
10210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10212 arg1
= wxString_in_helper(obj0
);
10213 if (arg1
== NULL
) SWIG_fail
;
10216 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10217 if (!SWIG_IsOK(ecode2
)) {
10218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10220 arg2
= static_cast< size_t >(val2
);
10222 if (!wxPyCheckForApp()) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10243 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
= 0;
10245 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10246 int arg2
= (int) wxID_ANY
;
10247 wxPyTimer
*result
= 0 ;
10252 PyObject
* obj0
= 0 ;
10253 PyObject
* obj1
= 0 ;
10254 char * kwnames
[] = {
10255 (char *) "owner",(char *) "id", NULL
10258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10261 if (!SWIG_IsOK(res1
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10264 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10268 if (!SWIG_IsOK(ecode2
)) {
10269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10271 arg2
= static_cast< int >(val2
);
10274 if (!wxPyCheckForApp()) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10287 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10288 PyObject
*resultobj
= 0;
10289 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10292 PyObject
*swig_obj
[1] ;
10294 if (!args
) SWIG_fail
;
10295 swig_obj
[0] = args
;
10296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10297 if (!SWIG_IsOK(res1
)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10300 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= SWIG_Py_Void();
10315 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
= 0;
10317 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10318 PyObject
*arg2
= (PyObject
*) 0 ;
10319 PyObject
*arg3
= (PyObject
*) 0 ;
10320 int arg4
= (int) 1 ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 PyObject
* obj2
= 0 ;
10328 PyObject
* obj3
= 0 ;
10329 char * kwnames
[] = {
10330 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10338 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10343 if (!SWIG_IsOK(ecode4
)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10346 arg4
= static_cast< int >(val4
);
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= SWIG_Py_Void();
10361 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
= 0;
10363 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10364 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10365 int arg3
= (int) wxID_ANY
;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 PyObject
* obj2
= 0 ;
10375 char * kwnames
[] = {
10376 (char *) "self",(char *) "owner",(char *) "id", NULL
10379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10381 if (!SWIG_IsOK(res1
)) {
10382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10384 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10386 if (!SWIG_IsOK(res2
)) {
10387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10389 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10392 if (!SWIG_IsOK(ecode3
)) {
10393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10395 arg3
= static_cast< int >(val3
);
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 (arg1
)->SetOwner(arg2
,arg3
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= SWIG_Py_Void();
10410 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10411 PyObject
*resultobj
= 0;
10412 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10413 wxEvtHandler
*result
= 0 ;
10416 PyObject
*swig_obj
[1] ;
10418 if (!args
) SWIG_fail
;
10419 swig_obj
[0] = args
;
10420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10421 if (!SWIG_IsOK(res1
)) {
10422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10424 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= wxPyMake_wxObject(result
, 0);
10440 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
= 0;
10442 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10443 int arg2
= (int) -1 ;
10444 bool arg3
= (bool) false ;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10454 PyObject
* obj2
= 0 ;
10455 char * kwnames
[] = {
10456 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10461 if (!SWIG_IsOK(res1
)) {
10462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10464 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10467 if (!SWIG_IsOK(ecode2
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10470 arg2
= static_cast< int >(val2
);
10473 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10474 if (!SWIG_IsOK(ecode3
)) {
10475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10477 arg3
= static_cast< bool >(val3
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10494 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10495 PyObject
*resultobj
= 0;
10496 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10499 PyObject
*swig_obj
[1] ;
10501 if (!args
) SWIG_fail
;
10502 swig_obj
[0] = args
;
10503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10504 if (!SWIG_IsOK(res1
)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10507 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_Py_Void();
10521 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10522 PyObject
*resultobj
= 0;
10523 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10526 PyObject
*swig_obj
[1] ;
10528 if (!args
) SWIG_fail
;
10529 swig_obj
[0] = args
;
10530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10531 if (!SWIG_IsOK(res1
)) {
10532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10534 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_Py_Void();
10548 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 PyObject
*resultobj
= 0;
10550 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10554 PyObject
*swig_obj
[1] ;
10556 if (!args
) SWIG_fail
;
10557 swig_obj
[0] = args
;
10558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10559 if (!SWIG_IsOK(res1
)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10562 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10578 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10579 PyObject
*resultobj
= 0;
10580 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10584 PyObject
*swig_obj
[1] ;
10586 if (!args
) SWIG_fail
;
10587 swig_obj
[0] = args
;
10588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10592 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_From_int(static_cast< int >(result
));
10606 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10607 PyObject
*resultobj
= 0;
10608 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10612 PyObject
*swig_obj
[1] ;
10614 if (!args
) SWIG_fail
;
10615 swig_obj
[0] = args
;
10616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10620 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= SWIG_From_int(static_cast< int >(result
));
10634 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10635 PyObject
*resultobj
= 0;
10636 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10640 PyObject
*swig_obj
[1] ;
10642 if (!args
) SWIG_fail
;
10643 swig_obj
[0] = args
;
10644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10645 if (!SWIG_IsOK(res1
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10648 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10664 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10667 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10668 return SWIG_Py_Void();
10671 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10672 return SWIG_Python_InitShadowInstance(args
);
10675 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
= 0;
10677 int arg1
= (int) 0 ;
10678 int arg2
= (int) 0 ;
10679 wxTimerEvent
*result
= 0 ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 char * kwnames
[] = {
10687 (char *) "timerid",(char *) "interval", NULL
10690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10692 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10693 if (!SWIG_IsOK(ecode1
)) {
10694 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10696 arg1
= static_cast< int >(val1
);
10699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10700 if (!SWIG_IsOK(ecode2
)) {
10701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10703 arg2
= static_cast< int >(val2
);
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10718 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10719 PyObject
*resultobj
= 0;
10720 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10724 PyObject
*swig_obj
[1] ;
10726 if (!args
) SWIG_fail
;
10727 swig_obj
[0] = args
;
10728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10729 if (!SWIG_IsOK(res1
)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10732 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= SWIG_From_int(static_cast< int >(result
));
10746 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10749 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10750 return SWIG_Py_Void();
10753 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10754 return SWIG_Python_InitShadowInstance(args
);
10757 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10758 PyObject
*resultobj
= 0;
10759 wxTimer
*arg1
= 0 ;
10760 wxTimerRunner
*result
= 0 ;
10764 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10766 if (!SWIG_IsOK(res1
)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10772 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10774 if (!wxPyCheckForApp()) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10787 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10788 PyObject
*resultobj
= 0;
10789 wxTimer
*arg1
= 0 ;
10791 bool arg3
= (bool) false ;
10792 wxTimerRunner
*result
= 0 ;
10800 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10802 if (!SWIG_IsOK(res1
)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10808 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10809 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10810 if (!SWIG_IsOK(ecode2
)) {
10811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10813 arg2
= static_cast< int >(val2
);
10815 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10816 if (!SWIG_IsOK(ecode3
)) {
10817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10819 arg3
= static_cast< bool >(val3
);
10822 if (!wxPyCheckForApp()) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10835 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10839 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10842 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10844 if ((argc
>= 2) && (argc
<= 3)) {
10845 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10849 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10854 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10855 PyObject
*resultobj
= 0;
10856 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10859 PyObject
*swig_obj
[1] ;
10861 if (!args
) SWIG_fail
;
10862 swig_obj
[0] = args
;
10863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10864 if (!SWIG_IsOK(res1
)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10867 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_Py_Void();
10882 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
= 0;
10884 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10886 bool arg3
= (bool) false ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 char * kwnames
[] = {
10897 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10902 if (!SWIG_IsOK(res1
)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10905 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10907 if (!SWIG_IsOK(ecode2
)) {
10908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10910 arg2
= static_cast< int >(val2
);
10912 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10913 if (!SWIG_IsOK(ecode3
)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10916 arg3
= static_cast< bool >(val3
);
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 (arg1
)->Start(arg2
,arg3
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= SWIG_Py_Void();
10931 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10934 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10935 return SWIG_Py_Void();
10938 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10939 return SWIG_Python_InitShadowInstance(args
);
10942 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10943 PyObject
*resultobj
= 0;
10944 wxLog
*result
= 0 ;
10946 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (wxLog
*)new wxLog();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10960 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10961 PyObject
*resultobj
= 0;
10962 wxLog
*arg1
= (wxLog
*) 0 ;
10965 PyObject
*swig_obj
[1] ;
10967 if (!args
) SWIG_fail
;
10968 swig_obj
[0] = args
;
10969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
10970 if (!SWIG_IsOK(res1
)) {
10971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
10973 arg1
= reinterpret_cast< wxLog
* >(argp1
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= SWIG_Py_Void();
10988 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10989 PyObject
*resultobj
= 0;
10992 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (bool)wxLog::IsEnabled();
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11008 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
= 0;
11010 bool arg1
= (bool) true ;
11014 PyObject
* obj0
= 0 ;
11015 char * kwnames
[] = {
11016 (char *) "doIt", NULL
11019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11021 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11022 if (!SWIG_IsOK(ecode1
)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11025 arg1
= static_cast< bool >(val1
);
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (bool)wxLog::EnableLogging(arg1
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11042 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= 0;
11045 wxChar
*arg2
= (wxChar
*) 0 ;
11047 unsigned long val1
;
11051 unsigned int val3
;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 PyObject
* obj2
= 0 ;
11056 char * kwnames
[] = {
11057 (char *) "level",(char *) "szString",(char *) "t", NULL
11060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11061 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11062 if (!SWIG_IsOK(ecode1
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11065 arg1
= static_cast< wxLogLevel
>(val1
);
11066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11067 if (!SWIG_IsOK(res2
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11070 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11071 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11072 if (!SWIG_IsOK(ecode3
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11075 arg3
= static_cast< time_t >(val3
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= SWIG_Py_Void();
11089 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 PyObject
*resultobj
= 0;
11091 wxLog
*arg1
= (wxLog
*) 0 ;
11094 PyObject
*swig_obj
[1] ;
11096 if (!args
) SWIG_fail
;
11097 swig_obj
[0] = args
;
11098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11099 if (!SWIG_IsOK(res1
)) {
11100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11102 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= SWIG_Py_Void();
11116 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 PyObject
*resultobj
= 0;
11119 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 wxLog::FlushActive();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= SWIG_Py_Void();
11133 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11134 PyObject
*resultobj
= 0;
11135 wxLog
*result
= 0 ;
11137 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (wxLog
*)wxLog::GetActiveTarget();
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11151 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
= 0;
11153 wxLog
*arg1
= (wxLog
*) 0 ;
11154 wxLog
*result
= 0 ;
11156 PyObject
* obj0
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "pLogger", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11179 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11180 PyObject
*resultobj
= 0;
11182 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= SWIG_Py_Void();
11196 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11197 PyObject
*resultobj
= 0;
11199 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_Py_Void();
11213 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
= 0;
11215 bool arg1
= (bool) true ;
11218 PyObject
* obj0
= 0 ;
11219 char * kwnames
[] = {
11220 (char *) "bVerbose", NULL
11223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11225 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11226 if (!SWIG_IsOK(ecode1
)) {
11227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11229 arg1
= static_cast< bool >(val1
);
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxLog::SetVerbose(arg1
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= SWIG_Py_Void();
11244 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
= 0;
11247 unsigned long val1
;
11249 PyObject
* obj0
= 0 ;
11250 char * kwnames
[] = {
11251 (char *) "logLevel", NULL
11254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11255 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11256 if (!SWIG_IsOK(ecode1
)) {
11257 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11259 arg1
= static_cast< wxLogLevel
>(val1
);
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 wxLog::SetLogLevel(arg1
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= SWIG_Py_Void();
11273 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11274 PyObject
*resultobj
= 0;
11276 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 wxLog::DontCreateOnDemand();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_Py_Void();
11290 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
= 0;
11293 unsigned long val1
;
11295 PyObject
* obj0
= 0 ;
11296 char * kwnames
[] = {
11297 (char *) "ulMask", NULL
11300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11301 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11302 if (!SWIG_IsOK(ecode1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11305 arg1
= static_cast< wxTraceMask
>(val1
);
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 wxLog::SetTraceMask(arg1
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_Py_Void();
11319 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
= 0;
11321 wxString
*arg1
= 0 ;
11322 bool temp1
= false ;
11323 PyObject
* obj0
= 0 ;
11324 char * kwnames
[] = {
11325 (char *) "str", NULL
11328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11330 arg1
= wxString_in_helper(obj0
);
11331 if (arg1
== NULL
) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 wxLog::AddTraceMask((wxString
const &)*arg1
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_Py_Void();
11355 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= 0;
11357 wxString
*arg1
= 0 ;
11358 bool temp1
= false ;
11359 PyObject
* obj0
= 0 ;
11360 char * kwnames
[] = {
11361 (char *) "str", NULL
11364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11366 arg1
= wxString_in_helper(obj0
);
11367 if (arg1
== NULL
) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_Py_Void();
11391 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11392 PyObject
*resultobj
= 0;
11394 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 wxLog::ClearTraceMasks();
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_Py_Void();
11408 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11409 PyObject
*resultobj
= 0;
11410 wxArrayString
*result
= 0 ;
11412 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11417 result
= (wxArrayString
*) &_result_ref
;
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= wxArrayString2PyList_helper(*result
);
11431 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
= 0;
11433 wxChar
*arg1
= (wxChar
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 char * kwnames
[] = {
11438 (char *) "ts", NULL
11441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11443 if (!SWIG_IsOK(res1
)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11446 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 wxLog::SetTimestamp((wxChar
const *)arg1
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_Py_Void();
11460 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11461 PyObject
*resultobj
= 0;
11464 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (bool)wxLog::GetVerbose();
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11480 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11481 PyObject
*resultobj
= 0;
11482 wxTraceMask result
;
11484 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (wxTraceMask
)wxLog::GetTraceMask();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11498 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
= 0;
11500 wxChar
*arg1
= (wxChar
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 char * kwnames
[] = {
11506 (char *) "mask", NULL
11509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11511 if (!SWIG_IsOK(res1
)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11514 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11530 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11531 PyObject
*resultobj
= 0;
11534 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (wxLogLevel
)wxLog::GetLogLevel();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11548 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11549 PyObject
*resultobj
= 0;
11550 wxChar
*result
= 0 ;
11552 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (wxChar
*)wxLog::GetTimestamp();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11566 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 PyObject
*resultobj
= 0;
11570 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 result
= wxLog_TimeStamp();
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11590 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11591 PyObject
*resultobj
= 0;
11592 wxLog
*arg1
= (wxLog
*) 0 ;
11595 PyObject
*swig_obj
[1] ;
11597 if (!args
) SWIG_fail
;
11598 swig_obj
[0] = args
;
11599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11600 if (!SWIG_IsOK(res1
)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11603 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 wxLog_Destroy(arg1
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_Py_Void();
11617 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11620 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11621 return SWIG_Py_Void();
11624 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11625 return SWIG_Python_InitShadowInstance(args
);
11628 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11629 PyObject
*resultobj
= 0;
11630 wxLogStderr
*result
= 0 ;
11632 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (wxLogStderr
*)new wxLogStderr();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11646 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11649 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11650 return SWIG_Py_Void();
11653 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11654 return SWIG_Python_InitShadowInstance(args
);
11657 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
= 0;
11659 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11660 wxLogTextCtrl
*result
= 0 ;
11663 PyObject
* obj0
= 0 ;
11664 char * kwnames
[] = {
11665 (char *) "pTextCtrl", NULL
11668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11670 if (!SWIG_IsOK(res1
)) {
11671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11673 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11687 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11690 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11691 return SWIG_Py_Void();
11694 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 return SWIG_Python_InitShadowInstance(args
);
11698 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 PyObject
*resultobj
= 0;
11700 wxLogGui
*result
= 0 ;
11702 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (wxLogGui
*)new wxLogGui();
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11716 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11718 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11719 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11720 return SWIG_Py_Void();
11723 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11724 return SWIG_Python_InitShadowInstance(args
);
11727 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
= 0;
11729 wxFrame
*arg1
= (wxFrame
*) 0 ;
11730 wxString
*arg2
= 0 ;
11731 bool arg3
= (bool) true ;
11732 bool arg4
= (bool) true ;
11733 wxLogWindow
*result
= 0 ;
11736 bool temp2
= false ;
11741 PyObject
* obj0
= 0 ;
11742 PyObject
* obj1
= 0 ;
11743 PyObject
* obj2
= 0 ;
11744 PyObject
* obj3
= 0 ;
11745 char * kwnames
[] = {
11746 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11751 if (!SWIG_IsOK(res1
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11754 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11756 arg2
= wxString_in_helper(obj1
);
11757 if (arg2
== NULL
) SWIG_fail
;
11761 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11762 if (!SWIG_IsOK(ecode3
)) {
11763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11765 arg3
= static_cast< bool >(val3
);
11768 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11769 if (!SWIG_IsOK(ecode4
)) {
11770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11772 arg4
= static_cast< bool >(val4
);
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11795 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
= 0;
11797 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11798 bool arg2
= (bool) true ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 char * kwnames
[] = {
11806 (char *) "self",(char *) "bShow", NULL
11809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11811 if (!SWIG_IsOK(res1
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11814 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11817 if (!SWIG_IsOK(ecode2
)) {
11818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11820 arg2
= static_cast< bool >(val2
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 (arg1
)->Show(arg2
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_Py_Void();
11835 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 PyObject
*resultobj
= 0;
11837 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11838 wxFrame
*result
= 0 ;
11841 PyObject
*swig_obj
[1] ;
11843 if (!args
) SWIG_fail
;
11844 swig_obj
[0] = args
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11849 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11865 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11866 PyObject
*resultobj
= 0;
11867 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11868 wxLog
*result
= 0 ;
11871 PyObject
*swig_obj
[1] ;
11873 if (!args
) SWIG_fail
;
11874 swig_obj
[0] = args
;
11875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11876 if (!SWIG_IsOK(res1
)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11879 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11893 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11894 PyObject
*resultobj
= 0;
11895 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11899 PyObject
*swig_obj
[1] ;
11901 if (!args
) SWIG_fail
;
11902 swig_obj
[0] = args
;
11903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11907 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11923 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
= 0;
11925 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 char * kwnames
[] = {
11934 (char *) "self",(char *) "bDoPass", NULL
11937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11939 if (!SWIG_IsOK(res1
)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11942 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11943 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11944 if (!SWIG_IsOK(ecode2
)) {
11945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11947 arg2
= static_cast< bool >(val2
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 (arg1
)->PassMessages(arg2
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_Py_Void();
11961 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11964 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11965 return SWIG_Py_Void();
11968 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11969 return SWIG_Python_InitShadowInstance(args
);
11972 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
= 0;
11974 wxLog
*arg1
= (wxLog
*) 0 ;
11975 wxLogChain
*result
= 0 ;
11978 PyObject
* obj0
= 0 ;
11979 char * kwnames
[] = {
11980 (char *) "logger", NULL
11983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
11984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11985 if (!SWIG_IsOK(res1
)) {
11986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
11988 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (wxLogChain
*)new wxLogChain(arg1
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12002 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
= 0;
12004 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12005 wxLog
*arg2
= (wxLog
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 char * kwnames
[] = {
12013 (char *) "self",(char *) "logger", NULL
12016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12018 if (!SWIG_IsOK(res1
)) {
12019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12021 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12023 if (!SWIG_IsOK(res2
)) {
12024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12026 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 (arg1
)->SetLog(arg2
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_Py_Void();
12040 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 char * kwnames
[] = {
12051 (char *) "self",(char *) "bDoPass", NULL
12054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12059 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12060 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12061 if (!SWIG_IsOK(ecode2
)) {
12062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12064 arg2
= static_cast< bool >(val2
);
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 (arg1
)->PassMessages(arg2
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_Py_Void();
12078 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12079 PyObject
*resultobj
= 0;
12080 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12084 PyObject
*swig_obj
[1] ;
12086 if (!args
) SWIG_fail
;
12087 swig_obj
[0] = args
;
12088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12089 if (!SWIG_IsOK(res1
)) {
12090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12092 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (bool)(arg1
)->IsPassingMessages();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12108 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12109 PyObject
*resultobj
= 0;
12110 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12111 wxLog
*result
= 0 ;
12114 PyObject
*swig_obj
[1] ;
12116 if (!args
) SWIG_fail
;
12117 swig_obj
[0] = args
;
12118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12119 if (!SWIG_IsOK(res1
)) {
12120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12122 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (wxLog
*)(arg1
)->GetOldLog();
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12136 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12139 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12140 return SWIG_Py_Void();
12143 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12144 return SWIG_Python_InitShadowInstance(args
);
12147 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12148 PyObject
*resultobj
= 0;
12149 wxLogBuffer
*result
= 0 ;
12151 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (wxLogBuffer
*)new wxLogBuffer();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12165 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12166 PyObject
*resultobj
= 0;
12167 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12168 wxString
*result
= 0 ;
12171 PyObject
*swig_obj
[1] ;
12173 if (!args
) SWIG_fail
;
12174 swig_obj
[0] = args
;
12175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12176 if (!SWIG_IsOK(res1
)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12179 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12184 result
= (wxString
*) &_result_ref
;
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12202 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12205 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12206 return SWIG_Py_Void();
12209 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 return SWIG_Python_InitShadowInstance(args
);
12213 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12214 PyObject
*resultobj
= 0;
12215 unsigned long result
;
12217 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (unsigned long)wxSysErrorCode();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12231 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
= 0;
12233 unsigned long arg1
= (unsigned long) 0 ;
12235 unsigned long val1
;
12237 PyObject
* obj0
= 0 ;
12238 char * kwnames
[] = {
12239 (char *) "nErrCode", NULL
12242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12244 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12245 if (!SWIG_IsOK(ecode1
)) {
12246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12248 arg1
= static_cast< unsigned long >(val1
);
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= wxSysErrorMsg(arg1
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12269 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
= 0;
12271 wxString
*arg1
= 0 ;
12272 bool temp1
= false ;
12273 PyObject
* obj0
= 0 ;
12274 char * kwnames
[] = {
12275 (char *) "msg", NULL
12278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12280 arg1
= wxString_in_helper(obj0
);
12281 if (arg1
== NULL
) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 wxPyLogFatalError((wxString
const &)*arg1
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_Py_Void();
12305 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
= 0;
12307 wxString
*arg1
= 0 ;
12308 bool temp1
= false ;
12309 PyObject
* obj0
= 0 ;
12310 char * kwnames
[] = {
12311 (char *) "msg", NULL
12314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12316 arg1
= wxString_in_helper(obj0
);
12317 if (arg1
== NULL
) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 wxPyLogError((wxString
const &)*arg1
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_Py_Void();
12341 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
= 0;
12343 wxString
*arg1
= 0 ;
12344 bool temp1
= false ;
12345 PyObject
* obj0
= 0 ;
12346 char * kwnames
[] = {
12347 (char *) "msg", NULL
12350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12352 arg1
= wxString_in_helper(obj0
);
12353 if (arg1
== NULL
) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 wxPyLogWarning((wxString
const &)*arg1
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12377 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 wxString
*arg1
= 0 ;
12380 bool temp1
= false ;
12381 PyObject
* obj0
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "msg", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12388 arg1
= wxString_in_helper(obj0
);
12389 if (arg1
== NULL
) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 wxPyLogMessage((wxString
const &)*arg1
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_Py_Void();
12413 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= 0;
12415 wxString
*arg1
= 0 ;
12416 bool temp1
= false ;
12417 PyObject
* obj0
= 0 ;
12418 char * kwnames
[] = {
12419 (char *) "msg", NULL
12422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12424 arg1
= wxString_in_helper(obj0
);
12425 if (arg1
== NULL
) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 wxPyLogInfo((wxString
const &)*arg1
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_Py_Void();
12449 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
= 0;
12451 wxString
*arg1
= 0 ;
12452 bool temp1
= false ;
12453 PyObject
* obj0
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "msg", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12460 arg1
= wxString_in_helper(obj0
);
12461 if (arg1
== NULL
) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 wxPyLogDebug((wxString
const &)*arg1
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_Py_Void();
12485 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
= 0;
12487 wxString
*arg1
= 0 ;
12488 bool temp1
= false ;
12489 PyObject
* obj0
= 0 ;
12490 char * kwnames
[] = {
12491 (char *) "msg", NULL
12494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12496 arg1
= wxString_in_helper(obj0
);
12497 if (arg1
== NULL
) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 wxPyLogVerbose((wxString
const &)*arg1
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_Py_Void();
12521 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= 0;
12523 wxString
*arg1
= 0 ;
12524 bool temp1
= false ;
12525 PyObject
* obj0
= 0 ;
12526 char * kwnames
[] = {
12527 (char *) "msg", NULL
12530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12532 arg1
= wxString_in_helper(obj0
);
12533 if (arg1
== NULL
) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 wxPyLogStatus((wxString
const &)*arg1
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_Py_Void();
12557 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
= 0;
12559 wxFrame
*arg1
= (wxFrame
*) 0 ;
12560 wxString
*arg2
= 0 ;
12563 bool temp2
= false ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char * kwnames
[] = {
12567 (char *) "pFrame",(char *) "msg", NULL
12570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12572 if (!SWIG_IsOK(res1
)) {
12573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12575 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12577 arg2
= wxString_in_helper(obj1
);
12578 if (arg2
== NULL
) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_Py_Void();
12602 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
= 0;
12604 wxString
*arg1
= 0 ;
12605 bool temp1
= false ;
12606 PyObject
* obj0
= 0 ;
12607 char * kwnames
[] = {
12608 (char *) "msg", NULL
12611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12613 arg1
= wxString_in_helper(obj0
);
12614 if (arg1
== NULL
) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 wxPyLogSysError((wxString
const &)*arg1
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_Py_Void();
12638 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
= 0;
12640 unsigned long arg1
;
12641 wxString
*arg2
= 0 ;
12642 unsigned long val1
;
12644 bool temp2
= false ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char * kwnames
[] = {
12648 (char *) "level",(char *) "msg", NULL
12651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12652 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12653 if (!SWIG_IsOK(ecode1
)) {
12654 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12656 arg1
= static_cast< unsigned long >(val1
);
12658 arg2
= wxString_in_helper(obj1
);
12659 if (arg2
== NULL
) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= SWIG_Py_Void();
12683 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12684 PyObject
*resultobj
= 0;
12685 unsigned long arg1
;
12686 wxString
*arg2
= 0 ;
12687 unsigned long val1
;
12689 bool temp2
= false ;
12691 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12692 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12693 if (!SWIG_IsOK(ecode1
)) {
12694 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12696 arg1
= static_cast< unsigned long >(val1
);
12698 arg2
= wxString_in_helper(swig_obj
[1]);
12699 if (arg2
== NULL
) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= SWIG_Py_Void();
12723 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12724 PyObject
*resultobj
= 0;
12725 wxString
*arg1
= 0 ;
12726 wxString
*arg2
= 0 ;
12727 bool temp1
= false ;
12728 bool temp2
= false ;
12730 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12732 arg1
= wxString_in_helper(swig_obj
[0]);
12733 if (arg1
== NULL
) SWIG_fail
;
12737 arg2
= wxString_in_helper(swig_obj
[1]);
12738 if (arg2
== NULL
) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_Py_Void();
12770 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12774 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12780 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12783 if (!_v
) goto check_1
;
12784 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12789 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12793 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12798 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
= 0;
12800 wxString
*arg1
= 0 ;
12801 wxString
*arg2
= 0 ;
12802 bool temp1
= false ;
12803 bool temp2
= false ;
12804 PyObject
* obj0
= 0 ;
12805 PyObject
* obj1
= 0 ;
12806 char * kwnames
[] = {
12807 (char *) "title",(char *) "text", NULL
12810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12812 arg1
= wxString_in_helper(obj0
);
12813 if (arg1
== NULL
) SWIG_fail
;
12817 arg2
= wxString_in_helper(obj1
);
12818 if (arg2
== NULL
) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 resultobj
= SWIG_Py_Void();
12850 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 PyObject
*resultobj
= 0;
12852 wxLogNull
*result
= 0 ;
12854 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (wxLogNull
*)new wxLogNull();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12868 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12869 PyObject
*resultobj
= 0;
12870 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12873 PyObject
*swig_obj
[1] ;
12875 if (!args
) SWIG_fail
;
12876 swig_obj
[0] = args
;
12877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12878 if (!SWIG_IsOK(res1
)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12881 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_Py_Void();
12896 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12899 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12900 return SWIG_Py_Void();
12903 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12904 return SWIG_Python_InitShadowInstance(args
);
12907 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12908 PyObject
*resultobj
= 0;
12909 wxPyLog
*result
= 0 ;
12911 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (wxPyLog
*)new wxPyLog();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12925 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
= 0;
12927 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12928 PyObject
*arg2
= (PyObject
*) 0 ;
12929 PyObject
*arg3
= (PyObject
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 PyObject
* obj2
= 0 ;
12935 char * kwnames
[] = {
12936 (char *) "self",(char *) "self",(char *) "_class", NULL
12939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12941 if (!SWIG_IsOK(res1
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12944 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_Py_Void();
12960 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12963 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12964 return SWIG_Py_Void();
12967 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 return SWIG_Python_InitShadowInstance(args
);
12971 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
= 0;
12974 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12975 int arg3
= (int) wxKILL_NOCHILDREN
;
12976 wxKillError result
;
12983 PyObject
* obj0
= 0 ;
12984 PyObject
* obj1
= 0 ;
12985 PyObject
* obj2
= 0 ;
12986 char * kwnames
[] = {
12987 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12991 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12992 if (!SWIG_IsOK(ecode1
)) {
12993 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
12995 arg1
= static_cast< int >(val1
);
12997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12998 if (!SWIG_IsOK(ecode2
)) {
12999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13001 arg2
= static_cast< wxSignal
>(val2
);
13004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13005 if (!SWIG_IsOK(ecode3
)) {
13006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13008 arg3
= static_cast< int >(val3
);
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_From_int(static_cast< int >(result
));
13023 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
= 0;
13029 PyObject
* obj0
= 0 ;
13030 char * kwnames
[] = {
13031 (char *) "pid", NULL
13034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13035 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13036 if (!SWIG_IsOK(ecode1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13039 arg1
= static_cast< int >(val1
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (bool)wxPyProcess::Exists(arg1
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxString
*arg1
= 0 ;
13058 int arg2
= (int) wxEXEC_ASYNC
;
13059 wxPyProcess
*result
= 0 ;
13060 bool temp1
= false ;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 char * kwnames
[] = {
13066 (char *) "cmd",(char *) "flags", NULL
13069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13071 arg1
= wxString_in_helper(obj0
);
13072 if (arg1
== NULL
) SWIG_fail
;
13076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13077 if (!SWIG_IsOK(ecode2
)) {
13078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13080 arg2
= static_cast< int >(val2
);
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13103 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
= 0;
13105 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13106 int arg2
= (int) -1 ;
13107 wxPyProcess
*result
= 0 ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char * kwnames
[] = {
13115 (char *) "parent",(char *) "id", NULL
13118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13121 if (!SWIG_IsOK(res1
)) {
13122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13124 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13128 if (!SWIG_IsOK(ecode2
)) {
13129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13131 arg2
= static_cast< int >(val2
);
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13146 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
= 0;
13148 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13149 PyObject
*arg2
= (PyObject
*) 0 ;
13150 PyObject
*arg3
= (PyObject
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 PyObject
* obj2
= 0 ;
13156 char * kwnames
[] = {
13157 (char *) "self",(char *) "self",(char *) "_class", NULL
13160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13162 if (!SWIG_IsOK(res1
)) {
13163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13165 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_Py_Void();
13181 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
= 0;
13183 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 PyObject
* obj2
= 0 ;
13195 char * kwnames
[] = {
13196 (char *) "self",(char *) "pid",(char *) "status", NULL
13199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13201 if (!SWIG_IsOK(res1
)) {
13202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13204 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13206 if (!SWIG_IsOK(ecode2
)) {
13207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13209 arg2
= static_cast< int >(val2
);
13210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13211 if (!SWIG_IsOK(ecode3
)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13214 arg3
= static_cast< int >(val3
);
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 (arg1
)->OnTerminate(arg2
,arg3
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= SWIG_Py_Void();
13228 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13229 PyObject
*resultobj
= 0;
13230 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13233 PyObject
*swig_obj
[1] ;
13235 if (!args
) SWIG_fail
;
13236 swig_obj
[0] = args
;
13237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13238 if (!SWIG_IsOK(res1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13241 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->Redirect();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_Py_Void();
13255 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13256 PyObject
*resultobj
= 0;
13257 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13261 PyObject
*swig_obj
[1] ;
13263 if (!args
) SWIG_fail
;
13264 swig_obj
[0] = args
;
13265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13266 if (!SWIG_IsOK(res1
)) {
13267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13269 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 result
= (bool)(arg1
)->IsRedirected();
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13285 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13286 PyObject
*resultobj
= 0;
13287 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13290 PyObject
*swig_obj
[1] ;
13292 if (!args
) SWIG_fail
;
13293 swig_obj
[0] = args
;
13294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13295 if (!SWIG_IsOK(res1
)) {
13296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13298 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_Py_Void();
13312 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13313 PyObject
*resultobj
= 0;
13314 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13315 wxInputStream
*result
= 0 ;
13318 PyObject
*swig_obj
[1] ;
13320 if (!args
) SWIG_fail
;
13321 swig_obj
[0] = args
;
13322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13323 if (!SWIG_IsOK(res1
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13326 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 wxPyInputStream
* _ptr
= NULL
;
13337 _ptr
= new wxPyInputStream(result
);
13339 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13347 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13348 PyObject
*resultobj
= 0;
13349 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13350 wxInputStream
*result
= 0 ;
13353 PyObject
*swig_obj
[1] ;
13355 if (!args
) SWIG_fail
;
13356 swig_obj
[0] = args
;
13357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13358 if (!SWIG_IsOK(res1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13361 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 wxPyInputStream
* _ptr
= NULL
;
13372 _ptr
= new wxPyInputStream(result
);
13374 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13382 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13385 wxOutputStream
*result
= 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13396 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13410 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13411 PyObject
*resultobj
= 0;
13412 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13415 PyObject
*swig_obj
[1] ;
13417 if (!args
) SWIG_fail
;
13418 swig_obj
[0] = args
;
13419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13420 if (!SWIG_IsOK(res1
)) {
13421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13423 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 (arg1
)->CloseOutput();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_Py_Void();
13437 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13438 PyObject
*resultobj
= 0;
13439 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13443 PyObject
*swig_obj
[1] ;
13445 if (!args
) SWIG_fail
;
13446 swig_obj
[0] = args
;
13447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13451 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13467 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13468 PyObject
*resultobj
= 0;
13469 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13473 PyObject
*swig_obj
[1] ;
13475 if (!args
) SWIG_fail
;
13476 swig_obj
[0] = args
;
13477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13478 if (!SWIG_IsOK(res1
)) {
13479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13481 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13497 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13498 PyObject
*resultobj
= 0;
13499 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13503 PyObject
*swig_obj
[1] ;
13505 if (!args
) SWIG_fail
;
13506 swig_obj
[0] = args
;
13507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13508 if (!SWIG_IsOK(res1
)) {
13509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13511 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13527 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13529 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13530 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13531 return SWIG_Py_Void();
13534 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13535 return SWIG_Python_InitShadowInstance(args
);
13538 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
= 0;
13540 int arg1
= (int) 0 ;
13541 int arg2
= (int) 0 ;
13542 int arg3
= (int) 0 ;
13543 wxProcessEvent
*result
= 0 ;
13550 PyObject
* obj0
= 0 ;
13551 PyObject
* obj1
= 0 ;
13552 PyObject
* obj2
= 0 ;
13553 char * kwnames
[] = {
13554 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13559 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13560 if (!SWIG_IsOK(ecode1
)) {
13561 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13563 arg1
= static_cast< int >(val1
);
13566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13567 if (!SWIG_IsOK(ecode2
)) {
13568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13570 arg2
= static_cast< int >(val2
);
13573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13574 if (!SWIG_IsOK(ecode3
)) {
13575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13577 arg3
= static_cast< int >(val3
);
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13592 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 PyObject
*resultobj
= 0;
13594 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13598 PyObject
*swig_obj
[1] ;
13600 if (!args
) SWIG_fail
;
13601 swig_obj
[0] = args
;
13602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13606 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (int)(arg1
)->GetPid();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_From_int(static_cast< int >(result
));
13620 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13621 PyObject
*resultobj
= 0;
13622 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13626 PyObject
*swig_obj
[1] ;
13628 if (!args
) SWIG_fail
;
13629 swig_obj
[0] = args
;
13630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13631 if (!SWIG_IsOK(res1
)) {
13632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13634 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (int)(arg1
)->GetExitCode();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_From_int(static_cast< int >(result
));
13648 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13649 PyObject
*resultobj
= 0;
13650 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13656 PyObject
*swig_obj
[2] ;
13658 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13660 if (!SWIG_IsOK(res1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13663 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13664 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13665 if (!SWIG_IsOK(ecode2
)) {
13666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13668 arg2
= static_cast< int >(val2
);
13669 if (arg1
) (arg1
)->m_pid
= arg2
;
13671 resultobj
= SWIG_Py_Void();
13678 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13679 PyObject
*resultobj
= 0;
13680 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13684 PyObject
*swig_obj
[1] ;
13686 if (!args
) SWIG_fail
;
13687 swig_obj
[0] = args
;
13688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13689 if (!SWIG_IsOK(res1
)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13692 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13693 result
= (int) ((arg1
)->m_pid
);
13694 resultobj
= SWIG_From_int(static_cast< int >(result
));
13701 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13702 PyObject
*resultobj
= 0;
13703 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13709 PyObject
*swig_obj
[2] ;
13711 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13713 if (!SWIG_IsOK(res1
)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13716 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13717 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13718 if (!SWIG_IsOK(ecode2
)) {
13719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13721 arg2
= static_cast< int >(val2
);
13722 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13724 resultobj
= SWIG_Py_Void();
13731 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13732 PyObject
*resultobj
= 0;
13733 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13737 PyObject
*swig_obj
[1] ;
13739 if (!args
) SWIG_fail
;
13740 swig_obj
[0] = args
;
13741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13742 if (!SWIG_IsOK(res1
)) {
13743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13745 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13746 result
= (int) ((arg1
)->m_exitcode
);
13747 resultobj
= SWIG_From_int(static_cast< int >(result
));
13754 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13757 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13758 return SWIG_Py_Void();
13761 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13762 return SWIG_Python_InitShadowInstance(args
);
13765 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
= 0;
13767 wxString
*arg1
= 0 ;
13768 int arg2
= (int) wxEXEC_ASYNC
;
13769 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13771 bool temp1
= false ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 PyObject
* obj2
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "command",(char *) "flags",(char *) "process", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13785 arg1
= wxString_in_helper(obj0
);
13786 if (arg1
== NULL
) SWIG_fail
;
13790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13791 if (!SWIG_IsOK(ecode2
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13794 arg2
= static_cast< int >(val2
);
13797 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13798 if (!SWIG_IsOK(res3
)) {
13799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13801 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13804 if (!wxPyCheckForApp()) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_From_long(static_cast< long >(result
));
13825 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
= 0;
13828 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13829 wxKillError
*arg3
= (wxKillError
*) 0 ;
13830 int arg4
= (int) wxKILL_NOCHILDREN
;
13836 wxKillError temp3
;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 PyObject
* obj2
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13850 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13851 if (!SWIG_IsOK(ecode1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13854 arg1
= static_cast< long >(val1
);
13856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13857 if (!SWIG_IsOK(ecode2
)) {
13858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13860 arg2
= static_cast< wxSignal
>(val2
);
13863 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13864 if (!SWIG_IsOK(ecode4
)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13867 arg4
= static_cast< int >(val4
);
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= SWIG_From_int(static_cast< int >(result
));
13878 o
= PyInt_FromLong((long) (*arg3
));
13882 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13891 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
= 0;
13893 int arg1
= (int) wxJOYSTICK1
;
13894 wxJoystick
*result
= 0 ;
13897 PyObject
* obj0
= 0 ;
13898 char * kwnames
[] = {
13899 (char *) "joystick", NULL
13902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13904 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13905 if (!SWIG_IsOK(ecode1
)) {
13906 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13908 arg1
= static_cast< int >(val1
);
13911 if (!wxPyCheckForApp()) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (wxJoystick
*)new wxJoystick(arg1
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13924 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13925 PyObject
*resultobj
= 0;
13926 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13929 PyObject
*swig_obj
[1] ;
13931 if (!args
) SWIG_fail
;
13932 swig_obj
[0] = args
;
13933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13934 if (!SWIG_IsOK(res1
)) {
13935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13937 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_Py_Void();
13952 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13953 PyObject
*resultobj
= 0;
13954 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13958 PyObject
*swig_obj
[1] ;
13960 if (!args
) SWIG_fail
;
13961 swig_obj
[0] = args
;
13962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13963 if (!SWIG_IsOK(res1
)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13966 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (arg1
)->GetPosition();
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
13980 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13981 PyObject
*resultobj
= 0;
13982 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13986 PyObject
*swig_obj
[1] ;
13988 if (!args
) SWIG_fail
;
13989 swig_obj
[0] = args
;
13990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13991 if (!SWIG_IsOK(res1
)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13994 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (int)(arg1
)->GetZPosition();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_From_int(static_cast< int >(result
));
14008 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14009 PyObject
*resultobj
= 0;
14010 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14014 PyObject
*swig_obj
[1] ;
14016 if (!args
) SWIG_fail
;
14017 swig_obj
[0] = args
;
14018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14019 if (!SWIG_IsOK(res1
)) {
14020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14022 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (int)(arg1
)->GetButtonState();
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_From_int(static_cast< int >(result
));
14036 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14037 PyObject
*resultobj
= 0;
14038 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14042 PyObject
*swig_obj
[1] ;
14044 if (!args
) SWIG_fail
;
14045 swig_obj
[0] = args
;
14046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14050 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (int)(arg1
)->GetPOVPosition();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_From_int(static_cast< int >(result
));
14064 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14065 PyObject
*resultobj
= 0;
14066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14070 PyObject
*swig_obj
[1] ;
14072 if (!args
) SWIG_fail
;
14073 swig_obj
[0] = args
;
14074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14075 if (!SWIG_IsOK(res1
)) {
14076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14078 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (int)(arg1
)->GetPOVCTSPosition();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_From_int(static_cast< int >(result
));
14092 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14093 PyObject
*resultobj
= 0;
14094 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14098 PyObject
*swig_obj
[1] ;
14100 if (!args
) SWIG_fail
;
14101 swig_obj
[0] = args
;
14102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14103 if (!SWIG_IsOK(res1
)) {
14104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14106 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (int)(arg1
)->GetRudderPosition();
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 resultobj
= SWIG_From_int(static_cast< int >(result
));
14120 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14121 PyObject
*resultobj
= 0;
14122 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14126 PyObject
*swig_obj
[1] ;
14128 if (!args
) SWIG_fail
;
14129 swig_obj
[0] = args
;
14130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14131 if (!SWIG_IsOK(res1
)) {
14132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14134 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (int)(arg1
)->GetUPosition();
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= SWIG_From_int(static_cast< int >(result
));
14148 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14149 PyObject
*resultobj
= 0;
14150 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14154 PyObject
*swig_obj
[1] ;
14156 if (!args
) SWIG_fail
;
14157 swig_obj
[0] = args
;
14158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14159 if (!SWIG_IsOK(res1
)) {
14160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14162 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (int)(arg1
)->GetVPosition();
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 resultobj
= SWIG_From_int(static_cast< int >(result
));
14176 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14177 PyObject
*resultobj
= 0;
14178 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14182 PyObject
*swig_obj
[1] ;
14184 if (!args
) SWIG_fail
;
14185 swig_obj
[0] = args
;
14186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14187 if (!SWIG_IsOK(res1
)) {
14188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14190 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (int)(arg1
)->GetMovementThreshold();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_From_int(static_cast< int >(result
));
14204 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
= 0;
14206 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 char * kwnames
[] = {
14215 (char *) "self",(char *) "threshold", NULL
14218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14220 if (!SWIG_IsOK(res1
)) {
14221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14223 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14225 if (!SWIG_IsOK(ecode2
)) {
14226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14228 arg2
= static_cast< int >(val2
);
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 (arg1
)->SetMovementThreshold(arg2
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= SWIG_Py_Void();
14242 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14243 PyObject
*resultobj
= 0;
14244 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14248 PyObject
*swig_obj
[1] ;
14250 if (!args
) SWIG_fail
;
14251 swig_obj
[0] = args
;
14252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14253 if (!SWIG_IsOK(res1
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14256 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 result
= (bool)(arg1
)->IsOk();
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14272 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14273 PyObject
*resultobj
= 0;
14274 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14278 PyObject
*swig_obj
[1] ;
14280 if (!args
) SWIG_fail
;
14281 swig_obj
[0] = args
;
14282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14283 if (!SWIG_IsOK(res1
)) {
14284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14286 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (int)(arg1
)->GetNumberJoysticks();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_From_int(static_cast< int >(result
));
14300 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14301 PyObject
*resultobj
= 0;
14302 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14306 PyObject
*swig_obj
[1] ;
14308 if (!args
) SWIG_fail
;
14309 swig_obj
[0] = args
;
14310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14311 if (!SWIG_IsOK(res1
)) {
14312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14314 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (int)(arg1
)->GetManufacturerId();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= SWIG_From_int(static_cast< int >(result
));
14328 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14329 PyObject
*resultobj
= 0;
14330 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14334 PyObject
*swig_obj
[1] ;
14336 if (!args
) SWIG_fail
;
14337 swig_obj
[0] = args
;
14338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14339 if (!SWIG_IsOK(res1
)) {
14340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14342 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (int)(arg1
)->GetProductId();
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= SWIG_From_int(static_cast< int >(result
));
14356 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14357 PyObject
*resultobj
= 0;
14358 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14362 PyObject
*swig_obj
[1] ;
14364 if (!args
) SWIG_fail
;
14365 swig_obj
[0] = args
;
14366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14367 if (!SWIG_IsOK(res1
)) {
14368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14370 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (arg1
)->GetProductName();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14390 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14391 PyObject
*resultobj
= 0;
14392 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14396 PyObject
*swig_obj
[1] ;
14398 if (!args
) SWIG_fail
;
14399 swig_obj
[0] = args
;
14400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14401 if (!SWIG_IsOK(res1
)) {
14402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14404 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (int)(arg1
)->GetXMin();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_From_int(static_cast< int >(result
));
14418 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14419 PyObject
*resultobj
= 0;
14420 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14424 PyObject
*swig_obj
[1] ;
14426 if (!args
) SWIG_fail
;
14427 swig_obj
[0] = args
;
14428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14429 if (!SWIG_IsOK(res1
)) {
14430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14432 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (int)(arg1
)->GetYMin();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_From_int(static_cast< int >(result
));
14446 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14447 PyObject
*resultobj
= 0;
14448 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14452 PyObject
*swig_obj
[1] ;
14454 if (!args
) SWIG_fail
;
14455 swig_obj
[0] = args
;
14456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14457 if (!SWIG_IsOK(res1
)) {
14458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14460 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (int)(arg1
)->GetZMin();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_From_int(static_cast< int >(result
));
14474 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14475 PyObject
*resultobj
= 0;
14476 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14480 PyObject
*swig_obj
[1] ;
14482 if (!args
) SWIG_fail
;
14483 swig_obj
[0] = args
;
14484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14488 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (int)(arg1
)->GetXMax();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_From_int(static_cast< int >(result
));
14502 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 PyObject
*resultobj
= 0;
14504 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14508 PyObject
*swig_obj
[1] ;
14510 if (!args
) SWIG_fail
;
14511 swig_obj
[0] = args
;
14512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14516 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (int)(arg1
)->GetYMax();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_From_int(static_cast< int >(result
));
14530 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14531 PyObject
*resultobj
= 0;
14532 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14536 PyObject
*swig_obj
[1] ;
14538 if (!args
) SWIG_fail
;
14539 swig_obj
[0] = args
;
14540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14541 if (!SWIG_IsOK(res1
)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14544 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (int)(arg1
)->GetZMax();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_From_int(static_cast< int >(result
));
14558 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14559 PyObject
*resultobj
= 0;
14560 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14564 PyObject
*swig_obj
[1] ;
14566 if (!args
) SWIG_fail
;
14567 swig_obj
[0] = args
;
14568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14569 if (!SWIG_IsOK(res1
)) {
14570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14572 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (int)(arg1
)->GetNumberButtons();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= SWIG_From_int(static_cast< int >(result
));
14586 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14587 PyObject
*resultobj
= 0;
14588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14592 PyObject
*swig_obj
[1] ;
14594 if (!args
) SWIG_fail
;
14595 swig_obj
[0] = args
;
14596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14597 if (!SWIG_IsOK(res1
)) {
14598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14600 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 result
= (int)(arg1
)->GetNumberAxes();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= SWIG_From_int(static_cast< int >(result
));
14614 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14615 PyObject
*resultobj
= 0;
14616 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14620 PyObject
*swig_obj
[1] ;
14622 if (!args
) SWIG_fail
;
14623 swig_obj
[0] = args
;
14624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14625 if (!SWIG_IsOK(res1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14628 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 result
= (int)(arg1
)->GetMaxButtons();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= SWIG_From_int(static_cast< int >(result
));
14642 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14643 PyObject
*resultobj
= 0;
14644 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14648 PyObject
*swig_obj
[1] ;
14650 if (!args
) SWIG_fail
;
14651 swig_obj
[0] = args
;
14652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14653 if (!SWIG_IsOK(res1
)) {
14654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14656 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (int)(arg1
)->GetMaxAxes();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_From_int(static_cast< int >(result
));
14670 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14671 PyObject
*resultobj
= 0;
14672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14676 PyObject
*swig_obj
[1] ;
14678 if (!args
) SWIG_fail
;
14679 swig_obj
[0] = args
;
14680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14681 if (!SWIG_IsOK(res1
)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14684 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (int)(arg1
)->GetPollingMin();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_From_int(static_cast< int >(result
));
14698 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14699 PyObject
*resultobj
= 0;
14700 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14704 PyObject
*swig_obj
[1] ;
14706 if (!args
) SWIG_fail
;
14707 swig_obj
[0] = args
;
14708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14709 if (!SWIG_IsOK(res1
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14712 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (int)(arg1
)->GetPollingMax();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= SWIG_From_int(static_cast< int >(result
));
14726 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14727 PyObject
*resultobj
= 0;
14728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14732 PyObject
*swig_obj
[1] ;
14734 if (!args
) SWIG_fail
;
14735 swig_obj
[0] = args
;
14736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14737 if (!SWIG_IsOK(res1
)) {
14738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14740 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (int)(arg1
)->GetRudderMin();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= SWIG_From_int(static_cast< int >(result
));
14754 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14755 PyObject
*resultobj
= 0;
14756 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14760 PyObject
*swig_obj
[1] ;
14762 if (!args
) SWIG_fail
;
14763 swig_obj
[0] = args
;
14764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14765 if (!SWIG_IsOK(res1
)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14768 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (int)(arg1
)->GetRudderMax();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_From_int(static_cast< int >(result
));
14782 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14783 PyObject
*resultobj
= 0;
14784 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14788 PyObject
*swig_obj
[1] ;
14790 if (!args
) SWIG_fail
;
14791 swig_obj
[0] = args
;
14792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14793 if (!SWIG_IsOK(res1
)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14796 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (int)(arg1
)->GetUMin();
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= SWIG_From_int(static_cast< int >(result
));
14810 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14811 PyObject
*resultobj
= 0;
14812 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14816 PyObject
*swig_obj
[1] ;
14818 if (!args
) SWIG_fail
;
14819 swig_obj
[0] = args
;
14820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14824 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (int)(arg1
)->GetUMax();
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= SWIG_From_int(static_cast< int >(result
));
14838 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14839 PyObject
*resultobj
= 0;
14840 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14844 PyObject
*swig_obj
[1] ;
14846 if (!args
) SWIG_fail
;
14847 swig_obj
[0] = args
;
14848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14849 if (!SWIG_IsOK(res1
)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14852 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (int)(arg1
)->GetVMin();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_From_int(static_cast< int >(result
));
14866 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14867 PyObject
*resultobj
= 0;
14868 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14872 PyObject
*swig_obj
[1] ;
14874 if (!args
) SWIG_fail
;
14875 swig_obj
[0] = args
;
14876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14877 if (!SWIG_IsOK(res1
)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14880 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 result
= (int)(arg1
)->GetVMax();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= SWIG_From_int(static_cast< int >(result
));
14894 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14895 PyObject
*resultobj
= 0;
14896 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14900 PyObject
*swig_obj
[1] ;
14902 if (!args
) SWIG_fail
;
14903 swig_obj
[0] = args
;
14904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14908 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (bool)(arg1
)->HasRudder();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14924 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14925 PyObject
*resultobj
= 0;
14926 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14930 PyObject
*swig_obj
[1] ;
14932 if (!args
) SWIG_fail
;
14933 swig_obj
[0] = args
;
14934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14935 if (!SWIG_IsOK(res1
)) {
14936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14938 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (bool)(arg1
)->HasZ();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14954 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14955 PyObject
*resultobj
= 0;
14956 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14960 PyObject
*swig_obj
[1] ;
14962 if (!args
) SWIG_fail
;
14963 swig_obj
[0] = args
;
14964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14968 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (bool)(arg1
)->HasU();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14984 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14985 PyObject
*resultobj
= 0;
14986 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14990 PyObject
*swig_obj
[1] ;
14992 if (!args
) SWIG_fail
;
14993 swig_obj
[0] = args
;
14994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14995 if (!SWIG_IsOK(res1
)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
14998 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (bool)(arg1
)->HasV();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15014 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15015 PyObject
*resultobj
= 0;
15016 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15020 PyObject
*swig_obj
[1] ;
15022 if (!args
) SWIG_fail
;
15023 swig_obj
[0] = args
;
15024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15025 if (!SWIG_IsOK(res1
)) {
15026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15028 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= (bool)(arg1
)->HasPOV();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15044 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 PyObject
*resultobj
= 0;
15046 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15050 PyObject
*swig_obj
[1] ;
15052 if (!args
) SWIG_fail
;
15053 swig_obj
[0] = args
;
15054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15055 if (!SWIG_IsOK(res1
)) {
15056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15058 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (bool)(arg1
)->HasPOV4Dir();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15074 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15075 PyObject
*resultobj
= 0;
15076 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15080 PyObject
*swig_obj
[1] ;
15082 if (!args
) SWIG_fail
;
15083 swig_obj
[0] = args
;
15084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15088 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 result
= (bool)(arg1
)->HasPOVCTS();
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15104 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
= 0;
15106 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15107 wxWindow
*arg2
= (wxWindow
*) 0 ;
15108 int arg3
= (int) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 PyObject
* obj2
= 0 ;
15119 char * kwnames
[] = {
15120 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15125 if (!SWIG_IsOK(res1
)) {
15126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15128 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15130 if (!SWIG_IsOK(res2
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15133 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15136 if (!SWIG_IsOK(ecode3
)) {
15137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15139 arg3
= static_cast< int >(val3
);
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15156 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15157 PyObject
*resultobj
= 0;
15158 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15162 PyObject
*swig_obj
[1] ;
15164 if (!args
) SWIG_fail
;
15165 swig_obj
[0] = args
;
15166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15167 if (!SWIG_IsOK(res1
)) {
15168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15170 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (bool)(arg1
)->ReleaseCapture();
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15186 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15189 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15190 return SWIG_Py_Void();
15193 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15194 return SWIG_Python_InitShadowInstance(args
);
15197 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
= 0;
15199 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15200 int arg2
= (int) 0 ;
15201 int arg3
= (int) wxJOYSTICK1
;
15202 int arg4
= (int) 0 ;
15203 wxJoystickEvent
*result
= 0 ;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 PyObject
* obj2
= 0 ;
15215 PyObject
* obj3
= 0 ;
15216 char * kwnames
[] = {
15217 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15222 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15223 if (!SWIG_IsOK(ecode1
)) {
15224 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15226 arg1
= static_cast< wxEventType
>(val1
);
15229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15230 if (!SWIG_IsOK(ecode2
)) {
15231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15233 arg2
= static_cast< int >(val2
);
15236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15237 if (!SWIG_IsOK(ecode3
)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15240 arg3
= static_cast< int >(val3
);
15243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15244 if (!SWIG_IsOK(ecode4
)) {
15245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15247 arg4
= static_cast< int >(val4
);
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15262 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15263 PyObject
*resultobj
= 0;
15264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15268 PyObject
*swig_obj
[1] ;
15270 if (!args
) SWIG_fail
;
15271 swig_obj
[0] = args
;
15272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15273 if (!SWIG_IsOK(res1
)) {
15274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15276 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15290 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15291 PyObject
*resultobj
= 0;
15292 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15296 PyObject
*swig_obj
[1] ;
15298 if (!args
) SWIG_fail
;
15299 swig_obj
[0] = args
;
15300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15301 if (!SWIG_IsOK(res1
)) {
15302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15304 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_From_int(static_cast< int >(result
));
15318 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15319 PyObject
*resultobj
= 0;
15320 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15324 PyObject
*swig_obj
[1] ;
15326 if (!args
) SWIG_fail
;
15327 swig_obj
[0] = args
;
15328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15329 if (!SWIG_IsOK(res1
)) {
15330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15332 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_From_int(static_cast< int >(result
));
15346 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15347 PyObject
*resultobj
= 0;
15348 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15352 PyObject
*swig_obj
[1] ;
15354 if (!args
) SWIG_fail
;
15355 swig_obj
[0] = args
;
15356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15357 if (!SWIG_IsOK(res1
)) {
15358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15360 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_From_int(static_cast< int >(result
));
15374 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15375 PyObject
*resultobj
= 0;
15376 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15380 PyObject
*swig_obj
[1] ;
15382 if (!args
) SWIG_fail
;
15383 swig_obj
[0] = args
;
15384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15388 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_From_int(static_cast< int >(result
));
15402 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
= 0;
15404 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 PyObject
* obj1
= 0 ;
15412 char * kwnames
[] = {
15413 (char *) "self",(char *) "stick", NULL
15416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15418 if (!SWIG_IsOK(res1
)) {
15419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15421 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15423 if (!SWIG_IsOK(ecode2
)) {
15424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15426 arg2
= static_cast< int >(val2
);
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 (arg1
)->SetJoystick(arg2
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_Py_Void();
15440 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
= 0;
15442 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char * kwnames
[] = {
15451 (char *) "self",(char *) "state", NULL
15454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15456 if (!SWIG_IsOK(res1
)) {
15457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15459 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15461 if (!SWIG_IsOK(ecode2
)) {
15462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15464 arg2
= static_cast< int >(val2
);
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 (arg1
)->SetButtonState(arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_Py_Void();
15478 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
= 0;
15480 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 char * kwnames
[] = {
15489 (char *) "self",(char *) "change", NULL
15492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15494 if (!SWIG_IsOK(res1
)) {
15495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15497 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15499 if (!SWIG_IsOK(ecode2
)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15502 arg2
= static_cast< int >(val2
);
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 (arg1
)->SetButtonChange(arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_Py_Void();
15516 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
= 0;
15518 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15519 wxPoint
*arg2
= 0 ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 char * kwnames
[] = {
15526 (char *) "self",(char *) "pos", NULL
15529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15531 if (!SWIG_IsOK(res1
)) {
15532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15534 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_Py_Void();
15552 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
= 0;
15554 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15560 PyObject
* obj0
= 0 ;
15561 PyObject
* obj1
= 0 ;
15562 char * kwnames
[] = {
15563 (char *) "self",(char *) "zPos", NULL
15566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15568 if (!SWIG_IsOK(res1
)) {
15569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15571 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15573 if (!SWIG_IsOK(ecode2
)) {
15574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15576 arg2
= static_cast< int >(val2
);
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 (arg1
)->SetZPosition(arg2
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= SWIG_Py_Void();
15590 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15591 PyObject
*resultobj
= 0;
15592 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15596 PyObject
*swig_obj
[1] ;
15598 if (!args
) SWIG_fail
;
15599 swig_obj
[0] = args
;
15600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15601 if (!SWIG_IsOK(res1
)) {
15602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15604 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15620 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15621 PyObject
*resultobj
= 0;
15622 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15626 PyObject
*swig_obj
[1] ;
15628 if (!args
) SWIG_fail
;
15629 swig_obj
[0] = args
;
15630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15631 if (!SWIG_IsOK(res1
)) {
15632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15634 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15650 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15651 PyObject
*resultobj
= 0;
15652 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15656 PyObject
*swig_obj
[1] ;
15658 if (!args
) SWIG_fail
;
15659 swig_obj
[0] = args
;
15660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15661 if (!SWIG_IsOK(res1
)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15664 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15680 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
= 0;
15682 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15683 int arg2
= (int) wxJOY_BUTTON_ANY
;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 char * kwnames
[] = {
15692 (char *) "self",(char *) "but", NULL
15695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15700 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15703 if (!SWIG_IsOK(ecode2
)) {
15704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15706 arg2
= static_cast< int >(val2
);
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15723 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
= 0;
15725 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15726 int arg2
= (int) wxJOY_BUTTON_ANY
;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 char * kwnames
[] = {
15735 (char *) "self",(char *) "but", NULL
15738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15740 if (!SWIG_IsOK(res1
)) {
15741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15743 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15746 if (!SWIG_IsOK(ecode2
)) {
15747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15749 arg2
= static_cast< int >(val2
);
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15766 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
= 0;
15768 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15769 int arg2
= (int) wxJOY_BUTTON_ANY
;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15777 char * kwnames
[] = {
15778 (char *) "self",(char *) "but", NULL
15781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15783 if (!SWIG_IsOK(res1
)) {
15784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15786 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15789 if (!SWIG_IsOK(ecode2
)) {
15790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15792 arg2
= static_cast< int >(val2
);
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15809 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15812 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15813 return SWIG_Py_Void();
15816 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15817 return SWIG_Python_InitShadowInstance(args
);
15820 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
= 0;
15822 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15823 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15824 wxSound
*result
= 0 ;
15825 bool temp1
= false ;
15826 PyObject
* obj0
= 0 ;
15827 char * kwnames
[] = {
15828 (char *) "fileName", NULL
15831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15834 arg1
= wxString_in_helper(obj0
);
15835 if (arg1
== NULL
) SWIG_fail
;
15840 if (!wxPyCheckForApp()) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15861 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
= 0;
15863 PyObject
*arg1
= (PyObject
*) 0 ;
15864 wxSound
*result
= 0 ;
15865 PyObject
* obj0
= 0 ;
15866 char * kwnames
[] = {
15867 (char *) "data", NULL
15870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15873 if (!wxPyCheckForApp()) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (wxSound
*)new_wxSound(arg1
);
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15886 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15887 PyObject
*resultobj
= 0;
15888 wxSound
*arg1
= (wxSound
*) 0 ;
15891 PyObject
*swig_obj
[1] ;
15893 if (!args
) SWIG_fail
;
15894 swig_obj
[0] = args
;
15895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15899 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 resultobj
= SWIG_Py_Void();
15914 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
= 0;
15916 wxSound
*arg1
= (wxSound
*) 0 ;
15917 wxString
*arg2
= 0 ;
15921 bool temp2
= false ;
15922 PyObject
* obj0
= 0 ;
15923 PyObject
* obj1
= 0 ;
15924 char * kwnames
[] = {
15925 (char *) "self",(char *) "fileName", NULL
15928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15930 if (!SWIG_IsOK(res1
)) {
15931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15933 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15935 arg2
= wxString_in_helper(obj1
);
15936 if (arg2
== NULL
) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15962 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
= 0;
15964 wxSound
*arg1
= (wxSound
*) 0 ;
15965 PyObject
*arg2
= (PyObject
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 PyObject
* obj1
= 0 ;
15971 char * kwnames
[] = {
15972 (char *) "self",(char *) "data", NULL
15975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15977 if (!SWIG_IsOK(res1
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
15980 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15997 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15998 PyObject
*resultobj
= 0;
15999 wxSound
*arg1
= (wxSound
*) 0 ;
16003 PyObject
*swig_obj
[1] ;
16005 if (!args
) SWIG_fail
;
16006 swig_obj
[0] = args
;
16007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16008 if (!SWIG_IsOK(res1
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16011 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (bool)(arg1
)->IsOk();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
= 0;
16029 wxSound
*arg1
= (wxSound
*) 0 ;
16030 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16034 unsigned int val2
;
16036 PyObject
* obj0
= 0 ;
16037 PyObject
* obj1
= 0 ;
16038 char * kwnames
[] = {
16039 (char *) "self",(char *) "flags", NULL
16042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16044 if (!SWIG_IsOK(res1
)) {
16045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16047 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16049 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16050 if (!SWIG_IsOK(ecode2
)) {
16051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16053 arg2
= static_cast< unsigned int >(val2
);
16056 if (!wxPyCheckForApp()) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16071 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
= 0;
16073 wxString
*arg1
= 0 ;
16074 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16076 bool temp1
= false ;
16077 unsigned int val2
;
16079 PyObject
* obj0
= 0 ;
16080 PyObject
* obj1
= 0 ;
16081 char * kwnames
[] = {
16082 (char *) "filename",(char *) "flags", NULL
16085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16087 arg1
= wxString_in_helper(obj0
);
16088 if (arg1
== NULL
) SWIG_fail
;
16092 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16093 if (!SWIG_IsOK(ecode2
)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16096 arg2
= static_cast< unsigned int >(val2
);
16099 if (!wxPyCheckForApp()) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16122 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16123 PyObject
*resultobj
= 0;
16125 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16127 if (!wxPyCheckForApp()) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_Py_Void();
16140 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16143 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16144 return SWIG_Py_Void();
16147 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16148 return SWIG_Python_InitShadowInstance(args
);
16151 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
= 0;
16153 wxString
*arg1
= 0 ;
16154 wxString
*arg2
= 0 ;
16155 wxString
*arg3
= 0 ;
16156 wxString
*arg4
= 0 ;
16157 wxFileTypeInfo
*result
= 0 ;
16158 bool temp1
= false ;
16159 bool temp2
= false ;
16160 bool temp3
= false ;
16161 bool temp4
= false ;
16162 PyObject
* obj0
= 0 ;
16163 PyObject
* obj1
= 0 ;
16164 PyObject
* obj2
= 0 ;
16165 PyObject
* obj3
= 0 ;
16166 char * kwnames
[] = {
16167 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16172 arg1
= wxString_in_helper(obj0
);
16173 if (arg1
== NULL
) SWIG_fail
;
16177 arg2
= wxString_in_helper(obj1
);
16178 if (arg2
== NULL
) SWIG_fail
;
16182 arg3
= wxString_in_helper(obj2
);
16183 if (arg3
== NULL
) SWIG_fail
;
16187 arg4
= wxString_in_helper(obj3
);
16188 if (arg4
== NULL
) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16236 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
= 0;
16238 wxArrayString
*arg1
= 0 ;
16239 wxFileTypeInfo
*result
= 0 ;
16240 bool temp1
= false ;
16241 PyObject
* obj0
= 0 ;
16242 char * kwnames
[] = {
16243 (char *) "sArray", NULL
16246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16248 if (! PySequence_Check(obj0
)) {
16249 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16252 arg1
= new wxArrayString
;
16254 int i
, len
=PySequence_Length(obj0
);
16255 for (i
=0; i
<len
; i
++) {
16256 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16257 wxString
* s
= wxString_in_helper(item
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16272 if (temp1
) delete arg1
;
16277 if (temp1
) delete arg1
;
16283 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16284 PyObject
*resultobj
= 0;
16285 wxFileTypeInfo
*result
= 0 ;
16287 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16301 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16302 PyObject
*resultobj
= 0;
16303 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16307 PyObject
*swig_obj
[1] ;
16309 if (!args
) SWIG_fail
;
16310 swig_obj
[0] = args
;
16311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16312 if (!SWIG_IsOK(res1
)) {
16313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16315 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16331 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
= 0;
16333 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16334 wxString
*arg2
= 0 ;
16335 int arg3
= (int) 0 ;
16338 bool temp2
= false ;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 PyObject
* obj2
= 0 ;
16344 char * kwnames
[] = {
16345 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16350 if (!SWIG_IsOK(res1
)) {
16351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16353 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16355 arg2
= wxString_in_helper(obj1
);
16356 if (arg2
== NULL
) SWIG_fail
;
16360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16361 if (!SWIG_IsOK(ecode3
)) {
16362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16364 arg3
= static_cast< int >(val3
);
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= SWIG_Py_Void();
16387 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
= 0;
16389 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16390 wxString
*arg2
= 0 ;
16393 bool temp2
= false ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char * kwnames
[] = {
16397 (char *) "self",(char *) "shortDesc", NULL
16400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16402 if (!SWIG_IsOK(res1
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16405 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16407 arg2
= wxString_in_helper(obj1
);
16408 if (arg2
== NULL
) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= SWIG_Py_Void();
16432 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16433 PyObject
*resultobj
= 0;
16434 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16435 wxString
*result
= 0 ;
16438 PyObject
*swig_obj
[1] ;
16440 if (!args
) SWIG_fail
;
16441 swig_obj
[0] = args
;
16442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16443 if (!SWIG_IsOK(res1
)) {
16444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16446 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16451 result
= (wxString
*) &_result_ref
;
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16460 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16469 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16470 PyObject
*resultobj
= 0;
16471 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16472 wxString
*result
= 0 ;
16475 PyObject
*swig_obj
[1] ;
16477 if (!args
) SWIG_fail
;
16478 swig_obj
[0] = args
;
16479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16480 if (!SWIG_IsOK(res1
)) {
16481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16483 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16488 result
= (wxString
*) &_result_ref
;
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16497 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16506 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16507 PyObject
*resultobj
= 0;
16508 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16509 wxString
*result
= 0 ;
16512 PyObject
*swig_obj
[1] ;
16514 if (!args
) SWIG_fail
;
16515 swig_obj
[0] = args
;
16516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16517 if (!SWIG_IsOK(res1
)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16520 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16525 result
= (wxString
*) &_result_ref
;
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16534 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16543 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16544 PyObject
*resultobj
= 0;
16545 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16546 wxString
*result
= 0 ;
16549 PyObject
*swig_obj
[1] ;
16551 if (!args
) SWIG_fail
;
16552 swig_obj
[0] = args
;
16553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16554 if (!SWIG_IsOK(res1
)) {
16555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16557 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16562 result
= (wxString
*) &_result_ref
;
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16571 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16580 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16581 PyObject
*resultobj
= 0;
16582 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16583 wxString
*result
= 0 ;
16586 PyObject
*swig_obj
[1] ;
16588 if (!args
) SWIG_fail
;
16589 swig_obj
[0] = args
;
16590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16594 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16599 result
= (wxString
*) &_result_ref
;
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16608 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16617 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16620 wxArrayString
*result
= 0 ;
16623 PyObject
*swig_obj
[1] ;
16625 if (!args
) SWIG_fail
;
16626 swig_obj
[0] = args
;
16627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16628 if (!SWIG_IsOK(res1
)) {
16629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16631 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16636 result
= (wxArrayString
*) &_result_ref
;
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= wxArrayString2PyList_helper(*result
);
16650 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16651 PyObject
*resultobj
= 0;
16652 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16656 PyObject
*swig_obj
[1] ;
16658 if (!args
) SWIG_fail
;
16659 swig_obj
[0] = args
;
16660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16661 if (!SWIG_IsOK(res1
)) {
16662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16664 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16678 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16679 PyObject
*resultobj
= 0;
16680 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16681 wxString
*result
= 0 ;
16684 PyObject
*swig_obj
[1] ;
16686 if (!args
) SWIG_fail
;
16687 swig_obj
[0] = args
;
16688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16689 if (!SWIG_IsOK(res1
)) {
16690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16692 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16697 result
= (wxString
*) &_result_ref
;
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16704 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16706 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16715 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16716 PyObject
*resultobj
= 0;
16717 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16721 PyObject
*swig_obj
[1] ;
16723 if (!args
) SWIG_fail
;
16724 swig_obj
[0] = args
;
16725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16726 if (!SWIG_IsOK(res1
)) {
16727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16729 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= SWIG_From_int(static_cast< int >(result
));
16743 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16746 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16747 return SWIG_Py_Void();
16750 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16751 return SWIG_Python_InitShadowInstance(args
);
16754 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
= 0;
16756 wxFileTypeInfo
*arg1
= 0 ;
16757 wxFileType
*result
= 0 ;
16760 PyObject
* obj0
= 0 ;
16761 char * kwnames
[] = {
16762 (char *) "ftInfo", NULL
16765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16766 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16767 if (!SWIG_IsOK(res1
)) {
16768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16773 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16787 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16788 PyObject
*resultobj
= 0;
16789 wxFileType
*arg1
= (wxFileType
*) 0 ;
16792 PyObject
*swig_obj
[1] ;
16794 if (!args
) SWIG_fail
;
16795 swig_obj
[0] = args
;
16796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16797 if (!SWIG_IsOK(res1
)) {
16798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16800 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_Py_Void();
16815 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16816 PyObject
*resultobj
= 0;
16817 wxFileType
*arg1
= (wxFileType
*) 0 ;
16818 PyObject
*result
= 0 ;
16821 PyObject
*swig_obj
[1] ;
16823 if (!args
) SWIG_fail
;
16824 swig_obj
[0] = args
;
16825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16826 if (!SWIG_IsOK(res1
)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16829 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= result
;
16843 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16844 PyObject
*resultobj
= 0;
16845 wxFileType
*arg1
= (wxFileType
*) 0 ;
16846 PyObject
*result
= 0 ;
16849 PyObject
*swig_obj
[1] ;
16851 if (!args
) SWIG_fail
;
16852 swig_obj
[0] = args
;
16853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16854 if (!SWIG_IsOK(res1
)) {
16855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16857 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= result
;
16871 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16872 PyObject
*resultobj
= 0;
16873 wxFileType
*arg1
= (wxFileType
*) 0 ;
16874 PyObject
*result
= 0 ;
16877 PyObject
*swig_obj
[1] ;
16879 if (!args
) SWIG_fail
;
16880 swig_obj
[0] = args
;
16881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16882 if (!SWIG_IsOK(res1
)) {
16883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16885 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= result
;
16899 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16900 PyObject
*resultobj
= 0;
16901 wxFileType
*arg1
= (wxFileType
*) 0 ;
16902 wxIcon
*result
= 0 ;
16905 PyObject
*swig_obj
[1] ;
16907 if (!args
) SWIG_fail
;
16908 swig_obj
[0] = args
;
16909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16910 if (!SWIG_IsOK(res1
)) {
16911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16913 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16927 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16928 PyObject
*resultobj
= 0;
16929 wxFileType
*arg1
= (wxFileType
*) 0 ;
16930 PyObject
*result
= 0 ;
16933 PyObject
*swig_obj
[1] ;
16935 if (!args
) SWIG_fail
;
16936 swig_obj
[0] = args
;
16937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16938 if (!SWIG_IsOK(res1
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16941 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= result
;
16955 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16956 PyObject
*resultobj
= 0;
16957 wxFileType
*arg1
= (wxFileType
*) 0 ;
16958 PyObject
*result
= 0 ;
16961 PyObject
*swig_obj
[1] ;
16963 if (!args
) SWIG_fail
;
16964 swig_obj
[0] = args
;
16965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16966 if (!SWIG_IsOK(res1
)) {
16967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
16969 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= result
;
16983 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
= 0;
16985 wxFileType
*arg1
= (wxFileType
*) 0 ;
16986 wxString
*arg2
= 0 ;
16987 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16988 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16989 PyObject
*result
= 0 ;
16992 bool temp2
= false ;
16993 bool temp3
= false ;
16994 PyObject
* obj0
= 0 ;
16995 PyObject
* obj1
= 0 ;
16996 PyObject
* obj2
= 0 ;
16997 char * kwnames
[] = {
16998 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17003 if (!SWIG_IsOK(res1
)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17006 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17008 arg2
= wxString_in_helper(obj1
);
17009 if (arg2
== NULL
) SWIG_fail
;
17014 arg3
= wxString_in_helper(obj2
);
17015 if (arg3
== NULL
) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= result
;
17048 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= 0;
17050 wxFileType
*arg1
= (wxFileType
*) 0 ;
17051 wxString
*arg2
= 0 ;
17052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17054 PyObject
*result
= 0 ;
17057 bool temp2
= false ;
17058 bool temp3
= false ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 char * kwnames
[] = {
17063 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17068 if (!SWIG_IsOK(res1
)) {
17069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17071 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17073 arg2
= wxString_in_helper(obj1
);
17074 if (arg2
== NULL
) SWIG_fail
;
17079 arg3
= wxString_in_helper(obj2
);
17080 if (arg3
== NULL
) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= result
;
17113 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
= 0;
17115 wxFileType
*arg1
= (wxFileType
*) 0 ;
17116 wxString
*arg2
= 0 ;
17117 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17118 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17119 PyObject
*result
= 0 ;
17122 bool temp2
= false ;
17123 bool temp3
= false ;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 PyObject
* obj2
= 0 ;
17127 char * kwnames
[] = {
17128 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17133 if (!SWIG_IsOK(res1
)) {
17134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17136 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17138 arg2
= wxString_in_helper(obj1
);
17139 if (arg2
== NULL
) SWIG_fail
;
17144 arg3
= wxString_in_helper(obj2
);
17145 if (arg3
== NULL
) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= result
;
17178 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
= 0;
17180 wxFileType
*arg1
= (wxFileType
*) 0 ;
17181 wxString
*arg2
= 0 ;
17182 wxString
*arg3
= 0 ;
17183 bool arg4
= (bool) true ;
17187 bool temp2
= false ;
17188 bool temp3
= false ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 PyObject
* obj2
= 0 ;
17194 PyObject
* obj3
= 0 ;
17195 char * kwnames
[] = {
17196 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17201 if (!SWIG_IsOK(res1
)) {
17202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17204 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17206 arg2
= wxString_in_helper(obj1
);
17207 if (arg2
== NULL
) SWIG_fail
;
17211 arg3
= wxString_in_helper(obj2
);
17212 if (arg3
== NULL
) SWIG_fail
;
17216 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17217 if (!SWIG_IsOK(ecode4
)) {
17218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17220 arg4
= static_cast< bool >(val4
);
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17253 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
= 0;
17255 wxFileType
*arg1
= (wxFileType
*) 0 ;
17256 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17257 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17258 int arg3
= (int) 0 ;
17262 bool temp2
= false ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 PyObject
* obj2
= 0 ;
17268 char * kwnames
[] = {
17269 (char *) "self",(char *) "cmd",(char *) "index", NULL
17272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17274 if (!SWIG_IsOK(res1
)) {
17275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17277 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17280 arg2
= wxString_in_helper(obj1
);
17281 if (arg2
== NULL
) SWIG_fail
;
17286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17287 if (!SWIG_IsOK(ecode3
)) {
17288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17290 arg3
= static_cast< int >(val3
);
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17315 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 PyObject
*resultobj
= 0;
17317 wxFileType
*arg1
= (wxFileType
*) 0 ;
17321 PyObject
*swig_obj
[1] ;
17323 if (!args
) SWIG_fail
;
17324 swig_obj
[0] = args
;
17325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17326 if (!SWIG_IsOK(res1
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17329 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (bool)(arg1
)->Unassociate();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
= 0;
17347 wxString
*arg1
= 0 ;
17348 wxString
*arg2
= 0 ;
17349 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17350 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17352 bool temp1
= false ;
17353 bool temp2
= false ;
17354 bool temp3
= false ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 PyObject
* obj2
= 0 ;
17358 char * kwnames
[] = {
17359 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17364 arg1
= wxString_in_helper(obj0
);
17365 if (arg1
== NULL
) SWIG_fail
;
17369 arg2
= wxString_in_helper(obj1
);
17370 if (arg2
== NULL
) SWIG_fail
;
17375 arg3
= wxString_in_helper(obj2
);
17376 if (arg3
== NULL
) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17423 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17426 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17427 return SWIG_Py_Void();
17430 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17431 return SWIG_Python_InitShadowInstance(args
);
17434 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17435 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17440 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17441 PyObject
*pyobj
= 0;
17443 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17448 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
= 0;
17450 wxString
*arg1
= 0 ;
17451 wxString
*arg2
= 0 ;
17453 bool temp1
= false ;
17454 bool temp2
= false ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char * kwnames
[] = {
17458 (char *) "mimeType",(char *) "wildcard", NULL
17461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17463 arg1
= wxString_in_helper(obj0
);
17464 if (arg1
== NULL
) SWIG_fail
;
17468 arg2
= wxString_in_helper(obj1
);
17469 if (arg2
== NULL
) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17503 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17504 PyObject
*resultobj
= 0;
17505 wxMimeTypesManager
*result
= 0 ;
17507 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17521 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
= 0;
17523 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17524 int arg2
= (int) wxMAILCAP_ALL
;
17525 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17526 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17531 bool temp3
= false ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 PyObject
* obj2
= 0 ;
17535 char * kwnames
[] = {
17536 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17541 if (!SWIG_IsOK(res1
)) {
17542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17544 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17547 if (!SWIG_IsOK(ecode2
)) {
17548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17550 arg2
= static_cast< int >(val2
);
17554 arg3
= wxString_in_helper(obj2
);
17555 if (arg3
== NULL
) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= SWIG_Py_Void();
17580 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17581 PyObject
*resultobj
= 0;
17582 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17585 PyObject
*swig_obj
[1] ;
17587 if (!args
) SWIG_fail
;
17588 swig_obj
[0] = args
;
17589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17590 if (!SWIG_IsOK(res1
)) {
17591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17593 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 (arg1
)->ClearData();
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_Py_Void();
17607 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
= 0;
17609 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17610 wxString
*arg2
= 0 ;
17611 wxFileType
*result
= 0 ;
17614 bool temp2
= false ;
17615 PyObject
* obj0
= 0 ;
17616 PyObject
* obj1
= 0 ;
17617 char * kwnames
[] = {
17618 (char *) "self",(char *) "ext", NULL
17621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17623 if (!SWIG_IsOK(res1
)) {
17624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17626 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17628 arg2
= wxString_in_helper(obj1
);
17629 if (arg2
== NULL
) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17653 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
= 0;
17655 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17656 wxString
*arg2
= 0 ;
17657 wxFileType
*result
= 0 ;
17660 bool temp2
= false ;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 char * kwnames
[] = {
17664 (char *) "self",(char *) "mimeType", NULL
17667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17669 if (!SWIG_IsOK(res1
)) {
17670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17672 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17674 arg2
= wxString_in_helper(obj1
);
17675 if (arg2
== NULL
) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17699 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
= 0;
17701 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17702 wxString
*arg2
= 0 ;
17703 bool arg3
= (bool) false ;
17707 bool temp2
= false ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 PyObject
* obj2
= 0 ;
17713 char * kwnames
[] = {
17714 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17719 if (!SWIG_IsOK(res1
)) {
17720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17722 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17724 arg2
= wxString_in_helper(obj1
);
17725 if (arg2
== NULL
) SWIG_fail
;
17729 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17730 if (!SWIG_IsOK(ecode3
)) {
17731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17733 arg3
= static_cast< bool >(val3
);
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17758 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
= 0;
17760 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17761 wxString
*arg2
= 0 ;
17765 bool temp2
= false ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char * kwnames
[] = {
17769 (char *) "self",(char *) "filename", NULL
17772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17774 if (!SWIG_IsOK(res1
)) {
17775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17777 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17779 arg2
= wxString_in_helper(obj1
);
17780 if (arg2
== NULL
) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17806 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17807 PyObject
*resultobj
= 0;
17808 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17809 PyObject
*result
= 0 ;
17812 PyObject
*swig_obj
[1] ;
17814 if (!args
) SWIG_fail
;
17815 swig_obj
[0] = args
;
17816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17817 if (!SWIG_IsOK(res1
)) {
17818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17820 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= result
;
17834 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
= 0;
17836 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17837 wxFileTypeInfo
*arg2
= 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char * kwnames
[] = {
17845 (char *) "self",(char *) "ft", NULL
17848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17850 if (!SWIG_IsOK(res1
)) {
17851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17853 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17855 if (!SWIG_IsOK(res2
)) {
17856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17861 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_Py_Void();
17875 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
= 0;
17877 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17878 wxFileTypeInfo
*arg2
= 0 ;
17879 wxFileType
*result
= 0 ;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char * kwnames
[] = {
17887 (char *) "self",(char *) "ftInfo", NULL
17890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17892 if (!SWIG_IsOK(res1
)) {
17893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17895 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17897 if (!SWIG_IsOK(res2
)) {
17898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17903 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17917 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
= 0;
17919 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17920 wxFileType
*arg2
= (wxFileType
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char * kwnames
[] = {
17929 (char *) "self",(char *) "ft", NULL
17932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17934 if (!SWIG_IsOK(res1
)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17937 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17939 if (!SWIG_IsOK(res2
)) {
17940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17942 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= (bool)(arg1
)->Unassociate(arg2
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17958 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17959 PyObject
*resultobj
= 0;
17960 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17963 PyObject
*swig_obj
[1] ;
17965 if (!args
) SWIG_fail
;
17966 swig_obj
[0] = args
;
17967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17968 if (!SWIG_IsOK(res1
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17971 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_Py_Void();
17986 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17989 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
17990 return SWIG_Py_Void();
17993 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17994 return SWIG_Python_InitShadowInstance(args
);
17997 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
17998 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18003 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18004 PyObject
*pyobj
= 0;
18008 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18010 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18017 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18018 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18023 SWIGINTERN PyObject
*ART_MENU_get(void) {
18024 PyObject
*pyobj
= 0;
18028 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18030 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18037 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18038 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18043 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18044 PyObject
*pyobj
= 0;
18048 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18050 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18057 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18058 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18063 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18064 PyObject
*pyobj
= 0;
18068 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18070 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18077 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18078 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18083 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18084 PyObject
*pyobj
= 0;
18088 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18090 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18097 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18098 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18103 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18104 PyObject
*pyobj
= 0;
18108 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18110 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18117 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18118 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18123 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18124 PyObject
*pyobj
= 0;
18128 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18130 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18137 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18138 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18143 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18144 PyObject
*pyobj
= 0;
18148 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18150 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18157 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18158 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18163 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18164 PyObject
*pyobj
= 0;
18168 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18170 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18177 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18178 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18183 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18184 PyObject
*pyobj
= 0;
18188 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18190 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18197 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18198 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18203 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18204 PyObject
*pyobj
= 0;
18208 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18210 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18217 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18218 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18223 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18224 PyObject
*pyobj
= 0;
18228 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18230 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18237 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18238 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18243 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18244 PyObject
*pyobj
= 0;
18248 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18250 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18257 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18258 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18263 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18264 PyObject
*pyobj
= 0;
18268 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18270 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18277 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18278 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18283 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18284 PyObject
*pyobj
= 0;
18288 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18290 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18297 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18298 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18303 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18304 PyObject
*pyobj
= 0;
18308 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18310 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18317 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18318 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18323 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18324 PyObject
*pyobj
= 0;
18328 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18330 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18337 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18338 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18343 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18344 PyObject
*pyobj
= 0;
18348 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18350 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18357 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18358 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18363 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18364 PyObject
*pyobj
= 0;
18368 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18370 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18377 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18378 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18383 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18384 PyObject
*pyobj
= 0;
18388 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18390 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18397 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18398 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18403 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18404 PyObject
*pyobj
= 0;
18408 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18410 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18417 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18418 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18423 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18424 PyObject
*pyobj
= 0;
18428 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18430 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18437 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18438 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18443 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18444 PyObject
*pyobj
= 0;
18448 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18450 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18457 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18458 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18463 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18464 PyObject
*pyobj
= 0;
18468 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18470 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18477 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18478 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18483 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18484 PyObject
*pyobj
= 0;
18488 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18490 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18497 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18498 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18503 SWIGINTERN PyObject
*ART_HELP_get(void) {
18504 PyObject
*pyobj
= 0;
18508 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18510 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18517 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18518 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18523 SWIGINTERN PyObject
*ART_TIP_get(void) {
18524 PyObject
*pyobj
= 0;
18528 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18530 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18537 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18538 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18543 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18544 PyObject
*pyobj
= 0;
18548 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18550 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18557 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18558 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18563 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18564 PyObject
*pyobj
= 0;
18568 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18570 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18577 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18578 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18583 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18584 PyObject
*pyobj
= 0;
18588 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18590 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18597 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18598 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18603 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18604 PyObject
*pyobj
= 0;
18608 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18610 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18617 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18618 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18623 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18624 PyObject
*pyobj
= 0;
18628 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18630 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18637 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18638 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18643 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18644 PyObject
*pyobj
= 0;
18648 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18650 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18657 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18658 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18663 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18664 PyObject
*pyobj
= 0;
18668 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18670 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18677 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18678 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18683 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18684 PyObject
*pyobj
= 0;
18688 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18690 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18697 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18698 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18703 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18704 PyObject
*pyobj
= 0;
18708 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18710 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18717 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18718 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18723 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18724 PyObject
*pyobj
= 0;
18728 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18730 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18737 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18738 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18743 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18744 PyObject
*pyobj
= 0;
18748 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18750 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18757 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18758 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18763 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18764 PyObject
*pyobj
= 0;
18768 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18770 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18777 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18778 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18783 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18784 PyObject
*pyobj
= 0;
18788 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18790 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18797 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18798 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18803 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18804 PyObject
*pyobj
= 0;
18808 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18810 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18817 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18818 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18823 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18824 PyObject
*pyobj
= 0;
18828 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18830 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18837 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18838 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18843 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18844 PyObject
*pyobj
= 0;
18848 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18850 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18857 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18858 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18863 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18864 PyObject
*pyobj
= 0;
18868 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18870 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18877 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18878 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18883 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18884 PyObject
*pyobj
= 0;
18888 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18890 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18897 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18898 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18903 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18904 PyObject
*pyobj
= 0;
18908 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18910 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18917 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18918 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18923 SWIGINTERN PyObject
*ART_COPY_get(void) {
18924 PyObject
*pyobj
= 0;
18928 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18930 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18937 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18938 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18943 SWIGINTERN PyObject
*ART_CUT_get(void) {
18944 PyObject
*pyobj
= 0;
18948 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18950 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18957 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18958 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18963 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18964 PyObject
*pyobj
= 0;
18968 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18970 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18977 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
18978 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
18983 SWIGINTERN PyObject
*ART_DELETE_get(void) {
18984 PyObject
*pyobj
= 0;
18988 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
18990 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
18997 SWIGINTERN
int ART_NEW_set(PyObject
*) {
18998 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19003 SWIGINTERN PyObject
*ART_NEW_get(void) {
19004 PyObject
*pyobj
= 0;
19008 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19010 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19017 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19018 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19023 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19024 PyObject
*pyobj
= 0;
19028 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19030 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19037 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19038 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19043 SWIGINTERN PyObject
*ART_REDO_get(void) {
19044 PyObject
*pyobj
= 0;
19048 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19050 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19057 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19058 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19063 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19064 PyObject
*pyobj
= 0;
19068 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19070 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19077 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19078 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19083 SWIGINTERN PyObject
*ART_FIND_get(void) {
19084 PyObject
*pyobj
= 0;
19088 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19090 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19097 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19098 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19103 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19104 PyObject
*pyobj
= 0;
19108 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19110 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19117 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19118 PyObject
*resultobj
= 0;
19119 wxPyArtProvider
*result
= 0 ;
19121 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19123 if (!wxPyCheckForApp()) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19136 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19137 PyObject
*resultobj
= 0;
19138 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19141 PyObject
*swig_obj
[1] ;
19143 if (!args
) SWIG_fail
;
19144 swig_obj
[0] = args
;
19145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19146 if (!SWIG_IsOK(res1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19149 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_Py_Void();
19164 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
= 0;
19166 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19167 PyObject
*arg2
= (PyObject
*) 0 ;
19168 PyObject
*arg3
= (PyObject
*) 0 ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 PyObject
* obj2
= 0 ;
19174 char * kwnames
[] = {
19175 (char *) "self",(char *) "self",(char *) "_class", NULL
19178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19180 if (!SWIG_IsOK(res1
)) {
19181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19183 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 char * kwnames
[] = {
19205 (char *) "provider", NULL
19208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19209 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19210 if (!SWIG_IsOK(res1
)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 wxPyArtProvider::PushProvider(arg1
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_Py_Void();
19226 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19227 PyObject
*resultobj
= 0;
19230 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 result
= (bool)wxPyArtProvider::PopProvider();
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19246 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
= 0;
19248 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 char * kwnames
[] = {
19254 (char *) "provider", NULL
19257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19259 if (!SWIG_IsOK(res1
)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19262 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19278 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
= 0;
19280 wxString
*arg1
= 0 ;
19281 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19282 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19283 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19284 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19286 bool temp1
= false ;
19287 bool temp2
= false ;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 PyObject
* obj2
= 0 ;
19292 char * kwnames
[] = {
19293 (char *) "id",(char *) "client",(char *) "size", NULL
19296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19298 arg1
= wxString_in_helper(obj0
);
19299 if (arg1
== NULL
) SWIG_fail
;
19304 arg2
= wxString_in_helper(obj1
);
19305 if (arg2
== NULL
) SWIG_fail
;
19312 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19316 if (!wxPyCheckForApp()) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19345 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
= 0;
19347 wxString
*arg1
= 0 ;
19348 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19349 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19350 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19351 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19353 bool temp1
= false ;
19354 bool temp2
= false ;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 PyObject
* obj2
= 0 ;
19359 char * kwnames
[] = {
19360 (char *) "id",(char *) "client",(char *) "size", NULL
19363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19365 arg1
= wxString_in_helper(obj0
);
19366 if (arg1
== NULL
) SWIG_fail
;
19371 arg2
= wxString_in_helper(obj1
);
19372 if (arg2
== NULL
) SWIG_fail
;
19379 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19383 if (!wxPyCheckForApp()) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19412 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
= 0;
19414 wxString
*arg1
= 0 ;
19415 bool arg2
= (bool) false ;
19417 bool temp1
= false ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char * kwnames
[] = {
19423 (char *) "client",(char *) "platform_dependent", NULL
19426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19428 arg1
= wxString_in_helper(obj0
);
19429 if (arg1
== NULL
) SWIG_fail
;
19433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19434 if (!SWIG_IsOK(ecode2
)) {
19435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19437 arg2
= static_cast< bool >(val2
);
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19460 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19461 PyObject
*resultobj
= 0;
19462 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19465 PyObject
*swig_obj
[1] ;
19467 if (!args
) SWIG_fail
;
19468 swig_obj
[0] = args
;
19469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19470 if (!SWIG_IsOK(res1
)) {
19471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19473 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 wxPyArtProvider_Destroy(arg1
);
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= SWIG_Py_Void();
19487 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19490 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19491 return SWIG_Py_Void();
19494 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19495 return SWIG_Python_InitShadowInstance(args
);
19498 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19499 PyObject
*resultobj
= 0;
19500 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19503 PyObject
*swig_obj
[1] ;
19505 if (!args
) SWIG_fail
;
19506 swig_obj
[0] = args
;
19507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19508 if (!SWIG_IsOK(res1
)) {
19509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19511 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_Py_Void();
19526 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
= 0;
19528 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19529 wxConfigBase
*result
= 0 ;
19531 PyObject
* obj0
= 0 ;
19532 char * kwnames
[] = {
19533 (char *) "config", NULL
19536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19537 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19538 if (!SWIG_IsOK(res1
)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19554 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
= 0;
19556 bool arg1
= (bool) true ;
19557 wxConfigBase
*result
= 0 ;
19560 PyObject
* obj0
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "createOnDemand", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19567 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19568 if (!SWIG_IsOK(ecode1
)) {
19569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19571 arg1
= static_cast< bool >(val1
);
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19586 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19587 PyObject
*resultobj
= 0;
19588 wxConfigBase
*result
= 0 ;
19590 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (wxConfigBase
*)wxConfigBase::Create();
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19604 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19605 PyObject
*resultobj
= 0;
19607 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 wxConfigBase::DontCreateOnDemand();
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= SWIG_Py_Void();
19621 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19622 PyObject
*resultobj
= 0;
19623 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19624 wxString
*arg2
= 0 ;
19627 bool temp2
= false ;
19628 PyObject
* obj0
= 0 ;
19629 PyObject
* obj1
= 0 ;
19630 char * kwnames
[] = {
19631 (char *) "self",(char *) "path", NULL
19634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19639 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19641 arg2
= wxString_in_helper(obj1
);
19642 if (arg2
== NULL
) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 (arg1
)->SetPath((wxString
const &)*arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_Py_Void();
19666 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19667 PyObject
*resultobj
= 0;
19668 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19669 wxString
*result
= 0 ;
19672 PyObject
*swig_obj
[1] ;
19674 if (!args
) SWIG_fail
;
19675 swig_obj
[0] = args
;
19676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19677 if (!SWIG_IsOK(res1
)) {
19678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19680 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19685 result
= (wxString
*) &_result_ref
;
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19694 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19703 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19704 PyObject
*resultobj
= 0;
19705 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19706 PyObject
*result
= 0 ;
19709 PyObject
*swig_obj
[1] ;
19711 if (!args
) SWIG_fail
;
19712 swig_obj
[0] = args
;
19713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19714 if (!SWIG_IsOK(res1
)) {
19715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19717 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= result
;
19731 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
= 0;
19733 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19735 PyObject
*result
= 0 ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "self",(char *) "index", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19751 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19752 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19753 if (!SWIG_IsOK(ecode2
)) {
19754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19756 arg2
= static_cast< long >(val2
);
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= result
;
19770 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19771 PyObject
*resultobj
= 0;
19772 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19773 PyObject
*result
= 0 ;
19776 PyObject
*swig_obj
[1] ;
19778 if (!args
) SWIG_fail
;
19779 swig_obj
[0] = args
;
19780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19781 if (!SWIG_IsOK(res1
)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19784 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= result
;
19798 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
= 0;
19800 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19802 PyObject
*result
= 0 ;
19807 PyObject
* obj0
= 0 ;
19808 PyObject
* obj1
= 0 ;
19809 char * kwnames
[] = {
19810 (char *) "self",(char *) "index", NULL
19813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19815 if (!SWIG_IsOK(res1
)) {
19816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19818 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19820 if (!SWIG_IsOK(ecode2
)) {
19821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19823 arg2
= static_cast< long >(val2
);
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= result
;
19837 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
= 0;
19839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19840 bool arg2
= (bool) false ;
19846 PyObject
* obj0
= 0 ;
19847 PyObject
* obj1
= 0 ;
19848 char * kwnames
[] = {
19849 (char *) "self",(char *) "recursive", NULL
19852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19854 if (!SWIG_IsOK(res1
)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19857 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19859 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19860 if (!SWIG_IsOK(ecode2
)) {
19861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19863 arg2
= static_cast< bool >(val2
);
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19878 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
= 0;
19880 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19881 bool arg2
= (bool) false ;
19887 PyObject
* obj0
= 0 ;
19888 PyObject
* obj1
= 0 ;
19889 char * kwnames
[] = {
19890 (char *) "self",(char *) "recursive", NULL
19893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19895 if (!SWIG_IsOK(res1
)) {
19896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19898 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19900 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19901 if (!SWIG_IsOK(ecode2
)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19904 arg2
= static_cast< bool >(val2
);
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19919 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19920 PyObject
*resultobj
= 0;
19921 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19922 wxString
*arg2
= 0 ;
19926 bool temp2
= false ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char * kwnames
[] = {
19930 (char *) "self",(char *) "name", NULL
19933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19935 if (!SWIG_IsOK(res1
)) {
19936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19938 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19940 arg2
= wxString_in_helper(obj1
);
19941 if (arg2
== NULL
) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
= 0;
19969 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19970 wxString
*arg2
= 0 ;
19974 bool temp2
= false ;
19975 PyObject
* obj0
= 0 ;
19976 PyObject
* obj1
= 0 ;
19977 char * kwnames
[] = {
19978 (char *) "self",(char *) "name", NULL
19981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19983 if (!SWIG_IsOK(res1
)) {
19984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19986 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19988 arg2
= wxString_in_helper(obj1
);
19989 if (arg2
== NULL
) SWIG_fail
;
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20015 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
= 0;
20017 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20018 wxString
*arg2
= 0 ;
20022 bool temp2
= false ;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char * kwnames
[] = {
20026 (char *) "self",(char *) "name", NULL
20029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20031 if (!SWIG_IsOK(res1
)) {
20032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20034 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20036 arg2
= wxString_in_helper(obj1
);
20037 if (arg2
== NULL
) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20063 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
= 0;
20065 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20066 wxString
*arg2
= 0 ;
20067 wxConfigBase::EntryType result
;
20070 bool temp2
= false ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 char * kwnames
[] = {
20074 (char *) "self",(char *) "name", NULL
20077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20082 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20084 arg2
= wxString_in_helper(obj1
);
20085 if (arg2
== NULL
) SWIG_fail
;
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= SWIG_From_int(static_cast< int >(result
));
20109 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
= 0;
20111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20112 wxString
*arg2
= 0 ;
20113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20118 bool temp2
= false ;
20119 bool temp3
= false ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 PyObject
* obj2
= 0 ;
20123 char * kwnames
[] = {
20124 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20129 if (!SWIG_IsOK(res1
)) {
20130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20132 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20134 arg2
= wxString_in_helper(obj1
);
20135 if (arg2
== NULL
) SWIG_fail
;
20140 arg3
= wxString_in_helper(obj2
);
20141 if (arg3
== NULL
) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20180 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
= 0;
20182 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20183 wxString
*arg2
= 0 ;
20184 long arg3
= (long) 0 ;
20188 bool temp2
= false ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 PyObject
* obj2
= 0 ;
20194 char * kwnames
[] = {
20195 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20200 if (!SWIG_IsOK(res1
)) {
20201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20203 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20205 arg2
= wxString_in_helper(obj1
);
20206 if (arg2
== NULL
) SWIG_fail
;
20210 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20211 if (!SWIG_IsOK(ecode3
)) {
20212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20214 arg3
= static_cast< long >(val3
);
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= SWIG_From_long(static_cast< long >(result
));
20237 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
= 0;
20239 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20240 wxString
*arg2
= 0 ;
20241 double arg3
= (double) 0.0 ;
20245 bool temp2
= false ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 PyObject
* obj2
= 0 ;
20251 char * kwnames
[] = {
20252 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20257 if (!SWIG_IsOK(res1
)) {
20258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20260 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20262 arg2
= wxString_in_helper(obj1
);
20263 if (arg2
== NULL
) SWIG_fail
;
20267 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20268 if (!SWIG_IsOK(ecode3
)) {
20269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20271 arg3
= static_cast< double >(val3
);
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_From_double(static_cast< double >(result
));
20294 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
= 0;
20296 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20297 wxString
*arg2
= 0 ;
20298 bool arg3
= (bool) false ;
20302 bool temp2
= false ;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20307 PyObject
* obj2
= 0 ;
20308 char * kwnames
[] = {
20309 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20314 if (!SWIG_IsOK(res1
)) {
20315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20317 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20319 arg2
= wxString_in_helper(obj1
);
20320 if (arg2
== NULL
) SWIG_fail
;
20324 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20325 if (!SWIG_IsOK(ecode3
)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20328 arg3
= static_cast< bool >(val3
);
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20353 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
= 0;
20355 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20356 wxString
*arg2
= 0 ;
20357 wxString
*arg3
= 0 ;
20361 bool temp2
= false ;
20362 bool temp3
= false ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 PyObject
* obj2
= 0 ;
20366 char * kwnames
[] = {
20367 (char *) "self",(char *) "key",(char *) "value", NULL
20370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20372 if (!SWIG_IsOK(res1
)) {
20373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20375 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20377 arg2
= wxString_in_helper(obj1
);
20378 if (arg2
== NULL
) SWIG_fail
;
20382 arg3
= wxString_in_helper(obj2
);
20383 if (arg3
== NULL
) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20417 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
= 0;
20419 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20420 wxString
*arg2
= 0 ;
20425 bool temp2
= false ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 PyObject
* obj2
= 0 ;
20431 char * kwnames
[] = {
20432 (char *) "self",(char *) "key",(char *) "value", NULL
20435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20437 if (!SWIG_IsOK(res1
)) {
20438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20440 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20442 arg2
= wxString_in_helper(obj1
);
20443 if (arg2
== NULL
) SWIG_fail
;
20446 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20447 if (!SWIG_IsOK(ecode3
)) {
20448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20450 arg3
= static_cast< long >(val3
);
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20474 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
= 0;
20476 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20477 wxString
*arg2
= 0 ;
20482 bool temp2
= false ;
20485 PyObject
* obj0
= 0 ;
20486 PyObject
* obj1
= 0 ;
20487 PyObject
* obj2
= 0 ;
20488 char * kwnames
[] = {
20489 (char *) "self",(char *) "key",(char *) "value", NULL
20492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20494 if (!SWIG_IsOK(res1
)) {
20495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20497 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20499 arg2
= wxString_in_helper(obj1
);
20500 if (arg2
== NULL
) SWIG_fail
;
20503 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20504 if (!SWIG_IsOK(ecode3
)) {
20505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20507 arg3
= static_cast< double >(val3
);
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20531 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
= 0;
20533 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20534 wxString
*arg2
= 0 ;
20539 bool temp2
= false ;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 PyObject
* obj2
= 0 ;
20545 char * kwnames
[] = {
20546 (char *) "self",(char *) "key",(char *) "value", NULL
20549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20551 if (!SWIG_IsOK(res1
)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20554 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20556 arg2
= wxString_in_helper(obj1
);
20557 if (arg2
== NULL
) SWIG_fail
;
20560 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20561 if (!SWIG_IsOK(ecode3
)) {
20562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20564 arg3
= static_cast< bool >(val3
);
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20588 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
= 0;
20590 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20591 bool arg2
= (bool) false ;
20597 PyObject
* obj0
= 0 ;
20598 PyObject
* obj1
= 0 ;
20599 char * kwnames
[] = {
20600 (char *) "self",(char *) "currentOnly", NULL
20603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20605 if (!SWIG_IsOK(res1
)) {
20606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20608 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20610 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20611 if (!SWIG_IsOK(ecode2
)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20614 arg2
= static_cast< bool >(val2
);
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (bool)(arg1
)->Flush(arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20631 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
= 0;
20633 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20634 wxString
*arg2
= 0 ;
20635 wxString
*arg3
= 0 ;
20639 bool temp2
= false ;
20640 bool temp3
= false ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 PyObject
* obj2
= 0 ;
20644 char * kwnames
[] = {
20645 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20650 if (!SWIG_IsOK(res1
)) {
20651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20653 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20655 arg2
= wxString_in_helper(obj1
);
20656 if (arg2
== NULL
) SWIG_fail
;
20660 arg3
= wxString_in_helper(obj2
);
20661 if (arg3
== NULL
) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20695 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
= 0;
20697 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20698 wxString
*arg2
= 0 ;
20699 wxString
*arg3
= 0 ;
20703 bool temp2
= false ;
20704 bool temp3
= false ;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 PyObject
* obj2
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20714 if (!SWIG_IsOK(res1
)) {
20715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20717 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20719 arg2
= wxString_in_helper(obj1
);
20720 if (arg2
== NULL
) SWIG_fail
;
20724 arg3
= wxString_in_helper(obj2
);
20725 if (arg3
== NULL
) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20759 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
= 0;
20761 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20762 wxString
*arg2
= 0 ;
20763 bool arg3
= (bool) true ;
20767 bool temp2
= false ;
20770 PyObject
* obj0
= 0 ;
20771 PyObject
* obj1
= 0 ;
20772 PyObject
* obj2
= 0 ;
20773 char * kwnames
[] = {
20774 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20782 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20784 arg2
= wxString_in_helper(obj1
);
20785 if (arg2
== NULL
) SWIG_fail
;
20789 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20790 if (!SWIG_IsOK(ecode3
)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20793 arg3
= static_cast< bool >(val3
);
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20818 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
= 0;
20820 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20821 wxString
*arg2
= 0 ;
20825 bool temp2
= false ;
20826 PyObject
* obj0
= 0 ;
20827 PyObject
* obj1
= 0 ;
20828 char * kwnames
[] = {
20829 (char *) "self",(char *) "key", NULL
20832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20834 if (!SWIG_IsOK(res1
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20837 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20839 arg2
= wxString_in_helper(obj1
);
20840 if (arg2
== NULL
) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20866 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20867 PyObject
*resultobj
= 0;
20868 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20872 PyObject
*swig_obj
[1] ;
20874 if (!args
) SWIG_fail
;
20875 swig_obj
[0] = args
;
20876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20877 if (!SWIG_IsOK(res1
)) {
20878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20880 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (bool)(arg1
)->DeleteAll();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20896 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
= 0;
20898 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20899 bool arg2
= (bool) true ;
20904 PyObject
* obj0
= 0 ;
20905 PyObject
* obj1
= 0 ;
20906 char * kwnames
[] = {
20907 (char *) "self",(char *) "doIt", NULL
20910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20912 if (!SWIG_IsOK(res1
)) {
20913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20915 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20917 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20918 if (!SWIG_IsOK(ecode2
)) {
20919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20921 arg2
= static_cast< bool >(val2
);
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 (arg1
)->SetExpandEnvVars(arg2
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_Py_Void();
20936 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 PyObject
*resultobj
= 0;
20938 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20942 PyObject
*swig_obj
[1] ;
20944 if (!args
) SWIG_fail
;
20945 swig_obj
[0] = args
;
20946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20950 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20966 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
= 0;
20968 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20969 bool arg2
= (bool) true ;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 char * kwnames
[] = {
20977 (char *) "self",(char *) "doIt", NULL
20980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20985 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20987 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20988 if (!SWIG_IsOK(ecode2
)) {
20989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
20991 arg2
= static_cast< bool >(val2
);
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 (arg1
)->SetRecordDefaults(arg2
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_Py_Void();
21006 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21007 PyObject
*resultobj
= 0;
21008 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21012 PyObject
*swig_obj
[1] ;
21014 if (!args
) SWIG_fail
;
21015 swig_obj
[0] = args
;
21016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21017 if (!SWIG_IsOK(res1
)) {
21018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21020 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21036 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
= 0;
21038 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21039 wxString
*arg2
= 0 ;
21043 bool temp2
= false ;
21044 PyObject
* obj0
= 0 ;
21045 PyObject
* obj1
= 0 ;
21046 char * kwnames
[] = {
21047 (char *) "self",(char *) "str", NULL
21050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21052 if (!SWIG_IsOK(res1
)) {
21053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21055 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21057 arg2
= wxString_in_helper(obj1
);
21058 if (arg2
== NULL
) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21088 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 PyObject
*resultobj
= 0;
21090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21094 PyObject
*swig_obj
[1] ;
21096 if (!args
) SWIG_fail
;
21097 swig_obj
[0] = args
;
21098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21099 if (!SWIG_IsOK(res1
)) {
21100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21102 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21122 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21123 PyObject
*resultobj
= 0;
21124 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21128 PyObject
*swig_obj
[1] ;
21130 if (!args
) SWIG_fail
;
21131 swig_obj
[0] = args
;
21132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21133 if (!SWIG_IsOK(res1
)) {
21134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21136 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21156 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
= 0;
21158 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21159 wxString
*arg2
= 0 ;
21162 bool temp2
= false ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 char * kwnames
[] = {
21166 (char *) "self",(char *) "appName", NULL
21169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21171 if (!SWIG_IsOK(res1
)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21174 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21176 arg2
= wxString_in_helper(obj1
);
21177 if (arg2
== NULL
) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 (arg1
)->SetAppName((wxString
const &)*arg2
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= SWIG_Py_Void();
21201 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
= 0;
21203 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21204 wxString
*arg2
= 0 ;
21207 bool temp2
= false ;
21208 PyObject
* obj0
= 0 ;
21209 PyObject
* obj1
= 0 ;
21210 char * kwnames
[] = {
21211 (char *) "self",(char *) "vendorName", NULL
21214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21216 if (!SWIG_IsOK(res1
)) {
21217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21219 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21221 arg2
= wxString_in_helper(obj1
);
21222 if (arg2
== NULL
) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= SWIG_Py_Void();
21246 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
= 0;
21248 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 char * kwnames
[] = {
21257 (char *) "self",(char *) "style", NULL
21260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21265 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21266 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21267 if (!SWIG_IsOK(ecode2
)) {
21268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21270 arg2
= static_cast< long >(val2
);
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 (arg1
)->SetStyle(arg2
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 resultobj
= SWIG_Py_Void();
21284 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21285 PyObject
*resultobj
= 0;
21286 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21290 PyObject
*swig_obj
[1] ;
21292 if (!args
) SWIG_fail
;
21293 swig_obj
[0] = args
;
21294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21295 if (!SWIG_IsOK(res1
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21298 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_From_long(static_cast< long >(result
));
21312 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21315 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21316 return SWIG_Py_Void();
21319 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
= 0;
21321 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21322 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21323 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21324 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21325 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21326 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21329 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21330 wxConfig
*result
= 0 ;
21331 bool temp1
= false ;
21332 bool temp2
= false ;
21333 bool temp3
= false ;
21334 bool temp4
= false ;
21337 PyObject
* obj0
= 0 ;
21338 PyObject
* obj1
= 0 ;
21339 PyObject
* obj2
= 0 ;
21340 PyObject
* obj3
= 0 ;
21341 PyObject
* obj4
= 0 ;
21342 char * kwnames
[] = {
21343 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21349 arg1
= wxString_in_helper(obj0
);
21350 if (arg1
== NULL
) SWIG_fail
;
21356 arg2
= wxString_in_helper(obj1
);
21357 if (arg2
== NULL
) SWIG_fail
;
21363 arg3
= wxString_in_helper(obj2
);
21364 if (arg3
== NULL
) SWIG_fail
;
21370 arg4
= wxString_in_helper(obj3
);
21371 if (arg4
== NULL
) SWIG_fail
;
21376 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21377 if (!SWIG_IsOK(ecode5
)) {
21378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21380 arg5
= static_cast< long >(val5
);
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21427 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21428 PyObject
*resultobj
= 0;
21429 wxConfig
*arg1
= (wxConfig
*) 0 ;
21432 PyObject
*swig_obj
[1] ;
21434 if (!args
) SWIG_fail
;
21435 swig_obj
[0] = args
;
21436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21437 if (!SWIG_IsOK(res1
)) {
21438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21440 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= SWIG_Py_Void();
21455 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21458 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21459 return SWIG_Py_Void();
21462 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21463 return SWIG_Python_InitShadowInstance(args
);
21466 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
= 0;
21468 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21469 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21470 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21471 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21472 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21473 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21474 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21475 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21476 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21477 wxFileConfig
*result
= 0 ;
21478 bool temp1
= false ;
21479 bool temp2
= false ;
21480 bool temp3
= false ;
21481 bool temp4
= false ;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 PyObject
* obj2
= 0 ;
21487 PyObject
* obj3
= 0 ;
21488 PyObject
* obj4
= 0 ;
21489 char * kwnames
[] = {
21490 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21496 arg1
= wxString_in_helper(obj0
);
21497 if (arg1
== NULL
) SWIG_fail
;
21503 arg2
= wxString_in_helper(obj1
);
21504 if (arg2
== NULL
) SWIG_fail
;
21510 arg3
= wxString_in_helper(obj2
);
21511 if (arg3
== NULL
) SWIG_fail
;
21517 arg4
= wxString_in_helper(obj3
);
21518 if (arg4
== NULL
) SWIG_fail
;
21523 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21524 if (!SWIG_IsOK(ecode5
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21527 arg5
= static_cast< long >(val5
);
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21574 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21575 PyObject
*resultobj
= 0;
21576 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21579 PyObject
*swig_obj
[1] ;
21581 if (!args
) SWIG_fail
;
21582 swig_obj
[0] = args
;
21583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21584 if (!SWIG_IsOK(res1
)) {
21585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21587 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= SWIG_Py_Void();
21602 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21605 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21606 return SWIG_Py_Void();
21609 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21610 return SWIG_Python_InitShadowInstance(args
);
21613 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
= 0;
21615 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21616 wxString
*arg2
= 0 ;
21617 wxConfigPathChanger
*result
= 0 ;
21620 bool temp2
= false ;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 char * kwnames
[] = {
21624 (char *) "config",(char *) "entry", NULL
21627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21629 if (!SWIG_IsOK(res1
)) {
21630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21632 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21634 arg2
= wxString_in_helper(obj1
);
21635 if (arg2
== NULL
) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21659 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21660 PyObject
*resultobj
= 0;
21661 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21664 PyObject
*swig_obj
[1] ;
21666 if (!args
) SWIG_fail
;
21667 swig_obj
[0] = args
;
21668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21669 if (!SWIG_IsOK(res1
)) {
21670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21672 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 resultobj
= SWIG_Py_Void();
21687 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21688 PyObject
*resultobj
= 0;
21689 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21690 wxString
*result
= 0 ;
21693 PyObject
*swig_obj
[1] ;
21695 if (!args
) SWIG_fail
;
21696 swig_obj
[0] = args
;
21697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21698 if (!SWIG_IsOK(res1
)) {
21699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21701 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21706 result
= (wxString
*) &_result_ref
;
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21715 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21724 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21727 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21728 return SWIG_Py_Void();
21731 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21732 return SWIG_Python_InitShadowInstance(args
);
21735 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
= 0;
21737 wxString
*arg1
= 0 ;
21739 bool temp1
= false ;
21740 PyObject
* obj0
= 0 ;
21741 char * kwnames
[] = {
21742 (char *) "sz", NULL
21745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21747 arg1
= wxString_in_helper(obj0
);
21748 if (arg1
== NULL
) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21778 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21779 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21784 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21785 PyObject
*pyobj
= 0;
21789 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21791 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21798 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21799 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21804 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21805 PyObject
*pyobj
= 0;
21809 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21811 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21818 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
= 0;
21820 wxDateTime::Country arg1
;
21823 PyObject
* obj0
= 0 ;
21824 char * kwnames
[] = {
21825 (char *) "country", NULL
21828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21829 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21830 if (!SWIG_IsOK(ecode1
)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21833 arg1
= static_cast< wxDateTime::Country
>(val1
);
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 wxDateTime::SetCountry(arg1
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 resultobj
= SWIG_Py_Void();
21847 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21848 PyObject
*resultobj
= 0;
21849 wxDateTime::Country result
;
21851 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 resultobj
= SWIG_From_int(static_cast< int >(result
));
21865 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
= 0;
21867 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21871 PyObject
* obj0
= 0 ;
21872 char * kwnames
[] = {
21873 (char *) "country", NULL
21876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21878 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21879 if (!SWIG_IsOK(ecode1
)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21882 arg1
= static_cast< wxDateTime::Country
>(val1
);
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21899 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
= 0;
21901 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21905 PyObject
* obj0
= 0 ;
21906 char * kwnames
[] = {
21907 (char *) "cal", NULL
21910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21912 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21913 if (!SWIG_IsOK(ecode1
)) {
21914 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21916 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= SWIG_From_int(static_cast< int >(result
));
21931 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
= 0;
21937 PyObject
* obj0
= 0 ;
21938 char * kwnames
[] = {
21939 (char *) "year", NULL
21942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21944 if (!SWIG_IsOK(ecode1
)) {
21945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21947 arg1
= static_cast< int >(val1
);
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_From_int(static_cast< int >(result
));
21961 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
= 0;
21963 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21964 wxDateTime::Month result
;
21967 PyObject
* obj0
= 0 ;
21968 char * kwnames
[] = {
21969 (char *) "cal", NULL
21972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
21974 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21975 if (!SWIG_IsOK(ecode1
)) {
21976 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21978 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_From_int(static_cast< int >(result
));
21993 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
= 0;
21995 int arg1
= (int) wxDateTime::Inv_Year
;
21996 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 char * kwnames
[] = {
22005 (char *) "year",(char *) "cal", NULL
22008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22010 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22011 if (!SWIG_IsOK(ecode1
)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22014 arg1
= static_cast< int >(val1
);
22017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22018 if (!SWIG_IsOK(ecode2
)) {
22019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22021 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22038 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
= 0;
22040 int arg1
= (int) wxDateTime::Inv_Year
;
22044 PyObject
* obj0
= 0 ;
22045 char * kwnames
[] = {
22046 (char *) "year", NULL
22049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22051 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22052 if (!SWIG_IsOK(ecode1
)) {
22053 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22055 arg1
= static_cast< int >(val1
);
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (int)wxDateTime::GetCentury(arg1
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_From_int(static_cast< int >(result
));
22070 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
= 0;
22073 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 char * kwnames
[] = {
22082 (char *) "year",(char *) "cal", NULL
22085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22087 if (!SWIG_IsOK(ecode1
)) {
22088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22090 arg1
= static_cast< int >(val1
);
22092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22093 if (!SWIG_IsOK(ecode2
)) {
22094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22096 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_From_int(static_cast< int >(result
));
22111 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
= 0;
22113 wxDateTime::Month arg1
;
22114 int arg2
= (int) wxDateTime::Inv_Year
;
22115 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 PyObject
* obj2
= 0 ;
22126 char * kwnames
[] = {
22127 (char *) "month",(char *) "year",(char *) "cal", NULL
22130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22132 if (!SWIG_IsOK(ecode1
)) {
22133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22135 arg1
= static_cast< wxDateTime::Month
>(val1
);
22137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22138 if (!SWIG_IsOK(ecode2
)) {
22139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22141 arg2
= static_cast< int >(val2
);
22144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22145 if (!SWIG_IsOK(ecode3
)) {
22146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22148 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= SWIG_From_int(static_cast< int >(result
));
22163 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
= 0;
22165 wxDateTime::Month arg1
;
22166 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 char * kwnames
[] = {
22175 (char *) "month",(char *) "flags", NULL
22178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22180 if (!SWIG_IsOK(ecode1
)) {
22181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22183 arg1
= static_cast< wxDateTime::Month
>(val1
);
22185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22186 if (!SWIG_IsOK(ecode2
)) {
22187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22189 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22210 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
= 0;
22212 wxDateTime::WeekDay arg1
;
22213 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char * kwnames
[] = {
22222 (char *) "weekday",(char *) "flags", NULL
22225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22227 if (!SWIG_IsOK(ecode1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22230 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22233 if (!SWIG_IsOK(ecode2
)) {
22234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22236 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22257 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22258 PyObject
*resultobj
= 0;
22259 PyObject
*result
= 0 ;
22261 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= result
;
22275 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
= 0;
22277 int arg1
= (int) wxDateTime::Inv_Year
;
22278 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22284 PyObject
* obj0
= 0 ;
22285 PyObject
* obj1
= 0 ;
22286 char * kwnames
[] = {
22287 (char *) "year",(char *) "country", NULL
22290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22292 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22293 if (!SWIG_IsOK(ecode1
)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22296 arg1
= static_cast< int >(val1
);
22299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22300 if (!SWIG_IsOK(ecode2
)) {
22301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22303 arg2
= static_cast< wxDateTime::Country
>(val2
);
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22320 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
= 0;
22322 int arg1
= (int) wxDateTime::Inv_Year
;
22323 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 char * kwnames
[] = {
22332 (char *) "year",(char *) "country", NULL
22335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22338 if (!SWIG_IsOK(ecode1
)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22341 arg1
= static_cast< int >(val1
);
22344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22345 if (!SWIG_IsOK(ecode2
)) {
22346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22348 arg2
= static_cast< wxDateTime::Country
>(val2
);
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22363 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
= 0;
22365 int arg1
= (int) wxDateTime::Inv_Year
;
22366 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22372 PyObject
* obj0
= 0 ;
22373 PyObject
* obj1
= 0 ;
22374 char * kwnames
[] = {
22375 (char *) "year",(char *) "country", NULL
22378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22381 if (!SWIG_IsOK(ecode1
)) {
22382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22384 arg1
= static_cast< int >(val1
);
22387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22388 if (!SWIG_IsOK(ecode2
)) {
22389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22391 arg2
= static_cast< wxDateTime::Country
>(val2
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22406 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22410 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= wxDateTime::Now();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22424 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22425 PyObject
*resultobj
= 0;
22428 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= wxDateTime::UNow();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22442 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22443 PyObject
*resultobj
= 0;
22446 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= wxDateTime::Today();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22460 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22461 PyObject
*resultobj
= 0;
22462 wxDateTime
*result
= 0 ;
22464 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= (wxDateTime
*)new wxDateTime();
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22478 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
= 0;
22481 wxDateTime
*result
= 0 ;
22482 unsigned int val1
;
22484 PyObject
* obj0
= 0 ;
22485 char * kwnames
[] = {
22486 (char *) "timet", NULL
22489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22490 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22491 if (!SWIG_IsOK(ecode1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22494 arg1
= static_cast< time_t >(val1
);
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 result
= (wxDateTime
*)new wxDateTime(arg1
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22508 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
= 0;
22511 wxDateTime
*result
= 0 ;
22514 PyObject
* obj0
= 0 ;
22515 char * kwnames
[] = {
22516 (char *) "jdn", NULL
22519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22520 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22521 if (!SWIG_IsOK(ecode1
)) {
22522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22524 arg1
= static_cast< double >(val1
);
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= (wxDateTime
*)new wxDateTime(arg1
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22538 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
= 0;
22541 int arg2
= (int) 0 ;
22542 int arg3
= (int) 0 ;
22543 int arg4
= (int) 0 ;
22544 wxDateTime
*result
= 0 ;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 PyObject
* obj2
= 0 ;
22556 PyObject
* obj3
= 0 ;
22557 char * kwnames
[] = {
22558 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22562 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22563 if (!SWIG_IsOK(ecode1
)) {
22564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22566 arg1
= static_cast< int >(val1
);
22568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22569 if (!SWIG_IsOK(ecode2
)) {
22570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22572 arg2
= static_cast< int >(val2
);
22575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22576 if (!SWIG_IsOK(ecode3
)) {
22577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22579 arg3
= static_cast< int >(val3
);
22582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22583 if (!SWIG_IsOK(ecode4
)) {
22584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22586 arg4
= static_cast< int >(val4
);
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22601 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
= 0;
22604 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22605 int arg3
= (int) wxDateTime::Inv_Year
;
22606 int arg4
= (int) 0 ;
22607 int arg5
= (int) 0 ;
22608 int arg6
= (int) 0 ;
22609 int arg7
= (int) 0 ;
22610 wxDateTime
*result
= 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 PyObject
* obj2
= 0 ;
22628 PyObject
* obj3
= 0 ;
22629 PyObject
* obj4
= 0 ;
22630 PyObject
* obj5
= 0 ;
22631 PyObject
* obj6
= 0 ;
22632 char * kwnames
[] = {
22633 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22637 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22638 if (!SWIG_IsOK(ecode1
)) {
22639 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22641 arg1
= static_cast< int >(val1
);
22643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22644 if (!SWIG_IsOK(ecode2
)) {
22645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22647 arg2
= static_cast< wxDateTime::Month
>(val2
);
22650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22651 if (!SWIG_IsOK(ecode3
)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22654 arg3
= static_cast< int >(val3
);
22657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22658 if (!SWIG_IsOK(ecode4
)) {
22659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22661 arg4
= static_cast< int >(val4
);
22664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22665 if (!SWIG_IsOK(ecode5
)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22668 arg5
= static_cast< int >(val5
);
22671 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22672 if (!SWIG_IsOK(ecode6
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22675 arg6
= static_cast< int >(val6
);
22678 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22679 if (!SWIG_IsOK(ecode7
)) {
22680 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22682 arg7
= static_cast< int >(val7
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22697 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= 0;
22699 wxDateTime
*arg1
= 0 ;
22700 wxDateTime
*result
= 0 ;
22703 PyObject
* obj0
= 0 ;
22704 char * kwnames
[] = {
22705 (char *) "date", NULL
22708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22709 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22710 if (!SWIG_IsOK(res1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22716 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22730 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 PyObject
*resultobj
= 0;
22732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22735 PyObject
*swig_obj
[1] ;
22737 if (!args
) SWIG_fail
;
22738 swig_obj
[0] = args
;
22739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22743 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_Py_Void();
22758 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 PyObject
*resultobj
= 0;
22760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22761 wxDateTime
*result
= 0 ;
22764 PyObject
*swig_obj
[1] ;
22766 if (!args
) SWIG_fail
;
22767 swig_obj
[0] = args
;
22768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22769 if (!SWIG_IsOK(res1
)) {
22770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22772 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22777 result
= (wxDateTime
*) &_result_ref
;
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22789 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
= 0;
22791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22793 wxDateTime
*result
= 0 ;
22796 unsigned int val2
;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char * kwnames
[] = {
22801 (char *) "self",(char *) "timet", NULL
22804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22806 if (!SWIG_IsOK(res1
)) {
22807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22809 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22810 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22811 if (!SWIG_IsOK(ecode2
)) {
22812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22814 arg2
= static_cast< time_t >(val2
);
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22819 result
= (wxDateTime
*) &_result_ref
;
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22831 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
= 0;
22833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22835 wxDateTime
*result
= 0 ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 char * kwnames
[] = {
22843 (char *) "self",(char *) "jdn", NULL
22846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22851 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22852 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22853 if (!SWIG_IsOK(ecode2
)) {
22854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22856 arg2
= static_cast< double >(val2
);
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22861 result
= (wxDateTime
*) &_result_ref
;
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22873 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
= 0;
22875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22877 int arg3
= (int) 0 ;
22878 int arg4
= (int) 0 ;
22879 int arg5
= (int) 0 ;
22880 wxDateTime
*result
= 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 PyObject
* obj2
= 0 ;
22894 PyObject
* obj3
= 0 ;
22895 PyObject
* obj4
= 0 ;
22896 char * kwnames
[] = {
22897 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22905 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22907 if (!SWIG_IsOK(ecode2
)) {
22908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22910 arg2
= static_cast< int >(val2
);
22912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22913 if (!SWIG_IsOK(ecode3
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22916 arg3
= static_cast< int >(val3
);
22919 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22920 if (!SWIG_IsOK(ecode4
)) {
22921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22923 arg4
= static_cast< int >(val4
);
22926 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22927 if (!SWIG_IsOK(ecode5
)) {
22928 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22930 arg5
= static_cast< int >(val5
);
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22936 result
= (wxDateTime
*) &_result_ref
;
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22948 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
= 0;
22950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22952 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22953 int arg4
= (int) wxDateTime::Inv_Year
;
22954 int arg5
= (int) 0 ;
22955 int arg6
= (int) 0 ;
22956 int arg7
= (int) 0 ;
22957 int arg8
= (int) 0 ;
22958 wxDateTime
*result
= 0 ;
22975 PyObject
* obj0
= 0 ;
22976 PyObject
* obj1
= 0 ;
22977 PyObject
* obj2
= 0 ;
22978 PyObject
* obj3
= 0 ;
22979 PyObject
* obj4
= 0 ;
22980 PyObject
* obj5
= 0 ;
22981 PyObject
* obj6
= 0 ;
22982 PyObject
* obj7
= 0 ;
22983 char * kwnames
[] = {
22984 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22989 if (!SWIG_IsOK(res1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
22992 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22994 if (!SWIG_IsOK(ecode2
)) {
22995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
22997 arg2
= static_cast< int >(val2
);
22999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23000 if (!SWIG_IsOK(ecode3
)) {
23001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23003 arg3
= static_cast< wxDateTime::Month
>(val3
);
23006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23007 if (!SWIG_IsOK(ecode4
)) {
23008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23010 arg4
= static_cast< int >(val4
);
23013 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23014 if (!SWIG_IsOK(ecode5
)) {
23015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23017 arg5
= static_cast< int >(val5
);
23020 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23021 if (!SWIG_IsOK(ecode6
)) {
23022 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23024 arg6
= static_cast< int >(val6
);
23027 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23028 if (!SWIG_IsOK(ecode7
)) {
23029 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23031 arg7
= static_cast< int >(val7
);
23034 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23035 if (!SWIG_IsOK(ecode8
)) {
23036 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23038 arg8
= static_cast< int >(val8
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23044 result
= (wxDateTime
*) &_result_ref
;
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23056 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23057 PyObject
*resultobj
= 0;
23058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23059 wxDateTime
*result
= 0 ;
23062 PyObject
*swig_obj
[1] ;
23064 if (!args
) SWIG_fail
;
23065 swig_obj
[0] = args
;
23066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23070 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23075 result
= (wxDateTime
*) &_result_ref
;
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23087 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
= 0;
23089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23091 wxDateTime
*result
= 0 ;
23096 PyObject
* obj0
= 0 ;
23097 PyObject
* obj1
= 0 ;
23098 char * kwnames
[] = {
23099 (char *) "self",(char *) "year", NULL
23102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23104 if (!SWIG_IsOK(res1
)) {
23105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23107 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23109 if (!SWIG_IsOK(ecode2
)) {
23110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23112 arg2
= static_cast< int >(val2
);
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23117 result
= (wxDateTime
*) &_result_ref
;
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23129 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
= 0;
23131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23132 wxDateTime::Month arg2
;
23133 wxDateTime
*result
= 0 ;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 char * kwnames
[] = {
23141 (char *) "self",(char *) "month", NULL
23144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23146 if (!SWIG_IsOK(res1
)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23149 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23151 if (!SWIG_IsOK(ecode2
)) {
23152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23154 arg2
= static_cast< wxDateTime::Month
>(val2
);
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23159 result
= (wxDateTime
*) &_result_ref
;
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23171 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
= 0;
23173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23175 wxDateTime
*result
= 0 ;
23180 PyObject
* obj0
= 0 ;
23181 PyObject
* obj1
= 0 ;
23182 char * kwnames
[] = {
23183 (char *) "self",(char *) "day", NULL
23186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23191 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23193 if (!SWIG_IsOK(ecode2
)) {
23194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23196 arg2
= static_cast< int >(val2
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23201 result
= (wxDateTime
*) &_result_ref
;
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23213 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
= 0;
23215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23217 wxDateTime
*result
= 0 ;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char * kwnames
[] = {
23225 (char *) "self",(char *) "hour", NULL
23228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23230 if (!SWIG_IsOK(res1
)) {
23231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23233 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23235 if (!SWIG_IsOK(ecode2
)) {
23236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23238 arg2
= static_cast< int >(val2
);
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23243 result
= (wxDateTime
*) &_result_ref
;
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23255 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
= 0;
23257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23259 wxDateTime
*result
= 0 ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 char * kwnames
[] = {
23267 (char *) "self",(char *) "minute", NULL
23270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23275 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23277 if (!SWIG_IsOK(ecode2
)) {
23278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23280 arg2
= static_cast< int >(val2
);
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23285 result
= (wxDateTime
*) &_result_ref
;
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23297 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
= 0;
23299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23301 wxDateTime
*result
= 0 ;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 char * kwnames
[] = {
23309 (char *) "self",(char *) "second", NULL
23312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23314 if (!SWIG_IsOK(res1
)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23317 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23319 if (!SWIG_IsOK(ecode2
)) {
23320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23322 arg2
= static_cast< int >(val2
);
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23327 result
= (wxDateTime
*) &_result_ref
;
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23339 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
= 0;
23341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23343 wxDateTime
*result
= 0 ;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 char * kwnames
[] = {
23351 (char *) "self",(char *) "millisecond", NULL
23354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23359 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23361 if (!SWIG_IsOK(ecode2
)) {
23362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23364 arg2
= static_cast< int >(val2
);
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23369 result
= (wxDateTime
*) &_result_ref
;
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23381 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
= 0;
23383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23384 wxDateTime::WeekDay arg2
;
23385 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23386 wxDateTime
*result
= 0 ;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 PyObject
* obj2
= 0 ;
23396 char * kwnames
[] = {
23397 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23405 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23407 if (!SWIG_IsOK(ecode2
)) {
23408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23410 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23412 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23413 if (!SWIG_IsOK(ecode3
)) {
23414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23416 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23422 result
= (wxDateTime
*) &_result_ref
;
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23434 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
= 0;
23436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23437 wxDateTime::WeekDay arg2
;
23438 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 PyObject
* obj2
= 0 ;
23449 char * kwnames
[] = {
23450 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23458 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23460 if (!SWIG_IsOK(ecode2
)) {
23461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23463 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23466 if (!SWIG_IsOK(ecode3
)) {
23467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23469 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23484 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
= 0;
23486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23487 wxDateTime::WeekDay arg2
;
23488 wxDateTime
*result
= 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char * kwnames
[] = {
23496 (char *) "self",(char *) "weekday", NULL
23499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23501 if (!SWIG_IsOK(res1
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23504 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23506 if (!SWIG_IsOK(ecode2
)) {
23507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23509 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23514 result
= (wxDateTime
*) &_result_ref
;
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23526 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
= 0;
23528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23529 wxDateTime::WeekDay arg2
;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 char * kwnames
[] = {
23538 (char *) "self",(char *) "weekday", NULL
23541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23543 if (!SWIG_IsOK(res1
)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23546 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23548 if (!SWIG_IsOK(ecode2
)) {
23549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23551 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (arg1
)->GetNextWeekDay(arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23565 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
= 0;
23567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23568 wxDateTime::WeekDay arg2
;
23569 wxDateTime
*result
= 0 ;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 char * kwnames
[] = {
23577 (char *) "self",(char *) "weekday", NULL
23580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23582 if (!SWIG_IsOK(res1
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23585 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23587 if (!SWIG_IsOK(ecode2
)) {
23588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23590 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23595 result
= (wxDateTime
*) &_result_ref
;
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23607 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
= 0;
23609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23610 wxDateTime::WeekDay arg2
;
23616 PyObject
* obj0
= 0 ;
23617 PyObject
* obj1
= 0 ;
23618 char * kwnames
[] = {
23619 (char *) "self",(char *) "weekday", NULL
23622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23624 if (!SWIG_IsOK(res1
)) {
23625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23627 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23629 if (!SWIG_IsOK(ecode2
)) {
23630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23632 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (arg1
)->GetPrevWeekDay(arg2
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23646 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
= 0;
23648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23649 wxDateTime::WeekDay arg2
;
23650 int arg3
= (int) 1 ;
23651 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23652 int arg5
= (int) wxDateTime::Inv_Year
;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 PyObject
* obj2
= 0 ;
23667 PyObject
* obj3
= 0 ;
23668 PyObject
* obj4
= 0 ;
23669 char * kwnames
[] = {
23670 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23675 if (!SWIG_IsOK(res1
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23678 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23680 if (!SWIG_IsOK(ecode2
)) {
23681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23683 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23686 if (!SWIG_IsOK(ecode3
)) {
23687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23689 arg3
= static_cast< int >(val3
);
23692 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23693 if (!SWIG_IsOK(ecode4
)) {
23694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23696 arg4
= static_cast< wxDateTime::Month
>(val4
);
23699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23700 if (!SWIG_IsOK(ecode5
)) {
23701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23703 arg5
= static_cast< int >(val5
);
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23720 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
= 0;
23722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23723 wxDateTime::WeekDay arg2
;
23724 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23725 int arg4
= (int) wxDateTime::Inv_Year
;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 PyObject
* obj2
= 0 ;
23738 PyObject
* obj3
= 0 ;
23739 char * kwnames
[] = {
23740 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23745 if (!SWIG_IsOK(res1
)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23748 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23750 if (!SWIG_IsOK(ecode2
)) {
23751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23753 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23756 if (!SWIG_IsOK(ecode3
)) {
23757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23759 arg3
= static_cast< wxDateTime::Month
>(val3
);
23762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23763 if (!SWIG_IsOK(ecode4
)) {
23764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23766 arg4
= static_cast< int >(val4
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23783 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
= 0;
23785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23786 wxDateTime::WeekDay arg2
;
23787 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23788 int arg4
= (int) wxDateTime::Inv_Year
;
23798 PyObject
* obj0
= 0 ;
23799 PyObject
* obj1
= 0 ;
23800 PyObject
* obj2
= 0 ;
23801 PyObject
* obj3
= 0 ;
23802 char * kwnames
[] = {
23803 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23808 if (!SWIG_IsOK(res1
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23811 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23813 if (!SWIG_IsOK(ecode2
)) {
23814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23816 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23819 if (!SWIG_IsOK(ecode3
)) {
23820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23822 arg3
= static_cast< wxDateTime::Month
>(val3
);
23825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23826 if (!SWIG_IsOK(ecode4
)) {
23827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23829 arg4
= static_cast< int >(val4
);
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23844 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
= 0;
23846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23848 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23849 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23859 PyObject
* obj0
= 0 ;
23860 PyObject
* obj1
= 0 ;
23861 PyObject
* obj2
= 0 ;
23862 PyObject
* obj3
= 0 ;
23863 char * kwnames
[] = {
23864 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23869 if (!SWIG_IsOK(res1
)) {
23870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23872 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23874 if (!SWIG_IsOK(ecode2
)) {
23875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23877 arg2
= static_cast< int >(val2
);
23879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23880 if (!SWIG_IsOK(ecode3
)) {
23881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23883 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23887 if (!SWIG_IsOK(ecode4
)) {
23888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23890 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
= 0;
23909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23911 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23912 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 PyObject
* obj2
= 0 ;
23925 PyObject
* obj3
= 0 ;
23926 char * kwnames
[] = {
23927 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23935 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23937 if (!SWIG_IsOK(ecode2
)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23940 arg2
= static_cast< int >(val2
);
23942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23943 if (!SWIG_IsOK(ecode3
)) {
23944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23946 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23950 if (!SWIG_IsOK(ecode4
)) {
23951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23953 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23968 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
= 0;
23972 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 PyObject
* obj2
= 0 ;
23983 char * kwnames
[] = {
23984 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
23987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23989 if (!SWIG_IsOK(ecode1
)) {
23990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
23992 arg1
= static_cast< int >(val1
);
23993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23994 if (!SWIG_IsOK(ecode2
)) {
23995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
23997 arg2
= static_cast< int >(val2
);
23999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24000 if (!SWIG_IsOK(ecode3
)) {
24001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24003 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24018 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
= 0;
24020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24021 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24022 int arg3
= (int) wxDateTime::Inv_Year
;
24023 wxDateTime
*result
= 0 ;
24030 PyObject
* obj0
= 0 ;
24031 PyObject
* obj1
= 0 ;
24032 PyObject
* obj2
= 0 ;
24033 char * kwnames
[] = {
24034 (char *) "self",(char *) "month",(char *) "year", NULL
24037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24039 if (!SWIG_IsOK(res1
)) {
24040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24042 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24045 if (!SWIG_IsOK(ecode2
)) {
24046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24048 arg2
= static_cast< wxDateTime::Month
>(val2
);
24051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24052 if (!SWIG_IsOK(ecode3
)) {
24053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24055 arg3
= static_cast< int >(val3
);
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24061 result
= (wxDateTime
*) &_result_ref
;
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24073 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
= 0;
24075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24076 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24077 int arg3
= (int) wxDateTime::Inv_Year
;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 PyObject
* obj2
= 0 ;
24088 char * kwnames
[] = {
24089 (char *) "self",(char *) "month",(char *) "year", NULL
24092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24094 if (!SWIG_IsOK(res1
)) {
24095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24097 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24100 if (!SWIG_IsOK(ecode2
)) {
24101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24103 arg2
= static_cast< wxDateTime::Month
>(val2
);
24106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24107 if (!SWIG_IsOK(ecode3
)) {
24108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24110 arg3
= static_cast< int >(val3
);
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24125 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
= 0;
24127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24129 wxDateTime
*result
= 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "self",(char *) "yday", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24145 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24147 if (!SWIG_IsOK(ecode2
)) {
24148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24150 arg2
= static_cast< int >(val2
);
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24155 result
= (wxDateTime
*) &_result_ref
;
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24167 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
= 0;
24169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 char * kwnames
[] = {
24179 (char *) "self",(char *) "yday", NULL
24182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24187 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24189 if (!SWIG_IsOK(ecode2
)) {
24190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24192 arg2
= static_cast< int >(val2
);
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (arg1
)->GetYearDay(arg2
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24206 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24207 PyObject
*resultobj
= 0;
24208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24212 PyObject
*swig_obj
[1] ;
24214 if (!args
) SWIG_fail
;
24215 swig_obj
[0] = args
;
24216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24220 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= (double)(arg1
)->GetJulianDayNumber();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_From_double(static_cast< double >(result
));
24234 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24235 PyObject
*resultobj
= 0;
24236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24240 PyObject
*swig_obj
[1] ;
24242 if (!args
) SWIG_fail
;
24243 swig_obj
[0] = args
;
24244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24248 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (double)(arg1
)->GetJDN();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_From_double(static_cast< double >(result
));
24262 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24263 PyObject
*resultobj
= 0;
24264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24268 PyObject
*swig_obj
[1] ;
24270 if (!args
) SWIG_fail
;
24271 swig_obj
[0] = args
;
24272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24273 if (!SWIG_IsOK(res1
)) {
24274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24276 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_From_double(static_cast< double >(result
));
24290 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24291 PyObject
*resultobj
= 0;
24292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24296 PyObject
*swig_obj
[1] ;
24298 if (!args
) SWIG_fail
;
24299 swig_obj
[0] = args
;
24300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24301 if (!SWIG_IsOK(res1
)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24304 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (double)(arg1
)->GetMJD();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_From_double(static_cast< double >(result
));
24318 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24319 PyObject
*resultobj
= 0;
24320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24324 PyObject
*swig_obj
[1] ;
24326 if (!args
) SWIG_fail
;
24327 swig_obj
[0] = args
;
24328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24332 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (double)(arg1
)->GetRataDie();
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_From_double(static_cast< double >(result
));
24346 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
= 0;
24348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24349 wxDateTime::TimeZone
*arg2
= 0 ;
24350 bool arg3
= (bool) false ;
24354 bool temp2
= false ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 PyObject
* obj2
= 0 ;
24360 char * kwnames
[] = {
24361 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24366 if (!SWIG_IsOK(res1
)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24369 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24371 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24375 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24376 if (!SWIG_IsOK(ecode3
)) {
24377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24379 arg3
= static_cast< bool >(val3
);
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24389 if (temp2
) delete arg2
;
24394 if (temp2
) delete arg2
;
24400 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
= 0;
24402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24403 wxDateTime::TimeZone
*arg2
= 0 ;
24404 bool arg3
= (bool) false ;
24405 wxDateTime
*result
= 0 ;
24408 bool temp2
= false ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 PyObject
* obj2
= 0 ;
24414 char * kwnames
[] = {
24415 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24423 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24425 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24429 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24430 if (!SWIG_IsOK(ecode3
)) {
24431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24433 arg3
= static_cast< bool >(val3
);
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24439 result
= (wxDateTime
*) &_result_ref
;
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24446 if (temp2
) delete arg2
;
24451 if (temp2
) delete arg2
;
24457 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
= 0;
24459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24460 wxDateTime::TimeZone
*arg2
= 0 ;
24461 bool arg3
= (bool) false ;
24465 bool temp2
= false ;
24468 PyObject
* obj0
= 0 ;
24469 PyObject
* obj1
= 0 ;
24470 PyObject
* obj2
= 0 ;
24471 char * kwnames
[] = {
24472 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24477 if (!SWIG_IsOK(res1
)) {
24478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24480 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24482 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24486 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24487 if (!SWIG_IsOK(ecode3
)) {
24488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24490 arg3
= static_cast< bool >(val3
);
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24500 if (temp2
) delete arg2
;
24505 if (temp2
) delete arg2
;
24511 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
= 0;
24513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24514 wxDateTime::TimeZone
*arg2
= 0 ;
24515 bool arg3
= (bool) false ;
24516 wxDateTime
*result
= 0 ;
24519 bool temp2
= false ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 PyObject
* obj2
= 0 ;
24525 char * kwnames
[] = {
24526 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24531 if (!SWIG_IsOK(res1
)) {
24532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24534 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24536 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24540 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24541 if (!SWIG_IsOK(ecode3
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24544 arg3
= static_cast< bool >(val3
);
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24550 result
= (wxDateTime
*) &_result_ref
;
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24557 if (temp2
) delete arg2
;
24562 if (temp2
) delete arg2
;
24568 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
= 0;
24570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24571 bool arg2
= (bool) false ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char * kwnames
[] = {
24580 (char *) "self",(char *) "noDST", NULL
24583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24585 if (!SWIG_IsOK(res1
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24588 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24591 if (!SWIG_IsOK(ecode2
)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24594 arg2
= static_cast< bool >(val2
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24609 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
= 0;
24611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24612 bool arg2
= (bool) false ;
24613 wxDateTime
*result
= 0 ;
24618 PyObject
* obj0
= 0 ;
24619 PyObject
* obj1
= 0 ;
24620 char * kwnames
[] = {
24621 (char *) "self",(char *) "noDST", NULL
24624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24626 if (!SWIG_IsOK(res1
)) {
24627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24629 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24631 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24632 if (!SWIG_IsOK(ecode2
)) {
24633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24635 arg2
= static_cast< bool >(val2
);
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24641 result
= (wxDateTime
*) &_result_ref
;
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24653 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
= 0;
24655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24656 bool arg2
= (bool) false ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char * kwnames
[] = {
24665 (char *) "self",(char *) "noDST", NULL
24668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24670 if (!SWIG_IsOK(res1
)) {
24671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24673 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24675 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24676 if (!SWIG_IsOK(ecode2
)) {
24677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24679 arg2
= static_cast< bool >(val2
);
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24694 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
= 0;
24696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24697 bool arg2
= (bool) false ;
24698 wxDateTime
*result
= 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "self",(char *) "noDST", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24714 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24716 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24717 if (!SWIG_IsOK(ecode2
)) {
24718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24720 arg2
= static_cast< bool >(val2
);
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24726 result
= (wxDateTime
*) &_result_ref
;
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24738 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
= 0;
24740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24741 bool arg2
= (bool) false ;
24747 PyObject
* obj0
= 0 ;
24748 PyObject
* obj1
= 0 ;
24749 char * kwnames
[] = {
24750 (char *) "self",(char *) "noDST", NULL
24753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24755 if (!SWIG_IsOK(res1
)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24758 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24760 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24761 if (!SWIG_IsOK(ecode2
)) {
24762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24764 arg2
= static_cast< bool >(val2
);
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24779 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
= 0;
24781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24782 bool arg2
= (bool) false ;
24783 wxDateTime
*result
= 0 ;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 char * kwnames
[] = {
24791 (char *) "self",(char *) "noDST", NULL
24794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24799 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24801 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24802 if (!SWIG_IsOK(ecode2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24805 arg2
= static_cast< bool >(val2
);
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24811 result
= (wxDateTime
*) &_result_ref
;
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24823 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= 0;
24825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24826 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24832 PyObject
* obj0
= 0 ;
24833 PyObject
* obj1
= 0 ;
24834 char * kwnames
[] = {
24835 (char *) "self",(char *) "country", NULL
24838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24843 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24846 if (!SWIG_IsOK(ecode2
)) {
24847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24849 arg2
= static_cast< wxDateTime::Country
>(val2
);
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (int)(arg1
)->IsDST(arg2
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= SWIG_From_int(static_cast< int >(result
));
24864 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24865 PyObject
*resultobj
= 0;
24866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24870 PyObject
*swig_obj
[1] ;
24872 if (!args
) SWIG_fail
;
24873 swig_obj
[0] = args
;
24874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24875 if (!SWIG_IsOK(res1
)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24878 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24894 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24895 PyObject
*resultobj
= 0;
24896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24900 PyObject
*swig_obj
[1] ;
24902 if (!args
) SWIG_fail
;
24903 swig_obj
[0] = args
;
24904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24908 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24922 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
= 0;
24924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24925 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24926 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24930 bool temp2
= false ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char * kwnames
[] = {
24934 (char *) "self",(char *) "tz", NULL
24937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24942 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24945 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_From_int(static_cast< int >(result
));
24957 if (temp2
) delete arg2
;
24962 if (temp2
) delete arg2
;
24968 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
= 0;
24970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24971 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24972 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24973 wxDateTime::Month result
;
24976 bool temp2
= false ;
24977 PyObject
* obj0
= 0 ;
24978 PyObject
* obj1
= 0 ;
24979 char * kwnames
[] = {
24980 (char *) "self",(char *) "tz", NULL
24983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24985 if (!SWIG_IsOK(res1
)) {
24986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24988 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24991 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_From_int(static_cast< int >(result
));
25003 if (temp2
) delete arg2
;
25008 if (temp2
) delete arg2
;
25014 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
= 0;
25016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25017 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25018 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25022 bool temp2
= false ;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 char * kwnames
[] = {
25026 (char *) "self",(char *) "tz", NULL
25029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25031 if (!SWIG_IsOK(res1
)) {
25032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25034 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25037 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= SWIG_From_int(static_cast< int >(result
));
25049 if (temp2
) delete arg2
;
25054 if (temp2
) delete arg2
;
25060 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
= 0;
25062 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25063 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25064 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25065 wxDateTime::WeekDay result
;
25068 bool temp2
= false ;
25069 PyObject
* obj0
= 0 ;
25070 PyObject
* obj1
= 0 ;
25071 char * kwnames
[] = {
25072 (char *) "self",(char *) "tz", NULL
25075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25080 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25083 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25090 wxPyEndAllowThreads(__tstate
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25093 resultobj
= SWIG_From_int(static_cast< int >(result
));
25095 if (temp2
) delete arg2
;
25100 if (temp2
) delete arg2
;
25106 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
= 0;
25108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25109 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25110 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25114 bool temp2
= false ;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char * kwnames
[] = {
25118 (char *) "self",(char *) "tz", NULL
25121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25123 if (!SWIG_IsOK(res1
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25126 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25129 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_From_int(static_cast< int >(result
));
25141 if (temp2
) delete arg2
;
25146 if (temp2
) delete arg2
;
25152 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
= 0;
25154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25155 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25156 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25160 bool temp2
= false ;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 char * kwnames
[] = {
25164 (char *) "self",(char *) "tz", NULL
25167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25169 if (!SWIG_IsOK(res1
)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25172 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25175 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_From_int(static_cast< int >(result
));
25187 if (temp2
) delete arg2
;
25192 if (temp2
) delete arg2
;
25198 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
= 0;
25200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25201 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25202 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25206 bool temp2
= false ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 char * kwnames
[] = {
25210 (char *) "self",(char *) "tz", NULL
25213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25215 if (!SWIG_IsOK(res1
)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25218 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25221 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= SWIG_From_int(static_cast< int >(result
));
25233 if (temp2
) delete arg2
;
25238 if (temp2
) delete arg2
;
25244 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
= 0;
25246 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25247 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25248 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25252 bool temp2
= false ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 char * kwnames
[] = {
25256 (char *) "self",(char *) "tz", NULL
25259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25264 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25267 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_From_int(static_cast< int >(result
));
25279 if (temp2
) delete arg2
;
25284 if (temp2
) delete arg2
;
25290 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
= 0;
25292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25293 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25294 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25298 bool temp2
= false ;
25299 PyObject
* obj0
= 0 ;
25300 PyObject
* obj1
= 0 ;
25301 char * kwnames
[] = {
25302 (char *) "self",(char *) "tz", NULL
25305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25307 if (!SWIG_IsOK(res1
)) {
25308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25310 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25313 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= SWIG_From_int(static_cast< int >(result
));
25325 if (temp2
) delete arg2
;
25330 if (temp2
) delete arg2
;
25336 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
= 0;
25338 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25339 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25340 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25341 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25347 bool temp3
= false ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 PyObject
* obj2
= 0 ;
25351 char * kwnames
[] = {
25352 (char *) "self",(char *) "flags",(char *) "tz", NULL
25355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25357 if (!SWIG_IsOK(res1
)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25360 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25363 if (!SWIG_IsOK(ecode2
)) {
25364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25366 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25370 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_From_int(static_cast< int >(result
));
25382 if (temp3
) delete arg3
;
25387 if (temp3
) delete arg3
;
25393 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
= 0;
25395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25396 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25397 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25398 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25404 bool temp3
= false ;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 PyObject
* obj2
= 0 ;
25408 char * kwnames
[] = {
25409 (char *) "self",(char *) "flags",(char *) "tz", NULL
25412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25417 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25420 if (!SWIG_IsOK(ecode2
)) {
25421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25423 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25427 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_From_int(static_cast< int >(result
));
25439 if (temp3
) delete arg3
;
25444 if (temp3
) delete arg3
;
25450 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
= 0;
25452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25453 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char * kwnames
[] = {
25462 (char *) "self",(char *) "country", NULL
25465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25467 if (!SWIG_IsOK(res1
)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25470 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25473 if (!SWIG_IsOK(ecode2
)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25476 arg2
= static_cast< wxDateTime::Country
>(val2
);
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25493 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
= 0;
25495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25496 wxDateTime
*arg2
= 0 ;
25502 PyObject
* obj0
= 0 ;
25503 PyObject
* obj1
= 0 ;
25504 char * kwnames
[] = {
25505 (char *) "self",(char *) "datetime", NULL
25508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25510 if (!SWIG_IsOK(res1
)) {
25511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25513 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25515 if (!SWIG_IsOK(res2
)) {
25516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25521 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25537 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
= 0;
25539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25540 wxDateTime
*arg2
= 0 ;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 char * kwnames
[] = {
25549 (char *) "self",(char *) "datetime", NULL
25552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25554 if (!SWIG_IsOK(res1
)) {
25555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25557 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25559 if (!SWIG_IsOK(res2
)) {
25560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25565 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25581 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
= 0;
25583 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25584 wxDateTime
*arg2
= 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 char * kwnames
[] = {
25593 (char *) "self",(char *) "datetime", NULL
25596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25598 if (!SWIG_IsOK(res1
)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25601 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25603 if (!SWIG_IsOK(res2
)) {
25604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25609 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25625 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
= 0;
25627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25628 wxDateTime
*arg2
= 0 ;
25629 wxDateTime
*arg3
= 0 ;
25637 PyObject
* obj0
= 0 ;
25638 PyObject
* obj1
= 0 ;
25639 PyObject
* obj2
= 0 ;
25640 char * kwnames
[] = {
25641 (char *) "self",(char *) "t1",(char *) "t2", NULL
25644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25646 if (!SWIG_IsOK(res1
)) {
25647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25649 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25651 if (!SWIG_IsOK(res2
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25657 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25658 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25659 if (!SWIG_IsOK(res3
)) {
25660 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25665 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25681 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
= 0;
25683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25684 wxDateTime
*arg2
= 0 ;
25685 wxDateTime
*arg3
= 0 ;
25693 PyObject
* obj0
= 0 ;
25694 PyObject
* obj1
= 0 ;
25695 PyObject
* obj2
= 0 ;
25696 char * kwnames
[] = {
25697 (char *) "self",(char *) "t1",(char *) "t2", NULL
25700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25702 if (!SWIG_IsOK(res1
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25705 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25707 if (!SWIG_IsOK(res2
)) {
25708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25713 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25714 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25715 if (!SWIG_IsOK(res3
)) {
25716 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25721 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25737 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
= 0;
25739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25740 wxDateTime
*arg2
= 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 char * kwnames
[] = {
25749 (char *) "self",(char *) "dt", NULL
25752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25754 if (!SWIG_IsOK(res1
)) {
25755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25757 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25759 if (!SWIG_IsOK(res2
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25765 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25781 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
= 0;
25783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25784 wxDateTime
*arg2
= 0 ;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 char * kwnames
[] = {
25793 (char *) "self",(char *) "dt", NULL
25796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25801 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25803 if (!SWIG_IsOK(res2
)) {
25804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25809 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25825 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
= 0;
25827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25828 wxDateTime
*arg2
= 0 ;
25829 wxTimeSpan
*arg3
= 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 PyObject
* obj2
= 0 ;
25840 char * kwnames
[] = {
25841 (char *) "self",(char *) "dt",(char *) "ts", NULL
25844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25849 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25851 if (!SWIG_IsOK(res2
)) {
25852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25857 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25858 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25859 if (!SWIG_IsOK(res3
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25865 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25881 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
= 0;
25883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25884 wxTimeSpan
*arg2
= 0 ;
25885 wxDateTime
*result
= 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char * kwnames
[] = {
25893 (char *) "self",(char *) "diff", NULL
25896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25898 if (!SWIG_IsOK(res1
)) {
25899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25901 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25903 if (!SWIG_IsOK(res2
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25909 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25914 result
= (wxDateTime
*) &_result_ref
;
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25926 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
= 0;
25928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25929 wxDateSpan
*arg2
= 0 ;
25930 wxDateTime
*result
= 0 ;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 char * kwnames
[] = {
25938 (char *) "self",(char *) "diff", NULL
25941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25943 if (!SWIG_IsOK(res1
)) {
25944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25946 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25948 if (!SWIG_IsOK(res2
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25954 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25959 result
= (wxDateTime
*) &_result_ref
;
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25971 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
= 0;
25973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25974 wxTimeSpan
*arg2
= 0 ;
25975 wxDateTime
*result
= 0 ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 char * kwnames
[] = {
25983 (char *) "self",(char *) "diff", NULL
25986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25991 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25993 if (!SWIG_IsOK(res2
)) {
25994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25999 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26004 result
= (wxDateTime
*) &_result_ref
;
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26016 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
= 0;
26018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26019 wxDateSpan
*arg2
= 0 ;
26020 wxDateTime
*result
= 0 ;
26025 PyObject
* obj0
= 0 ;
26026 PyObject
* obj1
= 0 ;
26027 char * kwnames
[] = {
26028 (char *) "self",(char *) "diff", NULL
26031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26033 if (!SWIG_IsOK(res1
)) {
26034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26036 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26038 if (!SWIG_IsOK(res2
)) {
26039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26044 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26049 result
= (wxDateTime
*) &_result_ref
;
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26061 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26062 PyObject
*resultobj
= 0;
26063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26064 wxDateTime
*arg2
= 0 ;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 char * kwnames
[] = {
26073 (char *) "self",(char *) "dt", NULL
26076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26078 if (!SWIG_IsOK(res1
)) {
26079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26081 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26083 if (!SWIG_IsOK(res2
)) {
26084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26089 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26103 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26104 PyObject
*resultobj
= 0;
26105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26106 wxTimeSpan
*arg2
= 0 ;
26107 wxDateTime
*result
= 0 ;
26113 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26118 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26119 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26120 if (!SWIG_IsOK(res2
)) {
26121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26126 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26131 result
= (wxDateTime
*) &_result_ref
;
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26143 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26144 PyObject
*resultobj
= 0;
26145 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26146 wxDateSpan
*arg2
= 0 ;
26147 wxDateTime
*result
= 0 ;
26153 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26158 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26159 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26160 if (!SWIG_IsOK(res2
)) {
26161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26166 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26171 result
= (wxDateTime
*) &_result_ref
;
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26183 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26187 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26192 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26193 _v
= SWIG_CheckState(res
);
26195 if (!_v
) goto check_1
;
26196 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26201 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26205 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26210 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26211 PyObject
*resultobj
= 0;
26212 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26213 wxTimeSpan
*arg2
= 0 ;
26214 wxDateTime
*result
= 0 ;
26220 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26222 if (!SWIG_IsOK(res1
)) {
26223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26225 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26226 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26227 if (!SWIG_IsOK(res2
)) {
26228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26233 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26238 result
= (wxDateTime
*) &_result_ref
;
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26250 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26251 PyObject
*resultobj
= 0;
26252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26253 wxDateSpan
*arg2
= 0 ;
26254 wxDateTime
*result
= 0 ;
26260 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26262 if (!SWIG_IsOK(res1
)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26265 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26266 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26267 if (!SWIG_IsOK(res2
)) {
26268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26273 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26278 result
= (wxDateTime
*) &_result_ref
;
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26290 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26294 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26299 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26300 _v
= SWIG_CheckState(res
);
26302 if (!_v
) goto check_1
;
26303 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26308 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26312 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26317 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26318 PyObject
*resultobj
= 0;
26319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26320 wxTimeSpan
*arg2
= 0 ;
26327 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26329 if (!SWIG_IsOK(res1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26332 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26333 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26334 if (!SWIG_IsOK(res2
)) {
26335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26340 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26354 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26355 PyObject
*resultobj
= 0;
26356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26357 wxDateSpan
*arg2
= 0 ;
26364 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26369 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26370 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26371 if (!SWIG_IsOK(res2
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26377 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26391 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26395 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26400 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26401 _v
= SWIG_CheckState(res
);
26403 if (!_v
) goto check_1
;
26404 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26409 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26413 Py_INCREF(Py_NotImplemented
);
26414 return Py_NotImplemented
;
26418 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26419 PyObject
*resultobj
= 0;
26420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26421 wxDateTime
*arg2
= 0 ;
26428 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26433 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26434 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26435 if (!SWIG_IsOK(res2
)) {
26436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26441 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26455 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26456 PyObject
*resultobj
= 0;
26457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26458 wxTimeSpan
*arg2
= 0 ;
26465 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26467 if (!SWIG_IsOK(res1
)) {
26468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26470 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26471 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26472 if (!SWIG_IsOK(res2
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26478 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26492 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26493 PyObject
*resultobj
= 0;
26494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26495 wxDateSpan
*arg2
= 0 ;
26502 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26507 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26508 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26509 if (!SWIG_IsOK(res2
)) {
26510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26515 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26529 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26533 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26538 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26539 _v
= SWIG_CheckState(res
);
26541 if (!_v
) goto check_1
;
26542 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26549 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26550 _v
= SWIG_CheckState(res
);
26552 if (!_v
) goto check_2
;
26553 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26558 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26562 Py_INCREF(Py_NotImplemented
);
26563 return Py_NotImplemented
;
26567 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
= 0;
26569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26570 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char * kwnames
[] = {
26579 (char *) "self",(char *) "other", NULL
26582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26584 if (!SWIG_IsOK(res1
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26587 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26589 if (!SWIG_IsOK(res2
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26592 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26608 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
= 0;
26610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26611 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26617 PyObject
* obj0
= 0 ;
26618 PyObject
* obj1
= 0 ;
26619 char * kwnames
[] = {
26620 (char *) "self",(char *) "other", NULL
26623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26625 if (!SWIG_IsOK(res1
)) {
26626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26628 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26630 if (!SWIG_IsOK(res2
)) {
26631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26633 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26636 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26649 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
= 0;
26651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26652 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 char * kwnames
[] = {
26661 (char *) "self",(char *) "other", NULL
26664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26666 if (!SWIG_IsOK(res1
)) {
26667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26669 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26670 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26671 if (!SWIG_IsOK(res2
)) {
26672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26674 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26690 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
= 0;
26692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26693 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 PyObject
* obj1
= 0 ;
26701 char * kwnames
[] = {
26702 (char *) "self",(char *) "other", NULL
26705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26707 if (!SWIG_IsOK(res1
)) {
26708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26710 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26712 if (!SWIG_IsOK(res2
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26715 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26731 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
= 0;
26733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26734 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 char * kwnames
[] = {
26743 (char *) "self",(char *) "other", NULL
26746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26748 if (!SWIG_IsOK(res1
)) {
26749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26751 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26752 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26753 if (!SWIG_IsOK(res2
)) {
26754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26756 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26772 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
= 0;
26774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26775 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26781 PyObject
* obj0
= 0 ;
26782 PyObject
* obj1
= 0 ;
26783 char * kwnames
[] = {
26784 (char *) "self",(char *) "other", NULL
26787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26789 if (!SWIG_IsOK(res1
)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26792 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26794 if (!SWIG_IsOK(res2
)) {
26795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26797 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26801 wxPyEndAllowThreads(__tstate
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26813 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
= 0;
26815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26816 wxString
*arg2
= 0 ;
26820 bool temp2
= false ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char * kwnames
[] = {
26824 (char *) "self",(char *) "date", NULL
26827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26832 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26834 arg2
= wxString_in_helper(obj1
);
26835 if (arg2
== NULL
) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= SWIG_From_int(static_cast< int >(result
));
26859 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
= 0;
26861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26862 wxString
*arg2
= 0 ;
26863 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26865 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26866 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26870 bool temp2
= false ;
26871 bool temp3
= false ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 PyObject
* obj2
= 0 ;
26877 PyObject
* obj3
= 0 ;
26878 char * kwnames
[] = {
26879 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26887 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26889 arg2
= wxString_in_helper(obj1
);
26890 if (arg2
== NULL
) SWIG_fail
;
26895 arg3
= wxString_in_helper(obj2
);
26896 if (arg3
== NULL
) SWIG_fail
;
26901 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26902 if (!SWIG_IsOK(res4
)) {
26903 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26908 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= SWIG_From_int(static_cast< int >(result
));
26939 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
= 0;
26941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26942 wxString
*arg2
= 0 ;
26946 bool temp2
= false ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char * kwnames
[] = {
26950 (char *) "self",(char *) "datetime", NULL
26953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26958 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26960 arg2
= wxString_in_helper(obj1
);
26961 if (arg2
== NULL
) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= SWIG_From_int(static_cast< int >(result
));
26985 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
= 0;
26987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26988 wxString
*arg2
= 0 ;
26992 bool temp2
= false ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char * kwnames
[] = {
26996 (char *) "self",(char *) "date", NULL
26999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27001 if (!SWIG_IsOK(res1
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27004 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27006 arg2
= wxString_in_helper(obj1
);
27007 if (arg2
== NULL
) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= SWIG_From_int(static_cast< int >(result
));
27031 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
= 0;
27033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27034 wxString
*arg2
= 0 ;
27038 bool temp2
= false ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 char * kwnames
[] = {
27042 (char *) "self",(char *) "time", NULL
27045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27047 if (!SWIG_IsOK(res1
)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27050 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27052 arg2
= wxString_in_helper(obj1
);
27053 if (arg2
== NULL
) SWIG_fail
;
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_From_int(static_cast< int >(result
));
27077 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
= 0;
27079 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27080 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27081 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27082 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27083 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27087 bool temp2
= false ;
27088 bool temp3
= false ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 PyObject
* obj2
= 0 ;
27092 char * kwnames
[] = {
27093 (char *) "self",(char *) "format",(char *) "tz", NULL
27096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27101 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27104 arg2
= wxString_in_helper(obj1
);
27105 if (arg2
== NULL
) SWIG_fail
;
27111 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27133 if (temp3
) delete arg3
;
27142 if (temp3
) delete arg3
;
27148 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27149 PyObject
*resultobj
= 0;
27150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27154 PyObject
*swig_obj
[1] ;
27156 if (!args
) SWIG_fail
;
27157 swig_obj
[0] = args
;
27158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27162 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27182 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27183 PyObject
*resultobj
= 0;
27184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27188 PyObject
*swig_obj
[1] ;
27190 if (!args
) SWIG_fail
;
27191 swig_obj
[0] = args
;
27192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27193 if (!SWIG_IsOK(res1
)) {
27194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27196 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27200 wxPyEndAllowThreads(__tstate
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27216 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27217 PyObject
*resultobj
= 0;
27218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27222 PyObject
*swig_obj
[1] ;
27224 if (!args
) SWIG_fail
;
27225 swig_obj
[0] = args
;
27226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27227 if (!SWIG_IsOK(res1
)) {
27228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27230 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27250 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27251 PyObject
*resultobj
= 0;
27252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27256 PyObject
*swig_obj
[1] ;
27258 if (!args
) SWIG_fail
;
27259 swig_obj
[0] = args
;
27260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27261 if (!SWIG_IsOK(res1
)) {
27262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27264 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27284 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27287 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27288 return SWIG_Py_Void();
27291 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27292 return SWIG_Python_InitShadowInstance(args
);
27295 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
= 0;
27301 PyObject
* obj0
= 0 ;
27302 char * kwnames
[] = {
27303 (char *) "ms", NULL
27306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27307 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27308 if (!SWIG_IsOK(ecode1
)) {
27309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27311 arg1
= static_cast< long >(val1
);
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 result
= wxTimeSpan::Milliseconds(arg1
);
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27325 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27326 PyObject
*resultobj
= 0;
27329 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 result
= wxTimeSpan::Millisecond();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27343 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
= 0;
27349 PyObject
* obj0
= 0 ;
27350 char * kwnames
[] = {
27351 (char *) "sec", NULL
27354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27355 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27356 if (!SWIG_IsOK(ecode1
)) {
27357 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27359 arg1
= static_cast< long >(val1
);
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= wxTimeSpan::Seconds(arg1
);
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27373 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27374 PyObject
*resultobj
= 0;
27377 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 result
= wxTimeSpan::Second();
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27391 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
= 0;
27397 PyObject
* obj0
= 0 ;
27398 char * kwnames
[] = {
27399 (char *) "min", NULL
27402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27403 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27404 if (!SWIG_IsOK(ecode1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27407 arg1
= static_cast< long >(val1
);
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= wxTimeSpan::Minutes(arg1
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27421 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27422 PyObject
*resultobj
= 0;
27425 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= wxTimeSpan::Minute();
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27439 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
= 0;
27445 PyObject
* obj0
= 0 ;
27446 char * kwnames
[] = {
27447 (char *) "hours", NULL
27450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27451 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27452 if (!SWIG_IsOK(ecode1
)) {
27453 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27455 arg1
= static_cast< long >(val1
);
27457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27458 result
= wxTimeSpan::Hours(arg1
);
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27469 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27470 PyObject
*resultobj
= 0;
27473 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= wxTimeSpan::Hour();
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27487 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
= 0;
27493 PyObject
* obj0
= 0 ;
27494 char * kwnames
[] = {
27495 (char *) "days", NULL
27498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27499 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27500 if (!SWIG_IsOK(ecode1
)) {
27501 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27503 arg1
= static_cast< long >(val1
);
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= wxTimeSpan::Days(arg1
);
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27517 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27518 PyObject
*resultobj
= 0;
27521 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 result
= wxTimeSpan::Day();
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27535 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
= 0;
27541 PyObject
* obj0
= 0 ;
27542 char * kwnames
[] = {
27543 (char *) "days", NULL
27546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27547 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27548 if (!SWIG_IsOK(ecode1
)) {
27549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27551 arg1
= static_cast< long >(val1
);
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= wxTimeSpan::Weeks(arg1
);
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27565 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27569 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 result
= wxTimeSpan::Week();
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27583 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27584 PyObject
*resultobj
= 0;
27585 long arg1
= (long) 0 ;
27586 long arg2
= (long) 0 ;
27587 long arg3
= (long) 0 ;
27588 long arg4
= (long) 0 ;
27589 wxTimeSpan
*result
= 0 ;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 PyObject
* obj2
= 0 ;
27601 PyObject
* obj3
= 0 ;
27602 char * kwnames
[] = {
27603 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27608 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27609 if (!SWIG_IsOK(ecode1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27612 arg1
= static_cast< long >(val1
);
27615 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27616 if (!SWIG_IsOK(ecode2
)) {
27617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27619 arg2
= static_cast< long >(val2
);
27622 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27623 if (!SWIG_IsOK(ecode3
)) {
27624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27626 arg3
= static_cast< long >(val3
);
27629 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27630 if (!SWIG_IsOK(ecode4
)) {
27631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27633 arg4
= static_cast< long >(val4
);
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27648 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27649 PyObject
*resultobj
= 0;
27650 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27653 PyObject
*swig_obj
[1] ;
27655 if (!args
) SWIG_fail
;
27656 swig_obj
[0] = args
;
27657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27658 if (!SWIG_IsOK(res1
)) {
27659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27661 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_Py_Void();
27676 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
= 0;
27678 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27679 wxTimeSpan
*arg2
= 0 ;
27680 wxTimeSpan
*result
= 0 ;
27685 PyObject
* obj0
= 0 ;
27686 PyObject
* obj1
= 0 ;
27687 char * kwnames
[] = {
27688 (char *) "self",(char *) "diff", NULL
27691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27693 if (!SWIG_IsOK(res1
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27696 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27698 if (!SWIG_IsOK(res2
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27704 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27709 result
= (wxTimeSpan
*) &_result_ref
;
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27721 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
= 0;
27723 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27724 wxTimeSpan
*arg2
= 0 ;
27725 wxTimeSpan
*result
= 0 ;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 char * kwnames
[] = {
27733 (char *) "self",(char *) "diff", NULL
27736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27741 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27743 if (!SWIG_IsOK(res2
)) {
27744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27749 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27754 result
= (wxTimeSpan
*) &_result_ref
;
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27766 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
= 0;
27768 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27770 wxTimeSpan
*result
= 0 ;
27775 PyObject
* obj0
= 0 ;
27776 PyObject
* obj1
= 0 ;
27777 char * kwnames
[] = {
27778 (char *) "self",(char *) "n", NULL
27781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27783 if (!SWIG_IsOK(res1
)) {
27784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27786 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27788 if (!SWIG_IsOK(ecode2
)) {
27789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27791 arg2
= static_cast< int >(val2
);
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27796 result
= (wxTimeSpan
*) &_result_ref
;
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27808 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27809 PyObject
*resultobj
= 0;
27810 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27811 wxTimeSpan
*result
= 0 ;
27814 PyObject
*swig_obj
[1] ;
27816 if (!args
) SWIG_fail
;
27817 swig_obj
[0] = args
;
27818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27819 if (!SWIG_IsOK(res1
)) {
27820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27822 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27827 result
= (wxTimeSpan
*) &_result_ref
;
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27839 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27840 PyObject
*resultobj
= 0;
27841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27845 PyObject
*swig_obj
[1] ;
27847 if (!args
) SWIG_fail
;
27848 swig_obj
[0] = args
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27853 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27867 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
= 0;
27869 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27870 wxTimeSpan
*arg2
= 0 ;
27871 wxTimeSpan
*result
= 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char * kwnames
[] = {
27879 (char *) "self",(char *) "diff", NULL
27882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27887 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27889 if (!SWIG_IsOK(res2
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27895 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27900 result
= (wxTimeSpan
*) &_result_ref
;
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27912 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
= 0;
27914 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27915 wxTimeSpan
*arg2
= 0 ;
27916 wxTimeSpan
*result
= 0 ;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 char * kwnames
[] = {
27924 (char *) "self",(char *) "diff", NULL
27927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27929 if (!SWIG_IsOK(res1
)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27932 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27934 if (!SWIG_IsOK(res2
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27940 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27945 result
= (wxTimeSpan
*) &_result_ref
;
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27957 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27961 wxTimeSpan
*result
= 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 char * kwnames
[] = {
27969 (char *) "self",(char *) "n", NULL
27972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27977 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27979 if (!SWIG_IsOK(ecode2
)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
27982 arg2
= static_cast< int >(val2
);
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27987 result
= (wxTimeSpan
*) &_result_ref
;
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27999 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28000 PyObject
*resultobj
= 0;
28001 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28002 wxTimeSpan
*result
= 0 ;
28005 PyObject
*swig_obj
[1] ;
28007 if (!args
) SWIG_fail
;
28008 swig_obj
[0] = args
;
28009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28010 if (!SWIG_IsOK(res1
)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28013 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28018 result
= (wxTimeSpan
*) &_result_ref
;
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28030 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
= 0;
28032 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28033 wxTimeSpan
*arg2
= 0 ;
28039 PyObject
* obj0
= 0 ;
28040 PyObject
* obj1
= 0 ;
28041 char * kwnames
[] = {
28042 (char *) "self",(char *) "other", NULL
28045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28047 if (!SWIG_IsOK(res1
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28050 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28052 if (!SWIG_IsOK(res2
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28058 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28072 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28073 PyObject
*resultobj
= 0;
28074 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28075 wxTimeSpan
*arg2
= 0 ;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 char * kwnames
[] = {
28084 (char *) "self",(char *) "other", NULL
28087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28089 if (!SWIG_IsOK(res1
)) {
28090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28092 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28094 if (!SWIG_IsOK(res2
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28100 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28114 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
= 0;
28116 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 PyObject
* obj1
= 0 ;
28125 char * kwnames
[] = {
28126 (char *) "self",(char *) "n", NULL
28129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28131 if (!SWIG_IsOK(res1
)) {
28132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28134 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28136 if (!SWIG_IsOK(ecode2
)) {
28137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28139 arg2
= static_cast< int >(val2
);
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= wxTimeSpan___mul__(arg1
,arg2
);
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28153 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 PyObject
* obj1
= 0 ;
28164 char * kwnames
[] = {
28165 (char *) "self",(char *) "n", NULL
28168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28170 if (!SWIG_IsOK(res1
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28173 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28175 if (!SWIG_IsOK(ecode2
)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28178 arg2
= static_cast< int >(val2
);
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28192 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28193 PyObject
*resultobj
= 0;
28194 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28195 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 PyObject
* obj1
= 0 ;
28203 char * kwnames
[] = {
28204 (char *) "self",(char *) "other", NULL
28207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28209 if (!SWIG_IsOK(res1
)) {
28210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28212 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28214 if (!SWIG_IsOK(res2
)) {
28215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28217 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28233 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28234 PyObject
*resultobj
= 0;
28235 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28236 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 PyObject
* obj1
= 0 ;
28244 char * kwnames
[] = {
28245 (char *) "self",(char *) "other", NULL
28248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28253 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28255 if (!SWIG_IsOK(res2
)) {
28256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28258 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28274 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
= 0;
28276 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28277 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 char * kwnames
[] = {
28286 (char *) "self",(char *) "other", NULL
28289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28291 if (!SWIG_IsOK(res1
)) {
28292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28294 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28296 if (!SWIG_IsOK(res2
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28299 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28315 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
= 0;
28317 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28318 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 char * kwnames
[] = {
28327 (char *) "self",(char *) "other", NULL
28330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28332 if (!SWIG_IsOK(res1
)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28335 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28337 if (!SWIG_IsOK(res2
)) {
28338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28340 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28343 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28356 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
= 0;
28358 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28359 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 char * kwnames
[] = {
28368 (char *) "self",(char *) "other", NULL
28371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28373 if (!SWIG_IsOK(res1
)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28376 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28378 if (!SWIG_IsOK(res2
)) {
28379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28381 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28397 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28398 PyObject
*resultobj
= 0;
28399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28400 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28406 PyObject
* obj0
= 0 ;
28407 PyObject
* obj1
= 0 ;
28408 char * kwnames
[] = {
28409 (char *) "self",(char *) "other", NULL
28412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28414 if (!SWIG_IsOK(res1
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28417 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28419 if (!SWIG_IsOK(res2
)) {
28420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28422 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28438 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28439 PyObject
*resultobj
= 0;
28440 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28444 PyObject
*swig_obj
[1] ;
28446 if (!args
) SWIG_fail
;
28447 swig_obj
[0] = args
;
28448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28449 if (!SWIG_IsOK(res1
)) {
28450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28452 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28468 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28469 PyObject
*resultobj
= 0;
28470 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28474 PyObject
*swig_obj
[1] ;
28476 if (!args
) SWIG_fail
;
28477 swig_obj
[0] = args
;
28478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28479 if (!SWIG_IsOK(res1
)) {
28480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28482 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28485 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28498 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28499 PyObject
*resultobj
= 0;
28500 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28504 PyObject
*swig_obj
[1] ;
28506 if (!args
) SWIG_fail
;
28507 swig_obj
[0] = args
;
28508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28509 if (!SWIG_IsOK(res1
)) {
28510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28512 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28528 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
= 0;
28530 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28531 wxTimeSpan
*arg2
= 0 ;
28537 PyObject
* obj0
= 0 ;
28538 PyObject
* obj1
= 0 ;
28539 char * kwnames
[] = {
28540 (char *) "self",(char *) "ts", NULL
28543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28548 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28550 if (!SWIG_IsOK(res2
)) {
28551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28556 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28572 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
= 0;
28574 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28575 wxTimeSpan
*arg2
= 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 char * kwnames
[] = {
28584 (char *) "self",(char *) "ts", NULL
28587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28589 if (!SWIG_IsOK(res1
)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28592 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28594 if (!SWIG_IsOK(res2
)) {
28595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28600 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28603 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28616 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
= 0;
28618 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28619 wxTimeSpan
*arg2
= 0 ;
28625 PyObject
* obj0
= 0 ;
28626 PyObject
* obj1
= 0 ;
28627 char * kwnames
[] = {
28628 (char *) "self",(char *) "t", NULL
28631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28633 if (!SWIG_IsOK(res1
)) {
28634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28636 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28638 if (!SWIG_IsOK(res2
)) {
28639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28644 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28660 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28661 PyObject
*resultobj
= 0;
28662 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28666 PyObject
*swig_obj
[1] ;
28668 if (!args
) SWIG_fail
;
28669 swig_obj
[0] = args
;
28670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28671 if (!SWIG_IsOK(res1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28674 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_From_int(static_cast< int >(result
));
28688 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28689 PyObject
*resultobj
= 0;
28690 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28694 PyObject
*swig_obj
[1] ;
28696 if (!args
) SWIG_fail
;
28697 swig_obj
[0] = args
;
28698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28699 if (!SWIG_IsOK(res1
)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28702 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= SWIG_From_int(static_cast< int >(result
));
28716 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28717 PyObject
*resultobj
= 0;
28718 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28722 PyObject
*swig_obj
[1] ;
28724 if (!args
) SWIG_fail
;
28725 swig_obj
[0] = args
;
28726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28727 if (!SWIG_IsOK(res1
)) {
28728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28730 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_From_int(static_cast< int >(result
));
28744 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 PyObject
*resultobj
= 0;
28746 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28750 PyObject
*swig_obj
[1] ;
28752 if (!args
) SWIG_fail
;
28753 swig_obj
[0] = args
;
28754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28755 if (!SWIG_IsOK(res1
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28758 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= SWIG_From_int(static_cast< int >(result
));
28772 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28773 PyObject
*resultobj
= 0;
28774 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28778 PyObject
*swig_obj
[1] ;
28780 if (!args
) SWIG_fail
;
28781 swig_obj
[0] = args
;
28782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28783 if (!SWIG_IsOK(res1
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28786 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28794 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28795 hi
= PyLong_FromLong( (&result
)->GetHi() );
28796 lo
= PyLong_FromLong( (&result
)->GetLo() );
28797 shifter
= PyLong_FromLong(32);
28798 shifted
= PyNumber_Lshift(hi
, shifter
);
28799 resultobj
= PyNumber_Or(shifted
, lo
);
28802 Py_DECREF(shifter
);
28803 Py_DECREF(shifted
);
28811 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28812 PyObject
*resultobj
= 0;
28813 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28817 PyObject
*swig_obj
[1] ;
28819 if (!args
) SWIG_fail
;
28820 swig_obj
[0] = args
;
28821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28822 if (!SWIG_IsOK(res1
)) {
28823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28825 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28828 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28829 wxPyEndAllowThreads(__tstate
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28833 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28834 hi
= PyLong_FromLong( (&result
)->GetHi() );
28835 lo
= PyLong_FromLong( (&result
)->GetLo() );
28836 shifter
= PyLong_FromLong(32);
28837 shifted
= PyNumber_Lshift(hi
, shifter
);
28838 resultobj
= PyNumber_Or(shifted
, lo
);
28841 Py_DECREF(shifter
);
28842 Py_DECREF(shifted
);
28850 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
= 0;
28852 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28853 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28854 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28858 bool temp2
= false ;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 char * kwnames
[] = {
28862 (char *) "self",(char *) "format", NULL
28865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28867 if (!SWIG_IsOK(res1
)) {
28868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28870 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28873 arg2
= wxString_in_helper(obj1
);
28874 if (arg2
== NULL
) SWIG_fail
;
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28905 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28908 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28909 return SWIG_Py_Void();
28912 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28913 return SWIG_Python_InitShadowInstance(args
);
28916 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28917 PyObject
*resultobj
= 0;
28918 int arg1
= (int) 0 ;
28919 int arg2
= (int) 0 ;
28920 int arg3
= (int) 0 ;
28921 int arg4
= (int) 0 ;
28922 wxDateSpan
*result
= 0 ;
28931 PyObject
* obj0
= 0 ;
28932 PyObject
* obj1
= 0 ;
28933 PyObject
* obj2
= 0 ;
28934 PyObject
* obj3
= 0 ;
28935 char * kwnames
[] = {
28936 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28942 if (!SWIG_IsOK(ecode1
)) {
28943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28945 arg1
= static_cast< int >(val1
);
28948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28949 if (!SWIG_IsOK(ecode2
)) {
28950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28952 arg2
= static_cast< int >(val2
);
28955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28956 if (!SWIG_IsOK(ecode3
)) {
28957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28959 arg3
= static_cast< int >(val3
);
28962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28963 if (!SWIG_IsOK(ecode4
)) {
28964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28966 arg4
= static_cast< int >(val4
);
28969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
28981 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28982 PyObject
*resultobj
= 0;
28983 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
28986 PyObject
*swig_obj
[1] ;
28988 if (!args
) SWIG_fail
;
28989 swig_obj
[0] = args
;
28990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
28991 if (!SWIG_IsOK(res1
)) {
28992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
28994 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
28996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 wxPyEndAllowThreads(__tstate
);
29000 if (PyErr_Occurred()) SWIG_fail
;
29002 resultobj
= SWIG_Py_Void();
29009 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
= 0;
29015 PyObject
* obj0
= 0 ;
29016 char * kwnames
[] = {
29017 (char *) "days", NULL
29020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29021 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29022 if (!SWIG_IsOK(ecode1
)) {
29023 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29025 arg1
= static_cast< int >(val1
);
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 result
= wxDateSpan::Days(arg1
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29039 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29040 PyObject
*resultobj
= 0;
29043 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 result
= wxDateSpan::Day();
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29050 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29057 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
= 0;
29063 PyObject
* obj0
= 0 ;
29064 char * kwnames
[] = {
29065 (char *) "weeks", NULL
29068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29070 if (!SWIG_IsOK(ecode1
)) {
29071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29073 arg1
= static_cast< int >(val1
);
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= wxDateSpan::Weeks(arg1
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29087 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29088 PyObject
*resultobj
= 0;
29091 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29094 result
= wxDateSpan::Week();
29095 wxPyEndAllowThreads(__tstate
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29105 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
= 0;
29111 PyObject
* obj0
= 0 ;
29112 char * kwnames
[] = {
29113 (char *) "mon", NULL
29116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29118 if (!SWIG_IsOK(ecode1
)) {
29119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29121 arg1
= static_cast< int >(val1
);
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= wxDateSpan::Months(arg1
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29135 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29136 PyObject
*resultobj
= 0;
29139 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= wxDateSpan::Month();
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29153 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
= 0;
29159 PyObject
* obj0
= 0 ;
29160 char * kwnames
[] = {
29161 (char *) "years", NULL
29164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29165 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29166 if (!SWIG_IsOK(ecode1
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29169 arg1
= static_cast< int >(val1
);
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 result
= wxDateSpan::Years(arg1
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29183 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29184 PyObject
*resultobj
= 0;
29187 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 result
= wxDateSpan::Year();
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29201 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29202 PyObject
*resultobj
= 0;
29203 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29205 wxDateSpan
*result
= 0 ;
29210 PyObject
* obj0
= 0 ;
29211 PyObject
* obj1
= 0 ;
29212 char * kwnames
[] = {
29213 (char *) "self",(char *) "n", NULL
29216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29218 if (!SWIG_IsOK(res1
)) {
29219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29221 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29223 if (!SWIG_IsOK(ecode2
)) {
29224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29226 arg2
= static_cast< int >(val2
);
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29231 result
= (wxDateSpan
*) &_result_ref
;
29233 wxPyEndAllowThreads(__tstate
);
29234 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29243 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
= 0;
29245 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29247 wxDateSpan
*result
= 0 ;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 char * kwnames
[] = {
29255 (char *) "self",(char *) "n", NULL
29258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29260 if (!SWIG_IsOK(res1
)) {
29261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29263 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29265 if (!SWIG_IsOK(ecode2
)) {
29266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29268 arg2
= static_cast< int >(val2
);
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29273 result
= (wxDateSpan
*) &_result_ref
;
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29285 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
= 0;
29287 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29289 wxDateSpan
*result
= 0 ;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 char * kwnames
[] = {
29297 (char *) "self",(char *) "n", NULL
29300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29302 if (!SWIG_IsOK(res1
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29305 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29307 if (!SWIG_IsOK(ecode2
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29310 arg2
= static_cast< int >(val2
);
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29314 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29315 result
= (wxDateSpan
*) &_result_ref
;
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29327 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
= 0;
29329 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29331 wxDateSpan
*result
= 0 ;
29336 PyObject
* obj0
= 0 ;
29337 PyObject
* obj1
= 0 ;
29338 char * kwnames
[] = {
29339 (char *) "self",(char *) "n", NULL
29342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29344 if (!SWIG_IsOK(res1
)) {
29345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29347 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29349 if (!SWIG_IsOK(ecode2
)) {
29350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29352 arg2
= static_cast< int >(val2
);
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29357 result
= (wxDateSpan
*) &_result_ref
;
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29369 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29370 PyObject
*resultobj
= 0;
29371 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29375 PyObject
*swig_obj
[1] ;
29377 if (!args
) SWIG_fail
;
29378 swig_obj
[0] = args
;
29379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29380 if (!SWIG_IsOK(res1
)) {
29381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29383 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= SWIG_From_int(static_cast< int >(result
));
29397 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29398 PyObject
*resultobj
= 0;
29399 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29403 PyObject
*swig_obj
[1] ;
29405 if (!args
) SWIG_fail
;
29406 swig_obj
[0] = args
;
29407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29411 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29414 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 resultobj
= SWIG_From_int(static_cast< int >(result
));
29425 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29426 PyObject
*resultobj
= 0;
29427 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29431 PyObject
*swig_obj
[1] ;
29433 if (!args
) SWIG_fail
;
29434 swig_obj
[0] = args
;
29435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29436 if (!SWIG_IsOK(res1
)) {
29437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29439 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_From_int(static_cast< int >(result
));
29453 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29454 PyObject
*resultobj
= 0;
29455 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29459 PyObject
*swig_obj
[1] ;
29461 if (!args
) SWIG_fail
;
29462 swig_obj
[0] = args
;
29463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29464 if (!SWIG_IsOK(res1
)) {
29465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29467 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= SWIG_From_int(static_cast< int >(result
));
29481 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29482 PyObject
*resultobj
= 0;
29483 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29487 PyObject
*swig_obj
[1] ;
29489 if (!args
) SWIG_fail
;
29490 swig_obj
[0] = args
;
29491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29495 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_From_int(static_cast< int >(result
));
29509 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
= 0;
29511 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29512 wxDateSpan
*arg2
= 0 ;
29513 wxDateSpan
*result
= 0 ;
29518 PyObject
* obj0
= 0 ;
29519 PyObject
* obj1
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "other", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29529 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29531 if (!SWIG_IsOK(res2
)) {
29532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29537 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29542 result
= (wxDateSpan
*) &_result_ref
;
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29554 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
= 0;
29556 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29557 wxDateSpan
*arg2
= 0 ;
29558 wxDateSpan
*result
= 0 ;
29563 PyObject
* obj0
= 0 ;
29564 PyObject
* obj1
= 0 ;
29565 char * kwnames
[] = {
29566 (char *) "self",(char *) "other", NULL
29569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29571 if (!SWIG_IsOK(res1
)) {
29572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29574 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29576 if (!SWIG_IsOK(res2
)) {
29577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29582 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29587 result
= (wxDateSpan
*) &_result_ref
;
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29599 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29600 PyObject
*resultobj
= 0;
29601 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29602 wxDateSpan
*result
= 0 ;
29605 PyObject
*swig_obj
[1] ;
29607 if (!args
) SWIG_fail
;
29608 swig_obj
[0] = args
;
29609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29613 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29618 result
= (wxDateSpan
*) &_result_ref
;
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29630 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
= 0;
29632 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29634 wxDateSpan
*result
= 0 ;
29639 PyObject
* obj0
= 0 ;
29640 PyObject
* obj1
= 0 ;
29641 char * kwnames
[] = {
29642 (char *) "self",(char *) "factor", NULL
29645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29647 if (!SWIG_IsOK(res1
)) {
29648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29650 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29652 if (!SWIG_IsOK(ecode2
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29655 arg2
= static_cast< int >(val2
);
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29660 result
= (wxDateSpan
*) &_result_ref
;
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29672 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
= 0;
29674 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29675 wxDateSpan
*arg2
= 0 ;
29676 wxDateSpan
*result
= 0 ;
29681 PyObject
* obj0
= 0 ;
29682 PyObject
* obj1
= 0 ;
29683 char * kwnames
[] = {
29684 (char *) "self",(char *) "other", NULL
29687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29689 if (!SWIG_IsOK(res1
)) {
29690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29692 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29694 if (!SWIG_IsOK(res2
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29700 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29705 result
= (wxDateSpan
*) &_result_ref
;
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29717 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
= 0;
29719 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29720 wxDateSpan
*arg2
= 0 ;
29721 wxDateSpan
*result
= 0 ;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 char * kwnames
[] = {
29729 (char *) "self",(char *) "other", NULL
29732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29734 if (!SWIG_IsOK(res1
)) {
29735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29737 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29739 if (!SWIG_IsOK(res2
)) {
29740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29745 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29750 result
= (wxDateSpan
*) &_result_ref
;
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29762 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29763 PyObject
*resultobj
= 0;
29764 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29765 wxDateSpan
*result
= 0 ;
29768 PyObject
*swig_obj
[1] ;
29770 if (!args
) SWIG_fail
;
29771 swig_obj
[0] = args
;
29772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29773 if (!SWIG_IsOK(res1
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29776 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29781 result
= (wxDateSpan
*) &_result_ref
;
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29793 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
= 0;
29795 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29797 wxDateSpan
*result
= 0 ;
29802 PyObject
* obj0
= 0 ;
29803 PyObject
* obj1
= 0 ;
29804 char * kwnames
[] = {
29805 (char *) "self",(char *) "factor", NULL
29808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29810 if (!SWIG_IsOK(res1
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29813 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29815 if (!SWIG_IsOK(ecode2
)) {
29816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29818 arg2
= static_cast< int >(val2
);
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29823 result
= (wxDateSpan
*) &_result_ref
;
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29835 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
= 0;
29837 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29838 wxDateSpan
*arg2
= 0 ;
29844 PyObject
* obj0
= 0 ;
29845 PyObject
* obj1
= 0 ;
29846 char * kwnames
[] = {
29847 (char *) "self",(char *) "other", NULL
29850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29852 if (!SWIG_IsOK(res1
)) {
29853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29855 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29857 if (!SWIG_IsOK(res2
)) {
29858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29863 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29866 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29867 wxPyEndAllowThreads(__tstate
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29870 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29877 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
= 0;
29879 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29880 wxDateSpan
*arg2
= 0 ;
29886 PyObject
* obj0
= 0 ;
29887 PyObject
* obj1
= 0 ;
29888 char * kwnames
[] = {
29889 (char *) "self",(char *) "other", NULL
29892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29897 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29899 if (!SWIG_IsOK(res2
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29905 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29919 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
= 0;
29921 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29928 PyObject
* obj0
= 0 ;
29929 PyObject
* obj1
= 0 ;
29930 char * kwnames
[] = {
29931 (char *) "self",(char *) "n", NULL
29934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29936 if (!SWIG_IsOK(res1
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29939 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29941 if (!SWIG_IsOK(ecode2
)) {
29942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29944 arg2
= static_cast< int >(val2
);
29946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29947 result
= wxDateSpan___mul__(arg1
,arg2
);
29948 wxPyEndAllowThreads(__tstate
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29958 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
= 0;
29960 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 char * kwnames
[] = {
29970 (char *) "self",(char *) "n", NULL
29973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29978 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29980 if (!SWIG_IsOK(ecode2
)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29983 arg2
= static_cast< int >(val2
);
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 result
= wxDateSpan___rmul__(arg1
,arg2
);
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29997 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29998 PyObject
*resultobj
= 0;
29999 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30000 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30006 PyObject
* obj0
= 0 ;
30007 PyObject
* obj1
= 0 ;
30008 char * kwnames
[] = {
30009 (char *) "self",(char *) "other", NULL
30012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30014 if (!SWIG_IsOK(res1
)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30017 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30019 if (!SWIG_IsOK(res2
)) {
30020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30022 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30038 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30039 PyObject
*resultobj
= 0;
30040 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30041 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30047 PyObject
* obj0
= 0 ;
30048 PyObject
* obj1
= 0 ;
30049 char * kwnames
[] = {
30050 (char *) "self",(char *) "other", NULL
30053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30055 if (!SWIG_IsOK(res1
)) {
30056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30058 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30060 if (!SWIG_IsOK(res2
)) {
30061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30063 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30079 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30082 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30083 return SWIG_Py_Void();
30086 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30087 return SWIG_Python_InitShadowInstance(args
);
30090 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30091 PyObject
*resultobj
= 0;
30094 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (long)wxGetLocalTime();
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 resultobj
= SWIG_From_long(static_cast< long >(result
));
30108 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30109 PyObject
*resultobj
= 0;
30112 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 result
= (long)wxGetUTCTime();
30116 wxPyEndAllowThreads(__tstate
);
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_From_long(static_cast< long >(result
));
30126 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30127 PyObject
*resultobj
= 0;
30130 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (long)wxGetCurrentTime();
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 resultobj
= SWIG_From_long(static_cast< long >(result
));
30144 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30145 PyObject
*resultobj
= 0;
30148 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30151 result
= wxGetLocalTimeMillis();
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30156 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30157 hi
= PyLong_FromLong( (&result
)->GetHi() );
30158 lo
= PyLong_FromLong( (&result
)->GetLo() );
30159 shifter
= PyLong_FromLong(32);
30160 shifted
= PyNumber_Lshift(hi
, shifter
);
30161 resultobj
= PyNumber_Or(shifted
, lo
);
30164 Py_DECREF(shifter
);
30165 Py_DECREF(shifted
);
30173 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30174 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30179 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30180 PyObject
*pyobj
= 0;
30182 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30187 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30188 PyObject
*resultobj
= 0;
30189 wxDataFormatId arg1
;
30190 wxDataFormat
*result
= 0 ;
30193 PyObject
* obj0
= 0 ;
30194 char * kwnames
[] = {
30195 (char *) "type", NULL
30198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30200 if (!SWIG_IsOK(ecode1
)) {
30201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30203 arg1
= static_cast< wxDataFormatId
>(val1
);
30205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30217 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30218 PyObject
*resultobj
= 0;
30219 wxString
*arg1
= 0 ;
30220 wxDataFormat
*result
= 0 ;
30221 bool temp1
= false ;
30222 PyObject
* obj0
= 0 ;
30223 char * kwnames
[] = {
30224 (char *) "format", NULL
30227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30229 arg1
= wxString_in_helper(obj0
);
30230 if (arg1
== NULL
) SWIG_fail
;
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30254 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30255 PyObject
*resultobj
= 0;
30256 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30259 PyObject
*swig_obj
[1] ;
30261 if (!args
) SWIG_fail
;
30262 swig_obj
[0] = args
;
30263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30264 if (!SWIG_IsOK(res1
)) {
30265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30267 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= SWIG_Py_Void();
30282 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30283 PyObject
*resultobj
= 0;
30284 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30285 wxDataFormatId arg2
;
30292 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30294 if (!SWIG_IsOK(res1
)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30297 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30298 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30299 if (!SWIG_IsOK(ecode2
)) {
30300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30302 arg2
= static_cast< wxDataFormatId
>(val2
);
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30318 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30319 PyObject
*resultobj
= 0;
30320 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30321 wxDataFormatId arg2
;
30328 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30333 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30334 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30335 if (!SWIG_IsOK(ecode2
)) {
30336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30338 arg2
= static_cast< wxDataFormatId
>(val2
);
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30354 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30355 PyObject
*resultobj
= 0;
30356 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30357 wxDataFormat
*arg2
= 0 ;
30364 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30366 if (!SWIG_IsOK(res1
)) {
30367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30369 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30370 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30371 if (!SWIG_IsOK(res2
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30377 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30393 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30397 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30402 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30403 _v
= SWIG_CheckState(res
);
30405 if (!_v
) goto check_1
;
30406 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30411 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30415 Py_INCREF(Py_NotImplemented
);
30416 return Py_NotImplemented
;
30420 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30421 PyObject
*resultobj
= 0;
30422 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30423 wxDataFormat
*arg2
= 0 ;
30430 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30432 if (!SWIG_IsOK(res1
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30435 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30436 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30437 if (!SWIG_IsOK(res2
)) {
30438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30443 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30459 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30463 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30468 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30469 _v
= SWIG_CheckState(res
);
30471 if (!_v
) goto check_1
;
30472 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30477 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30481 Py_INCREF(Py_NotImplemented
);
30482 return Py_NotImplemented
;
30486 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
= 0;
30488 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30489 wxDataFormatId arg2
;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 char * kwnames
[] = {
30497 (char *) "self",(char *) "format", NULL
30500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30505 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30507 if (!SWIG_IsOK(ecode2
)) {
30508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30510 arg2
= static_cast< wxDataFormatId
>(val2
);
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 (arg1
)->SetType(arg2
);
30514 wxPyEndAllowThreads(__tstate
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30517 resultobj
= SWIG_Py_Void();
30524 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30525 PyObject
*resultobj
= 0;
30526 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30527 wxDataFormatId result
;
30530 PyObject
*swig_obj
[1] ;
30532 if (!args
) SWIG_fail
;
30533 swig_obj
[0] = args
;
30534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30535 if (!SWIG_IsOK(res1
)) {
30536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30538 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_From_int(static_cast< int >(result
));
30552 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30553 PyObject
*resultobj
= 0;
30554 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30558 PyObject
*swig_obj
[1] ;
30560 if (!args
) SWIG_fail
;
30561 swig_obj
[0] = args
;
30562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30563 if (!SWIG_IsOK(res1
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30566 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30569 result
= ((wxDataFormat
const *)arg1
)->GetId();
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30586 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
= 0;
30588 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30589 wxString
*arg2
= 0 ;
30592 bool temp2
= false ;
30593 PyObject
* obj0
= 0 ;
30594 PyObject
* obj1
= 0 ;
30595 char * kwnames
[] = {
30596 (char *) "self",(char *) "format", NULL
30599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30601 if (!SWIG_IsOK(res1
)) {
30602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30604 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30606 arg2
= wxString_in_helper(obj1
);
30607 if (arg2
== NULL
) SWIG_fail
;
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 (arg1
)->SetId((wxString
const &)*arg2
);
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= SWIG_Py_Void();
30631 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30634 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30635 return SWIG_Py_Void();
30638 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30639 return SWIG_Python_InitShadowInstance(args
);
30642 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30643 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30648 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30649 PyObject
*pyobj
= 0;
30651 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30656 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30657 PyObject
*resultobj
= 0;
30658 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30661 PyObject
*swig_obj
[1] ;
30663 if (!args
) SWIG_fail
;
30664 swig_obj
[0] = args
;
30665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30666 if (!SWIG_IsOK(res1
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30669 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_Py_Void();
30684 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30685 PyObject
*resultobj
= 0;
30686 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30687 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30688 SwigValueWrapper
<wxDataFormat
> result
;
30693 PyObject
* obj0
= 0 ;
30694 PyObject
* obj1
= 0 ;
30695 char * kwnames
[] = {
30696 (char *) "self",(char *) "dir", NULL
30699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30701 if (!SWIG_IsOK(res1
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30704 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30707 if (!SWIG_IsOK(ecode2
)) {
30708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30710 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30725 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
= 0;
30727 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30728 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30734 PyObject
* obj0
= 0 ;
30735 PyObject
* obj1
= 0 ;
30736 char * kwnames
[] = {
30737 (char *) "self",(char *) "dir", NULL
30740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30745 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30748 if (!SWIG_IsOK(ecode2
)) {
30749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30751 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30766 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
= 0;
30768 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30769 wxDataFormat
*arg2
= 0 ;
30770 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 PyObject
* obj2
= 0 ;
30781 char * kwnames
[] = {
30782 (char *) "self",(char *) "format",(char *) "dir", NULL
30785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30787 if (!SWIG_IsOK(res1
)) {
30788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30790 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30792 if (!SWIG_IsOK(res2
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30798 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30801 if (!SWIG_IsOK(ecode3
)) {
30802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30804 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30821 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
= 0;
30823 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30824 wxDataFormat
*arg2
= 0 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char * kwnames
[] = {
30833 (char *) "self",(char *) "format", NULL
30836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30838 if (!SWIG_IsOK(res1
)) {
30839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30841 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30843 if (!SWIG_IsOK(res2
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30849 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30863 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
= 0;
30865 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30866 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30867 PyObject
*result
= 0 ;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 char * kwnames
[] = {
30875 (char *) "self",(char *) "dir", NULL
30878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30880 if (!SWIG_IsOK(res1
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30883 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30886 if (!SWIG_IsOK(ecode2
)) {
30887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30889 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= result
;
30904 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
= 0;
30906 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30907 wxDataFormat
*arg2
= 0 ;
30908 PyObject
*result
= 0 ;
30913 PyObject
* obj0
= 0 ;
30914 PyObject
* obj1
= 0 ;
30915 char * kwnames
[] = {
30916 (char *) "self",(char *) "format", NULL
30919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30921 if (!SWIG_IsOK(res1
)) {
30922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30924 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30926 if (!SWIG_IsOK(res2
)) {
30927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30932 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= result
;
30946 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30947 PyObject
*resultobj
= 0;
30948 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30949 wxDataFormat
*arg2
= 0 ;
30950 PyObject
*arg3
= (PyObject
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 PyObject
* obj2
= 0 ;
30959 char * kwnames
[] = {
30960 (char *) "self",(char *) "format",(char *) "data", NULL
30963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30965 if (!SWIG_IsOK(res1
)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30968 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30970 if (!SWIG_IsOK(res2
)) {
30971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30976 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30993 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30996 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
30997 return SWIG_Py_Void();
31000 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31001 PyObject
*resultobj
= 0;
31002 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31003 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31004 wxDataObjectSimple
*result
= 0 ;
31007 PyObject
* obj0
= 0 ;
31008 char * kwnames
[] = {
31009 (char *) "format", NULL
31012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31014 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31015 if (!SWIG_IsOK(res1
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31021 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31036 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31037 PyObject
*resultobj
= 0;
31038 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31039 wxDataFormat
*result
= 0 ;
31042 PyObject
*swig_obj
[1] ;
31044 if (!args
) SWIG_fail
;
31045 swig_obj
[0] = args
;
31046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31047 if (!SWIG_IsOK(res1
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31050 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31054 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31055 result
= (wxDataFormat
*) &_result_ref
;
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31067 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31068 PyObject
*resultobj
= 0;
31069 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31070 wxDataFormat
*arg2
= 0 ;
31075 PyObject
* obj0
= 0 ;
31076 PyObject
* obj1
= 0 ;
31077 char * kwnames
[] = {
31078 (char *) "self",(char *) "format", NULL
31081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31083 if (!SWIG_IsOK(res1
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31086 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31088 if (!SWIG_IsOK(res2
)) {
31089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31094 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= SWIG_Py_Void();
31108 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31109 PyObject
*resultobj
= 0;
31110 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31114 PyObject
*swig_obj
[1] ;
31116 if (!args
) SWIG_fail
;
31117 swig_obj
[0] = args
;
31118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31119 if (!SWIG_IsOK(res1
)) {
31120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31122 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31126 wxPyEndAllowThreads(__tstate
);
31127 if (PyErr_Occurred()) SWIG_fail
;
31129 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31136 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31137 PyObject
*resultobj
= 0;
31138 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31139 PyObject
*result
= 0 ;
31142 PyObject
*swig_obj
[1] ;
31144 if (!args
) SWIG_fail
;
31145 swig_obj
[0] = args
;
31146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31147 if (!SWIG_IsOK(res1
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31150 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= result
;
31164 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
= 0;
31166 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31167 PyObject
*arg2
= (PyObject
*) 0 ;
31171 PyObject
* obj0
= 0 ;
31172 PyObject
* obj1
= 0 ;
31173 char * kwnames
[] = {
31174 (char *) "self",(char *) "data", NULL
31177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31179 if (!SWIG_IsOK(res1
)) {
31180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31182 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31186 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31199 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31202 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31203 return SWIG_Py_Void();
31206 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31207 return SWIG_Python_InitShadowInstance(args
);
31210 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31211 PyObject
*resultobj
= 0;
31212 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31213 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31214 wxPyDataObjectSimple
*result
= 0 ;
31217 PyObject
* obj0
= 0 ;
31218 char * kwnames
[] = {
31219 (char *) "format", NULL
31222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31224 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31225 if (!SWIG_IsOK(res1
)) {
31226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31231 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31246 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
= 0;
31248 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31249 PyObject
*arg2
= (PyObject
*) 0 ;
31250 PyObject
*arg3
= (PyObject
*) 0 ;
31253 PyObject
* obj0
= 0 ;
31254 PyObject
* obj1
= 0 ;
31255 PyObject
* obj2
= 0 ;
31256 char * kwnames
[] = {
31257 (char *) "self",(char *) "self",(char *) "_class", NULL
31260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31262 if (!SWIG_IsOK(res1
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31265 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31274 resultobj
= SWIG_Py_Void();
31281 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31284 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31285 return SWIG_Py_Void();
31288 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31289 return SWIG_Python_InitShadowInstance(args
);
31292 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31293 PyObject
*resultobj
= 0;
31294 wxDataObjectComposite
*result
= 0 ;
31296 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31310 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
= 0;
31312 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31313 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31314 bool arg3
= (bool) false ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 PyObject
* obj2
= 0 ;
31323 char * kwnames
[] = {
31324 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31329 if (!SWIG_IsOK(res1
)) {
31330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31332 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31333 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31334 if (!SWIG_IsOK(res2
)) {
31335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31338 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31339 if (!SWIG_IsOK(ecode3
)) {
31340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31342 arg3
= static_cast< bool >(val3
);
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 (arg1
)->Add(arg2
,arg3
);
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= SWIG_Py_Void();
31357 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31358 PyObject
*resultobj
= 0;
31359 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31360 SwigValueWrapper
<wxDataFormat
> result
;
31363 PyObject
*swig_obj
[1] ;
31365 if (!args
) SWIG_fail
;
31366 swig_obj
[0] = args
;
31367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31368 if (!SWIG_IsOK(res1
)) {
31369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31371 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31385 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31388 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31389 return SWIG_Py_Void();
31392 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31393 return SWIG_Python_InitShadowInstance(args
);
31396 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
= 0;
31398 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31399 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31400 wxTextDataObject
*result
= 0 ;
31401 bool temp1
= false ;
31402 PyObject
* obj0
= 0 ;
31403 char * kwnames
[] = {
31404 (char *) "text", NULL
31407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31410 arg1
= wxString_in_helper(obj0
);
31411 if (arg1
== NULL
) SWIG_fail
;
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31436 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31437 PyObject
*resultobj
= 0;
31438 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31442 PyObject
*swig_obj
[1] ;
31444 if (!args
) SWIG_fail
;
31445 swig_obj
[0] = args
;
31446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31447 if (!SWIG_IsOK(res1
)) {
31448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31450 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 result
= (size_t)(arg1
)->GetTextLength();
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31464 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31465 PyObject
*resultobj
= 0;
31466 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31470 PyObject
*swig_obj
[1] ;
31472 if (!args
) SWIG_fail
;
31473 swig_obj
[0] = args
;
31474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31475 if (!SWIG_IsOK(res1
)) {
31476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31478 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 result
= (arg1
)->GetText();
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31498 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
= 0;
31500 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31501 wxString
*arg2
= 0 ;
31504 bool temp2
= false ;
31505 PyObject
* obj0
= 0 ;
31506 PyObject
* obj1
= 0 ;
31507 char * kwnames
[] = {
31508 (char *) "self",(char *) "text", NULL
31511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31513 if (!SWIG_IsOK(res1
)) {
31514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31516 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31518 arg2
= wxString_in_helper(obj1
);
31519 if (arg2
== NULL
) SWIG_fail
;
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 (arg1
)->SetText((wxString
const &)*arg2
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31528 resultobj
= SWIG_Py_Void();
31543 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31546 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31547 return SWIG_Py_Void();
31550 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31551 return SWIG_Python_InitShadowInstance(args
);
31554 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
= 0;
31556 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31557 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31558 wxPyTextDataObject
*result
= 0 ;
31559 bool temp1
= false ;
31560 PyObject
* obj0
= 0 ;
31561 char * kwnames
[] = {
31562 (char *) "text", NULL
31565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31568 arg1
= wxString_in_helper(obj0
);
31569 if (arg1
== NULL
) SWIG_fail
;
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31594 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31595 PyObject
*resultobj
= 0;
31596 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31597 PyObject
*arg2
= (PyObject
*) 0 ;
31598 PyObject
*arg3
= (PyObject
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 PyObject
* obj2
= 0 ;
31604 char * kwnames
[] = {
31605 (char *) "self",(char *) "self",(char *) "_class", NULL
31608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31610 if (!SWIG_IsOK(res1
)) {
31611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31613 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31618 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31619 wxPyEndAllowThreads(__tstate
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31622 resultobj
= SWIG_Py_Void();
31629 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31632 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31633 return SWIG_Py_Void();
31636 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31637 return SWIG_Python_InitShadowInstance(args
);
31640 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31641 PyObject
*resultobj
= 0;
31642 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31643 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31644 wxBitmapDataObject
*result
= 0 ;
31647 PyObject
* obj0
= 0 ;
31648 char * kwnames
[] = {
31649 (char *) "bitmap", NULL
31652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31654 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31655 if (!SWIG_IsOK(res1
)) {
31656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31661 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31666 wxPyEndAllowThreads(__tstate
);
31667 if (PyErr_Occurred()) SWIG_fail
;
31669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31676 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31677 PyObject
*resultobj
= 0;
31678 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31682 PyObject
*swig_obj
[1] ;
31684 if (!args
) SWIG_fail
;
31685 swig_obj
[0] = args
;
31686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31687 if (!SWIG_IsOK(res1
)) {
31688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31690 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31693 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31694 wxPyEndAllowThreads(__tstate
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31704 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31705 PyObject
*resultobj
= 0;
31706 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31707 wxBitmap
*arg2
= 0 ;
31712 PyObject
* obj0
= 0 ;
31713 PyObject
* obj1
= 0 ;
31714 char * kwnames
[] = {
31715 (char *) "self",(char *) "bitmap", NULL
31718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31720 if (!SWIG_IsOK(res1
)) {
31721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31723 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31725 if (!SWIG_IsOK(res2
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31731 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= SWIG_Py_Void();
31745 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31748 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31749 return SWIG_Py_Void();
31752 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31753 return SWIG_Python_InitShadowInstance(args
);
31756 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31757 PyObject
*resultobj
= 0;
31758 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31759 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31760 wxPyBitmapDataObject
*result
= 0 ;
31763 PyObject
* obj0
= 0 ;
31764 char * kwnames
[] = {
31765 (char *) "bitmap", NULL
31768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31770 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31771 if (!SWIG_IsOK(res1
)) {
31772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31777 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31782 wxPyEndAllowThreads(__tstate
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31792 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31793 PyObject
*resultobj
= 0;
31794 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31795 PyObject
*arg2
= (PyObject
*) 0 ;
31796 PyObject
*arg3
= (PyObject
*) 0 ;
31799 PyObject
* obj0
= 0 ;
31800 PyObject
* obj1
= 0 ;
31801 PyObject
* obj2
= 0 ;
31802 char * kwnames
[] = {
31803 (char *) "self",(char *) "self",(char *) "_class", NULL
31806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31808 if (!SWIG_IsOK(res1
)) {
31809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31811 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= SWIG_Py_Void();
31827 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31830 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31831 return SWIG_Py_Void();
31834 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31835 return SWIG_Python_InitShadowInstance(args
);
31838 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31839 PyObject
*resultobj
= 0;
31840 wxFileDataObject
*result
= 0 ;
31842 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 result
= (wxFileDataObject
*)new wxFileDataObject();
31846 wxPyEndAllowThreads(__tstate
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31856 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31857 PyObject
*resultobj
= 0;
31858 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31859 wxArrayString
*result
= 0 ;
31862 PyObject
*swig_obj
[1] ;
31864 if (!args
) SWIG_fail
;
31865 swig_obj
[0] = args
;
31866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31867 if (!SWIG_IsOK(res1
)) {
31868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31870 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31875 result
= (wxArrayString
*) &_result_ref
;
31877 wxPyEndAllowThreads(__tstate
);
31878 if (PyErr_Occurred()) SWIG_fail
;
31881 resultobj
= wxArrayString2PyList_helper(*result
);
31889 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31890 PyObject
*resultobj
= 0;
31891 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31892 wxString
*arg2
= 0 ;
31895 bool temp2
= false ;
31896 PyObject
* obj0
= 0 ;
31897 PyObject
* obj1
= 0 ;
31898 char * kwnames
[] = {
31899 (char *) "self",(char *) "filename", NULL
31902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31904 if (!SWIG_IsOK(res1
)) {
31905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31907 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31909 arg2
= wxString_in_helper(obj1
);
31910 if (arg2
== NULL
) SWIG_fail
;
31914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31915 (arg1
)->AddFile((wxString
const &)*arg2
);
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31919 resultobj
= SWIG_Py_Void();
31934 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31937 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31938 return SWIG_Py_Void();
31941 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31942 return SWIG_Python_InitShadowInstance(args
);
31945 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31946 PyObject
*resultobj
= 0;
31947 wxDataFormat
*arg1
= 0 ;
31948 wxCustomDataObject
*result
= 0 ;
31952 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31954 if (!SWIG_IsOK(res1
)) {
31955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31960 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31963 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31964 wxPyEndAllowThreads(__tstate
);
31965 if (PyErr_Occurred()) SWIG_fail
;
31967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31974 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31975 PyObject
*resultobj
= 0;
31976 wxString
*arg1
= 0 ;
31977 wxCustomDataObject
*result
= 0 ;
31978 bool temp1
= false ;
31980 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31982 arg1
= wxString_in_helper(swig_obj
[0]);
31983 if (arg1
== NULL
) SWIG_fail
;
31987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31988 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32007 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32008 PyObject
*resultobj
= 0;
32009 wxCustomDataObject
*result
= 0 ;
32011 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32025 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32029 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32032 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32038 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32041 if (!_v
) goto check_2
;
32042 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32047 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32051 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32056 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32057 PyObject
*resultobj
= 0;
32058 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32059 PyObject
*arg2
= (PyObject
*) 0 ;
32063 PyObject
* obj0
= 0 ;
32064 PyObject
* obj1
= 0 ;
32065 char * kwnames
[] = {
32066 (char *) "self",(char *) "data", NULL
32069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32071 if (!SWIG_IsOK(res1
)) {
32072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32074 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32079 wxPyEndAllowThreads(__tstate
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32091 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32092 PyObject
*resultobj
= 0;
32093 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32097 PyObject
*swig_obj
[1] ;
32099 if (!args
) SWIG_fail
;
32100 swig_obj
[0] = args
;
32101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32102 if (!SWIG_IsOK(res1
)) {
32103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32105 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 result
= (size_t)(arg1
)->GetSize();
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32112 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32119 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32120 PyObject
*resultobj
= 0;
32121 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32122 PyObject
*result
= 0 ;
32125 PyObject
*swig_obj
[1] ;
32127 if (!args
) SWIG_fail
;
32128 swig_obj
[0] = args
;
32129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32130 if (!SWIG_IsOK(res1
)) {
32131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32133 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= result
;
32147 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32150 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32151 return SWIG_Py_Void();
32154 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32155 return SWIG_Python_InitShadowInstance(args
);
32158 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32159 PyObject
*resultobj
= 0;
32160 wxURLDataObject
*result
= 0 ;
32162 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 result
= (wxURLDataObject
*)new wxURLDataObject();
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32176 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32177 PyObject
*resultobj
= 0;
32178 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32182 PyObject
*swig_obj
[1] ;
32184 if (!args
) SWIG_fail
;
32185 swig_obj
[0] = args
;
32186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32187 if (!SWIG_IsOK(res1
)) {
32188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32190 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 result
= (arg1
)->GetURL();
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32210 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
= 0;
32212 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32213 wxString
*arg2
= 0 ;
32216 bool temp2
= false ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 char * kwnames
[] = {
32220 (char *) "self",(char *) "url", NULL
32223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32225 if (!SWIG_IsOK(res1
)) {
32226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32228 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32230 arg2
= wxString_in_helper(obj1
);
32231 if (arg2
== NULL
) SWIG_fail
;
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 (arg1
)->SetURL((wxString
const &)*arg2
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 resultobj
= SWIG_Py_Void();
32255 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32258 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32259 return SWIG_Py_Void();
32262 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32263 return SWIG_Python_InitShadowInstance(args
);
32266 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32267 PyObject
*resultobj
= 0;
32268 wxMetafileDataObject
*result
= 0 ;
32270 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32273 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32284 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
= 0;
32286 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32287 wxMetafile
*arg2
= 0 ;
32292 PyObject
* obj0
= 0 ;
32293 PyObject
* obj1
= 0 ;
32294 char * kwnames
[] = {
32295 (char *) "self",(char *) "metafile", NULL
32298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32300 if (!SWIG_IsOK(res1
)) {
32301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32303 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32305 if (!SWIG_IsOK(res2
)) {
32306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32311 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32314 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32318 resultobj
= SWIG_Py_Void();
32325 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32326 PyObject
*resultobj
= 0;
32327 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32331 PyObject
*swig_obj
[1] ;
32333 if (!args
) SWIG_fail
;
32334 swig_obj
[0] = args
;
32335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32336 if (!SWIG_IsOK(res1
)) {
32337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32339 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32346 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32353 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32356 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32357 return SWIG_Py_Void();
32360 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32361 return SWIG_Python_InitShadowInstance(args
);
32364 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32365 PyObject
*resultobj
= 0;
32366 wxDragResult arg1
;
32370 PyObject
* obj0
= 0 ;
32371 char * kwnames
[] = {
32372 (char *) "res", NULL
32375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32376 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32377 if (!SWIG_IsOK(ecode1
)) {
32378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32380 arg1
= static_cast< wxDragResult
>(val1
);
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 result
= (bool)wxIsDragResultOk(arg1
);
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32396 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
= 0;
32398 wxWindow
*arg1
= (wxWindow
*) 0 ;
32399 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32400 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32401 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32402 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32403 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32404 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32405 wxPyDropSource
*result
= 0 ;
32414 PyObject
* obj0
= 0 ;
32415 PyObject
* obj1
= 0 ;
32416 PyObject
* obj2
= 0 ;
32417 PyObject
* obj3
= 0 ;
32418 char * kwnames
[] = {
32419 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32424 if (!SWIG_IsOK(res1
)) {
32425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32429 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32430 if (!SWIG_IsOK(res2
)) {
32431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32436 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32439 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32440 if (!SWIG_IsOK(res3
)) {
32441 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32446 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32449 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32450 if (!SWIG_IsOK(res4
)) {
32451 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32456 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32471 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32472 PyObject
*resultobj
= 0;
32473 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32474 PyObject
*arg2
= (PyObject
*) 0 ;
32475 PyObject
*arg3
= (PyObject
*) 0 ;
32481 PyObject
* obj0
= 0 ;
32482 PyObject
* obj1
= 0 ;
32483 PyObject
* obj2
= 0 ;
32484 PyObject
* obj3
= 0 ;
32485 char * kwnames
[] = {
32486 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32491 if (!SWIG_IsOK(res1
)) {
32492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32494 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32498 if (!SWIG_IsOK(ecode4
)) {
32499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32501 arg4
= static_cast< int >(val4
);
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32505 wxPyEndAllowThreads(__tstate
);
32506 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= SWIG_Py_Void();
32515 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32516 PyObject
*resultobj
= 0;
32517 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32520 PyObject
*swig_obj
[1] ;
32522 if (!args
) SWIG_fail
;
32523 swig_obj
[0] = args
;
32524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32525 if (!SWIG_IsOK(res1
)) {
32526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32528 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 resultobj
= SWIG_Py_Void();
32543 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
= 0;
32545 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32546 wxDataObject
*arg2
= 0 ;
32551 PyObject
* obj0
= 0 ;
32552 PyObject
* obj1
= 0 ;
32553 char * kwnames
[] = {
32554 (char *) "self",(char *) "data", NULL
32557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32559 if (!SWIG_IsOK(res1
)) {
32560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32562 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32564 if (!SWIG_IsOK(res2
)) {
32565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32570 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32573 (arg1
)->SetData(*arg2
);
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 resultobj
= SWIG_Py_Void();
32584 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32585 PyObject
*resultobj
= 0;
32586 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32587 wxDataObject
*result
= 0 ;
32590 PyObject
*swig_obj
[1] ;
32592 if (!args
) SWIG_fail
;
32593 swig_obj
[0] = args
;
32594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32595 if (!SWIG_IsOK(res1
)) {
32596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32598 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32612 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32613 PyObject
*resultobj
= 0;
32614 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32615 wxDragResult arg2
;
32616 wxCursor
*arg3
= 0 ;
32623 PyObject
* obj0
= 0 ;
32624 PyObject
* obj1
= 0 ;
32625 PyObject
* obj2
= 0 ;
32626 char * kwnames
[] = {
32627 (char *) "self",(char *) "res",(char *) "cursor", NULL
32630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32632 if (!SWIG_IsOK(res1
)) {
32633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32635 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32637 if (!SWIG_IsOK(ecode2
)) {
32638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32640 arg2
= static_cast< wxDragResult
>(val2
);
32641 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32642 if (!SWIG_IsOK(res3
)) {
32643 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32648 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_Py_Void();
32662 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32663 PyObject
*resultobj
= 0;
32664 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32665 int arg2
= (int) wxDrag_CopyOnly
;
32666 wxDragResult result
;
32671 PyObject
* obj0
= 0 ;
32672 PyObject
* obj1
= 0 ;
32673 char * kwnames
[] = {
32674 (char *) "self",(char *) "flags", NULL
32677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32679 if (!SWIG_IsOK(res1
)) {
32680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32682 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32685 if (!SWIG_IsOK(ecode2
)) {
32686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32688 arg2
= static_cast< int >(val2
);
32691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32696 resultobj
= SWIG_From_int(static_cast< int >(result
));
32703 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
= 0;
32705 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32706 wxDragResult arg2
;
32712 PyObject
* obj0
= 0 ;
32713 PyObject
* obj1
= 0 ;
32714 char * kwnames
[] = {
32715 (char *) "self",(char *) "effect", NULL
32718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32720 if (!SWIG_IsOK(res1
)) {
32721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32723 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32725 if (!SWIG_IsOK(ecode2
)) {
32726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32728 arg2
= static_cast< wxDragResult
>(val2
);
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32744 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32747 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32748 return SWIG_Py_Void();
32751 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32752 return SWIG_Python_InitShadowInstance(args
);
32755 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32756 PyObject
*resultobj
= 0;
32757 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32758 wxPyDropTarget
*result
= 0 ;
32760 PyObject
* obj0
= 0 ;
32761 char * kwnames
[] = {
32762 (char *) "dataObject", NULL
32765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32767 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32768 if (!SWIG_IsOK(res1
)) {
32769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32785 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32786 PyObject
*resultobj
= 0;
32787 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32788 PyObject
*arg2
= (PyObject
*) 0 ;
32789 PyObject
*arg3
= (PyObject
*) 0 ;
32792 PyObject
* obj0
= 0 ;
32793 PyObject
* obj1
= 0 ;
32794 PyObject
* obj2
= 0 ;
32795 char * kwnames
[] = {
32796 (char *) "self",(char *) "self",(char *) "_class", NULL
32799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32801 if (!SWIG_IsOK(res1
)) {
32802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32804 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32809 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32813 resultobj
= SWIG_Py_Void();
32820 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32821 PyObject
*resultobj
= 0;
32822 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32825 PyObject
*swig_obj
[1] ;
32827 if (!args
) SWIG_fail
;
32828 swig_obj
[0] = args
;
32829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32830 if (!SWIG_IsOK(res1
)) {
32831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32833 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= SWIG_Py_Void();
32848 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32849 PyObject
*resultobj
= 0;
32850 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32851 wxDataObject
*result
= 0 ;
32854 PyObject
*swig_obj
[1] ;
32856 if (!args
) SWIG_fail
;
32857 swig_obj
[0] = args
;
32858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32859 if (!SWIG_IsOK(res1
)) {
32860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32862 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32865 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32866 wxPyEndAllowThreads(__tstate
);
32867 if (PyErr_Occurred()) SWIG_fail
;
32869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32876 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32877 PyObject
*resultobj
= 0;
32878 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32879 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32883 PyObject
* obj0
= 0 ;
32884 PyObject
* obj1
= 0 ;
32885 char * kwnames
[] = {
32886 (char *) "self",(char *) "dataObject", NULL
32889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32891 if (!SWIG_IsOK(res1
)) {
32892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32894 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32895 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32896 if (!SWIG_IsOK(res2
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32901 (arg1
)->SetDataObject(arg2
);
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32905 resultobj
= SWIG_Py_Void();
32912 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
= 0;
32914 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32917 wxDragResult arg4
;
32918 wxDragResult result
;
32927 PyObject
* obj0
= 0 ;
32928 PyObject
* obj1
= 0 ;
32929 PyObject
* obj2
= 0 ;
32930 PyObject
* obj3
= 0 ;
32931 char * kwnames
[] = {
32932 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32937 if (!SWIG_IsOK(res1
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32940 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32942 if (!SWIG_IsOK(ecode2
)) {
32943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32945 arg2
= static_cast< int >(val2
);
32946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32947 if (!SWIG_IsOK(ecode3
)) {
32948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32950 arg3
= static_cast< int >(val3
);
32951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32952 if (!SWIG_IsOK(ecode4
)) {
32953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32955 arg4
= static_cast< wxDragResult
>(val4
);
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= SWIG_From_int(static_cast< int >(result
));
32969 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
= 0;
32971 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32974 wxDragResult arg4
;
32975 wxDragResult result
;
32984 PyObject
* obj0
= 0 ;
32985 PyObject
* obj1
= 0 ;
32986 PyObject
* obj2
= 0 ;
32987 PyObject
* obj3
= 0 ;
32988 char * kwnames
[] = {
32989 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32994 if (!SWIG_IsOK(res1
)) {
32995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32997 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32999 if (!SWIG_IsOK(ecode2
)) {
33000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33002 arg2
= static_cast< int >(val2
);
33003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33004 if (!SWIG_IsOK(ecode3
)) {
33005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33007 arg3
= static_cast< int >(val3
);
33008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33009 if (!SWIG_IsOK(ecode4
)) {
33010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33012 arg4
= static_cast< wxDragResult
>(val4
);
33014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33015 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33019 resultobj
= SWIG_From_int(static_cast< int >(result
));
33026 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33027 PyObject
*resultobj
= 0;
33028 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33031 PyObject
*swig_obj
[1] ;
33033 if (!args
) SWIG_fail
;
33034 swig_obj
[0] = args
;
33035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33036 if (!SWIG_IsOK(res1
)) {
33037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33039 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_Py_Void();
33053 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
= 0;
33055 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33065 PyObject
* obj0
= 0 ;
33066 PyObject
* obj1
= 0 ;
33067 PyObject
* obj2
= 0 ;
33068 char * kwnames
[] = {
33069 (char *) "self",(char *) "x",(char *) "y", NULL
33072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33074 if (!SWIG_IsOK(res1
)) {
33075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33077 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33079 if (!SWIG_IsOK(ecode2
)) {
33080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33082 arg2
= static_cast< int >(val2
);
33083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33084 if (!SWIG_IsOK(ecode3
)) {
33085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33087 arg3
= static_cast< int >(val3
);
33089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33090 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33103 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33104 PyObject
*resultobj
= 0;
33105 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33109 PyObject
*swig_obj
[1] ;
33111 if (!args
) SWIG_fail
;
33112 swig_obj
[0] = args
;
33113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33114 if (!SWIG_IsOK(res1
)) {
33115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33117 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33120 result
= (bool)(arg1
)->GetData();
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33133 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33134 PyObject
*resultobj
= 0;
33135 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33136 wxDragResult arg2
;
33141 PyObject
* obj0
= 0 ;
33142 PyObject
* obj1
= 0 ;
33143 char * kwnames
[] = {
33144 (char *) "self",(char *) "action", NULL
33147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33149 if (!SWIG_IsOK(res1
)) {
33150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33152 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33154 if (!SWIG_IsOK(ecode2
)) {
33155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33157 arg2
= static_cast< wxDragResult
>(val2
);
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 (arg1
)->SetDefaultAction(arg2
);
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= SWIG_Py_Void();
33171 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33172 PyObject
*resultobj
= 0;
33173 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33174 wxDragResult result
;
33177 PyObject
*swig_obj
[1] ;
33179 if (!args
) SWIG_fail
;
33180 swig_obj
[0] = args
;
33181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33182 if (!SWIG_IsOK(res1
)) {
33183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33185 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_From_int(static_cast< int >(result
));
33199 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33202 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33203 return SWIG_Py_Void();
33206 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33207 return SWIG_Python_InitShadowInstance(args
);
33210 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33211 PyObject
*resultobj
= 0;
33212 wxPyTextDropTarget
*result
= 0 ;
33214 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33218 wxPyEndAllowThreads(__tstate
);
33219 if (PyErr_Occurred()) SWIG_fail
;
33221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33228 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33229 PyObject
*resultobj
= 0;
33230 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33231 PyObject
*arg2
= (PyObject
*) 0 ;
33232 PyObject
*arg3
= (PyObject
*) 0 ;
33235 PyObject
* obj0
= 0 ;
33236 PyObject
* obj1
= 0 ;
33237 PyObject
* obj2
= 0 ;
33238 char * kwnames
[] = {
33239 (char *) "self",(char *) "self",(char *) "_class", NULL
33242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33244 if (!SWIG_IsOK(res1
)) {
33245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33247 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33252 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33256 resultobj
= SWIG_Py_Void();
33263 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
= 0;
33265 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33268 wxString
*arg4
= 0 ;
33276 bool temp4
= false ;
33277 PyObject
* obj0
= 0 ;
33278 PyObject
* obj1
= 0 ;
33279 PyObject
* obj2
= 0 ;
33280 PyObject
* obj3
= 0 ;
33281 char * kwnames
[] = {
33282 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33287 if (!SWIG_IsOK(res1
)) {
33288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33290 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33292 if (!SWIG_IsOK(ecode2
)) {
33293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33295 arg2
= static_cast< int >(val2
);
33296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33297 if (!SWIG_IsOK(ecode3
)) {
33298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33300 arg3
= static_cast< int >(val3
);
33302 arg4
= wxString_in_helper(obj3
);
33303 if (arg4
== NULL
) SWIG_fail
;
33307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33308 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33329 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33330 PyObject
*resultobj
= 0;
33331 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33334 wxDragResult arg4
;
33335 wxDragResult result
;
33344 PyObject
* obj0
= 0 ;
33345 PyObject
* obj1
= 0 ;
33346 PyObject
* obj2
= 0 ;
33347 PyObject
* obj3
= 0 ;
33348 char * kwnames
[] = {
33349 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33354 if (!SWIG_IsOK(res1
)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33357 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33359 if (!SWIG_IsOK(ecode2
)) {
33360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33362 arg2
= static_cast< int >(val2
);
33363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33364 if (!SWIG_IsOK(ecode3
)) {
33365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33367 arg3
= static_cast< int >(val3
);
33368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33369 if (!SWIG_IsOK(ecode4
)) {
33370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33372 arg4
= static_cast< wxDragResult
>(val4
);
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33376 wxPyEndAllowThreads(__tstate
);
33377 if (PyErr_Occurred()) SWIG_fail
;
33379 resultobj
= SWIG_From_int(static_cast< int >(result
));
33386 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33387 PyObject
*resultobj
= 0;
33388 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33391 wxDragResult arg4
;
33392 wxDragResult result
;
33401 PyObject
* obj0
= 0 ;
33402 PyObject
* obj1
= 0 ;
33403 PyObject
* obj2
= 0 ;
33404 PyObject
* obj3
= 0 ;
33405 char * kwnames
[] = {
33406 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33411 if (!SWIG_IsOK(res1
)) {
33412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33414 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33416 if (!SWIG_IsOK(ecode2
)) {
33417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33419 arg2
= static_cast< int >(val2
);
33420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33421 if (!SWIG_IsOK(ecode3
)) {
33422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33424 arg3
= static_cast< int >(val3
);
33425 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33426 if (!SWIG_IsOK(ecode4
)) {
33427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33429 arg4
= static_cast< wxDragResult
>(val4
);
33431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33432 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33433 wxPyEndAllowThreads(__tstate
);
33434 if (PyErr_Occurred()) SWIG_fail
;
33436 resultobj
= SWIG_From_int(static_cast< int >(result
));
33443 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33444 PyObject
*resultobj
= 0;
33445 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33448 PyObject
*swig_obj
[1] ;
33450 if (!args
) SWIG_fail
;
33451 swig_obj
[0] = args
;
33452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33453 if (!SWIG_IsOK(res1
)) {
33454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33456 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= SWIG_Py_Void();
33470 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
= 0;
33472 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33482 PyObject
* obj0
= 0 ;
33483 PyObject
* obj1
= 0 ;
33484 PyObject
* obj2
= 0 ;
33485 char * kwnames
[] = {
33486 (char *) "self",(char *) "x",(char *) "y", NULL
33489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33491 if (!SWIG_IsOK(res1
)) {
33492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33494 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33496 if (!SWIG_IsOK(ecode2
)) {
33497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33499 arg2
= static_cast< int >(val2
);
33500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33501 if (!SWIG_IsOK(ecode3
)) {
33502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33504 arg3
= static_cast< int >(val3
);
33506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33507 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33508 wxPyEndAllowThreads(__tstate
);
33509 if (PyErr_Occurred()) SWIG_fail
;
33512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33520 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
= 0;
33522 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33525 wxDragResult arg4
;
33526 wxDragResult result
;
33535 PyObject
* obj0
= 0 ;
33536 PyObject
* obj1
= 0 ;
33537 PyObject
* obj2
= 0 ;
33538 PyObject
* obj3
= 0 ;
33539 char * kwnames
[] = {
33540 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33545 if (!SWIG_IsOK(res1
)) {
33546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33548 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33550 if (!SWIG_IsOK(ecode2
)) {
33551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33553 arg2
= static_cast< int >(val2
);
33554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33555 if (!SWIG_IsOK(ecode3
)) {
33556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33558 arg3
= static_cast< int >(val3
);
33559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33560 if (!SWIG_IsOK(ecode4
)) {
33561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33563 arg4
= static_cast< wxDragResult
>(val4
);
33565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33566 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33570 resultobj
= SWIG_From_int(static_cast< int >(result
));
33577 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33581 return SWIG_Py_Void();
33584 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33585 return SWIG_Python_InitShadowInstance(args
);
33588 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33589 PyObject
*resultobj
= 0;
33590 wxPyFileDropTarget
*result
= 0 ;
33592 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33606 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33607 PyObject
*resultobj
= 0;
33608 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33609 PyObject
*arg2
= (PyObject
*) 0 ;
33610 PyObject
*arg3
= (PyObject
*) 0 ;
33613 PyObject
* obj0
= 0 ;
33614 PyObject
* obj1
= 0 ;
33615 PyObject
* obj2
= 0 ;
33616 char * kwnames
[] = {
33617 (char *) "self",(char *) "self",(char *) "_class", NULL
33620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33622 if (!SWIG_IsOK(res1
)) {
33623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33625 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33630 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33631 wxPyEndAllowThreads(__tstate
);
33632 if (PyErr_Occurred()) SWIG_fail
;
33634 resultobj
= SWIG_Py_Void();
33641 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33642 PyObject
*resultobj
= 0;
33643 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33646 wxArrayString
*arg4
= 0 ;
33654 bool temp4
= false ;
33655 PyObject
* obj0
= 0 ;
33656 PyObject
* obj1
= 0 ;
33657 PyObject
* obj2
= 0 ;
33658 PyObject
* obj3
= 0 ;
33659 char * kwnames
[] = {
33660 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33665 if (!SWIG_IsOK(res1
)) {
33666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33668 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33670 if (!SWIG_IsOK(ecode2
)) {
33671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33673 arg2
= static_cast< int >(val2
);
33674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33675 if (!SWIG_IsOK(ecode3
)) {
33676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33678 arg3
= static_cast< int >(val3
);
33680 if (! PySequence_Check(obj3
)) {
33681 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33684 arg4
= new wxArrayString
;
33686 int i
, len
=PySequence_Length(obj3
);
33687 for (i
=0; i
<len
; i
++) {
33688 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33689 wxString
* s
= wxString_in_helper(item
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33698 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33699 wxPyEndAllowThreads(__tstate
);
33700 if (PyErr_Occurred()) SWIG_fail
;
33703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33706 if (temp4
) delete arg4
;
33711 if (temp4
) delete arg4
;
33717 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
= 0;
33719 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33722 wxDragResult arg4
;
33723 wxDragResult result
;
33732 PyObject
* obj0
= 0 ;
33733 PyObject
* obj1
= 0 ;
33734 PyObject
* obj2
= 0 ;
33735 PyObject
* obj3
= 0 ;
33736 char * kwnames
[] = {
33737 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33742 if (!SWIG_IsOK(res1
)) {
33743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33745 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33747 if (!SWIG_IsOK(ecode2
)) {
33748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33750 arg2
= static_cast< int >(val2
);
33751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33752 if (!SWIG_IsOK(ecode3
)) {
33753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33755 arg3
= static_cast< int >(val3
);
33756 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33757 if (!SWIG_IsOK(ecode4
)) {
33758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33760 arg4
= static_cast< wxDragResult
>(val4
);
33762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33763 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33764 wxPyEndAllowThreads(__tstate
);
33765 if (PyErr_Occurred()) SWIG_fail
;
33767 resultobj
= SWIG_From_int(static_cast< int >(result
));
33774 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33775 PyObject
*resultobj
= 0;
33776 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33779 wxDragResult arg4
;
33780 wxDragResult result
;
33789 PyObject
* obj0
= 0 ;
33790 PyObject
* obj1
= 0 ;
33791 PyObject
* obj2
= 0 ;
33792 PyObject
* obj3
= 0 ;
33793 char * kwnames
[] = {
33794 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33799 if (!SWIG_IsOK(res1
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33802 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33804 if (!SWIG_IsOK(ecode2
)) {
33805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33807 arg2
= static_cast< int >(val2
);
33808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33809 if (!SWIG_IsOK(ecode3
)) {
33810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33812 arg3
= static_cast< int >(val3
);
33813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33814 if (!SWIG_IsOK(ecode4
)) {
33815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33817 arg4
= static_cast< wxDragResult
>(val4
);
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33821 wxPyEndAllowThreads(__tstate
);
33822 if (PyErr_Occurred()) SWIG_fail
;
33824 resultobj
= SWIG_From_int(static_cast< int >(result
));
33831 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33832 PyObject
*resultobj
= 0;
33833 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33836 PyObject
*swig_obj
[1] ;
33838 if (!args
) SWIG_fail
;
33839 swig_obj
[0] = args
;
33840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33841 if (!SWIG_IsOK(res1
)) {
33842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33844 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 wxPyEndAllowThreads(__tstate
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33851 resultobj
= SWIG_Py_Void();
33858 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33859 PyObject
*resultobj
= 0;
33860 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33870 PyObject
* obj0
= 0 ;
33871 PyObject
* obj1
= 0 ;
33872 PyObject
* obj2
= 0 ;
33873 char * kwnames
[] = {
33874 (char *) "self",(char *) "x",(char *) "y", NULL
33877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33879 if (!SWIG_IsOK(res1
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33882 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33884 if (!SWIG_IsOK(ecode2
)) {
33885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33887 arg2
= static_cast< int >(val2
);
33888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33889 if (!SWIG_IsOK(ecode3
)) {
33890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33892 arg3
= static_cast< int >(val3
);
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33908 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33909 PyObject
*resultobj
= 0;
33910 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33913 wxDragResult arg4
;
33914 wxDragResult result
;
33923 PyObject
* obj0
= 0 ;
33924 PyObject
* obj1
= 0 ;
33925 PyObject
* obj2
= 0 ;
33926 PyObject
* obj3
= 0 ;
33927 char * kwnames
[] = {
33928 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33933 if (!SWIG_IsOK(res1
)) {
33934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33936 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33938 if (!SWIG_IsOK(ecode2
)) {
33939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33941 arg2
= static_cast< int >(val2
);
33942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33943 if (!SWIG_IsOK(ecode3
)) {
33944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33946 arg3
= static_cast< int >(val3
);
33947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33948 if (!SWIG_IsOK(ecode4
)) {
33949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33951 arg4
= static_cast< wxDragResult
>(val4
);
33953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33954 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33955 wxPyEndAllowThreads(__tstate
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33958 resultobj
= SWIG_From_int(static_cast< int >(result
));
33965 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33968 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
33969 return SWIG_Py_Void();
33972 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33973 return SWIG_Python_InitShadowInstance(args
);
33976 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33977 PyObject
*resultobj
= 0;
33978 wxClipboard
*result
= 0 ;
33980 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 result
= (wxClipboard
*)new wxClipboard();
33984 wxPyEndAllowThreads(__tstate
);
33985 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
33994 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33995 PyObject
*resultobj
= 0;
33996 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33999 PyObject
*swig_obj
[1] ;
34001 if (!args
) SWIG_fail
;
34002 swig_obj
[0] = args
;
34003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34004 if (!SWIG_IsOK(res1
)) {
34005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34007 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= SWIG_Py_Void();
34022 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34023 PyObject
*resultobj
= 0;
34024 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34028 PyObject
*swig_obj
[1] ;
34030 if (!args
) SWIG_fail
;
34031 swig_obj
[0] = args
;
34032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34033 if (!SWIG_IsOK(res1
)) {
34034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34036 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 result
= (bool)(arg1
)->Open();
34040 wxPyEndAllowThreads(__tstate
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34052 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34053 PyObject
*resultobj
= 0;
34054 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34057 PyObject
*swig_obj
[1] ;
34059 if (!args
) SWIG_fail
;
34060 swig_obj
[0] = args
;
34061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34062 if (!SWIG_IsOK(res1
)) {
34063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34065 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34072 resultobj
= SWIG_Py_Void();
34079 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34080 PyObject
*resultobj
= 0;
34081 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34085 PyObject
*swig_obj
[1] ;
34087 if (!args
) SWIG_fail
;
34088 swig_obj
[0] = args
;
34089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34090 if (!SWIG_IsOK(res1
)) {
34091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34093 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34109 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34110 PyObject
*resultobj
= 0;
34111 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34112 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34117 PyObject
* obj0
= 0 ;
34118 PyObject
* obj1
= 0 ;
34119 char * kwnames
[] = {
34120 (char *) "self",(char *) "data", NULL
34123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34125 if (!SWIG_IsOK(res1
)) {
34126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34128 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34129 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34130 if (!SWIG_IsOK(res2
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34135 result
= (bool)(arg1
)->AddData(arg2
);
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34148 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34149 PyObject
*resultobj
= 0;
34150 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34151 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34156 PyObject
* obj0
= 0 ;
34157 PyObject
* obj1
= 0 ;
34158 char * kwnames
[] = {
34159 (char *) "self",(char *) "data", NULL
34162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34164 if (!SWIG_IsOK(res1
)) {
34165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34167 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34168 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34169 if (!SWIG_IsOK(res2
)) {
34170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34174 result
= (bool)(arg1
)->SetData(arg2
);
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34187 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
= 0;
34189 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34190 wxDataFormat
*arg2
= 0 ;
34196 PyObject
* obj0
= 0 ;
34197 PyObject
* obj1
= 0 ;
34198 char * kwnames
[] = {
34199 (char *) "self",(char *) "format", NULL
34202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34204 if (!SWIG_IsOK(res1
)) {
34205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34207 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34209 if (!SWIG_IsOK(res2
)) {
34210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34215 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34219 wxPyEndAllowThreads(__tstate
);
34220 if (PyErr_Occurred()) SWIG_fail
;
34223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34231 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34232 PyObject
*resultobj
= 0;
34233 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34234 wxDataObject
*arg2
= 0 ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 char * kwnames
[] = {
34243 (char *) "self",(char *) "data", NULL
34246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34248 if (!SWIG_IsOK(res1
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34251 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34253 if (!SWIG_IsOK(res2
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34259 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 result
= (bool)(arg1
)->GetData(*arg2
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34275 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34276 PyObject
*resultobj
= 0;
34277 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34280 PyObject
*swig_obj
[1] ;
34282 if (!args
) SWIG_fail
;
34283 swig_obj
[0] = args
;
34284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34285 if (!SWIG_IsOK(res1
)) {
34286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34288 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 wxPyEndAllowThreads(__tstate
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= SWIG_Py_Void();
34302 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34303 PyObject
*resultobj
= 0;
34304 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34308 PyObject
*swig_obj
[1] ;
34310 if (!args
) SWIG_fail
;
34311 swig_obj
[0] = args
;
34312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34313 if (!SWIG_IsOK(res1
)) {
34314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34316 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34319 result
= (bool)(arg1
)->Flush();
34320 wxPyEndAllowThreads(__tstate
);
34321 if (PyErr_Occurred()) SWIG_fail
;
34324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34332 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34333 PyObject
*resultobj
= 0;
34334 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34335 bool arg2
= (bool) true ;
34340 PyObject
* obj0
= 0 ;
34341 PyObject
* obj1
= 0 ;
34342 char * kwnames
[] = {
34343 (char *) "self",(char *) "primary", NULL
34346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34348 if (!SWIG_IsOK(res1
)) {
34349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34351 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34353 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34354 if (!SWIG_IsOK(ecode2
)) {
34355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34357 arg2
= static_cast< bool >(val2
);
34360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34361 (arg1
)->UsePrimarySelection(arg2
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 resultobj
= SWIG_Py_Void();
34372 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34373 PyObject
*resultobj
= 0;
34374 wxClipboard
*result
= 0 ;
34376 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 result
= (wxClipboard
*)wxClipboard::Get();
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34390 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34393 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34394 return SWIG_Py_Void();
34397 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34398 return SWIG_Python_InitShadowInstance(args
);
34401 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34402 PyObject
*resultobj
= 0;
34403 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34404 wxClipboardLocker
*result
= 0 ;
34407 PyObject
* obj0
= 0 ;
34408 char * kwnames
[] = {
34409 (char *) "clipboard", NULL
34412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34415 if (!SWIG_IsOK(res1
)) {
34416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34418 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34422 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34423 wxPyEndAllowThreads(__tstate
);
34424 if (PyErr_Occurred()) SWIG_fail
;
34426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34433 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34434 PyObject
*resultobj
= 0;
34435 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34438 PyObject
*swig_obj
[1] ;
34440 if (!args
) SWIG_fail
;
34441 swig_obj
[0] = args
;
34442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34443 if (!SWIG_IsOK(res1
)) {
34444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34446 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34451 wxPyEndAllowThreads(__tstate
);
34452 if (PyErr_Occurred()) SWIG_fail
;
34454 resultobj
= SWIG_Py_Void();
34461 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34462 PyObject
*resultobj
= 0;
34463 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34467 PyObject
*swig_obj
[1] ;
34469 if (!args
) SWIG_fail
;
34470 swig_obj
[0] = args
;
34471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34472 if (!SWIG_IsOK(res1
)) {
34473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34475 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34491 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34494 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34495 return SWIG_Py_Void();
34498 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34499 return SWIG_Python_InitShadowInstance(args
);
34502 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34503 PyObject
*resultobj
= 0;
34504 int arg1
= (int) 0 ;
34505 int arg2
= (int) 0 ;
34506 int arg3
= (int) 0 ;
34507 int arg4
= (int) 0 ;
34508 wxVideoMode
*result
= 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 PyObject
* obj2
= 0 ;
34520 PyObject
* obj3
= 0 ;
34521 char * kwnames
[] = {
34522 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34527 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34528 if (!SWIG_IsOK(ecode1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34531 arg1
= static_cast< int >(val1
);
34534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34535 if (!SWIG_IsOK(ecode2
)) {
34536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34538 arg2
= static_cast< int >(val2
);
34541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34542 if (!SWIG_IsOK(ecode3
)) {
34543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34545 arg3
= static_cast< int >(val3
);
34548 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34549 if (!SWIG_IsOK(ecode4
)) {
34550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34552 arg4
= static_cast< int >(val4
);
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34557 wxPyEndAllowThreads(__tstate
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34567 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34568 PyObject
*resultobj
= 0;
34569 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34572 PyObject
*swig_obj
[1] ;
34574 if (!args
) SWIG_fail
;
34575 swig_obj
[0] = args
;
34576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34577 if (!SWIG_IsOK(res1
)) {
34578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34580 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34585 wxPyEndAllowThreads(__tstate
);
34586 if (PyErr_Occurred()) SWIG_fail
;
34588 resultobj
= SWIG_Py_Void();
34595 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34596 PyObject
*resultobj
= 0;
34597 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34598 wxVideoMode
*arg2
= 0 ;
34604 PyObject
* obj0
= 0 ;
34605 PyObject
* obj1
= 0 ;
34606 char * kwnames
[] = {
34607 (char *) "self",(char *) "other", NULL
34610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34612 if (!SWIG_IsOK(res1
)) {
34613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34615 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34617 if (!SWIG_IsOK(res2
)) {
34618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34623 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34639 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34640 PyObject
*resultobj
= 0;
34641 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34645 PyObject
*swig_obj
[1] ;
34647 if (!args
) SWIG_fail
;
34648 swig_obj
[0] = args
;
34649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34650 if (!SWIG_IsOK(res1
)) {
34651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34653 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34656 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34657 wxPyEndAllowThreads(__tstate
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34660 resultobj
= SWIG_From_int(static_cast< int >(result
));
34667 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34668 PyObject
*resultobj
= 0;
34669 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34673 PyObject
*swig_obj
[1] ;
34675 if (!args
) SWIG_fail
;
34676 swig_obj
[0] = args
;
34677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34678 if (!SWIG_IsOK(res1
)) {
34679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34681 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34685 wxPyEndAllowThreads(__tstate
);
34686 if (PyErr_Occurred()) SWIG_fail
;
34688 resultobj
= SWIG_From_int(static_cast< int >(result
));
34695 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34696 PyObject
*resultobj
= 0;
34697 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34701 PyObject
*swig_obj
[1] ;
34703 if (!args
) SWIG_fail
;
34704 swig_obj
[0] = args
;
34705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34706 if (!SWIG_IsOK(res1
)) {
34707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34709 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34712 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 resultobj
= SWIG_From_int(static_cast< int >(result
));
34723 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34724 PyObject
*resultobj
= 0;
34725 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34729 PyObject
*swig_obj
[1] ;
34731 if (!args
) SWIG_fail
;
34732 swig_obj
[0] = args
;
34733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34734 if (!SWIG_IsOK(res1
)) {
34735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34737 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34740 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34741 wxPyEndAllowThreads(__tstate
);
34742 if (PyErr_Occurred()) SWIG_fail
;
34745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34753 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34754 PyObject
*resultobj
= 0;
34755 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34756 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34762 PyObject
* obj0
= 0 ;
34763 PyObject
* obj1
= 0 ;
34764 char * kwnames
[] = {
34765 (char *) "self",(char *) "other", NULL
34768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34770 if (!SWIG_IsOK(res1
)) {
34771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34773 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34775 if (!SWIG_IsOK(res2
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34778 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34781 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34782 wxPyEndAllowThreads(__tstate
);
34783 if (PyErr_Occurred()) SWIG_fail
;
34786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34794 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34795 PyObject
*resultobj
= 0;
34796 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34797 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34803 PyObject
* obj0
= 0 ;
34804 PyObject
* obj1
= 0 ;
34805 char * kwnames
[] = {
34806 (char *) "self",(char *) "other", NULL
34809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34811 if (!SWIG_IsOK(res1
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34814 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34816 if (!SWIG_IsOK(res2
)) {
34817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34819 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34822 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34823 wxPyEndAllowThreads(__tstate
);
34824 if (PyErr_Occurred()) SWIG_fail
;
34827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34835 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34836 PyObject
*resultobj
= 0;
34837 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34843 PyObject
*swig_obj
[2] ;
34845 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34847 if (!SWIG_IsOK(res1
)) {
34848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34850 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34851 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34852 if (!SWIG_IsOK(ecode2
)) {
34853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34855 arg2
= static_cast< int >(val2
);
34856 if (arg1
) (arg1
)->w
= arg2
;
34858 resultobj
= SWIG_Py_Void();
34865 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34866 PyObject
*resultobj
= 0;
34867 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34871 PyObject
*swig_obj
[1] ;
34873 if (!args
) SWIG_fail
;
34874 swig_obj
[0] = args
;
34875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34876 if (!SWIG_IsOK(res1
)) {
34877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34879 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34880 result
= (int) ((arg1
)->w
);
34881 resultobj
= SWIG_From_int(static_cast< int >(result
));
34888 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34889 PyObject
*resultobj
= 0;
34890 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34896 PyObject
*swig_obj
[2] ;
34898 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34900 if (!SWIG_IsOK(res1
)) {
34901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34903 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34904 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34905 if (!SWIG_IsOK(ecode2
)) {
34906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34908 arg2
= static_cast< int >(val2
);
34909 if (arg1
) (arg1
)->h
= arg2
;
34911 resultobj
= SWIG_Py_Void();
34918 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34919 PyObject
*resultobj
= 0;
34920 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34924 PyObject
*swig_obj
[1] ;
34926 if (!args
) SWIG_fail
;
34927 swig_obj
[0] = args
;
34928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34929 if (!SWIG_IsOK(res1
)) {
34930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34932 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34933 result
= (int) ((arg1
)->h
);
34934 resultobj
= SWIG_From_int(static_cast< int >(result
));
34941 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34942 PyObject
*resultobj
= 0;
34943 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34949 PyObject
*swig_obj
[2] ;
34951 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34953 if (!SWIG_IsOK(res1
)) {
34954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34956 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34957 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34958 if (!SWIG_IsOK(ecode2
)) {
34959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34961 arg2
= static_cast< int >(val2
);
34962 if (arg1
) (arg1
)->bpp
= arg2
;
34964 resultobj
= SWIG_Py_Void();
34971 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34972 PyObject
*resultobj
= 0;
34973 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34977 PyObject
*swig_obj
[1] ;
34979 if (!args
) SWIG_fail
;
34980 swig_obj
[0] = args
;
34981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34982 if (!SWIG_IsOK(res1
)) {
34983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34985 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34986 result
= (int) ((arg1
)->bpp
);
34987 resultobj
= SWIG_From_int(static_cast< int >(result
));
34994 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34995 PyObject
*resultobj
= 0;
34996 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35002 PyObject
*swig_obj
[2] ;
35004 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35006 if (!SWIG_IsOK(res1
)) {
35007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35009 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35010 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35011 if (!SWIG_IsOK(ecode2
)) {
35012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35014 arg2
= static_cast< int >(val2
);
35015 if (arg1
) (arg1
)->refresh
= arg2
;
35017 resultobj
= SWIG_Py_Void();
35024 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35025 PyObject
*resultobj
= 0;
35026 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35030 PyObject
*swig_obj
[1] ;
35032 if (!args
) SWIG_fail
;
35033 swig_obj
[0] = args
;
35034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35035 if (!SWIG_IsOK(res1
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35038 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35039 result
= (int) ((arg1
)->refresh
);
35040 resultobj
= SWIG_From_int(static_cast< int >(result
));
35047 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35050 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35051 return SWIG_Py_Void();
35054 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35055 return SWIG_Python_InitShadowInstance(args
);
35058 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35059 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35064 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35065 PyObject
*pyobj
= 0;
35067 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35072 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35073 PyObject
*resultobj
= 0;
35074 size_t arg1
= (size_t) 0 ;
35075 wxDisplay
*result
= 0 ;
35078 PyObject
* obj0
= 0 ;
35079 char * kwnames
[] = {
35080 (char *) "index", NULL
35083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35085 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35086 if (!SWIG_IsOK(ecode1
)) {
35087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35089 arg1
= static_cast< size_t >(val1
);
35092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 result
= (wxDisplay
*)new wxDisplay(arg1
);
35094 wxPyEndAllowThreads(__tstate
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35104 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35105 PyObject
*resultobj
= 0;
35106 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35109 PyObject
*swig_obj
[1] ;
35111 if (!args
) SWIG_fail
;
35112 swig_obj
[0] = args
;
35113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35114 if (!SWIG_IsOK(res1
)) {
35115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35117 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35125 resultobj
= SWIG_Py_Void();
35132 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35133 PyObject
*resultobj
= 0;
35136 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35139 result
= (size_t)wxDisplay::GetCount();
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35143 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35150 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
= 0;
35152 wxPoint
*arg1
= 0 ;
35155 PyObject
* obj0
= 0 ;
35156 char * kwnames
[] = {
35157 (char *) "pt", NULL
35160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35163 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35168 wxPyEndAllowThreads(__tstate
);
35169 if (PyErr_Occurred()) SWIG_fail
;
35171 resultobj
= SWIG_From_int(static_cast< int >(result
));
35178 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35179 PyObject
*resultobj
= 0;
35180 wxWindow
*arg1
= (wxWindow
*) 0 ;
35184 PyObject
* obj0
= 0 ;
35185 char * kwnames
[] = {
35186 (char *) "window", NULL
35189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35191 if (!SWIG_IsOK(res1
)) {
35192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35194 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35197 result
= (int)wxDisplay::GetFromWindow(arg1
);
35198 wxPyEndAllowThreads(__tstate
);
35199 if (PyErr_Occurred()) SWIG_fail
;
35201 resultobj
= SWIG_From_int(static_cast< int >(result
));
35208 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35209 PyObject
*resultobj
= 0;
35210 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35214 PyObject
*swig_obj
[1] ;
35216 if (!args
) SWIG_fail
;
35217 swig_obj
[0] = args
;
35218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35219 if (!SWIG_IsOK(res1
)) {
35220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35222 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35225 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35226 wxPyEndAllowThreads(__tstate
);
35227 if (PyErr_Occurred()) SWIG_fail
;
35230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35238 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35239 PyObject
*resultobj
= 0;
35240 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35244 PyObject
*swig_obj
[1] ;
35246 if (!args
) SWIG_fail
;
35247 swig_obj
[0] = args
;
35248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35249 if (!SWIG_IsOK(res1
)) {
35250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35252 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35255 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35256 wxPyEndAllowThreads(__tstate
);
35257 if (PyErr_Occurred()) SWIG_fail
;
35259 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35266 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35267 PyObject
*resultobj
= 0;
35268 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35272 PyObject
*swig_obj
[1] ;
35274 if (!args
) SWIG_fail
;
35275 swig_obj
[0] = args
;
35276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35277 if (!SWIG_IsOK(res1
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35280 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35283 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35284 wxPyEndAllowThreads(__tstate
);
35285 if (PyErr_Occurred()) SWIG_fail
;
35287 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35294 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35295 PyObject
*resultobj
= 0;
35296 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35300 PyObject
*swig_obj
[1] ;
35302 if (!args
) SWIG_fail
;
35303 swig_obj
[0] = args
;
35304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35305 if (!SWIG_IsOK(res1
)) {
35306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35308 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35311 result
= ((wxDisplay
const *)arg1
)->GetName();
35312 wxPyEndAllowThreads(__tstate
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35328 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35329 PyObject
*resultobj
= 0;
35330 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35334 PyObject
*swig_obj
[1] ;
35336 if (!args
) SWIG_fail
;
35337 swig_obj
[0] = args
;
35338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35339 if (!SWIG_IsOK(res1
)) {
35340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35342 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35345 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35346 wxPyEndAllowThreads(__tstate
);
35347 if (PyErr_Occurred()) SWIG_fail
;
35350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35358 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35359 PyObject
*resultobj
= 0;
35360 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35361 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35362 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35363 PyObject
*result
= 0 ;
35368 PyObject
* obj0
= 0 ;
35369 PyObject
* obj1
= 0 ;
35370 char * kwnames
[] = {
35371 (char *) "self",(char *) "mode", NULL
35374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35376 if (!SWIG_IsOK(res1
)) {
35377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35379 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35382 if (!SWIG_IsOK(res2
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35388 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35392 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35393 wxPyEndAllowThreads(__tstate
);
35394 if (PyErr_Occurred()) SWIG_fail
;
35396 resultobj
= result
;
35403 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35404 PyObject
*resultobj
= 0;
35405 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35406 wxVideoMode result
;
35409 PyObject
*swig_obj
[1] ;
35411 if (!args
) SWIG_fail
;
35412 swig_obj
[0] = args
;
35413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35414 if (!SWIG_IsOK(res1
)) {
35415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35417 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35420 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35421 wxPyEndAllowThreads(__tstate
);
35422 if (PyErr_Occurred()) SWIG_fail
;
35424 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35431 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35432 PyObject
*resultobj
= 0;
35433 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35434 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35435 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35441 PyObject
* obj0
= 0 ;
35442 PyObject
* obj1
= 0 ;
35443 char * kwnames
[] = {
35444 (char *) "self",(char *) "mode", NULL
35447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35449 if (!SWIG_IsOK(res1
)) {
35450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35452 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35455 if (!SWIG_IsOK(res2
)) {
35456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35461 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35465 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35466 wxPyEndAllowThreads(__tstate
);
35467 if (PyErr_Occurred()) SWIG_fail
;
35470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35478 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35479 PyObject
*resultobj
= 0;
35480 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35483 PyObject
*swig_obj
[1] ;
35485 if (!args
) SWIG_fail
;
35486 swig_obj
[0] = args
;
35487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35488 if (!SWIG_IsOK(res1
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35491 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35494 wxDisplay_ResetMode(arg1
);
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= SWIG_Py_Void();
35505 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35508 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35509 return SWIG_Py_Void();
35512 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35513 return SWIG_Python_InitShadowInstance(args
);
35516 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35517 PyObject
*resultobj
= 0;
35518 wxStandardPaths
*result
= 0 ;
35520 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35523 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35524 wxPyEndAllowThreads(__tstate
);
35525 if (PyErr_Occurred()) SWIG_fail
;
35527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35534 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35535 PyObject
*resultobj
= 0;
35536 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35540 PyObject
*swig_obj
[1] ;
35542 if (!args
) SWIG_fail
;
35543 swig_obj
[0] = args
;
35544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35545 if (!SWIG_IsOK(res1
)) {
35546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35548 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35551 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35552 wxPyEndAllowThreads(__tstate
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35568 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35569 PyObject
*resultobj
= 0;
35570 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35574 PyObject
*swig_obj
[1] ;
35576 if (!args
) SWIG_fail
;
35577 swig_obj
[0] = args
;
35578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35579 if (!SWIG_IsOK(res1
)) {
35580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35582 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35602 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35603 PyObject
*resultobj
= 0;
35604 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35608 PyObject
*swig_obj
[1] ;
35610 if (!args
) SWIG_fail
;
35611 swig_obj
[0] = args
;
35612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35613 if (!SWIG_IsOK(res1
)) {
35614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35616 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35620 wxPyEndAllowThreads(__tstate
);
35621 if (PyErr_Occurred()) SWIG_fail
;
35625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35636 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35637 PyObject
*resultobj
= 0;
35638 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35642 PyObject
*swig_obj
[1] ;
35644 if (!args
) SWIG_fail
;
35645 swig_obj
[0] = args
;
35646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35647 if (!SWIG_IsOK(res1
)) {
35648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35650 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35670 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35671 PyObject
*resultobj
= 0;
35672 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35676 PyObject
*swig_obj
[1] ;
35678 if (!args
) SWIG_fail
;
35679 swig_obj
[0] = args
;
35680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35681 if (!SWIG_IsOK(res1
)) {
35682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35684 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35687 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35688 wxPyEndAllowThreads(__tstate
);
35689 if (PyErr_Occurred()) SWIG_fail
;
35693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35704 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35705 PyObject
*resultobj
= 0;
35706 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35710 PyObject
*swig_obj
[1] ;
35712 if (!args
) SWIG_fail
;
35713 swig_obj
[0] = args
;
35714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35715 if (!SWIG_IsOK(res1
)) {
35716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35718 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35721 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35738 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35739 PyObject
*resultobj
= 0;
35740 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35744 PyObject
*swig_obj
[1] ;
35746 if (!args
) SWIG_fail
;
35747 swig_obj
[0] = args
;
35748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35749 if (!SWIG_IsOK(res1
)) {
35750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35752 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35755 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35756 wxPyEndAllowThreads(__tstate
);
35757 if (PyErr_Occurred()) SWIG_fail
;
35761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35772 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35773 PyObject
*resultobj
= 0;
35774 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35778 PyObject
*swig_obj
[1] ;
35780 if (!args
) SWIG_fail
;
35781 swig_obj
[0] = args
;
35782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35783 if (!SWIG_IsOK(res1
)) {
35784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35786 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35789 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35790 wxPyEndAllowThreads(__tstate
);
35791 if (PyErr_Occurred()) SWIG_fail
;
35795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35806 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
= 0;
35808 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35809 wxString
*arg2
= 0 ;
35810 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35814 bool temp2
= false ;
35817 PyObject
* obj0
= 0 ;
35818 PyObject
* obj1
= 0 ;
35819 PyObject
* obj2
= 0 ;
35820 char * kwnames
[] = {
35821 (char *) "self",(char *) "lang",(char *) "category", NULL
35824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35826 if (!SWIG_IsOK(res1
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35829 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35831 arg2
= wxString_in_helper(obj1
);
35832 if (arg2
== NULL
) SWIG_fail
;
35836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35837 if (!SWIG_IsOK(ecode3
)) {
35838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35840 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35844 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35845 wxPyEndAllowThreads(__tstate
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35869 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35870 PyObject
*resultobj
= 0;
35871 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35875 PyObject
*swig_obj
[1] ;
35877 if (!args
) SWIG_fail
;
35878 swig_obj
[0] = args
;
35879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35880 if (!SWIG_IsOK(res1
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35883 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35886 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35903 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35904 PyObject
*resultobj
= 0;
35905 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35906 wxString
*arg2
= 0 ;
35909 bool temp2
= false ;
35910 PyObject
* obj0
= 0 ;
35911 PyObject
* obj1
= 0 ;
35912 char * kwnames
[] = {
35913 (char *) "self",(char *) "prefix", NULL
35916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35918 if (!SWIG_IsOK(res1
)) {
35919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35921 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35923 arg2
= wxString_in_helper(obj1
);
35924 if (arg2
== NULL
) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
35930 wxPyEndAllowThreads(__tstate
);
35931 if (PyErr_Occurred()) SWIG_fail
;
35933 resultobj
= SWIG_Py_Void();
35948 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35949 PyObject
*resultobj
= 0;
35950 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35954 PyObject
*swig_obj
[1] ;
35956 if (!args
) SWIG_fail
;
35957 swig_obj
[0] = args
;
35958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35959 if (!SWIG_IsOK(res1
)) {
35960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35962 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35965 result
= wxStandardPaths_GetInstallPrefix(arg1
);
35966 wxPyEndAllowThreads(__tstate
);
35967 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35982 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35985 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
35986 return SWIG_Py_Void();
35989 static PyMethodDef SwigMethods
[] = {
35990 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35991 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35993 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35994 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
35995 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35996 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
35997 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
35998 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35999 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36000 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36001 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36002 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36004 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36005 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36006 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36007 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36008 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36009 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36010 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36011 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36012 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36013 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36014 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36015 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36016 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36017 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36018 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36019 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36020 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36021 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36022 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36023 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36024 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36025 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36026 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36027 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36028 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36029 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36030 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36031 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36032 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36033 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36034 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36035 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36036 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36037 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36038 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36039 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36040 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36041 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36042 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36043 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36044 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36045 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36046 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36047 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36048 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36049 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36050 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36051 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36052 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36053 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36054 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36055 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36056 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36057 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36058 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36059 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36060 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36061 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36062 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36063 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36064 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36065 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36067 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36068 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36069 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36070 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36071 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36072 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36073 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36074 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36075 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36076 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36077 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36078 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36079 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36080 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36081 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36082 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36083 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36084 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36085 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36086 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36087 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36088 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36089 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36090 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36091 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36092 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36093 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36094 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36095 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36096 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36097 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36098 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36099 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36100 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36101 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36102 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36103 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36104 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36105 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36106 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36107 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36108 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36109 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36110 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36111 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36112 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36113 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36114 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36115 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36116 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36117 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36118 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36119 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36120 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36121 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36122 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36123 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36124 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36125 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36126 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36127 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36128 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36129 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36130 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36131 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36132 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36133 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36134 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36135 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36136 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36137 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36138 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36139 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36140 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36141 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36142 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36143 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36144 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36145 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36146 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36147 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36148 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36149 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36150 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36151 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36152 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36153 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36154 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36155 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36156 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36159 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36160 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36161 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36162 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36163 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36164 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36165 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36166 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36167 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36168 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36170 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36171 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36172 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36174 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36177 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36178 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36179 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36182 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36185 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36186 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36187 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36188 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36189 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36190 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36191 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36192 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36193 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36194 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36195 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36196 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36197 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36198 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36199 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36200 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36201 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36202 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36203 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36204 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36205 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36206 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36209 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36210 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36211 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36213 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36214 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36215 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36217 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36221 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36222 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36224 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36225 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36226 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36227 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36228 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36229 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36230 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36231 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36232 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36233 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36234 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36235 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36236 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36237 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36238 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36239 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36240 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36241 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36243 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36244 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36245 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36246 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36247 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36248 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36249 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36250 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36253 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36254 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36255 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36256 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36257 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36258 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36259 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36260 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36261 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36265 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36267 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36268 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36270 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36271 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36273 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36274 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36275 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36276 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36277 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36278 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36279 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36280 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36281 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36282 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36283 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36289 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36290 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36291 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36292 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36293 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36294 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36295 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36296 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36297 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36298 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36299 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36300 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36301 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36302 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36303 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36304 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36305 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36306 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36307 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36308 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36309 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36310 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36311 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36314 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36315 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36316 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36317 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36318 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36319 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36320 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36321 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36322 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36323 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36325 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36326 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36327 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36328 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36329 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36330 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36331 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36332 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36333 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36334 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36335 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36336 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36337 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36338 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36339 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36340 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36341 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36342 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36343 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36344 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36345 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36346 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36347 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36348 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36349 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36350 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36351 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36352 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36353 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36354 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36356 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36357 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36358 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36360 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36361 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36362 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36363 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36364 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36370 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36371 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36372 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36376 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36377 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36378 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36379 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36380 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36383 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36386 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36387 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36388 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36389 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36391 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36392 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36393 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36395 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36396 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36397 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36398 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36399 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36400 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36401 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36402 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36403 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36404 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36405 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36407 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36408 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36409 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36410 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36411 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36412 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36413 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36414 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36419 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36421 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36422 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36424 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36425 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36426 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36431 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36432 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36434 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36435 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36436 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36437 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36438 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36439 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36442 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36444 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36447 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36448 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36449 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36450 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36453 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36454 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36456 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36457 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36458 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36459 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36460 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36463 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36464 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36472 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36473 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36479 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36480 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36481 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36482 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36484 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36485 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36486 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36487 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36491 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36492 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36494 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36495 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36496 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36498 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36499 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36500 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36502 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36503 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36504 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36505 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36508 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36519 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36523 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36524 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36525 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36526 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36532 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36533 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36538 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36561 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36562 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36563 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36564 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36565 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36566 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36577 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36578 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36579 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36605 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36606 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36607 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36608 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36613 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36621 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36622 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36623 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36624 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36625 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36626 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36628 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36630 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36632 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36634 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36636 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36638 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36640 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36644 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36645 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36649 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36657 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36660 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36661 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36662 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36666 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36667 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36668 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36669 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36670 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36671 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36673 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36674 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36676 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36677 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36678 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36680 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36682 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36684 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36689 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36690 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36691 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36692 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36693 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36696 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36700 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36708 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36709 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36710 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36711 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36712 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36713 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36716 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36717 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36718 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36720 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36721 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36723 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36724 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36725 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36733 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36735 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36737 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36738 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36740 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36741 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36744 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36745 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36746 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
36748 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36749 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36750 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36752 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36753 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36755 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36756 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36759 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36760 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36762 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36764 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36765 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36768 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36769 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36770 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36771 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36773 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36774 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36775 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36777 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36778 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36779 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36780 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36781 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36782 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36784 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36785 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36786 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
36788 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36789 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36790 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36794 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36796 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36800 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36801 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36804 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36805 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36809 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36811 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36813 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36814 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36815 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36816 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36821 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36824 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36825 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36826 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36831 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36834 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
36835 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
36836 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
36837 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
36838 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
36839 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
36840 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
36845 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
36846 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
36848 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
36849 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
36850 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
36852 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
36853 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
36854 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
36855 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
36857 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
36859 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
36860 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
36861 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
36862 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
36865 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
36866 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
36867 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
36868 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
36869 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
36870 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
36871 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
36872 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
36873 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
36874 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
36876 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
36877 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
36880 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
36881 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
36882 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
36883 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
36884 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
36886 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
36888 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
36889 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
36890 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
36891 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
36892 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
36893 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
36894 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
36895 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
36896 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
36897 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
36898 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
36899 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
36901 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36902 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
36903 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
36904 { NULL
, NULL
, 0, NULL
}
36908 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36910 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36911 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36913 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36914 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36916 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36917 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36919 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36920 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36922 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36923 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36925 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36926 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36928 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
36929 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
36931 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36932 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36934 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36935 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36937 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36938 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36940 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36941 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36943 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
36944 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
36946 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36947 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36949 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36952 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36953 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36955 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36956 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36958 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36959 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36961 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36962 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36964 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36965 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36967 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36968 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36970 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36971 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36973 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36974 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36976 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36977 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36979 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36980 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36982 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36983 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36985 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36986 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36988 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36989 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36991 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36992 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36994 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36995 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36997 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36998 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37000 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37001 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37003 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37004 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37006 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37007 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37009 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37010 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37012 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37013 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37015 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37018 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37019 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37021 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37022 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37024 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37025 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37027 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37028 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37030 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37031 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37033 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37034 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37036 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37037 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37039 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37040 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37042 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37043 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37045 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37046 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37048 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37049 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37051 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37052 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37054 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37055 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37057 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37058 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37060 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37061 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37063 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37064 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37066 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37067 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37069 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37070 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37072 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37073 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37075 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37076 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37078 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37079 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37081 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37082 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37084 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37085 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37087 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37088 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37090 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37091 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37093 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37094 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37096 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37097 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37099 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37100 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37102 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37105 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37106 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37108 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37109 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37111 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37112 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37114 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37115 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37117 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37118 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37120 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37121 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37123 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37124 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37126 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37127 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37129 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37130 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37132 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37133 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37135 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37136 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37138 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37141 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37142 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37144 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37145 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37147 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37148 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37150 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37151 return (void *)((wxObject
*) ((wxSizer
*) x
));
37153 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37154 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37156 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37157 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37159 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37160 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37162 static void *_p_wxEventTo_p_wxObject(void *x
) {
37163 return (void *)((wxObject
*) ((wxEvent
*) x
));
37165 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37166 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37168 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37169 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37171 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37172 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37174 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37175 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37177 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37178 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37180 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37181 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37183 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37184 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37186 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37187 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37189 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37190 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37192 static void *_p_wxControlTo_p_wxObject(void *x
) {
37193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37195 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37196 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37198 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37199 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37201 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37202 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37204 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37205 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37207 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37208 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37210 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37211 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37213 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37216 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37217 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37219 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37220 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37222 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37223 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37225 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37228 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37229 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37231 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37232 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37234 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37235 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37237 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37238 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37240 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37241 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37243 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37244 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37246 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37247 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37249 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37250 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37252 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37255 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37258 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37259 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37261 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37264 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37267 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37268 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37270 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37271 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37273 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37274 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37276 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37277 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37279 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37280 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37282 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37283 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37285 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37286 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37288 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37289 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37291 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37292 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37294 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37295 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37297 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37298 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37300 static void *_p_wxImageTo_p_wxObject(void *x
) {
37301 return (void *)((wxObject
*) ((wxImage
*) x
));
37303 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37304 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37306 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37307 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37309 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37310 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37312 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37315 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37316 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37318 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37319 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37321 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37322 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37324 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37325 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37327 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37330 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37331 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37333 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37334 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37336 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37339 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37340 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37342 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37343 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37345 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37346 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37348 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37349 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37351 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37352 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37354 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37355 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37357 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37360 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37361 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37363 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37364 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37366 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37367 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37369 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37372 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37373 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37375 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37378 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37381 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37382 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37384 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37385 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37387 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37388 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37390 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37391 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37393 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37394 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37396 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37397 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37399 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37400 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37402 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37403 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37405 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37406 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37408 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37409 return (void *)((wxWindow
*) ((wxControl
*) x
));
37411 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37412 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37414 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37415 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37417 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37418 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37420 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37421 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37423 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37424 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};
37425 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37426 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37427 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37428 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37429 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37430 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37431 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37432 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37433 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37434 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37435 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37436 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37437 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37438 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37439 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37440 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37441 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37442 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37443 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37444 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37445 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37446 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37447 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37448 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37449 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37450 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37451 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37452 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37453 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37454 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37455 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37456 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37457 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37458 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37459 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37460 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37461 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37462 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37463 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37464 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37465 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37466 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37467 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37468 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37469 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37470 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37471 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37472 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37473 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37474 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37475 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37476 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37477 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37478 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37479 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37480 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37481 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37482 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37483 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37484 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37485 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37486 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37487 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37488 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37489 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37490 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37491 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37492 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37493 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37494 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37495 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37496 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37497 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37498 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37499 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37500 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37501 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37502 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37503 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37504 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37505 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37506 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37507 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37508 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37509 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37510 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37511 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37512 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37513 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37514 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37515 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37516 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37517 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37518 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37519 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37520 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37521 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37522 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37523 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37524 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37525 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37526 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37527 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37528 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37529 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37530 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37531 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37532 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37533 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37534 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37535 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37536 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37537 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37538 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37539 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37540 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37541 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37542 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37543 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37544 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37545 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37546 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37547 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37548 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37549 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37550 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37551 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37552 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37553 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37554 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37555 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37556 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37557 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37558 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37559 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37560 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37561 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37562 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37563 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37564 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37565 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37566 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37567 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37568 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37569 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37570 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37571 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37572 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37573 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37574 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37575 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37576 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37577 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37578 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37579 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37580 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37581 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37582 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37583 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37584 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37585 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37586 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37587 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37588 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37589 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37590 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37591 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37592 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37594 static swig_type_info
*swig_type_initial
[] = {
37596 &_swigt__p_form_ops_t
,
37598 &_swigt__p_unsigned_char
,
37599 &_swigt__p_unsigned_int
,
37600 &_swigt__p_unsigned_long
,
37602 &_swigt__p_wxANIHandler
,
37603 &_swigt__p_wxAcceleratorTable
,
37604 &_swigt__p_wxActivateEvent
,
37605 &_swigt__p_wxArrayString
,
37606 &_swigt__p_wxBMPHandler
,
37607 &_swigt__p_wxBitmap
,
37608 &_swigt__p_wxBitmapDataObject
,
37609 &_swigt__p_wxBoxSizer
,
37610 &_swigt__p_wxBusyCursor
,
37611 &_swigt__p_wxBusyInfo
,
37612 &_swigt__p_wxCURHandler
,
37613 &_swigt__p_wxCaret
,
37615 &_swigt__p_wxChildFocusEvent
,
37616 &_swigt__p_wxClipboard
,
37617 &_swigt__p_wxClipboardLocker
,
37618 &_swigt__p_wxCloseEvent
,
37619 &_swigt__p_wxColour
,
37620 &_swigt__p_wxCommandEvent
,
37621 &_swigt__p_wxConfig
,
37622 &_swigt__p_wxConfigBase
,
37623 &_swigt__p_wxConfigPathChanger
,
37624 &_swigt__p_wxContextMenuEvent
,
37625 &_swigt__p_wxControl
,
37626 &_swigt__p_wxControlWithItems
,
37627 &_swigt__p_wxCursor
,
37628 &_swigt__p_wxCustomDataObject
,
37630 &_swigt__p_wxDataFormat
,
37631 &_swigt__p_wxDataObject
,
37632 &_swigt__p_wxDataObjectComposite
,
37633 &_swigt__p_wxDataObjectSimple
,
37634 &_swigt__p_wxDateEvent
,
37635 &_swigt__p_wxDateSpan
,
37636 &_swigt__p_wxDateTime
,
37637 &_swigt__p_wxDateTime__TimeZone
,
37638 &_swigt__p_wxDisplay
,
37639 &_swigt__p_wxDisplayChangedEvent
,
37640 &_swigt__p_wxDropFilesEvent
,
37641 &_swigt__p_wxDuplexMode
,
37642 &_swigt__p_wxEraseEvent
,
37643 &_swigt__p_wxEvent
,
37644 &_swigt__p_wxEvtHandler
,
37645 &_swigt__p_wxFSFile
,
37646 &_swigt__p_wxFileConfig
,
37647 &_swigt__p_wxFileDataObject
,
37648 &_swigt__p_wxFileHistory
,
37649 &_swigt__p_wxFileSystem
,
37650 &_swigt__p_wxFileType
,
37651 &_swigt__p_wxFileTypeInfo
,
37652 &_swigt__p_wxFlexGridSizer
,
37653 &_swigt__p_wxFocusEvent
,
37655 &_swigt__p_wxFrame
,
37656 &_swigt__p_wxGBSizerItem
,
37657 &_swigt__p_wxGIFHandler
,
37658 &_swigt__p_wxGridBagSizer
,
37659 &_swigt__p_wxGridSizer
,
37660 &_swigt__p_wxICOHandler
,
37662 &_swigt__p_wxIconizeEvent
,
37663 &_swigt__p_wxIdleEvent
,
37664 &_swigt__p_wxImage
,
37665 &_swigt__p_wxImageHandler
,
37666 &_swigt__p_wxIndividualLayoutConstraint
,
37667 &_swigt__p_wxInitDialogEvent
,
37668 &_swigt__p_wxJPEGHandler
,
37669 &_swigt__p_wxJoystick
,
37670 &_swigt__p_wxJoystickEvent
,
37671 &_swigt__p_wxKeyEvent
,
37672 &_swigt__p_wxKillError
,
37673 &_swigt__p_wxLayoutConstraints
,
37675 &_swigt__p_wxLogBuffer
,
37676 &_swigt__p_wxLogChain
,
37677 &_swigt__p_wxLogGui
,
37678 &_swigt__p_wxLogNull
,
37679 &_swigt__p_wxLogStderr
,
37680 &_swigt__p_wxLogTextCtrl
,
37681 &_swigt__p_wxLogWindow
,
37682 &_swigt__p_wxMaximizeEvent
,
37683 &_swigt__p_wxMemorySize
,
37685 &_swigt__p_wxMenuBar
,
37686 &_swigt__p_wxMenuEvent
,
37687 &_swigt__p_wxMenuItem
,
37688 &_swigt__p_wxMetafile
,
37689 &_swigt__p_wxMetafileDataObject
,
37690 &_swigt__p_wxMimeTypesManager
,
37691 &_swigt__p_wxMouseCaptureChangedEvent
,
37692 &_swigt__p_wxMouseEvent
,
37693 &_swigt__p_wxMouseState
,
37694 &_swigt__p_wxMoveEvent
,
37695 &_swigt__p_wxMutexGuiLocker
,
37696 &_swigt__p_wxNavigationKeyEvent
,
37697 &_swigt__p_wxNcPaintEvent
,
37698 &_swigt__p_wxNotifyEvent
,
37699 &_swigt__p_wxObject
,
37700 &_swigt__p_wxOutputStream
,
37701 &_swigt__p_wxPCXHandler
,
37702 &_swigt__p_wxPNGHandler
,
37703 &_swigt__p_wxPNMHandler
,
37704 &_swigt__p_wxPaintEvent
,
37705 &_swigt__p_wxPaletteChangedEvent
,
37706 &_swigt__p_wxPaperSize
,
37707 &_swigt__p_wxPoint
,
37708 &_swigt__p_wxProcessEvent
,
37709 &_swigt__p_wxPyApp
,
37710 &_swigt__p_wxPyArtProvider
,
37711 &_swigt__p_wxPyBitmapDataObject
,
37712 &_swigt__p_wxPyCommandEvent
,
37713 &_swigt__p_wxPyDataObjectSimple
,
37714 &_swigt__p_wxPyDropSource
,
37715 &_swigt__p_wxPyDropTarget
,
37716 &_swigt__p_wxPyEvent
,
37717 &_swigt__p_wxPyFileDropTarget
,
37718 &_swigt__p_wxPyImageHandler
,
37719 &_swigt__p_wxPyLog
,
37720 &_swigt__p_wxPyProcess
,
37721 &_swigt__p_wxPySizer
,
37722 &_swigt__p_wxPyTextDataObject
,
37723 &_swigt__p_wxPyTextDropTarget
,
37724 &_swigt__p_wxPyTimer
,
37725 &_swigt__p_wxPyTipProvider
,
37726 &_swigt__p_wxPyValidator
,
37727 &_swigt__p_wxQueryNewPaletteEvent
,
37729 &_swigt__p_wxScrollEvent
,
37730 &_swigt__p_wxScrollWinEvent
,
37731 &_swigt__p_wxSetCursorEvent
,
37732 &_swigt__p_wxShowEvent
,
37733 &_swigt__p_wxSingleInstanceChecker
,
37735 &_swigt__p_wxSizeEvent
,
37736 &_swigt__p_wxSizer
,
37737 &_swigt__p_wxSizerItem
,
37738 &_swigt__p_wxSound
,
37739 &_swigt__p_wxStandardPaths
,
37740 &_swigt__p_wxStaticBoxSizer
,
37741 &_swigt__p_wxStdDialogButtonSizer
,
37742 &_swigt__p_wxStopWatch
,
37743 &_swigt__p_wxString
,
37744 &_swigt__p_wxSysColourChangedEvent
,
37745 &_swigt__p_wxSystemOptions
,
37746 &_swigt__p_wxSystemSettings
,
37747 &_swigt__p_wxTIFFHandler
,
37748 &_swigt__p_wxTextCtrl
,
37749 &_swigt__p_wxTextDataObject
,
37750 &_swigt__p_wxTimeSpan
,
37751 &_swigt__p_wxTimer
,
37752 &_swigt__p_wxTimerEvent
,
37753 &_swigt__p_wxTimerRunner
,
37754 &_swigt__p_wxTipProvider
,
37755 &_swigt__p_wxToolTip
,
37756 &_swigt__p_wxURLDataObject
,
37757 &_swigt__p_wxUpdateUIEvent
,
37758 &_swigt__p_wxValidator
,
37759 &_swigt__p_wxVideoMode
,
37760 &_swigt__p_wxWindow
,
37761 &_swigt__p_wxWindowCreateEvent
,
37762 &_swigt__p_wxWindowDestroyEvent
,
37763 &_swigt__p_wxWindowDisabler
,
37764 &_swigt__p_wxXPMHandler
,
37767 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37768 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37769 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37770 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37771 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37772 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37773 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37774 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37775 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37776 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}};
37777 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37778 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37779 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37780 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37781 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37782 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37783 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37784 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37785 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}};
37786 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37787 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37788 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37789 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37790 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37791 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}};
37792 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37793 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}};
37794 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37795 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37796 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37797 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37798 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37799 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37800 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37801 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37802 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37803 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37804 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37805 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37806 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37807 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37808 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37809 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37810 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37811 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37812 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37813 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37814 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37815 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37816 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37817 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37818 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37819 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37820 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37821 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37822 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37823 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37824 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37825 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37826 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37827 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37828 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37829 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37830 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37831 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37832 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37833 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37834 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37835 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_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_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_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}};
37836 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37837 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37838 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37839 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37840 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37841 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37842 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}};
37843 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
37844 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37845 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
37846 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
37847 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
37848 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37849 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
37850 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37851 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
37852 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
37853 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
37854 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}};
37855 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
37856 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
37857 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
37858 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
37859 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
37860 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37861 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
37862 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
37863 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37864 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
37865 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37866 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
37867 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
37868 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
37869 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37870 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37871 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37872 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37873 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37874 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37875 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37876 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37877 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37878 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37879 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37880 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37881 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37882 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37883 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37884 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37885 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37886 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37887 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37888 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37889 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37890 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37891 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37892 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37893 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37894 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37895 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37896 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37897 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37898 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37899 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_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_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_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_wxICOHandler
, _p_wxICOHandlerTo_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_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}};
37900 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
37901 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37902 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37903 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
37904 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
37905 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37906 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
37907 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
37908 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}};
37909 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37910 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
37911 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
37912 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37913 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37914 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
37915 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
37916 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37917 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
37918 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37919 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
37920 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
37921 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
37922 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37923 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
37924 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
37925 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37926 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}};
37927 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
37928 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
37929 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
37930 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
37931 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}};
37932 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
37933 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37934 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
37935 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}};
37936 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
37938 static swig_cast_info
*swig_cast_initial
[] = {
37940 _swigc__p_form_ops_t
,
37942 _swigc__p_unsigned_char
,
37943 _swigc__p_unsigned_int
,
37944 _swigc__p_unsigned_long
,
37946 _swigc__p_wxANIHandler
,
37947 _swigc__p_wxAcceleratorTable
,
37948 _swigc__p_wxActivateEvent
,
37949 _swigc__p_wxArrayString
,
37950 _swigc__p_wxBMPHandler
,
37951 _swigc__p_wxBitmap
,
37952 _swigc__p_wxBitmapDataObject
,
37953 _swigc__p_wxBoxSizer
,
37954 _swigc__p_wxBusyCursor
,
37955 _swigc__p_wxBusyInfo
,
37956 _swigc__p_wxCURHandler
,
37959 _swigc__p_wxChildFocusEvent
,
37960 _swigc__p_wxClipboard
,
37961 _swigc__p_wxClipboardLocker
,
37962 _swigc__p_wxCloseEvent
,
37963 _swigc__p_wxColour
,
37964 _swigc__p_wxCommandEvent
,
37965 _swigc__p_wxConfig
,
37966 _swigc__p_wxConfigBase
,
37967 _swigc__p_wxConfigPathChanger
,
37968 _swigc__p_wxContextMenuEvent
,
37969 _swigc__p_wxControl
,
37970 _swigc__p_wxControlWithItems
,
37971 _swigc__p_wxCursor
,
37972 _swigc__p_wxCustomDataObject
,
37974 _swigc__p_wxDataFormat
,
37975 _swigc__p_wxDataObject
,
37976 _swigc__p_wxDataObjectComposite
,
37977 _swigc__p_wxDataObjectSimple
,
37978 _swigc__p_wxDateEvent
,
37979 _swigc__p_wxDateSpan
,
37980 _swigc__p_wxDateTime
,
37981 _swigc__p_wxDateTime__TimeZone
,
37982 _swigc__p_wxDisplay
,
37983 _swigc__p_wxDisplayChangedEvent
,
37984 _swigc__p_wxDropFilesEvent
,
37985 _swigc__p_wxDuplexMode
,
37986 _swigc__p_wxEraseEvent
,
37988 _swigc__p_wxEvtHandler
,
37989 _swigc__p_wxFSFile
,
37990 _swigc__p_wxFileConfig
,
37991 _swigc__p_wxFileDataObject
,
37992 _swigc__p_wxFileHistory
,
37993 _swigc__p_wxFileSystem
,
37994 _swigc__p_wxFileType
,
37995 _swigc__p_wxFileTypeInfo
,
37996 _swigc__p_wxFlexGridSizer
,
37997 _swigc__p_wxFocusEvent
,
38000 _swigc__p_wxGBSizerItem
,
38001 _swigc__p_wxGIFHandler
,
38002 _swigc__p_wxGridBagSizer
,
38003 _swigc__p_wxGridSizer
,
38004 _swigc__p_wxICOHandler
,
38006 _swigc__p_wxIconizeEvent
,
38007 _swigc__p_wxIdleEvent
,
38009 _swigc__p_wxImageHandler
,
38010 _swigc__p_wxIndividualLayoutConstraint
,
38011 _swigc__p_wxInitDialogEvent
,
38012 _swigc__p_wxJPEGHandler
,
38013 _swigc__p_wxJoystick
,
38014 _swigc__p_wxJoystickEvent
,
38015 _swigc__p_wxKeyEvent
,
38016 _swigc__p_wxKillError
,
38017 _swigc__p_wxLayoutConstraints
,
38019 _swigc__p_wxLogBuffer
,
38020 _swigc__p_wxLogChain
,
38021 _swigc__p_wxLogGui
,
38022 _swigc__p_wxLogNull
,
38023 _swigc__p_wxLogStderr
,
38024 _swigc__p_wxLogTextCtrl
,
38025 _swigc__p_wxLogWindow
,
38026 _swigc__p_wxMaximizeEvent
,
38027 _swigc__p_wxMemorySize
,
38029 _swigc__p_wxMenuBar
,
38030 _swigc__p_wxMenuEvent
,
38031 _swigc__p_wxMenuItem
,
38032 _swigc__p_wxMetafile
,
38033 _swigc__p_wxMetafileDataObject
,
38034 _swigc__p_wxMimeTypesManager
,
38035 _swigc__p_wxMouseCaptureChangedEvent
,
38036 _swigc__p_wxMouseEvent
,
38037 _swigc__p_wxMouseState
,
38038 _swigc__p_wxMoveEvent
,
38039 _swigc__p_wxMutexGuiLocker
,
38040 _swigc__p_wxNavigationKeyEvent
,
38041 _swigc__p_wxNcPaintEvent
,
38042 _swigc__p_wxNotifyEvent
,
38043 _swigc__p_wxObject
,
38044 _swigc__p_wxOutputStream
,
38045 _swigc__p_wxPCXHandler
,
38046 _swigc__p_wxPNGHandler
,
38047 _swigc__p_wxPNMHandler
,
38048 _swigc__p_wxPaintEvent
,
38049 _swigc__p_wxPaletteChangedEvent
,
38050 _swigc__p_wxPaperSize
,
38052 _swigc__p_wxProcessEvent
,
38054 _swigc__p_wxPyArtProvider
,
38055 _swigc__p_wxPyBitmapDataObject
,
38056 _swigc__p_wxPyCommandEvent
,
38057 _swigc__p_wxPyDataObjectSimple
,
38058 _swigc__p_wxPyDropSource
,
38059 _swigc__p_wxPyDropTarget
,
38060 _swigc__p_wxPyEvent
,
38061 _swigc__p_wxPyFileDropTarget
,
38062 _swigc__p_wxPyImageHandler
,
38064 _swigc__p_wxPyProcess
,
38065 _swigc__p_wxPySizer
,
38066 _swigc__p_wxPyTextDataObject
,
38067 _swigc__p_wxPyTextDropTarget
,
38068 _swigc__p_wxPyTimer
,
38069 _swigc__p_wxPyTipProvider
,
38070 _swigc__p_wxPyValidator
,
38071 _swigc__p_wxQueryNewPaletteEvent
,
38073 _swigc__p_wxScrollEvent
,
38074 _swigc__p_wxScrollWinEvent
,
38075 _swigc__p_wxSetCursorEvent
,
38076 _swigc__p_wxShowEvent
,
38077 _swigc__p_wxSingleInstanceChecker
,
38079 _swigc__p_wxSizeEvent
,
38081 _swigc__p_wxSizerItem
,
38083 _swigc__p_wxStandardPaths
,
38084 _swigc__p_wxStaticBoxSizer
,
38085 _swigc__p_wxStdDialogButtonSizer
,
38086 _swigc__p_wxStopWatch
,
38087 _swigc__p_wxString
,
38088 _swigc__p_wxSysColourChangedEvent
,
38089 _swigc__p_wxSystemOptions
,
38090 _swigc__p_wxSystemSettings
,
38091 _swigc__p_wxTIFFHandler
,
38092 _swigc__p_wxTextCtrl
,
38093 _swigc__p_wxTextDataObject
,
38094 _swigc__p_wxTimeSpan
,
38096 _swigc__p_wxTimerEvent
,
38097 _swigc__p_wxTimerRunner
,
38098 _swigc__p_wxTipProvider
,
38099 _swigc__p_wxToolTip
,
38100 _swigc__p_wxURLDataObject
,
38101 _swigc__p_wxUpdateUIEvent
,
38102 _swigc__p_wxValidator
,
38103 _swigc__p_wxVideoMode
,
38104 _swigc__p_wxWindow
,
38105 _swigc__p_wxWindowCreateEvent
,
38106 _swigc__p_wxWindowDestroyEvent
,
38107 _swigc__p_wxWindowDisabler
,
38108 _swigc__p_wxXPMHandler
,
38112 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38114 static swig_const_info swig_const_table
[] = {
38115 {0, 0, 0, 0.0, 0, 0}};
38120 /* -----------------------------------------------------------------------------
38121 * Type initialization:
38122 * This problem is tough by the requirement that no dynamic
38123 * memory is used. Also, since swig_type_info structures store pointers to
38124 * swig_cast_info structures and swig_cast_info structures store pointers back
38125 * to swig_type_info structures, we need some lookup code at initialization.
38126 * The idea is that swig generates all the structures that are needed.
38127 * The runtime then collects these partially filled structures.
38128 * The SWIG_InitializeModule function takes these initial arrays out of
38129 * swig_module, and does all the lookup, filling in the swig_module.types
38130 * array with the correct data and linking the correct swig_cast_info
38131 * structures together.
38133 * The generated swig_type_info structures are assigned staticly to an initial
38134 * array. We just loop though that array, and handle each type individually.
38135 * First we lookup if this type has been already loaded, and if so, use the
38136 * loaded structure instead of the generated one. Then we have to fill in the
38137 * cast linked list. The cast data is initially stored in something like a
38138 * two-dimensional array. Each row corresponds to a type (there are the same
38139 * number of rows as there are in the swig_type_initial array). Each entry in
38140 * a column is one of the swig_cast_info structures for that type.
38141 * The cast_initial array is actually an array of arrays, because each row has
38142 * a variable number of columns. So to actually build the cast linked list,
38143 * we find the array of casts associated with the type, and loop through it
38144 * adding the casts to the list. The one last trick we need to do is making
38145 * sure the type pointer in the swig_cast_info struct is correct.
38147 * First off, we lookup the cast->type name to see if it is already loaded.
38148 * There are three cases to handle:
38149 * 1) If the cast->type has already been loaded AND the type we are adding
38150 * casting info to has not been loaded (it is in this module), THEN we
38151 * replace the cast->type pointer with the type pointer that has already
38153 * 2) If BOTH types (the one we are adding casting info to, and the
38154 * cast->type) are loaded, THEN the cast info has already been loaded by
38155 * the previous module so we just ignore it.
38156 * 3) Finally, if cast->type has not already been loaded, then we add that
38157 * swig_cast_info to the linked list (because the cast->type) pointer will
38159 * ----------------------------------------------------------------------------- */
38169 #define SWIGRUNTIME_DEBUG
38173 SWIG_InitializeModule(void *clientdata
) {
38175 swig_module_info
*module_head
;
38176 static int init_run
= 0;
38178 clientdata
= clientdata
;
38180 if (init_run
) return;
38183 /* Initialize the swig_module */
38184 swig_module
.type_initial
= swig_type_initial
;
38185 swig_module
.cast_initial
= swig_cast_initial
;
38187 /* Try and load any already created modules */
38188 module_head
= SWIG_GetModule(clientdata
);
38190 swig_module
.next
= module_head
->next
;
38191 module_head
->next
= &swig_module
;
38193 /* This is the first module loaded */
38194 swig_module
.next
= &swig_module
;
38195 SWIG_SetModule(clientdata
, &swig_module
);
38198 /* Now work on filling in swig_module.types */
38199 #ifdef SWIGRUNTIME_DEBUG
38200 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38202 for (i
= 0; i
< swig_module
.size
; ++i
) {
38203 swig_type_info
*type
= 0;
38204 swig_type_info
*ret
;
38205 swig_cast_info
*cast
;
38207 #ifdef SWIGRUNTIME_DEBUG
38208 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38211 /* if there is another module already loaded */
38212 if (swig_module
.next
!= &swig_module
) {
38213 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38216 /* Overwrite clientdata field */
38217 #ifdef SWIGRUNTIME_DEBUG
38218 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38220 if (swig_module
.type_initial
[i
]->clientdata
) {
38221 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38222 #ifdef SWIGRUNTIME_DEBUG
38223 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38227 type
= swig_module
.type_initial
[i
];
38230 /* Insert casting types */
38231 cast
= swig_module
.cast_initial
[i
];
38232 while (cast
->type
) {
38233 /* Don't need to add information already in the list */
38235 #ifdef SWIGRUNTIME_DEBUG
38236 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38238 if (swig_module
.next
!= &swig_module
) {
38239 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38240 #ifdef SWIGRUNTIME_DEBUG
38241 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38245 if (type
== swig_module
.type_initial
[i
]) {
38246 #ifdef SWIGRUNTIME_DEBUG
38247 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38252 /* Check for casting already in the list */
38253 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38254 #ifdef SWIGRUNTIME_DEBUG
38255 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38257 if (!ocast
) ret
= 0;
38262 #ifdef SWIGRUNTIME_DEBUG
38263 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38266 type
->cast
->prev
= cast
;
38267 cast
->next
= type
->cast
;
38273 /* Set entry in modules->types array equal to the type */
38274 swig_module
.types
[i
] = type
;
38276 swig_module
.types
[i
] = 0;
38278 #ifdef SWIGRUNTIME_DEBUG
38279 printf("**** SWIG_InitializeModule: Cast List ******\n");
38280 for (i
= 0; i
< swig_module
.size
; ++i
) {
38282 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38283 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38284 while (cast
->type
) {
38285 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38289 printf("---- Total casts: %d\n",j
);
38291 printf("**** SWIG_InitializeModule: Cast List ******\n");
38295 /* This function will propagate the clientdata field of type to
38296 * any new swig_type_info structures that have been added into the list
38297 * of equivalent types. It is like calling
38298 * SWIG_TypeClientData(type, clientdata) a second time.
38301 SWIG_PropagateClientData(void) {
38303 swig_cast_info
*equiv
;
38304 static int init_run
= 0;
38306 if (init_run
) return;
38309 for (i
= 0; i
< swig_module
.size
; i
++) {
38310 if (swig_module
.types
[i
]->clientdata
) {
38311 equiv
= swig_module
.types
[i
]->cast
;
38313 if (!equiv
->converter
) {
38314 if (equiv
->type
&& !equiv
->type
->clientdata
)
38315 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38317 equiv
= equiv
->next
;
38337 /* Python-specific SWIG API */
38338 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38339 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38340 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38342 /* -----------------------------------------------------------------------------
38343 * global variable support code.
38344 * ----------------------------------------------------------------------------- */
38346 typedef struct swig_globalvar
{
38347 char *name
; /* Name of global variable */
38348 PyObject
*(*get_attr
)(void); /* Return the current value */
38349 int (*set_attr
)(PyObject
*); /* Set the value */
38350 struct swig_globalvar
*next
;
38353 typedef struct swig_varlinkobject
{
38355 swig_globalvar
*vars
;
38356 } swig_varlinkobject
;
38358 SWIGINTERN PyObject
*
38359 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38360 return PyString_FromString("<Swig global variables>");
38363 SWIGINTERN PyObject
*
38364 swig_varlink_str(swig_varlinkobject
*v
) {
38365 PyObject
*str
= PyString_FromString("(");
38366 swig_globalvar
*var
;
38367 for (var
= v
->vars
; var
; var
=var
->next
) {
38368 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38369 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38371 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38376 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38377 PyObject
*str
= swig_varlink_str(v
);
38378 fprintf(fp
,"Swig global variables ");
38379 fprintf(fp
,"%s\n", PyString_AsString(str
));
38385 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38386 swig_globalvar
*var
= v
->vars
;
38388 swig_globalvar
*n
= var
->next
;
38395 SWIGINTERN PyObject
*
38396 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38397 PyObject
*res
= NULL
;
38398 swig_globalvar
*var
= v
->vars
;
38400 if (strcmp(var
->name
,n
) == 0) {
38401 res
= (*var
->get_attr
)();
38406 if (res
== NULL
&& !PyErr_Occurred()) {
38407 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38413 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38415 swig_globalvar
*var
= v
->vars
;
38417 if (strcmp(var
->name
,n
) == 0) {
38418 res
= (*var
->set_attr
)(p
);
38423 if (res
== 1 && !PyErr_Occurred()) {
38424 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38429 SWIGINTERN PyTypeObject
*
38430 swig_varlink_type(void) {
38431 static char varlink__doc__
[] = "Swig var link object";
38432 static PyTypeObject varlink_type
;
38433 static int type_init
= 0;
38435 const PyTypeObject tmp
38437 PyObject_HEAD_INIT(NULL
)
38438 0, /* Number of items in variable part (ob_size) */
38439 (char *)"swigvarlink", /* Type name (tp_name) */
38440 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38441 0, /* Itemsize (tp_itemsize) */
38442 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38443 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38444 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38445 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38446 0, /* tp_compare */
38447 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38448 0, /* tp_as_number */
38449 0, /* tp_as_sequence */
38450 0, /* tp_as_mapping */
38453 (reprfunc
)swig_varlink_str
, /* tp_str */
38454 0, /* tp_getattro */
38455 0, /* tp_setattro */
38456 0, /* tp_as_buffer */
38458 varlink__doc__
, /* tp_doc */
38459 0, /* tp_traverse */
38461 0, /* tp_richcompare */
38462 0, /* tp_weaklistoffset */
38463 #if PY_VERSION_HEX >= 0x02020000
38464 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38466 #if PY_VERSION_HEX >= 0x02030000
38469 #ifdef COUNT_ALLOCS
38470 0,0,0,0 /* tp_alloc -> tp_next */
38473 varlink_type
= tmp
;
38474 varlink_type
.ob_type
= &PyType_Type
;
38477 return &varlink_type
;
38480 /* Create a variable linking object for use later */
38481 SWIGINTERN PyObject
*
38482 SWIG_Python_newvarlink(void) {
38483 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38487 return ((PyObject
*) result
);
38491 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38492 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38493 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38495 size_t size
= strlen(name
)+1;
38496 gv
->name
= (char *)malloc(size
);
38498 strncpy(gv
->name
,name
,size
);
38499 gv
->get_attr
= get_attr
;
38500 gv
->set_attr
= set_attr
;
38501 gv
->next
= v
->vars
;
38507 SWIGINTERN PyObject
*
38509 static PyObject
*_SWIG_globals
= 0;
38510 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38511 return _SWIG_globals
;
38514 /* -----------------------------------------------------------------------------
38515 * constants/methods manipulation
38516 * ----------------------------------------------------------------------------- */
38518 /* Install Constants */
38520 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38523 for (i
= 0; constants
[i
].type
; ++i
) {
38524 switch(constants
[i
].type
) {
38525 case SWIG_PY_POINTER
:
38526 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38528 case SWIG_PY_BINARY
:
38529 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38536 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38542 /* -----------------------------------------------------------------------------*/
38543 /* Fix SwigMethods to carry the callback ptrs when needed */
38544 /* -----------------------------------------------------------------------------*/
38547 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38548 swig_const_info
*const_table
,
38549 swig_type_info
**types
,
38550 swig_type_info
**types_initial
) {
38552 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38553 char *c
= methods
[i
].ml_doc
;
38554 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38556 swig_const_info
*ci
= 0;
38557 char *name
= c
+ 10;
38558 for (j
= 0; const_table
[j
].type
; ++j
) {
38559 if (strncmp(const_table
[j
].name
, name
,
38560 strlen(const_table
[j
].name
)) == 0) {
38561 ci
= &(const_table
[j
]);
38566 size_t shift
= (ci
->ptype
) - types
;
38567 swig_type_info
*ty
= types_initial
[shift
];
38568 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38569 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38570 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38573 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38575 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38577 strncpy(buff
, "swig_ptr: ", 10);
38579 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38580 methods
[i
].ml_doc
= ndoc
;
38592 /* -----------------------------------------------------------------------------*
38593 * Partial Init method
38594 * -----------------------------------------------------------------------------*/
38599 SWIGEXPORT
void SWIG_init(void) {
38602 /* Fix SwigMethods to carry the callback ptrs when needed */
38603 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38605 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38606 d
= PyModule_GetDict(m
);
38608 SWIG_InitializeModule(0);
38609 SWIG_InstallConstants(d
,swig_const_table
);
38612 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38613 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38614 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38615 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38616 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38617 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38618 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38619 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38620 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38621 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38622 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38623 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38624 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38625 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38626 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38627 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38628 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38629 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38630 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38631 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38632 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38633 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38634 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38635 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38636 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38637 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38638 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38639 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38640 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38641 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38642 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38643 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38644 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38645 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38646 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38647 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38648 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38649 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38650 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38651 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38652 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38653 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38654 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38655 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38656 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38657 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38658 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38659 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38660 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38661 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38662 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38663 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38664 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38665 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38666 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38667 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38668 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38669 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38670 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38671 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38672 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38673 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38674 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38675 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38676 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38677 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38678 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38679 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38680 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38681 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38682 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38683 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38684 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38685 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38686 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38687 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38688 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38689 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38690 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38691 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38692 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38693 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38694 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38695 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38696 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38697 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38698 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38699 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38700 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38701 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38702 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38703 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38704 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38705 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38706 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38707 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38708 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38709 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38710 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38711 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38712 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38713 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38715 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38717 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38718 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38719 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38720 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38721 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38722 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38723 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38724 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38725 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38726 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38727 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38728 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38729 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38730 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38731 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38732 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38733 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38734 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38735 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38736 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38737 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38738 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38739 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38740 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38741 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38742 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38743 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38744 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38745 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38746 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38747 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38748 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38749 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38750 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38751 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38752 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38753 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38754 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38755 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38756 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38757 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38758 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38759 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38760 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38761 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38762 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38763 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38764 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38765 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38766 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38767 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38768 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38769 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38771 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38773 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38774 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38775 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38776 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38777 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38778 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38779 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
38780 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
38781 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
38782 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
38783 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
38784 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
38785 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
38786 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
38787 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
38788 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
38789 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
38790 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
38791 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
38792 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
38793 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
38794 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
38795 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
38796 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
38797 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
38798 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
38799 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
38800 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
38801 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
38802 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
38803 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
38804 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
38805 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
38806 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
38807 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
38808 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
38809 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
38810 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
38811 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
38812 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
38813 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
38814 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
38815 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
38816 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
38817 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
38818 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
38819 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
38820 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
38821 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
38822 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
38823 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
38824 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
38825 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
38826 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
38827 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
38828 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
38829 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
38830 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
38831 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
38832 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
38833 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
38834 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
38835 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
38836 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
38837 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
38838 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
38839 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
38840 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
38841 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
38842 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
38843 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
38844 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
38845 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
38846 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
38847 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
38848 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
38850 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
38852 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
38853 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
38854 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
38855 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
38856 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
38857 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
38858 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
38859 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
38860 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
38861 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
38862 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
38863 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
38864 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
38865 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
38866 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
38867 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
38868 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
38869 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
38870 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
38871 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
38872 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
38873 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
38874 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
38875 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
38876 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
38877 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
38878 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
38879 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
38880 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
38881 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
38882 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
38883 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
38884 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
38885 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
38886 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
38887 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
38888 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
38889 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
38890 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
38891 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
38892 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
38893 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
38894 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
38895 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
38896 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
38897 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
38898 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
38899 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
38900 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
38901 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
38902 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
38903 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
38904 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
38905 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
38906 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
38907 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
38908 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
38909 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
38910 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
38911 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
38912 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
38913 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
38914 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
38915 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
38916 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
38917 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
38918 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
38919 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
38920 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
38921 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
38922 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
38923 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
38924 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
38925 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
38926 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
38927 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
38928 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
38929 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
38930 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
38931 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
38932 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
38933 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
38934 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
38935 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
38936 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
38937 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
38938 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
38939 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
38940 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
38941 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
38942 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
38943 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
38944 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
38945 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
38946 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
38947 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
38948 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
38949 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
38950 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
38951 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
38952 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
38953 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
38954 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
38955 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
38956 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
38957 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
38958 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
38959 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
38960 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
38961 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
38962 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
38963 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
38964 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
38965 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
38966 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
38967 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
38968 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
38969 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
38970 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
38971 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
38972 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
38973 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
38974 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
38975 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
38976 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
38977 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
38978 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
38979 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
38980 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
38981 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
38982 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
38983 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
38984 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
38985 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
38986 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
38987 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
38988 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
38989 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
38990 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
38991 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
38992 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
38993 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
38994 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
38995 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
38996 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
38997 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
38998 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
38999 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39000 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39001 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39002 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39003 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39004 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39005 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39006 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39007 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39008 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39009 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39010 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39011 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39012 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39013 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39014 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39015 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39016 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39017 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39018 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39019 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39020 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39021 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39022 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39023 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39024 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39025 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39026 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39027 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39028 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39029 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39030 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39031 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39032 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39033 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39034 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39035 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39036 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39037 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39038 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39039 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39040 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39041 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39042 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39043 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39044 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39045 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39046 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39047 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39048 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39049 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39050 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39051 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39053 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39054 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39055 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39056 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39058 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39059 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39060 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39061 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));