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_wxMetafileDataObject swig_types[93]
2556 #define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
2557 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
2558 #define SWIGTYPE_p_wxMouseEvent swig_types[96]
2559 #define SWIGTYPE_p_wxMouseState swig_types[97]
2560 #define SWIGTYPE_p_wxMoveEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[99]
2562 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
2563 #define SWIGTYPE_p_wxNcPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNotifyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxObject swig_types[103]
2566 #define SWIGTYPE_p_wxOutputStream swig_types[104]
2567 #define SWIGTYPE_p_wxPCXHandler swig_types[105]
2568 #define SWIGTYPE_p_wxPNGHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPNMHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPaperSize swig_types[110]
2573 #define SWIGTYPE_p_wxPoint swig_types[111]
2574 #define SWIGTYPE_p_wxProcessEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPyApp swig_types[113]
2576 #define SWIGTYPE_p_wxPyArtProvider swig_types[114]
2577 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[115]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[116]
2579 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[117]
2580 #define SWIGTYPE_p_wxPyDropSource swig_types[118]
2581 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
2582 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2583 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[121]
2584 #define SWIGTYPE_p_wxPyImageHandler swig_types[122]
2585 #define SWIGTYPE_p_wxPyLog swig_types[123]
2586 #define SWIGTYPE_p_wxPyProcess swig_types[124]
2587 #define SWIGTYPE_p_wxPySizer swig_types[125]
2588 #define SWIGTYPE_p_wxPyTextDataObject swig_types[126]
2589 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[127]
2590 #define SWIGTYPE_p_wxPyTimer swig_types[128]
2591 #define SWIGTYPE_p_wxPyTipProvider swig_types[129]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[130]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[131]
2594 #define SWIGTYPE_p_wxRect swig_types[132]
2595 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
2596 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2598 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2599 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[137]
2600 #define SWIGTYPE_p_wxSize swig_types[138]
2601 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSizer swig_types[140]
2603 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2604 #define SWIGTYPE_p_wxSound swig_types[142]
2605 #define SWIGTYPE_p_wxStandardPaths swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
2608 #define SWIGTYPE_p_wxStopWatch swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxSystemOptions swig_types[149]
2612 #define SWIGTYPE_p_wxSystemSettings swig_types[150]
2613 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2614 #define SWIGTYPE_p_wxTextCtrl swig_types[152]
2615 #define SWIGTYPE_p_wxTextDataObject swig_types[153]
2616 #define SWIGTYPE_p_wxTimeSpan swig_types[154]
2617 #define SWIGTYPE_p_wxTimer swig_types[155]
2618 #define SWIGTYPE_p_wxTimerEvent swig_types[156]
2619 #define SWIGTYPE_p_wxTimerRunner swig_types[157]
2620 #define SWIGTYPE_p_wxTipProvider swig_types[158]
2621 #define SWIGTYPE_p_wxToolTip swig_types[159]
2622 #define SWIGTYPE_p_wxURLDataObject swig_types[160]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[161]
2624 #define SWIGTYPE_p_wxValidator swig_types[162]
2625 #define SWIGTYPE_p_wxVideoMode swig_types[163]
2626 #define SWIGTYPE_p_wxWindow swig_types[164]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[166]
2629 #define SWIGTYPE_p_wxWindowDisabler swig_types[167]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2631 static swig_type_info
*swig_types
[170];
2632 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _misc_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_misc_
2658 #define SWIG_name "_misc_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732 #include "wx/wxPython/pyistream.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2738 #define SWIG_From_long PyInt_FromLong
2741 SWIGINTERNINLINE PyObject
*
2742 SWIG_From_int (int value
)
2744 return SWIG_From_long (value
);
2750 # define LLONG_MIN LONG_LONG_MIN
2753 # define LLONG_MAX LONG_LONG_MAX
2756 # define ULLONG_MAX ULONG_LONG_MAX
2761 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2763 if (PyNumber_Check(obj
)) {
2764 if (val
) *val
= PyInt_AsLong(obj
);
2767 return SWIG_TypeError
;
2772 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2775 int res
= SWIG_AsVal_long (obj
, &v
);
2776 if (SWIG_IsOK(res
)) {
2777 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2778 return SWIG_OverflowError
;
2780 if (val
) *val
= static_cast< int >(v
);
2786 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2788 #include <wx/stockitem.h>
2790 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2791 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2792 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2795 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2797 if (obj
== Py_True
) {
2798 if (val
) *val
= true;
2800 } else if (obj
== Py_False
) {
2801 if (val
) *val
= false;
2805 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2806 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2812 wxMemorySize
wxGetFreeMemory()
2813 { wxPyRaiseNotImplemented(); return 0; }
2817 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2820 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2821 return SWIG_TypeError
;
2824 *val
= (unsigned long)v
;
2829 SWIGINTERNINLINE PyObject
*
2830 SWIG_From_unsigned_SS_long (unsigned long value
)
2832 return (value
> LONG_MAX
) ?
2833 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2837 void* wxGetXDisplay()
2840 return wxGetDisplay();
2847 wxWindow
* FindWindowAtPointer() {
2849 return wxFindWindowAtPointer(unused
);
2853 void wxWakeUpMainThread() {}
2856 bool wxThread_IsMain() {
2857 #ifdef WXP_WITH_THREAD
2858 return wxThread::IsMain();
2864 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2868 #include <wx/snglinst.h>
2872 #include <wx/msw/private.h>
2873 #include <wx/dynload.h>
2878 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2889 // This one only partially works. Appears to be an undocumented
2890 // "standard" convention that not all widgets adhear to. For
2891 // example, for some widgets backgrounds or non-client areas may
2893 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2898 // This one works much better, nearly all widgets and their
2899 // children are captured correctly[**]. Prior to the big
2900 // background erase changes that Vadim did in 2004-2005 this
2901 // method failed badly on XP with Themes activated, most native
2902 // widgets draw only partially, if at all. Without themes it
2903 // worked just like on Win2k. After those changes this method
2906 // ** For example the radio buttons in a wxRadioBox are not its
2907 // children by default, but you can capture it via the panel
2908 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2909 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2910 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2911 PRF_ERASEBKGND
| PRF_OWNED
);
2917 // This one is only defined in the latest SDK and is only
2918 // available on XP. MSDN says it is similar to sending WM_PRINT
2919 // so I expect that it will work similar to the above. Since it
2920 // is avaialble only on XP, it can't be compiled like this and
2921 // will have to be loaded dynamically.
2922 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2927 // Use PrintWindow if available, or fallback to WM_PRINT
2928 // otherwise. Unfortunately using PrintWindow is even worse than
2929 // WM_PRINT. For most native widgets nothing is drawn to the dc
2930 // at all, with or without Themes.
2931 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2932 static bool s_triedToLoad
= false;
2933 static PrintWindow_t pfnPrintWindow
= NULL
;
2934 if ( !s_triedToLoad
)
2937 s_triedToLoad
= true;
2938 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2939 if ( dllUser32
.IsLoaded() )
2941 wxLogNull nolog
; // Don't report errors here
2942 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2947 //printf("Using PrintWindow\n");
2948 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2952 //printf("Using WM_PRINT\n");
2953 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2954 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2955 PRF_ERASEBKGND
| PRF_OWNED
);
2966 #include <wx/tipdlg.h>
2969 SWIGINTERNINLINE PyObject
*
2970 SWIG_From_size_t (size_t value
)
2972 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2976 class wxPyTipProvider
: public wxTipProvider
{
2978 wxPyTipProvider(size_t currentTip
)
2979 : wxTipProvider(currentTip
) {}
2981 DEC_PYCALLBACK_STRING__pure(GetTip
);
2982 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2986 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2987 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2990 SWIGINTERNINLINE
int
2991 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2994 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2995 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3000 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3002 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3004 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3005 : wxTimer(owner
, id
)
3012 SWIGINTERN swig_type_info
*
3013 SWIG_pchar_descriptor()
3015 static int init
= 0;
3016 static swig_type_info
* info
= 0;
3018 info
= SWIG_TypeQuery("_p_char");
3025 SWIGINTERNINLINE PyObject
*
3026 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3029 if (size
> INT_MAX
) {
3030 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3031 return pchar_descriptor
?
3032 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3034 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3037 return SWIG_Py_Void();
3042 SWIGINTERNINLINE PyObject
*
3043 SWIG_FromCharPtr(const char *cptr
)
3045 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3050 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3053 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3054 if (SWIG_IsOK(res
)) {
3055 if ((v
> UINT_MAX
)) {
3056 return SWIG_OverflowError
;
3058 if (val
) *val
= static_cast< unsigned int >(v
);
3064 SWIGINTERN wxString
wxLog_TimeStamp(){
3066 wxLog::TimeStamp(&msg
);
3069 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3070 // Make some wrappers that double any % signs so they are 'escaped'
3071 void wxPyLogFatalError(const wxString
& msg
)
3074 m
.Replace(wxT("%"), wxT("%%"));
3078 void wxPyLogError(const wxString
& msg
)
3081 m
.Replace(wxT("%"), wxT("%%"));
3085 void wxPyLogWarning(const wxString
& msg
)
3088 m
.Replace(wxT("%"), wxT("%%"));
3092 void wxPyLogMessage(const wxString
& msg
)
3095 m
.Replace(wxT("%"), wxT("%%"));
3099 void wxPyLogInfo(const wxString
& msg
)
3102 m
.Replace(wxT("%"), wxT("%%"));
3106 void wxPyLogDebug(const wxString
& msg
)
3109 m
.Replace(wxT("%"), wxT("%%"));
3113 void wxPyLogVerbose(const wxString
& msg
)
3116 m
.Replace(wxT("%"), wxT("%%"));
3120 void wxPyLogStatus(const wxString
& msg
)
3123 m
.Replace(wxT("%"), wxT("%%"));
3127 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3130 m
.Replace(wxT("%"), wxT("%%"));
3131 wxLogStatus(pFrame
, m
);
3134 void wxPyLogSysError(const wxString
& msg
)
3137 m
.Replace(wxT("%"), wxT("%%"));
3141 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3144 m
.Replace(wxT("%"), wxT("%%"));
3145 wxLogGeneric(level
, m
);
3148 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3151 m
.Replace(wxT("%"), wxT("%%"));
3152 wxLogTrace(mask
, m
);
3155 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3158 m
.Replace(wxT("%"), wxT("%%"));
3159 wxLogTrace(mask
, m
);
3164 // A wxLog class that can be derived from in wxPython
3165 class wxPyLog
: public wxLog
{
3167 wxPyLog() : wxLog() {}
3169 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3171 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3172 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3173 PyObject
* s
= wx2PyString(szString
);
3174 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3177 wxPyEndBlockThreads(blocked
);
3179 wxLog::DoLog(level
, szString
, t
);
3182 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3184 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3185 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3186 PyObject
* s
= wx2PyString(szString
);
3187 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3190 wxPyEndBlockThreads(blocked
);
3192 wxLog::DoLogString(szString
, t
);
3195 DEC_PYCALLBACK_VOID_(Flush
);
3198 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3203 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3206 #include <wx/joystick.h>
3209 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3210 // A C++ stub class for wxJoystick for platforms that don't have it.
3211 class wxJoystick
: public wxObject
{
3213 wxJoystick(int joystick
= wxJOYSTICK1
) {
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyErr_SetString(PyExc_NotImplementedError
,
3216 "wxJoystick is not available on this platform.");
3217 wxPyEndBlockThreads(blocked
);
3219 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3220 int GetZPosition() { return -1; }
3221 int GetButtonState() { return -1; }
3222 int GetPOVPosition() { return -1; }
3223 int GetPOVCTSPosition() { return -1; }
3224 int GetRudderPosition() { return -1; }
3225 int GetUPosition() { return -1; }
3226 int GetVPosition() { return -1; }
3227 int GetMovementThreshold() { return -1; }
3228 void SetMovementThreshold(int threshold
) {}
3230 bool IsOk(void) { return false; }
3231 int GetNumberJoysticks() { return -1; }
3232 int GetManufacturerId() { return -1; }
3233 int GetProductId() { return -1; }
3234 wxString
GetProductName() { return wxEmptyString
; }
3235 int GetXMin() { return -1; }
3236 int GetYMin() { return -1; }
3237 int GetZMin() { return -1; }
3238 int GetXMax() { return -1; }
3239 int GetYMax() { return -1; }
3240 int GetZMax() { return -1; }
3241 int GetNumberButtons() { return -1; }
3242 int GetNumberAxes() { return -1; }
3243 int GetMaxButtons() { return -1; }
3244 int GetMaxAxes() { return -1; }
3245 int GetPollingMin() { return -1; }
3246 int GetPollingMax() { return -1; }
3247 int GetRudderMin() { return -1; }
3248 int GetRudderMax() { return -1; }
3249 int GetUMin() { return -1; }
3250 int GetUMax() { return -1; }
3251 int GetVMin() { return -1; }
3252 int GetVMax() { return -1; }
3254 bool HasRudder() { return false; }
3255 bool HasZ() { return false; }
3256 bool HasU() { return false; }
3257 bool HasV() { return false; }
3258 bool HasPOV() { return false; }
3259 bool HasPOV4Dir() { return false; }
3260 bool HasPOVCTS() { return false; }
3262 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3263 bool ReleaseCapture() { return false; }
3268 #include <wx/sound.h>
3272 // A C++ stub class for wxWave for platforms that don't have it.
3273 class wxSound
: public wxObject
3277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3278 PyErr_SetString(PyExc_NotImplementedError
,
3279 "wxSound is not available on this platform.");
3280 wxPyEndBlockThreads(blocked
);
3282 wxSound(const wxString
&/*, bool*/) {
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 PyErr_SetString(PyExc_NotImplementedError
,
3285 "wxSound is not available on this platform.");
3286 wxPyEndBlockThreads(blocked
);
3288 wxSound(int, const wxByte
*) {
3289 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3290 PyErr_SetString(PyExc_NotImplementedError
,
3291 "wxSound is not available on this platform.");
3292 wxPyEndBlockThreads(blocked
);
3297 bool Create(const wxString
&/*, bool*/) { return false; }
3298 bool Create(int, const wxByte
*) { return false; };
3299 bool IsOk() { return false; };
3300 bool Play(unsigned) const { return false; }
3301 static bool Play(const wxString
&, unsigned) { return false; }
3302 static void Stop() {}
3307 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3308 if (fileName
.Length() == 0)
3311 return new wxSound(fileName
);
3313 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3314 unsigned char* buffer
; int size
;
3315 wxSound
*sound
= NULL
;
3317 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3318 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3320 sound
= new wxSound(size
, buffer
);
3322 wxPyEndBlockThreads(blocked
);
3325 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3327 unsigned char* buffer
;
3331 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3332 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3334 rv
= self
->Create(size
, buffer
);
3336 wxPyEndBlockThreads(blocked
);
3339 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3340 PyErr_SetString(PyExc_NotImplementedError
,
3341 "Create from data is not available on this platform.");
3342 wxPyEndBlockThreads(blocked
);
3347 #include <wx/mimetype.h>
3349 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3351 if (self
->GetMimeType(&str
))
3352 return wx2PyString(str
);
3356 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3358 if (self
->GetMimeTypes(arr
))
3359 return wxArrayString2PyList_helper(arr
);
3363 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3365 if (self
->GetExtensions(arr
))
3366 return wxArrayString2PyList_helper(arr
);
3370 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3372 if (self
->GetIcon(&loc
))
3373 return new wxIcon(loc
);
3377 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3379 if (self
->GetIcon(&loc
)) {
3380 wxString iconFile
= loc
.GetFileName();
3385 // Make a tuple and put the values in it
3386 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3387 PyObject
* tuple
= PyTuple_New(3);
3388 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3389 wxT("wxIcon"), true));
3390 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3391 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3392 wxPyEndBlockThreads(blocked
);
3398 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3400 if (self
->GetDescription(&str
))
3401 return wx2PyString(str
);
3405 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3407 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3408 return wx2PyString(str
);
3412 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3414 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3415 return wx2PyString(str
);
3419 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3420 wxArrayString verbs
;
3421 wxArrayString commands
;
3422 if (self
->GetAllCommands(&verbs
, &commands
,
3423 wxFileType::MessageParameters(filename
, mimetype
))) {
3424 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3425 PyObject
* tuple
= PyTuple_New(2);
3426 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3427 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3428 wxPyEndBlockThreads(blocked
);
3434 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3435 return wxFileType::ExpandCommand(command
,
3436 wxFileType::MessageParameters(filename
, mimetype
));
3438 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3440 self
->EnumAllFileTypes(arr
);
3441 return wxArrayString2PyList_helper(arr
);
3444 #include <wx/artprov.h>
3446 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3447 static const wxString
wxPyART_MENU(wxART_MENU
);
3448 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3449 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3450 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3451 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3452 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3453 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3454 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3455 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3456 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3457 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3458 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3459 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3460 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3461 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3462 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3463 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3464 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3465 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3466 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3467 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3468 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3469 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3470 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3471 static const wxString
wxPyART_HELP(wxART_HELP
);
3472 static const wxString
wxPyART_TIP(wxART_TIP
);
3473 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3474 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3475 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3476 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3477 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3478 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3479 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3480 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3481 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3482 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3483 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3484 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3485 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3486 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3487 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3488 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3489 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3490 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3491 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3492 static const wxString
wxPyART_COPY(wxART_COPY
);
3493 static const wxString
wxPyART_CUT(wxART_CUT
);
3494 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3495 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3496 static const wxString
wxPyART_NEW(wxART_NEW
);
3497 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3498 static const wxString
wxPyART_REDO(wxART_REDO
);
3499 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3500 static const wxString
wxPyART_FIND(wxART_FIND
);
3501 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3502 // Python aware wxArtProvider
3503 class wxPyArtProvider
: public wxArtProvider
{
3506 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3507 const wxArtClient
& client
,
3508 const wxSize
& size
) {
3509 wxBitmap rval
= wxNullBitmap
;
3510 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3511 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3512 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3516 s1
= wx2PyString(id
);
3517 s2
= wx2PyString(client
);
3518 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3523 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3528 wxPyEndBlockThreads(blocked
);
3535 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3539 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3540 PyObject
* ret
= PyTuple_New(3);
3542 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3543 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3544 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3549 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3554 cont
= self
->GetFirstGroup(value
, index
);
3555 return __EnumerationHelper(cont
, value
, index
);
3557 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3561 cont
= self
->GetNextGroup(value
, index
);
3562 return __EnumerationHelper(cont
, value
, index
);
3564 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3569 cont
= self
->GetFirstEntry(value
, index
);
3570 return __EnumerationHelper(cont
, value
, index
);
3572 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3576 cont
= self
->GetNextEntry(value
, index
);
3577 return __EnumerationHelper(cont
, value
, index
);
3579 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3581 self
->Read(key
, &rv
, defaultVal
);
3586 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3588 if (PyNumber_Check(obj
)) {
3589 if (val
) *val
= PyFloat_AsDouble(obj
);
3592 return SWIG_TypeError
;
3595 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3597 self
->Read(key
, &rv
, defaultVal
);
3601 #define SWIG_From_double PyFloat_FromDouble
3603 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3605 self
->Read(key
, &rv
, defaultVal
);
3609 #include <wx/datetime.h>
3611 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3612 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3614 #define LOCAL_TZ wxDateTime::Local
3616 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3619 wxDateTime::GetAmPmStrings(&am
, &pm
);
3620 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3621 PyObject
* tup
= PyTuple_New(2);
3622 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3623 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3624 wxPyEndBlockThreads(blocked
);
3628 SWIGINTERNINLINE PyObject
*
3629 SWIG_From_unsigned_SS_int (unsigned int value
)
3631 return SWIG_From_unsigned_SS_long (value
);
3634 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3635 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3636 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3637 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3638 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3639 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3640 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3641 return (*self
< *other
);
3643 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3644 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3645 return (*self
<= *other
);
3647 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3648 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3649 return (*self
> *other
);
3651 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3652 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3653 return (*self
>= *other
);
3655 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3656 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3657 return (*self
== *other
);
3659 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3660 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3661 return (*self
!= *other
);
3663 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3665 const wxChar
* _date
= date
;
3666 rv
= self
->ParseRfc822Date(_date
);
3667 if (rv
== NULL
) return -1;
3670 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3672 const wxChar
* _date
= date
;
3673 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3674 if (rv
== NULL
) return -1;
3677 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3679 const wxChar
* _datetime
= datetime
;
3680 rv
= self
->ParseDateTime(_datetime
);
3681 if (rv
== NULL
) return -1;
3682 return rv
- _datetime
;
3684 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3686 const wxChar
* _date
= date
;
3687 rv
= self
->ParseDate(_date
);
3688 if (rv
== NULL
) return -1;
3691 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3693 const wxChar
* _time
= time
;
3694 rv
= self
->ParseTime(_time
);
3695 if (rv
== NULL
) return -1;
3698 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3699 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3700 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3701 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3702 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3703 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3704 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3705 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3706 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3707 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3708 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3709 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3710 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3711 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3712 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3713 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3715 #include <wx/dataobj.h>
3717 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3718 size_t count
= self
->GetFormatCount(dir
);
3719 wxDataFormat
* formats
= new wxDataFormat
[count
];
3720 self
->GetAllFormats(formats
, dir
);
3722 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3723 PyObject
* list
= PyList_New(count
);
3724 for (size_t i
=0; i
<count
; i
++) {
3725 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3726 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3727 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3729 wxPyEndBlockThreads(blocked
);
3733 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3734 PyObject
* rval
= NULL
;
3735 size_t size
= self
->GetDataSize(format
);
3736 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3738 char* buf
= new char[size
];
3739 if (self
->GetDataHere(format
, buf
))
3740 rval
= PyString_FromStringAndSize(buf
, size
);
3747 wxPyEndBlockThreads(blocked
);
3750 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3752 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3753 if (PyString_Check(data
)) {
3754 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3757 // raise a TypeError if not a string
3758 PyErr_SetString(PyExc_TypeError
, "String expected.");
3761 wxPyEndBlockThreads(blocked
);
3764 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3765 PyObject
* rval
= NULL
;
3766 size_t size
= self
->GetDataSize();
3767 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3769 char* buf
= new char[size
];
3770 if (self
->GetDataHere(buf
))
3771 rval
= PyString_FromStringAndSize(buf
, size
);
3778 wxPyEndBlockThreads(blocked
);
3781 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3783 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3784 if (PyString_Check(data
)) {
3785 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3788 // raise a TypeError if not a string
3789 PyErr_SetString(PyExc_TypeError
, "String expected.");
3792 wxPyEndBlockThreads(blocked
);
3795 // Create a new class for wxPython to use
3796 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3798 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3799 : wxDataObjectSimple(format
) {}
3801 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3802 bool GetDataHere(void *buf
) const;
3803 bool SetData(size_t len
, const void *buf
) const;
3807 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3809 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3810 // We need to get the data for this object and write it to buf. I think
3811 // the best way to do this for wxPython is to have the Python method
3812 // return either a string or None and then act appropriately with the
3816 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3817 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3819 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3821 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3823 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3827 wxPyEndBlockThreads(blocked
);
3831 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3832 // For this one we simply need to make a string from buf and len
3833 // and send it to the Python method.
3835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3836 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3837 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3838 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3841 wxPyEndBlockThreads(blocked
);
3845 // Create a new class for wxPython to use
3846 class wxPyTextDataObject
: public wxTextDataObject
{
3848 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3849 : wxTextDataObject(text
) {}
3851 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3852 DEC_PYCALLBACK_STRING__const(GetText
);
3853 DEC_PYCALLBACK__STRING(SetText
);
3857 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3858 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3859 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3862 // Create a new class for wxPython to use
3863 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3865 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3866 : wxBitmapDataObject(bitmap
) {}
3868 wxBitmap
GetBitmap() const;
3869 void SetBitmap(const wxBitmap
& bitmap
);
3873 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3874 wxBitmap
* rval
= &wxNullBitmap
;
3875 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3876 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3879 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3881 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3886 wxPyEndBlockThreads(blocked
);
3890 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3892 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3893 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3894 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3897 wxPyEndBlockThreads(blocked
);
3900 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3901 return new wxCustomDataObject(wxDataFormat(formatName
));
3903 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3906 if (PyString_Check(data
)) {
3907 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3910 // raise a TypeError if not a string
3911 PyErr_SetString(PyExc_TypeError
, "String expected.");
3914 wxPyEndBlockThreads(blocked
);
3917 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3919 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3920 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3921 wxPyEndBlockThreads(blocked
);
3925 class wxMetafileDataObject
: public wxDataObjectSimple
3928 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3932 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3935 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3936 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3937 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3938 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3939 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3942 class wxPyTextDropTarget
: public wxTextDropTarget
{
3944 wxPyTextDropTarget() {}
3946 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3948 DEC_PYCALLBACK__(OnLeave
);
3949 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3950 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3951 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3952 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3957 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3958 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3959 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3960 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3961 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3962 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3966 class wxPyFileDropTarget
: public wxFileDropTarget
{
3968 wxPyFileDropTarget() {}
3970 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3972 DEC_PYCALLBACK__(OnLeave
);
3973 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3974 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3975 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3976 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3981 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3982 const wxArrayString
& filenames
) {
3984 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3985 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3986 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3987 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3990 wxPyEndBlockThreads(blocked
);
3996 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3997 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3998 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3999 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4000 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4005 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4007 #include <wx/display.h>
4009 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4010 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4012 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
4014 #include <wx/dynarray.h>
4015 #include <wx/vidmode.h>
4017 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
4018 #include "wx/arrimpl.cpp"
4019 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
4020 const wxVideoMode wxDefaultVideoMode
;
4025 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
4028 static size_t GetCount()
4029 { wxPyRaiseNotImplemented(); return 0; }
4031 static int GetFromPoint(const wxPoint
& pt
)
4032 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
4033 static int GetFromWindow(wxWindow
*window
)
4034 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
4036 virtual bool IsOk() const { return false; }
4037 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
4038 virtual wxString
GetName() const { return wxEmptyString
; }
4039 bool IsPrimary() const { return false; }
4041 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
4042 { wxArrayVideoModes a
; return a
; }
4044 virtual wxVideoMode
GetCurrentMode() const
4045 { return wxDefaultVideoMode
; }
4047 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
4054 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4055 PyObject
* pyList
= NULL
;
4056 wxArrayVideoModes arr
= self
->GetModes(mode
);
4057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4058 pyList
= PyList_New(0);
4059 for (int i
=0; i
< arr
.GetCount(); i
++) {
4060 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4061 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4062 PyList_Append(pyList
, pyObj
);
4065 wxPyEndBlockThreads(blocked
);
4069 #include <wx/stdpaths.h>
4071 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4072 return (wxStandardPaths
*) &wxStandardPaths::Get();
4077 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
= 0;
4079 wxSystemColour arg1
;
4083 PyObject
* obj0
= 0 ;
4084 char * kwnames
[] = {
4085 (char *) "index", NULL
4088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4090 if (!SWIG_IsOK(ecode1
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4093 arg1
= static_cast< wxSystemColour
>(val1
);
4095 if (!wxPyCheckForApp()) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 result
= wxSystemSettings::GetColour(arg1
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4108 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
= 0;
4114 PyObject
* obj0
= 0 ;
4115 char * kwnames
[] = {
4116 (char *) "index", NULL
4119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4121 if (!SWIG_IsOK(ecode1
)) {
4122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4124 arg1
= static_cast< wxSystemFont
>(val1
);
4126 if (!wxPyCheckForApp()) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 result
= wxSystemSettings::GetFont(arg1
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4139 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
= 0;
4141 wxSystemMetric arg1
;
4142 wxWindow
*arg2
= (wxWindow
*) NULL
;
4148 PyObject
* obj0
= 0 ;
4149 PyObject
* obj1
= 0 ;
4150 char * kwnames
[] = {
4151 (char *) "index",(char *) "win", NULL
4154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4155 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4156 if (!SWIG_IsOK(ecode1
)) {
4157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4159 arg1
= static_cast< wxSystemMetric
>(val1
);
4161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4162 if (!SWIG_IsOK(res2
)) {
4163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4165 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4168 if (!wxPyCheckForApp()) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_From_int(static_cast< int >(result
));
4181 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxSystemFeature arg1
;
4187 PyObject
* obj0
= 0 ;
4188 char * kwnames
[] = {
4189 (char *) "index", NULL
4192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4193 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4194 if (!SWIG_IsOK(ecode1
)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4197 arg1
= static_cast< wxSystemFeature
>(val1
);
4199 if (!wxPyCheckForApp()) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4214 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4215 PyObject
*resultobj
= 0;
4216 wxSystemScreenType result
;
4218 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4220 if (!wxPyCheckForApp()) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= SWIG_From_int(static_cast< int >(result
));
4233 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
= 0;
4235 wxSystemScreenType arg1
;
4238 PyObject
* obj0
= 0 ;
4239 char * kwnames
[] = {
4240 (char *) "screen", NULL
4243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4244 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4245 if (!SWIG_IsOK(ecode1
)) {
4246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4248 arg1
= static_cast< wxSystemScreenType
>(val1
);
4250 if (!wxPyCheckForApp()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 wxSystemSettings::SetScreenType(arg1
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4266 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4267 return SWIG_Py_Void();
4270 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4271 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4276 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4277 PyObject
*pyobj
= 0;
4281 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4283 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4290 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4291 PyObject
*resultobj
= 0;
4292 wxSystemOptions
*result
= 0 ;
4294 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (wxSystemOptions
*)new wxSystemOptions();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4308 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
= 0;
4310 wxString
*arg1
= 0 ;
4311 wxString
*arg2
= 0 ;
4312 bool temp1
= false ;
4313 bool temp2
= false ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4316 char * kwnames
[] = {
4317 (char *) "name",(char *) "value", NULL
4320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4322 arg1
= wxString_in_helper(obj0
);
4323 if (arg1
== NULL
) SWIG_fail
;
4327 arg2
= wxString_in_helper(obj1
);
4328 if (arg2
== NULL
) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxString
*arg1
= 0 ;
4364 bool temp1
= false ;
4367 PyObject
* obj0
= 0 ;
4368 PyObject
* obj1
= 0 ;
4369 char * kwnames
[] = {
4370 (char *) "name",(char *) "value", NULL
4373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4375 arg1
= wxString_in_helper(obj0
);
4376 if (arg1
== NULL
) SWIG_fail
;
4379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4380 if (!SWIG_IsOK(ecode2
)) {
4381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4383 arg2
= static_cast< int >(val2
);
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= SWIG_Py_Void();
4405 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
= 0;
4407 wxString
*arg1
= 0 ;
4409 bool temp1
= false ;
4410 PyObject
* obj0
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "name", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4417 arg1
= wxString_in_helper(obj0
);
4418 if (arg1
== NULL
) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4448 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
= 0;
4450 wxString
*arg1
= 0 ;
4452 bool temp1
= false ;
4453 PyObject
* obj0
= 0 ;
4454 char * kwnames
[] = {
4455 (char *) "name", NULL
4458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4460 arg1
= wxString_in_helper(obj0
);
4461 if (arg1
== NULL
) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= SWIG_From_int(static_cast< int >(result
));
4485 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
= 0;
4487 wxString
*arg1
= 0 ;
4489 bool temp1
= false ;
4490 PyObject
* obj0
= 0 ;
4491 char * kwnames
[] = {
4492 (char *) "name", NULL
4495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4497 arg1
= wxString_in_helper(obj0
);
4498 if (arg1
== NULL
) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4524 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
= 0;
4526 wxString
*arg1
= 0 ;
4528 bool temp1
= false ;
4529 PyObject
* obj0
= 0 ;
4530 char * kwnames
[] = {
4531 (char *) "name", NULL
4534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4536 arg1
= wxString_in_helper(obj0
);
4537 if (arg1
== NULL
) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4563 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4566 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4567 return SWIG_Py_Void();
4570 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4571 return SWIG_Python_InitShadowInstance(args
);
4574 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4575 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4580 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4581 PyObject
*pyobj
= 0;
4585 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4587 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4594 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4595 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4600 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4601 PyObject
*pyobj
= 0;
4605 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4607 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4614 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4615 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4620 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4621 PyObject
*pyobj
= 0;
4625 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4627 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4634 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4635 PyObject
*resultobj
= 0;
4638 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 result
= (long)wxNewId();
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_From_long(static_cast< long >(result
));
4652 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
= 0;
4657 PyObject
* obj0
= 0 ;
4658 char * kwnames
[] = {
4662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4663 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4664 if (!SWIG_IsOK(ecode1
)) {
4665 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4667 arg1
= static_cast< long >(val1
);
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= SWIG_Py_Void();
4681 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4682 PyObject
*resultobj
= 0;
4685 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= (long)wxGetCurrentId();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_From_long(static_cast< long >(result
));
4699 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
= 0;
4705 PyObject
* obj0
= 0 ;
4706 char * kwnames
[] = {
4710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4712 if (!SWIG_IsOK(ecode1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4715 arg1
= static_cast< int >(val1
);
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (bool)wxIsStockID(arg1
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4731 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
= 0;
4734 wxString
*arg2
= 0 ;
4738 bool temp2
= false ;
4739 PyObject
* obj0
= 0 ;
4740 PyObject
* obj1
= 0 ;
4741 char * kwnames
[] = {
4742 (char *) "id",(char *) "label", NULL
4745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4747 if (!SWIG_IsOK(ecode1
)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4750 arg1
= static_cast< int >(val1
);
4752 arg2
= wxString_in_helper(obj1
);
4753 if (arg2
== NULL
) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4779 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
= 0;
4782 bool arg2
= (bool) true ;
4783 wxString arg3
= (wxString
) wxPyEmptyString
;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4791 PyObject
* obj2
= 0 ;
4792 char * kwnames
[] = {
4793 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4798 if (!SWIG_IsOK(ecode1
)) {
4799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4801 arg1
= static_cast< int >(val1
);
4803 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4804 if (!SWIG_IsOK(ecode2
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4807 arg2
= static_cast< bool >(val2
);
4811 wxString
* sptr
= wxString_in_helper(obj2
);
4812 if (sptr
== NULL
) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4836 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4837 PyObject
*resultobj
= 0;
4839 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4841 if (!wxPyCheckForApp()) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_Py_Void();
4854 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4855 PyObject
*resultobj
= 0;
4857 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4859 if (!wxPyCheckForApp()) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_Py_Void();
4872 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
= 0;
4874 bool arg1
= (bool) true ;
4878 PyObject
* obj0
= 0 ;
4879 char * kwnames
[] = {
4880 (char *) "resetTimer", NULL
4883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4885 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4886 if (!SWIG_IsOK(ecode1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4889 arg1
= static_cast< bool >(val1
);
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (long)wxGetElapsedTime(arg1
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_From_long(static_cast< long >(result
));
4904 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4905 PyObject
*resultobj
= 0;
4908 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)wxIsBusy();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4924 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4925 PyObject
*resultobj
= 0;
4928 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4948 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
= 0;
4950 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4951 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4953 bool temp1
= false ;
4954 PyObject
* obj0
= 0 ;
4955 char * kwnames
[] = {
4956 (char *) "command", NULL
4959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4962 arg1
= wxString_in_helper(obj0
);
4963 if (arg1
== NULL
) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (bool)wxShell((wxString
const &)*arg1
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4990 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4991 PyObject
*resultobj
= 0;
4993 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= SWIG_Py_Void();
5007 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5008 PyObject
*resultobj
= 0;
5009 int *arg1
= (int *) 0 ;
5010 int *arg2
= (int *) 0 ;
5013 int res1
= SWIG_TMPOBJ
;
5015 int res2
= SWIG_TMPOBJ
;
5019 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (int)wxGetOsVersion(arg1
,arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= SWIG_From_int(static_cast< int >(result
));
5027 if (SWIG_IsTmpObj(res1
)) {
5028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5030 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5033 if (SWIG_IsTmpObj(res2
)) {
5034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5036 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5045 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 PyObject
*resultobj
= 0;
5049 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= wxGetOsDescription();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5069 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5070 PyObject
*resultobj
= 0;
5071 wxMemorySize result
;
5073 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= wxGetFreeMemory();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5087 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
= 0;
5089 wxShutdownFlags arg1
;
5093 PyObject
* obj0
= 0 ;
5094 char * kwnames
[] = {
5095 (char *) "wFlags", NULL
5098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5100 if (!SWIG_IsOK(ecode1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5103 arg1
= static_cast< wxShutdownFlags
>(val1
);
5105 if (!wxPyCheckForApp()) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (bool)wxShutdown(arg1
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5120 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
= 0;
5125 PyObject
* obj0
= 0 ;
5126 char * kwnames
[] = {
5127 (char *) "secs", NULL
5130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5132 if (!SWIG_IsOK(ecode1
)) {
5133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5135 arg1
= static_cast< int >(val1
);
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_Py_Void();
5149 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
= 0;
5151 unsigned long arg1
;
5152 unsigned long val1
;
5154 PyObject
* obj0
= 0 ;
5155 char * kwnames
[] = {
5156 (char *) "milliseconds", NULL
5159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5160 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5161 if (!SWIG_IsOK(ecode1
)) {
5162 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5164 arg1
= static_cast< unsigned long >(val1
);
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= SWIG_Py_Void();
5178 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
= 0;
5180 unsigned long arg1
;
5181 unsigned long val1
;
5183 PyObject
* obj0
= 0 ;
5184 char * kwnames
[] = {
5185 (char *) "microseconds", NULL
5188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5189 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5190 if (!SWIG_IsOK(ecode1
)) {
5191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5193 arg1
= static_cast< unsigned long >(val1
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_Py_Void();
5207 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
= 0;
5212 PyObject
* obj0
= 0 ;
5213 char * kwnames
[] = {
5214 (char *) "enable", NULL
5217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5218 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5219 if (!SWIG_IsOK(ecode1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5222 arg1
= static_cast< bool >(val1
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 wxEnableTopLevelWindows(arg1
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_Py_Void();
5236 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
= 0;
5238 wxString
*arg1
= 0 ;
5240 bool temp1
= false ;
5241 PyObject
* obj0
= 0 ;
5242 char * kwnames
[] = {
5243 (char *) "_in", NULL
5246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5248 arg1
= wxString_in_helper(obj0
);
5249 if (arg1
== NULL
) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5279 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 PyObject
*resultobj
= 0;
5283 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= wxGetEmailAddress();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5303 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5304 PyObject
*resultobj
= 0;
5307 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 result
= wxGetHostName();
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5327 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5328 PyObject
*resultobj
= 0;
5331 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= wxGetFullHostName();
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5351 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5352 PyObject
*resultobj
= 0;
5355 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 result
= wxGetUserId();
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5375 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5376 PyObject
*resultobj
= 0;
5379 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 result
= wxGetUserName();
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5399 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5400 PyObject
*resultobj
= 0;
5403 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= wxGetHomeDir();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5423 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
= 0;
5425 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5426 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5428 bool temp1
= false ;
5429 PyObject
* obj0
= 0 ;
5430 char * kwnames
[] = {
5431 (char *) "user", NULL
5434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5437 arg1
= wxString_in_helper(obj0
);
5438 if (arg1
== NULL
) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= wxGetUserHome((wxString
const &)*arg1
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5469 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5470 PyObject
*resultobj
= 0;
5471 unsigned long result
;
5473 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (unsigned long)wxGetProcessId();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5487 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5488 PyObject
*resultobj
= 0;
5490 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_Py_Void();
5504 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
= 0;
5506 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5507 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5508 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5509 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5510 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5511 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5514 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5515 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5516 int arg6
= (int) 0 ;
5517 wxWindow
*arg7
= (wxWindow
*) NULL
;
5518 int arg8
= (int) -1 ;
5519 int arg9
= (int) -1 ;
5521 bool temp1
= false ;
5522 bool temp2
= false ;
5523 bool temp3
= false ;
5524 bool temp4
= false ;
5525 bool temp5
= false ;
5534 PyObject
* obj0
= 0 ;
5535 PyObject
* obj1
= 0 ;
5536 PyObject
* obj2
= 0 ;
5537 PyObject
* obj3
= 0 ;
5538 PyObject
* obj4
= 0 ;
5539 PyObject
* obj5
= 0 ;
5540 PyObject
* obj6
= 0 ;
5541 PyObject
* obj7
= 0 ;
5542 PyObject
* obj8
= 0 ;
5543 char * kwnames
[] = {
5544 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5550 arg1
= wxString_in_helper(obj0
);
5551 if (arg1
== NULL
) SWIG_fail
;
5557 arg2
= wxString_in_helper(obj1
);
5558 if (arg2
== NULL
) SWIG_fail
;
5564 arg3
= wxString_in_helper(obj2
);
5565 if (arg3
== NULL
) SWIG_fail
;
5571 arg4
= wxString_in_helper(obj3
);
5572 if (arg4
== NULL
) SWIG_fail
;
5578 arg5
= wxString_in_helper(obj4
);
5579 if (arg5
== NULL
) SWIG_fail
;
5584 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5585 if (!SWIG_IsOK(ecode6
)) {
5586 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5588 arg6
= static_cast< int >(val6
);
5591 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5592 if (!SWIG_IsOK(res7
)) {
5593 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5595 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5598 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5599 if (!SWIG_IsOK(ecode8
)) {
5600 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5602 arg8
= static_cast< int >(val8
);
5605 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5606 if (!SWIG_IsOK(ecode9
)) {
5607 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5609 arg9
= static_cast< int >(val9
);
5612 if (!wxPyCheckForApp()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5671 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
= 0;
5673 wxString
*arg1
= 0 ;
5674 wxString
*arg2
= 0 ;
5675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5677 wxWindow
*arg4
= (wxWindow
*) NULL
;
5679 bool temp1
= false ;
5680 bool temp2
= false ;
5681 bool temp3
= false ;
5684 PyObject
* obj0
= 0 ;
5685 PyObject
* obj1
= 0 ;
5686 PyObject
* obj2
= 0 ;
5687 PyObject
* obj3
= 0 ;
5688 char * kwnames
[] = {
5689 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5694 arg1
= wxString_in_helper(obj0
);
5695 if (arg1
== NULL
) SWIG_fail
;
5699 arg2
= wxString_in_helper(obj1
);
5700 if (arg2
== NULL
) SWIG_fail
;
5705 arg3
= wxString_in_helper(obj2
);
5706 if (arg3
== NULL
) SWIG_fail
;
5711 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5712 if (!SWIG_IsOK(res4
)) {
5713 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5715 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5718 if (!wxPyCheckForApp()) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5761 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
= 0;
5763 wxString
*arg1
= 0 ;
5764 wxString
*arg2
= 0 ;
5765 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5766 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5767 wxWindow
*arg4
= (wxWindow
*) NULL
;
5769 bool temp1
= false ;
5770 bool temp2
= false ;
5771 bool temp3
= false ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5776 PyObject
* obj2
= 0 ;
5777 PyObject
* obj3
= 0 ;
5778 char * kwnames
[] = {
5779 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5784 arg1
= wxString_in_helper(obj0
);
5785 if (arg1
== NULL
) SWIG_fail
;
5789 arg2
= wxString_in_helper(obj1
);
5790 if (arg2
== NULL
) SWIG_fail
;
5795 arg3
= wxString_in_helper(obj2
);
5796 if (arg3
== NULL
) SWIG_fail
;
5801 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5802 if (!SWIG_IsOK(res4
)) {
5803 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5805 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5808 if (!wxPyCheckForApp()) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5851 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
= 0;
5853 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5854 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5855 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5856 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5857 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5860 wxWindow
*arg5
= (wxWindow
*) NULL
;
5862 bool temp1
= false ;
5863 bool temp2
= false ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 PyObject
* obj2
= 0 ;
5872 PyObject
* obj3
= 0 ;
5873 PyObject
* obj4
= 0 ;
5874 char * kwnames
[] = {
5875 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5881 arg1
= wxString_in_helper(obj0
);
5882 if (arg1
== NULL
) SWIG_fail
;
5888 arg2
= wxString_in_helper(obj1
);
5889 if (arg2
== NULL
) SWIG_fail
;
5894 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5895 if (!SWIG_IsOK(ecode3
)) {
5896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5898 arg3
= static_cast< long >(val3
);
5903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5907 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5908 if (!SWIG_IsOK(res5
)) {
5909 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5911 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5914 if (!wxPyCheckForApp()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5949 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
= 0;
5951 wxString
*arg1
= 0 ;
5952 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5953 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5954 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5956 wxWindow
*arg4
= (wxWindow
*) NULL
;
5957 int arg5
= (int) -1 ;
5958 int arg6
= (int) -1 ;
5959 bool arg7
= (bool) true ;
5961 bool temp1
= false ;
5962 bool temp2
= false ;
5963 bool temp3
= false ;
5972 PyObject
* obj0
= 0 ;
5973 PyObject
* obj1
= 0 ;
5974 PyObject
* obj2
= 0 ;
5975 PyObject
* obj3
= 0 ;
5976 PyObject
* obj4
= 0 ;
5977 PyObject
* obj5
= 0 ;
5978 PyObject
* obj6
= 0 ;
5979 char * kwnames
[] = {
5980 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5985 arg1
= wxString_in_helper(obj0
);
5986 if (arg1
== NULL
) SWIG_fail
;
5991 arg2
= wxString_in_helper(obj1
);
5992 if (arg2
== NULL
) SWIG_fail
;
5998 arg3
= wxString_in_helper(obj2
);
5999 if (arg3
== NULL
) SWIG_fail
;
6004 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6005 if (!SWIG_IsOK(res4
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6008 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6012 if (!SWIG_IsOK(ecode5
)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6015 arg5
= static_cast< int >(val5
);
6018 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6019 if (!SWIG_IsOK(ecode6
)) {
6020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6022 arg6
= static_cast< int >(val6
);
6025 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6026 if (!SWIG_IsOK(ecode7
)) {
6027 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6029 arg7
= static_cast< bool >(val7
);
6032 if (!wxPyCheckForApp()) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6075 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxString
*arg1
= 0 ;
6078 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6079 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6080 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6081 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6082 wxWindow
*arg4
= (wxWindow
*) NULL
;
6084 bool temp1
= false ;
6085 bool temp2
= false ;
6086 bool temp3
= false ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6091 PyObject
* obj2
= 0 ;
6092 PyObject
* obj3
= 0 ;
6093 char * kwnames
[] = {
6094 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6099 arg1
= wxString_in_helper(obj0
);
6100 if (arg1
== NULL
) SWIG_fail
;
6105 arg2
= wxString_in_helper(obj1
);
6106 if (arg2
== NULL
) SWIG_fail
;
6112 arg3
= wxString_in_helper(obj2
);
6113 if (arg3
== NULL
) SWIG_fail
;
6118 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6119 if (!SWIG_IsOK(res4
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6122 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6125 if (!wxPyCheckForApp()) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6168 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
= 0;
6170 wxString
*arg1
= 0 ;
6171 wxString
*arg2
= 0 ;
6173 wxString
*arg4
= (wxString
*) 0 ;
6174 wxWindow
*arg5
= (wxWindow
*) NULL
;
6175 int arg6
= (int) -1 ;
6176 int arg7
= (int) -1 ;
6177 bool arg8
= (bool) true ;
6178 int arg9
= (int) 150 ;
6179 int arg10
= (int) 200 ;
6181 bool temp1
= false ;
6182 bool temp2
= false ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6197 PyObject
* obj2
= 0 ;
6198 PyObject
* obj3
= 0 ;
6199 PyObject
* obj4
= 0 ;
6200 PyObject
* obj5
= 0 ;
6201 PyObject
* obj6
= 0 ;
6202 PyObject
* obj7
= 0 ;
6203 PyObject
* obj8
= 0 ;
6204 char * kwnames
[] = {
6205 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6210 arg1
= wxString_in_helper(obj0
);
6211 if (arg1
== NULL
) SWIG_fail
;
6215 arg2
= wxString_in_helper(obj1
);
6216 if (arg2
== NULL
) SWIG_fail
;
6220 arg3
= PyList_Size(obj2
);
6221 arg4
= wxString_LIST_helper(obj2
);
6222 if (arg4
== NULL
) SWIG_fail
;
6225 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6226 if (!SWIG_IsOK(res5
)) {
6227 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6229 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6232 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6233 if (!SWIG_IsOK(ecode6
)) {
6234 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6236 arg6
= static_cast< int >(val6
);
6239 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6240 if (!SWIG_IsOK(ecode7
)) {
6241 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6243 arg7
= static_cast< int >(val7
);
6246 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6247 if (!SWIG_IsOK(ecode8
)) {
6248 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6250 arg8
= static_cast< bool >(val8
);
6253 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6254 if (!SWIG_IsOK(ecode9
)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6257 arg9
= static_cast< int >(val9
);
6260 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6261 if (!SWIG_IsOK(ecode10
)) {
6262 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6264 arg10
= static_cast< int >(val10
);
6267 if (!wxPyCheckForApp()) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6289 if (arg4
) delete [] arg4
;
6302 if (arg4
) delete [] arg4
;
6308 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxString
*arg1
= 0 ;
6311 wxString
*arg2
= 0 ;
6313 wxString
*arg4
= (wxString
*) 0 ;
6314 wxWindow
*arg5
= (wxWindow
*) NULL
;
6315 int arg6
= (int) -1 ;
6316 int arg7
= (int) -1 ;
6317 bool arg8
= (bool) true ;
6318 int arg9
= (int) 150 ;
6319 int arg10
= (int) 200 ;
6321 bool temp1
= false ;
6322 bool temp2
= false ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6337 PyObject
* obj2
= 0 ;
6338 PyObject
* obj3
= 0 ;
6339 PyObject
* obj4
= 0 ;
6340 PyObject
* obj5
= 0 ;
6341 PyObject
* obj6
= 0 ;
6342 PyObject
* obj7
= 0 ;
6343 PyObject
* obj8
= 0 ;
6344 char * kwnames
[] = {
6345 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6350 arg1
= wxString_in_helper(obj0
);
6351 if (arg1
== NULL
) SWIG_fail
;
6355 arg2
= wxString_in_helper(obj1
);
6356 if (arg2
== NULL
) SWIG_fail
;
6360 arg3
= PyList_Size(obj2
);
6361 arg4
= wxString_LIST_helper(obj2
);
6362 if (arg4
== NULL
) SWIG_fail
;
6365 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6366 if (!SWIG_IsOK(res5
)) {
6367 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6369 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6372 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6373 if (!SWIG_IsOK(ecode6
)) {
6374 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6376 arg6
= static_cast< int >(val6
);
6379 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6380 if (!SWIG_IsOK(ecode7
)) {
6381 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6383 arg7
= static_cast< int >(val7
);
6386 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6387 if (!SWIG_IsOK(ecode8
)) {
6388 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6390 arg8
= static_cast< bool >(val8
);
6393 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6394 if (!SWIG_IsOK(ecode9
)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6397 arg9
= static_cast< int >(val9
);
6400 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6401 if (!SWIG_IsOK(ecode10
)) {
6402 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6404 arg10
= static_cast< int >(val10
);
6407 if (!wxPyCheckForApp()) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_From_int(static_cast< int >(result
));
6423 if (arg4
) delete [] arg4
;
6436 if (arg4
) delete [] arg4
;
6442 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
= 0;
6444 wxString
*arg1
= 0 ;
6445 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6446 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6447 int arg3
= (int) wxOK
|wxCENTRE
;
6448 wxWindow
*arg4
= (wxWindow
*) NULL
;
6449 int arg5
= (int) -1 ;
6450 int arg6
= (int) -1 ;
6452 bool temp1
= false ;
6453 bool temp2
= false ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 PyObject
* obj2
= 0 ;
6465 PyObject
* obj3
= 0 ;
6466 PyObject
* obj4
= 0 ;
6467 PyObject
* obj5
= 0 ;
6468 char * kwnames
[] = {
6469 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6474 arg1
= wxString_in_helper(obj0
);
6475 if (arg1
== NULL
) SWIG_fail
;
6480 arg2
= wxString_in_helper(obj1
);
6481 if (arg2
== NULL
) SWIG_fail
;
6486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6487 if (!SWIG_IsOK(ecode3
)) {
6488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6490 arg3
= static_cast< int >(val3
);
6493 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6494 if (!SWIG_IsOK(res4
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6497 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6500 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6501 if (!SWIG_IsOK(ecode5
)) {
6502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6504 arg5
= static_cast< int >(val5
);
6507 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6508 if (!SWIG_IsOK(ecode6
)) {
6509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6511 arg6
= static_cast< int >(val6
);
6514 if (!wxPyCheckForApp()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_From_int(static_cast< int >(result
));
6543 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6544 PyObject
*resultobj
= 0;
6547 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6549 if (!wxPyCheckForApp()) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (bool)wxColourDisplay();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6564 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6565 PyObject
*resultobj
= 0;
6568 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6570 if (!wxPyCheckForApp()) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (int)wxDisplayDepth();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_From_int(static_cast< int >(result
));
6583 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6584 PyObject
*resultobj
= 0;
6587 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6589 if (!wxPyCheckForApp()) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (int)wxGetDisplayDepth();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_From_int(static_cast< int >(result
));
6602 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6603 PyObject
*resultobj
= 0;
6604 int *arg1
= (int *) 0 ;
6605 int *arg2
= (int *) 0 ;
6607 int res1
= SWIG_TMPOBJ
;
6609 int res2
= SWIG_TMPOBJ
;
6613 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6615 if (!wxPyCheckForApp()) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 wxDisplaySize(arg1
,arg2
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_Py_Void();
6622 if (SWIG_IsTmpObj(res1
)) {
6623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6625 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6628 if (SWIG_IsTmpObj(res2
)) {
6629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6631 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6640 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6641 PyObject
*resultobj
= 0;
6644 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6646 if (!wxPyCheckForApp()) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= wxGetDisplaySize();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6659 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6660 PyObject
*resultobj
= 0;
6661 int *arg1
= (int *) 0 ;
6662 int *arg2
= (int *) 0 ;
6664 int res1
= SWIG_TMPOBJ
;
6666 int res2
= SWIG_TMPOBJ
;
6670 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6672 if (!wxPyCheckForApp()) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 wxDisplaySizeMM(arg1
,arg2
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= SWIG_Py_Void();
6679 if (SWIG_IsTmpObj(res1
)) {
6680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6682 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6685 if (SWIG_IsTmpObj(res2
)) {
6686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6688 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6697 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6698 PyObject
*resultobj
= 0;
6701 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6703 if (!wxPyCheckForApp()) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= wxGetDisplaySizeMM();
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6716 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6717 PyObject
*resultobj
= 0;
6718 int *arg1
= (int *) 0 ;
6719 int *arg2
= (int *) 0 ;
6720 int *arg3
= (int *) 0 ;
6721 int *arg4
= (int *) 0 ;
6723 int res1
= SWIG_TMPOBJ
;
6725 int res2
= SWIG_TMPOBJ
;
6727 int res3
= SWIG_TMPOBJ
;
6729 int res4
= SWIG_TMPOBJ
;
6735 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6737 if (!wxPyCheckForApp()) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_Py_Void();
6744 if (SWIG_IsTmpObj(res1
)) {
6745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6747 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6750 if (SWIG_IsTmpObj(res2
)) {
6751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6753 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6756 if (SWIG_IsTmpObj(res3
)) {
6757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6759 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6762 if (SWIG_IsTmpObj(res4
)) {
6763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6765 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6774 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6775 PyObject
*resultobj
= 0;
6778 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6780 if (!wxPyCheckForApp()) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= wxGetClientDisplayRect();
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6793 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
= 0;
6795 wxCursor
*arg1
= 0 ;
6798 PyObject
* obj0
= 0 ;
6799 char * kwnames
[] = {
6800 (char *) "cursor", NULL
6803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6804 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6805 if (!SWIG_IsOK(res1
)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6811 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6813 if (!wxPyCheckForApp()) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_Py_Void();
6826 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6827 PyObject
*resultobj
= 0;
6830 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6832 if (!wxPyCheckForApp()) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (void *)wxGetXDisplay();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6845 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
= 0;
6847 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6850 PyObject
* obj0
= 0 ;
6851 char * kwnames
[] = {
6852 (char *) "cursor", NULL
6855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6858 if (!SWIG_IsOK(res1
)) {
6859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6861 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6864 if (!wxPyCheckForApp()) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 wxBeginBusyCursor(arg1
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_Py_Void();
6877 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6878 PyObject
*resultobj
= 0;
6881 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6883 if (!wxPyCheckForApp()) SWIG_fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= wxGetMousePosition();
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6896 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6897 PyObject
*resultobj
= 0;
6898 wxWindow
*result
= 0 ;
6900 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6902 if (!wxPyCheckForApp()) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (wxWindow
*)FindWindowAtPointer();
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= wxPyMake_wxObject(result
, 0);
6917 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6919 wxWindow
*result
= 0 ;
6921 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxWindow
*)wxGetActiveWindow();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= wxPyMake_wxObject(result
, 0);
6938 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
= 0;
6941 wxWindow
*result
= 0 ;
6943 PyObject
* obj0
= 0 ;
6944 char * kwnames
[] = {
6948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6951 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6954 if (!wxPyCheckForApp()) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= wxPyMake_wxObject(result
, 0);
6969 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
= 0;
6972 wxWindow
*result
= 0 ;
6974 PyObject
* obj0
= 0 ;
6975 char * kwnames
[] = {
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6982 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6985 if (!wxPyCheckForApp()) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= wxPyMake_wxObject(result
, 0);
7000 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
= 0;
7002 wxWindow
*arg1
= (wxWindow
*) 0 ;
7003 wxWindow
*result
= 0 ;
7006 PyObject
* obj0
= 0 ;
7007 char * kwnames
[] = {
7008 (char *) "win", NULL
7011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7013 if (!SWIG_IsOK(res1
)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7016 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7018 if (!wxPyCheckForApp()) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= wxPyMake_wxObject(result
, 0);
7033 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
= 0;
7035 wxString
*arg1
= 0 ;
7037 bool temp1
= false ;
7038 PyObject
* obj0
= 0 ;
7039 char * kwnames
[] = {
7040 (char *) "url", NULL
7043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7045 arg1
= wxString_in_helper(obj0
);
7046 if (arg1
== NULL
) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7072 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
= 0;
7078 PyObject
* obj0
= 0 ;
7079 char * kwnames
[] = {
7080 (char *) "key", NULL
7083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7085 if (!SWIG_IsOK(ecode1
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7088 arg1
= static_cast< wxKeyCode
>(val1
);
7090 if (!wxPyCheckForApp()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (bool)wxGetKeyState(arg1
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7105 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7106 PyObject
*resultobj
= 0;
7107 wxMouseState
*result
= 0 ;
7109 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (wxMouseState
*)new wxMouseState();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7123 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7124 PyObject
*resultobj
= 0;
7125 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7128 PyObject
*swig_obj
[1] ;
7130 if (!args
) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7136 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_Py_Void();
7151 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 PyObject
*resultobj
= 0;
7153 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7157 PyObject
*swig_obj
[1] ;
7159 if (!args
) SWIG_fail
;
7161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7162 if (!SWIG_IsOK(res1
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7165 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (int)(arg1
)->GetX();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_From_int(static_cast< int >(result
));
7179 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7180 PyObject
*resultobj
= 0;
7181 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7185 PyObject
*swig_obj
[1] ;
7187 if (!args
) SWIG_fail
;
7189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7190 if (!SWIG_IsOK(res1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7193 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (int)(arg1
)->GetY();
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= SWIG_From_int(static_cast< int >(result
));
7207 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7208 PyObject
*resultobj
= 0;
7209 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7213 PyObject
*swig_obj
[1] ;
7215 if (!args
) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7221 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (bool)(arg1
)->LeftDown();
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7237 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7238 PyObject
*resultobj
= 0;
7239 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7243 PyObject
*swig_obj
[1] ;
7245 if (!args
) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7251 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (bool)(arg1
)->MiddleDown();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7267 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7268 PyObject
*resultobj
= 0;
7269 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7273 PyObject
*swig_obj
[1] ;
7275 if (!args
) SWIG_fail
;
7277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7278 if (!SWIG_IsOK(res1
)) {
7279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7281 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 result
= (bool)(arg1
)->RightDown();
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7297 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7298 PyObject
*resultobj
= 0;
7299 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7303 PyObject
*swig_obj
[1] ;
7305 if (!args
) SWIG_fail
;
7307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7308 if (!SWIG_IsOK(res1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7311 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= (bool)(arg1
)->ControlDown();
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7327 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 PyObject
*resultobj
= 0;
7329 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7333 PyObject
*swig_obj
[1] ;
7335 if (!args
) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7341 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= (bool)(arg1
)->ShiftDown();
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7357 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 PyObject
*resultobj
= 0;
7359 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7363 PyObject
*swig_obj
[1] ;
7365 if (!args
) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7371 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (bool)(arg1
)->AltDown();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7387 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7388 PyObject
*resultobj
= 0;
7389 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7393 PyObject
*swig_obj
[1] ;
7395 if (!args
) SWIG_fail
;
7397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7398 if (!SWIG_IsOK(res1
)) {
7399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7401 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (bool)(arg1
)->MetaDown();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7417 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7418 PyObject
*resultobj
= 0;
7419 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7423 PyObject
*swig_obj
[1] ;
7425 if (!args
) SWIG_fail
;
7427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7428 if (!SWIG_IsOK(res1
)) {
7429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7431 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (bool)(arg1
)->CmdDown();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7447 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
= 0;
7449 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7455 PyObject
* obj0
= 0 ;
7456 PyObject
* obj1
= 0 ;
7457 char * kwnames
[] = {
7458 (char *) "self",(char *) "x", NULL
7461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7463 if (!SWIG_IsOK(res1
)) {
7464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7466 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7468 if (!SWIG_IsOK(ecode2
)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7471 arg2
= static_cast< int >(val2
);
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= SWIG_Py_Void();
7485 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
= 0;
7487 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "self",(char *) "y", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7504 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7506 if (!SWIG_IsOK(ecode2
)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7509 arg2
= static_cast< int >(val2
);
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_Py_Void();
7523 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
= 0;
7525 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7531 PyObject
* obj0
= 0 ;
7532 PyObject
* obj1
= 0 ;
7533 char * kwnames
[] = {
7534 (char *) "self",(char *) "down", NULL
7537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7539 if (!SWIG_IsOK(res1
)) {
7540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7542 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7543 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7544 if (!SWIG_IsOK(ecode2
)) {
7545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7547 arg2
= static_cast< bool >(val2
);
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 (arg1
)->SetLeftDown(arg2
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= SWIG_Py_Void();
7561 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
= 0;
7563 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7571 char * kwnames
[] = {
7572 (char *) "self",(char *) "down", NULL
7575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7577 if (!SWIG_IsOK(res1
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7580 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7581 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7582 if (!SWIG_IsOK(ecode2
)) {
7583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7585 arg2
= static_cast< bool >(val2
);
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 (arg1
)->SetMiddleDown(arg2
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= SWIG_Py_Void();
7599 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
= 0;
7601 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7609 char * kwnames
[] = {
7610 (char *) "self",(char *) "down", NULL
7613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7618 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7619 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7620 if (!SWIG_IsOK(ecode2
)) {
7621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7623 arg2
= static_cast< bool >(val2
);
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 (arg1
)->SetRightDown(arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_Py_Void();
7637 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
= 0;
7639 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7647 char * kwnames
[] = {
7648 (char *) "self",(char *) "down", NULL
7651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7653 if (!SWIG_IsOK(res1
)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7656 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7657 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7658 if (!SWIG_IsOK(ecode2
)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7661 arg2
= static_cast< bool >(val2
);
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->SetControlDown(arg2
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_Py_Void();
7675 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
= 0;
7677 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7685 char * kwnames
[] = {
7686 (char *) "self",(char *) "down", NULL
7689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7691 if (!SWIG_IsOK(res1
)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7694 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7695 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7696 if (!SWIG_IsOK(ecode2
)) {
7697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7699 arg2
= static_cast< bool >(val2
);
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 (arg1
)->SetShiftDown(arg2
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_Py_Void();
7713 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
= 0;
7715 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7722 PyObject
* obj1
= 0 ;
7723 char * kwnames
[] = {
7724 (char *) "self",(char *) "down", NULL
7727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7729 if (!SWIG_IsOK(res1
)) {
7730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7732 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7733 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7734 if (!SWIG_IsOK(ecode2
)) {
7735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7737 arg2
= static_cast< bool >(val2
);
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 (arg1
)->SetAltDown(arg2
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_Py_Void();
7751 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
= 0;
7753 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7760 PyObject
* obj1
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "self",(char *) "down", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7770 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7771 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7772 if (!SWIG_IsOK(ecode2
)) {
7773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7775 arg2
= static_cast< bool >(val2
);
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 (arg1
)->SetMetaDown(arg2
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_Py_Void();
7789 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7793 return SWIG_Py_Void();
7796 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 return SWIG_Python_InitShadowInstance(args
);
7800 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 PyObject
*resultobj
= 0;
7802 wxMouseState result
;
7804 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= wxGetMouseState();
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7818 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7819 PyObject
*resultobj
= 0;
7821 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7823 if (!wxPyCheckForApp()) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 wxWakeUpMainThread();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= SWIG_Py_Void();
7836 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7837 PyObject
*resultobj
= 0;
7839 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7841 if (!wxPyCheckForApp()) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_Py_Void();
7854 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7855 PyObject
*resultobj
= 0;
7857 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7859 if (!wxPyCheckForApp()) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= SWIG_Py_Void();
7872 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7873 PyObject
*resultobj
= 0;
7874 wxMutexGuiLocker
*result
= 0 ;
7876 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7878 if (!wxPyCheckForApp()) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7891 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7892 PyObject
*resultobj
= 0;
7893 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7896 PyObject
*swig_obj
[1] ;
7898 if (!args
) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7904 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_Py_Void();
7919 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7922 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7923 return SWIG_Py_Void();
7926 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7927 return SWIG_Python_InitShadowInstance(args
);
7930 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7931 PyObject
*resultobj
= 0;
7934 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (bool)wxThread_IsMain();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7950 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
= 0;
7952 wxString
*arg1
= 0 ;
7953 wxToolTip
*result
= 0 ;
7954 bool temp1
= false ;
7955 PyObject
* obj0
= 0 ;
7956 char * kwnames
[] = {
7957 (char *) "tip", NULL
7960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7962 arg1
= wxString_in_helper(obj0
);
7963 if (arg1
== NULL
) SWIG_fail
;
7967 if (!wxPyCheckForApp()) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
7988 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7989 PyObject
*resultobj
= 0;
7990 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7993 PyObject
*swig_obj
[1] ;
7995 if (!args
) SWIG_fail
;
7997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
7998 if (!SWIG_IsOK(res1
)) {
7999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8001 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_Py_Void();
8016 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
= 0;
8018 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8019 wxString
*arg2
= 0 ;
8022 bool temp2
= false ;
8023 PyObject
* obj0
= 0 ;
8024 PyObject
* obj1
= 0 ;
8025 char * kwnames
[] = {
8026 (char *) "self",(char *) "tip", NULL
8029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8031 if (!SWIG_IsOK(res1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8034 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8036 arg2
= wxString_in_helper(obj1
);
8037 if (arg2
== NULL
) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 (arg1
)->SetTip((wxString
const &)*arg2
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_Py_Void();
8061 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8062 PyObject
*resultobj
= 0;
8063 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8067 PyObject
*swig_obj
[1] ;
8069 if (!args
) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8075 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 result
= (arg1
)->GetTip();
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8095 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8096 PyObject
*resultobj
= 0;
8097 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8098 wxWindow
*result
= 0 ;
8101 PyObject
*swig_obj
[1] ;
8103 if (!args
) SWIG_fail
;
8105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8106 if (!SWIG_IsOK(res1
)) {
8107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8109 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (wxWindow
*)(arg1
)->GetWindow();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= wxPyMake_wxObject(result
, 0);
8125 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
= 0;
8130 PyObject
* obj0
= 0 ;
8131 char * kwnames
[] = {
8132 (char *) "flag", NULL
8135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8136 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8137 if (!SWIG_IsOK(ecode1
)) {
8138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8140 arg1
= static_cast< bool >(val1
);
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 wxToolTip::Enable(arg1
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= SWIG_Py_Void();
8154 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
= 0;
8159 PyObject
* obj0
= 0 ;
8160 char * kwnames
[] = {
8161 (char *) "milliseconds", NULL
8164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8165 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8166 if (!SWIG_IsOK(ecode1
)) {
8167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8169 arg1
= static_cast< long >(val1
);
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 wxToolTip::SetDelay(arg1
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= SWIG_Py_Void();
8183 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8186 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8187 return SWIG_Py_Void();
8190 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8191 return SWIG_Python_InitShadowInstance(args
);
8194 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= 0;
8196 wxWindow
*arg1
= (wxWindow
*) 0 ;
8198 wxCaret
*result
= 0 ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8204 char * kwnames
[] = {
8205 (char *) "window",(char *) "size", NULL
8208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8219 if (!wxPyCheckForApp()) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8232 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8233 PyObject
*resultobj
= 0;
8234 wxCaret
*arg1
= (wxCaret
*) 0 ;
8237 PyObject
*swig_obj
[1] ;
8239 if (!args
) SWIG_fail
;
8241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8242 if (!SWIG_IsOK(res1
)) {
8243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8245 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= SWIG_Py_Void();
8260 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8261 PyObject
*resultobj
= 0;
8262 wxCaret
*arg1
= (wxCaret
*) 0 ;
8265 PyObject
*swig_obj
[1] ;
8267 if (!args
) SWIG_fail
;
8269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8270 if (!SWIG_IsOK(res1
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8273 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 wxCaret_Destroy(arg1
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= SWIG_Py_Void();
8287 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8288 PyObject
*resultobj
= 0;
8289 wxCaret
*arg1
= (wxCaret
*) 0 ;
8293 PyObject
*swig_obj
[1] ;
8295 if (!args
) SWIG_fail
;
8297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8298 if (!SWIG_IsOK(res1
)) {
8299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8301 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= (bool)(arg1
)->IsOk();
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8317 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8318 PyObject
*resultobj
= 0;
8319 wxCaret
*arg1
= (wxCaret
*) 0 ;
8323 PyObject
*swig_obj
[1] ;
8325 if (!args
) SWIG_fail
;
8327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8328 if (!SWIG_IsOK(res1
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8331 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (bool)(arg1
)->IsVisible();
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8347 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8348 PyObject
*resultobj
= 0;
8349 wxCaret
*arg1
= (wxCaret
*) 0 ;
8353 PyObject
*swig_obj
[1] ;
8355 if (!args
) SWIG_fail
;
8357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8358 if (!SWIG_IsOK(res1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8361 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (arg1
)->GetPosition();
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8375 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8376 PyObject
*resultobj
= 0;
8377 wxCaret
*arg1
= (wxCaret
*) 0 ;
8378 int *arg2
= (int *) 0 ;
8379 int *arg3
= (int *) 0 ;
8383 int res2
= SWIG_TMPOBJ
;
8385 int res3
= SWIG_TMPOBJ
;
8386 PyObject
*swig_obj
[1] ;
8390 if (!args
) SWIG_fail
;
8392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8393 if (!SWIG_IsOK(res1
)) {
8394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8396 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 (arg1
)->GetPosition(arg2
,arg3
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= SWIG_Py_Void();
8404 if (SWIG_IsTmpObj(res2
)) {
8405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8407 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8410 if (SWIG_IsTmpObj(res3
)) {
8411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8413 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8422 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8423 PyObject
*resultobj
= 0;
8424 wxCaret
*arg1
= (wxCaret
*) 0 ;
8428 PyObject
*swig_obj
[1] ;
8430 if (!args
) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8436 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (arg1
)->GetSize();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8450 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8451 PyObject
*resultobj
= 0;
8452 wxCaret
*arg1
= (wxCaret
*) 0 ;
8453 int *arg2
= (int *) 0 ;
8454 int *arg3
= (int *) 0 ;
8458 int res2
= SWIG_TMPOBJ
;
8460 int res3
= SWIG_TMPOBJ
;
8461 PyObject
*swig_obj
[1] ;
8465 if (!args
) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8471 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 (arg1
)->GetSize(arg2
,arg3
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= SWIG_Py_Void();
8479 if (SWIG_IsTmpObj(res2
)) {
8480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8482 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8485 if (SWIG_IsTmpObj(res3
)) {
8486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8488 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8497 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8498 PyObject
*resultobj
= 0;
8499 wxCaret
*arg1
= (wxCaret
*) 0 ;
8500 wxWindow
*result
= 0 ;
8503 PyObject
*swig_obj
[1] ;
8505 if (!args
) SWIG_fail
;
8507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8508 if (!SWIG_IsOK(res1
)) {
8509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8511 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (wxWindow
*)(arg1
)->GetWindow();
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= wxPyMake_wxObject(result
, 0);
8527 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
= 0;
8529 wxCaret
*arg1
= (wxCaret
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 char * kwnames
[] = {
8542 (char *) "self",(char *) "x",(char *) "y", NULL
8545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8550 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8552 if (!SWIG_IsOK(ecode2
)) {
8553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8555 arg2
= static_cast< int >(val2
);
8556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8557 if (!SWIG_IsOK(ecode3
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8560 arg3
= static_cast< int >(val3
);
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 (arg1
)->Move(arg2
,arg3
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= SWIG_Py_Void();
8574 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
= 0;
8576 wxCaret
*arg1
= (wxCaret
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8583 char * kwnames
[] = {
8584 (char *) "self",(char *) "pt", NULL
8587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8589 if (!SWIG_IsOK(res1
)) {
8590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8592 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 (arg1
)->Move((wxPoint
const &)*arg2
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_Py_Void();
8610 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
= 0;
8612 wxCaret
*arg1
= (wxCaret
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8623 PyObject
* obj2
= 0 ;
8624 char * kwnames
[] = {
8625 (char *) "self",(char *) "width",(char *) "height", NULL
8628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8630 if (!SWIG_IsOK(res1
)) {
8631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8633 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8635 if (!SWIG_IsOK(ecode2
)) {
8636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8638 arg2
= static_cast< int >(val2
);
8639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8640 if (!SWIG_IsOK(ecode3
)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8643 arg3
= static_cast< int >(val3
);
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 (arg1
)->SetSize(arg2
,arg3
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= SWIG_Py_Void();
8657 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
= 0;
8659 wxCaret
*arg1
= (wxCaret
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 char * kwnames
[] = {
8667 (char *) "self",(char *) "size", NULL
8670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8672 if (!SWIG_IsOK(res1
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8675 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8678 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 (arg1
)->SetSize((wxSize
const &)*arg2
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_Py_Void();
8693 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
= 0;
8695 wxCaret
*arg1
= (wxCaret
*) 0 ;
8696 int arg2
= (int) true ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 char * kwnames
[] = {
8704 (char *) "self",(char *) "show", NULL
8707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8709 if (!SWIG_IsOK(res1
)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8712 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8715 if (!SWIG_IsOK(ecode2
)) {
8716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8718 arg2
= static_cast< int >(val2
);
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_Py_Void();
8733 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8734 PyObject
*resultobj
= 0;
8735 wxCaret
*arg1
= (wxCaret
*) 0 ;
8738 PyObject
*swig_obj
[1] ;
8740 if (!args
) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8746 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_Py_Void();
8760 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8761 PyObject
*resultobj
= 0;
8764 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (int)wxCaret::GetBlinkTime();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_From_int(static_cast< int >(result
));
8778 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
= 0;
8783 PyObject
* obj0
= 0 ;
8784 char * kwnames
[] = {
8785 (char *) "milliseconds", NULL
8788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8789 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8790 if (!SWIG_IsOK(ecode1
)) {
8791 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8793 arg1
= static_cast< int >(val1
);
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 wxCaret::SetBlinkTime(arg1
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_Py_Void();
8807 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8810 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8811 return SWIG_Py_Void();
8814 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8815 return SWIG_Python_InitShadowInstance(args
);
8818 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
= 0;
8820 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8821 wxBusyCursor
*result
= 0 ;
8824 PyObject
* obj0
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "cursor", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8835 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8838 if (!wxPyCheckForApp()) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8851 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8852 PyObject
*resultobj
= 0;
8853 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8856 PyObject
*swig_obj
[1] ;
8858 if (!args
) SWIG_fail
;
8860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8861 if (!SWIG_IsOK(res1
)) {
8862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8864 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_Py_Void();
8879 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8882 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8883 return SWIG_Py_Void();
8886 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8887 return SWIG_Python_InitShadowInstance(args
);
8890 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
= 0;
8892 wxWindow
*arg1
= (wxWindow
*) NULL
;
8893 wxWindowDisabler
*result
= 0 ;
8896 PyObject
* obj0
= 0 ;
8897 char * kwnames
[] = {
8898 (char *) "winToSkip", NULL
8901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8904 if (!SWIG_IsOK(res1
)) {
8905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8910 if (!wxPyCheckForApp()) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8923 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8924 PyObject
*resultobj
= 0;
8925 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8928 PyObject
*swig_obj
[1] ;
8930 if (!args
) SWIG_fail
;
8932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8933 if (!SWIG_IsOK(res1
)) {
8934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8936 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= SWIG_Py_Void();
8951 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8954 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8955 return SWIG_Py_Void();
8958 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8959 return SWIG_Python_InitShadowInstance(args
);
8962 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
= 0;
8964 wxString
*arg1
= 0 ;
8965 wxBusyInfo
*result
= 0 ;
8966 bool temp1
= false ;
8967 PyObject
* obj0
= 0 ;
8968 char * kwnames
[] = {
8969 (char *) "message", NULL
8972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8974 arg1
= wxString_in_helper(obj0
);
8975 if (arg1
== NULL
) SWIG_fail
;
8979 if (!wxPyCheckForApp()) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9000 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9001 PyObject
*resultobj
= 0;
9002 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9005 PyObject
*swig_obj
[1] ;
9007 if (!args
) SWIG_fail
;
9009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9010 if (!SWIG_IsOK(res1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9013 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_Py_Void();
9028 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9031 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9032 return SWIG_Py_Void();
9035 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9036 return SWIG_Python_InitShadowInstance(args
);
9039 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9040 PyObject
*resultobj
= 0;
9041 wxStopWatch
*result
= 0 ;
9043 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 result
= (wxStopWatch
*)new wxStopWatch();
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9057 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
= 0;
9059 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9060 long arg2
= (long) 0 ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9067 char * kwnames
[] = {
9068 (char *) "self",(char *) "t0", NULL
9071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9073 if (!SWIG_IsOK(res1
)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9076 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9078 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9079 if (!SWIG_IsOK(ecode2
)) {
9080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9082 arg2
= static_cast< long >(val2
);
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->Start(arg2
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_Py_Void();
9097 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9098 PyObject
*resultobj
= 0;
9099 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9102 PyObject
*swig_obj
[1] ;
9104 if (!args
) SWIG_fail
;
9106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9107 if (!SWIG_IsOK(res1
)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9110 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_Py_Void();
9124 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9125 PyObject
*resultobj
= 0;
9126 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9129 PyObject
*swig_obj
[1] ;
9131 if (!args
) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9137 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_Py_Void();
9151 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9152 PyObject
*resultobj
= 0;
9153 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9157 PyObject
*swig_obj
[1] ;
9159 if (!args
) SWIG_fail
;
9161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9162 if (!SWIG_IsOK(res1
)) {
9163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9165 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_From_long(static_cast< long >(result
));
9179 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9182 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9183 return SWIG_Py_Void();
9186 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9187 return SWIG_Python_InitShadowInstance(args
);
9190 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
= 0;
9192 int arg1
= (int) 9 ;
9193 int arg2
= (int) wxID_FILE1
;
9194 wxFileHistory
*result
= 0 ;
9199 PyObject
* obj0
= 0 ;
9200 PyObject
* obj1
= 0 ;
9201 char * kwnames
[] = {
9202 (char *) "maxFiles",(char *) "idBase", NULL
9205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9207 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9208 if (!SWIG_IsOK(ecode1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9211 arg1
= static_cast< int >(val1
);
9214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9215 if (!SWIG_IsOK(ecode2
)) {
9216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9218 arg2
= static_cast< int >(val2
);
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9233 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9234 PyObject
*resultobj
= 0;
9235 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9238 PyObject
*swig_obj
[1] ;
9240 if (!args
) SWIG_fail
;
9242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9243 if (!SWIG_IsOK(res1
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9246 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= SWIG_Py_Void();
9261 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
= 0;
9263 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9264 wxString
*arg2
= 0 ;
9267 bool temp2
= false ;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9270 char * kwnames
[] = {
9271 (char *) "self",(char *) "file", NULL
9274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9276 if (!SWIG_IsOK(res1
)) {
9277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9279 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9281 arg2
= wxString_in_helper(obj1
);
9282 if (arg2
== NULL
) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_Py_Void();
9306 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
= 0;
9308 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9316 char * kwnames
[] = {
9317 (char *) "self",(char *) "i", NULL
9320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9325 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9327 if (!SWIG_IsOK(ecode2
)) {
9328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9330 arg2
= static_cast< int >(val2
);
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 (arg1
)->RemoveFileFromHistory(arg2
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_Py_Void();
9344 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9345 PyObject
*resultobj
= 0;
9346 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9350 PyObject
*swig_obj
[1] ;
9352 if (!args
) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9358 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_From_int(static_cast< int >(result
));
9372 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
= 0;
9374 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9375 wxMenu
*arg2
= (wxMenu
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "self",(char *) "menu", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9391 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9392 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9393 if (!SWIG_IsOK(res2
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9396 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 (arg1
)->UseMenu(arg2
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_Py_Void();
9410 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= 0;
9412 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9413 wxMenu
*arg2
= (wxMenu
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 char * kwnames
[] = {
9421 (char *) "self",(char *) "menu", NULL
9424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9429 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9431 if (!SWIG_IsOK(res2
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9434 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 (arg1
)->RemoveMenu(arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_Py_Void();
9448 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
= 0;
9450 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9451 wxConfigBase
*arg2
= 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 char * kwnames
[] = {
9459 (char *) "self",(char *) "config", NULL
9462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9464 if (!SWIG_IsOK(res1
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9467 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9469 if (!SWIG_IsOK(res2
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9475 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 (arg1
)->Load(*arg2
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_Py_Void();
9489 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
= 0;
9491 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9492 wxConfigBase
*arg2
= 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 char * kwnames
[] = {
9500 (char *) "self",(char *) "config", NULL
9503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9508 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9510 if (!SWIG_IsOK(res2
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9516 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 (arg1
)->Save(*arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_Py_Void();
9530 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9531 PyObject
*resultobj
= 0;
9532 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9535 PyObject
*swig_obj
[1] ;
9537 if (!args
) SWIG_fail
;
9539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9540 if (!SWIG_IsOK(res1
)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9543 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 (arg1
)->AddFilesToMenu();
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 resultobj
= SWIG_Py_Void();
9557 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
= 0;
9559 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9560 wxMenu
*arg2
= (wxMenu
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9567 char * kwnames
[] = {
9568 (char *) "self",(char *) "menu", NULL
9571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9576 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9578 if (!SWIG_IsOK(res2
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9581 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->AddFilesToMenu(arg2
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_Py_Void();
9595 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= 0;
9597 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9606 char * kwnames
[] = {
9607 (char *) "self",(char *) "i", NULL
9610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9612 if (!SWIG_IsOK(res1
)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9615 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9617 if (!SWIG_IsOK(ecode2
)) {
9618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9620 arg2
= static_cast< int >(val2
);
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9640 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9641 PyObject
*resultobj
= 0;
9642 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9646 PyObject
*swig_obj
[1] ;
9648 if (!args
) SWIG_fail
;
9650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9651 if (!SWIG_IsOK(res1
)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9654 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_From_int(static_cast< int >(result
));
9668 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9671 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9672 return SWIG_Py_Void();
9675 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9676 return SWIG_Python_InitShadowInstance(args
);
9679 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
= 0;
9681 wxString
*arg1
= 0 ;
9682 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9683 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9684 wxSingleInstanceChecker
*result
= 0 ;
9685 bool temp1
= false ;
9686 bool temp2
= false ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9689 char * kwnames
[] = {
9690 (char *) "name",(char *) "path", NULL
9693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9695 arg1
= wxString_in_helper(obj0
);
9696 if (arg1
== NULL
) SWIG_fail
;
9701 arg2
= wxString_in_helper(obj1
);
9702 if (arg2
== NULL
) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9735 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9736 PyObject
*resultobj
= 0;
9737 wxSingleInstanceChecker
*result
= 0 ;
9739 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9753 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9754 PyObject
*resultobj
= 0;
9755 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9758 PyObject
*swig_obj
[1] ;
9760 if (!args
) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9766 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= SWIG_Py_Void();
9781 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= 0;
9783 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9784 wxString
*arg2
= 0 ;
9785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9790 bool temp2
= false ;
9791 bool temp3
= false ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9794 PyObject
* obj2
= 0 ;
9795 char * kwnames
[] = {
9796 (char *) "self",(char *) "name",(char *) "path", NULL
9799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9801 if (!SWIG_IsOK(res1
)) {
9802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9804 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9806 arg2
= wxString_in_helper(obj1
);
9807 if (arg2
== NULL
) SWIG_fail
;
9812 arg3
= wxString_in_helper(obj2
);
9813 if (arg3
== NULL
) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9848 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9849 PyObject
*resultobj
= 0;
9850 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9854 PyObject
*swig_obj
[1] ;
9856 if (!args
) SWIG_fail
;
9858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9859 if (!SWIG_IsOK(res1
)) {
9860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9862 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9878 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9881 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9882 return SWIG_Py_Void();
9885 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9886 return SWIG_Python_InitShadowInstance(args
);
9889 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
= 0;
9891 wxWindow
*arg1
= (wxWindow
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 char * kwnames
[] = {
9901 (char *) "window",(char *) "dc", NULL
9904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9906 if (!SWIG_IsOK(res1
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9909 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9911 if (!SWIG_IsOK(res2
)) {
9912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9917 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9933 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9934 PyObject
*resultobj
= 0;
9935 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9938 PyObject
*swig_obj
[1] ;
9940 if (!args
) SWIG_fail
;
9942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9943 if (!SWIG_IsOK(res1
)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9946 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_Py_Void();
9961 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9962 PyObject
*resultobj
= 0;
9963 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9967 PyObject
*swig_obj
[1] ;
9969 if (!args
) SWIG_fail
;
9971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9972 if (!SWIG_IsOK(res1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9975 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= (arg1
)->GetTip();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9995 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9996 PyObject
*resultobj
= 0;
9997 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10001 PyObject
*swig_obj
[1] ;
10003 if (!args
) SWIG_fail
;
10004 swig_obj
[0] = args
;
10005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10006 if (!SWIG_IsOK(res1
)) {
10007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10009 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (size_t)(arg1
)->GetCurrentTip();
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10023 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
= 0;
10025 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10026 wxString
*arg2
= 0 ;
10030 bool temp2
= false ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 char * kwnames
[] = {
10034 (char *) "self",(char *) "tip", NULL
10037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10042 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10075 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10078 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10079 return SWIG_Py_Void();
10082 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
= 0;
10085 wxPyTipProvider
*result
= 0 ;
10088 PyObject
* obj0
= 0 ;
10089 char * kwnames
[] = {
10090 (char *) "currentTip", NULL
10093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10094 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10095 if (!SWIG_IsOK(ecode1
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10098 arg1
= static_cast< size_t >(val1
);
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10112 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
= 0;
10114 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10115 PyObject
*arg2
= (PyObject
*) 0 ;
10116 PyObject
*arg3
= (PyObject
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 PyObject
* obj2
= 0 ;
10122 char * kwnames
[] = {
10123 (char *) "self",(char *) "self",(char *) "_class", NULL
10126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10131 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_Py_Void();
10147 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10150 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10151 return SWIG_Py_Void();
10154 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 return SWIG_Python_InitShadowInstance(args
);
10158 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
= 0;
10160 wxWindow
*arg1
= (wxWindow
*) 0 ;
10161 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10162 bool arg3
= (bool) true ;
10170 PyObject
* obj0
= 0 ;
10171 PyObject
* obj1
= 0 ;
10172 PyObject
* obj2
= 0 ;
10173 char * kwnames
[] = {
10174 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10179 if (!SWIG_IsOK(res1
)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10182 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10184 if (!SWIG_IsOK(res2
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10187 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10189 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10190 if (!SWIG_IsOK(ecode3
)) {
10191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10193 arg3
= static_cast< bool >(val3
);
10196 if (!wxPyCheckForApp()) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10211 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
= 0;
10213 wxString
*arg1
= 0 ;
10215 wxTipProvider
*result
= 0 ;
10216 bool temp1
= false ;
10219 PyObject
* obj0
= 0 ;
10220 PyObject
* obj1
= 0 ;
10221 char * kwnames
[] = {
10222 (char *) "filename",(char *) "currentTip", NULL
10225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10227 arg1
= wxString_in_helper(obj0
);
10228 if (arg1
== NULL
) SWIG_fail
;
10231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10232 if (!SWIG_IsOK(ecode2
)) {
10233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10235 arg2
= static_cast< size_t >(val2
);
10237 if (!wxPyCheckForApp()) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10258 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
= 0;
10260 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10261 int arg2
= (int) wxID_ANY
;
10262 wxPyTimer
*result
= 0 ;
10267 PyObject
* obj0
= 0 ;
10268 PyObject
* obj1
= 0 ;
10269 char * kwnames
[] = {
10270 (char *) "owner",(char *) "id", NULL
10273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10279 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10283 if (!SWIG_IsOK(ecode2
)) {
10284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10286 arg2
= static_cast< int >(val2
);
10289 if (!wxPyCheckForApp()) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10302 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10303 PyObject
*resultobj
= 0;
10304 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10307 PyObject
*swig_obj
[1] ;
10309 if (!args
) SWIG_fail
;
10310 swig_obj
[0] = args
;
10311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10312 if (!SWIG_IsOK(res1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10315 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_Py_Void();
10330 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
= 0;
10332 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10333 PyObject
*arg2
= (PyObject
*) 0 ;
10334 PyObject
*arg3
= (PyObject
*) 0 ;
10335 int arg4
= (int) 1 ;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 PyObject
* obj2
= 0 ;
10343 PyObject
* obj3
= 0 ;
10344 char * kwnames
[] = {
10345 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10350 if (!SWIG_IsOK(res1
)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10353 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10358 if (!SWIG_IsOK(ecode4
)) {
10359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10361 arg4
= static_cast< int >(val4
);
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_Py_Void();
10376 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
= 0;
10378 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10379 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10380 int arg3
= (int) wxID_ANY
;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 PyObject
* obj2
= 0 ;
10390 char * kwnames
[] = {
10391 (char *) "self",(char *) "owner",(char *) "id", NULL
10394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10396 if (!SWIG_IsOK(res1
)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10399 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10401 if (!SWIG_IsOK(res2
)) {
10402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10404 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10407 if (!SWIG_IsOK(ecode3
)) {
10408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10410 arg3
= static_cast< int >(val3
);
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 (arg1
)->SetOwner(arg2
,arg3
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= SWIG_Py_Void();
10425 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10426 PyObject
*resultobj
= 0;
10427 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10428 wxEvtHandler
*result
= 0 ;
10431 PyObject
*swig_obj
[1] ;
10433 if (!args
) SWIG_fail
;
10434 swig_obj
[0] = args
;
10435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10436 if (!SWIG_IsOK(res1
)) {
10437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10439 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= wxPyMake_wxObject(result
, 0);
10455 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
= 0;
10457 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10458 int arg2
= (int) -1 ;
10459 bool arg3
= (bool) false ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 char * kwnames
[] = {
10471 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10476 if (!SWIG_IsOK(res1
)) {
10477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10479 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10482 if (!SWIG_IsOK(ecode2
)) {
10483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10485 arg2
= static_cast< int >(val2
);
10488 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10489 if (!SWIG_IsOK(ecode3
)) {
10490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10492 arg3
= static_cast< bool >(val3
);
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10509 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10510 PyObject
*resultobj
= 0;
10511 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10514 PyObject
*swig_obj
[1] ;
10516 if (!args
) SWIG_fail
;
10517 swig_obj
[0] = args
;
10518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10519 if (!SWIG_IsOK(res1
)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10522 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_Py_Void();
10536 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10537 PyObject
*resultobj
= 0;
10538 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10541 PyObject
*swig_obj
[1] ;
10543 if (!args
) SWIG_fail
;
10544 swig_obj
[0] = args
;
10545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10546 if (!SWIG_IsOK(res1
)) {
10547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10549 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= SWIG_Py_Void();
10563 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10564 PyObject
*resultobj
= 0;
10565 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10569 PyObject
*swig_obj
[1] ;
10571 if (!args
) SWIG_fail
;
10572 swig_obj
[0] = args
;
10573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10574 if (!SWIG_IsOK(res1
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10577 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10593 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10594 PyObject
*resultobj
= 0;
10595 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10599 PyObject
*swig_obj
[1] ;
10601 if (!args
) SWIG_fail
;
10602 swig_obj
[0] = args
;
10603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10604 if (!SWIG_IsOK(res1
)) {
10605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10607 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= SWIG_From_int(static_cast< int >(result
));
10621 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10622 PyObject
*resultobj
= 0;
10623 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10627 PyObject
*swig_obj
[1] ;
10629 if (!args
) SWIG_fail
;
10630 swig_obj
[0] = args
;
10631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10632 if (!SWIG_IsOK(res1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10635 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 resultobj
= SWIG_From_int(static_cast< int >(result
));
10649 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10650 PyObject
*resultobj
= 0;
10651 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10655 PyObject
*swig_obj
[1] ;
10657 if (!args
) SWIG_fail
;
10658 swig_obj
[0] = args
;
10659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10660 if (!SWIG_IsOK(res1
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10663 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10679 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10683 return SWIG_Py_Void();
10686 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10687 return SWIG_Python_InitShadowInstance(args
);
10690 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
= 0;
10692 int arg1
= (int) 0 ;
10693 int arg2
= (int) 0 ;
10694 wxTimerEvent
*result
= 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 char * kwnames
[] = {
10702 (char *) "timerid",(char *) "interval", NULL
10705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10707 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10708 if (!SWIG_IsOK(ecode1
)) {
10709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10711 arg1
= static_cast< int >(val1
);
10714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10715 if (!SWIG_IsOK(ecode2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10718 arg2
= static_cast< int >(val2
);
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10733 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10734 PyObject
*resultobj
= 0;
10735 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10739 PyObject
*swig_obj
[1] ;
10741 if (!args
) SWIG_fail
;
10742 swig_obj
[0] = args
;
10743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10744 if (!SWIG_IsOK(res1
)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10747 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= SWIG_From_int(static_cast< int >(result
));
10761 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10764 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10765 return SWIG_Py_Void();
10768 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10769 return SWIG_Python_InitShadowInstance(args
);
10772 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10773 PyObject
*resultobj
= 0;
10774 wxTimer
*arg1
= 0 ;
10775 wxTimerRunner
*result
= 0 ;
10779 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10781 if (!SWIG_IsOK(res1
)) {
10782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10787 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10789 if (!wxPyCheckForApp()) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10802 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10803 PyObject
*resultobj
= 0;
10804 wxTimer
*arg1
= 0 ;
10806 bool arg3
= (bool) false ;
10807 wxTimerRunner
*result
= 0 ;
10815 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10817 if (!SWIG_IsOK(res1
)) {
10818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10823 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10824 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10825 if (!SWIG_IsOK(ecode2
)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10828 arg2
= static_cast< int >(val2
);
10830 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10831 if (!SWIG_IsOK(ecode3
)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10834 arg3
= static_cast< bool >(val3
);
10837 if (!wxPyCheckForApp()) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10850 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10854 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10857 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10859 if ((argc
>= 2) && (argc
<= 3)) {
10860 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10864 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10869 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10870 PyObject
*resultobj
= 0;
10871 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10874 PyObject
*swig_obj
[1] ;
10876 if (!args
) SWIG_fail
;
10877 swig_obj
[0] = args
;
10878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10882 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= SWIG_Py_Void();
10897 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
= 0;
10899 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10901 bool arg3
= (bool) false ;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 PyObject
* obj2
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10920 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10925 arg2
= static_cast< int >(val2
);
10927 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10928 if (!SWIG_IsOK(ecode3
)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10931 arg3
= static_cast< bool >(val3
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->Start(arg2
,arg3
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_Py_Void();
10946 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10949 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10950 return SWIG_Py_Void();
10953 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10954 return SWIG_Python_InitShadowInstance(args
);
10957 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10958 PyObject
*resultobj
= 0;
10959 wxLog
*result
= 0 ;
10961 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (wxLog
*)new wxLog();
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10975 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10976 PyObject
*resultobj
= 0;
10977 wxLog
*arg1
= (wxLog
*) 0 ;
10980 PyObject
*swig_obj
[1] ;
10982 if (!args
) SWIG_fail
;
10983 swig_obj
[0] = args
;
10984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
10985 if (!SWIG_IsOK(res1
)) {
10986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
10988 arg1
= reinterpret_cast< wxLog
* >(argp1
);
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= SWIG_Py_Void();
11003 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11004 PyObject
*resultobj
= 0;
11007 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)wxLog::IsEnabled();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
= 0;
11025 bool arg1
= (bool) true ;
11029 PyObject
* obj0
= 0 ;
11030 char * kwnames
[] = {
11031 (char *) "doIt", NULL
11034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11036 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11037 if (!SWIG_IsOK(ecode1
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11040 arg1
= static_cast< bool >(val1
);
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (bool)wxLog::EnableLogging(arg1
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11057 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
= 0;
11060 wxChar
*arg2
= (wxChar
*) 0 ;
11062 unsigned long val1
;
11066 unsigned int val3
;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 char * kwnames
[] = {
11072 (char *) "level",(char *) "szString",(char *) "t", NULL
11075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11076 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11077 if (!SWIG_IsOK(ecode1
)) {
11078 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11080 arg1
= static_cast< wxLogLevel
>(val1
);
11081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11082 if (!SWIG_IsOK(res2
)) {
11083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11085 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11086 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11087 if (!SWIG_IsOK(ecode3
)) {
11088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11090 arg3
= static_cast< time_t >(val3
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_Py_Void();
11104 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11105 PyObject
*resultobj
= 0;
11106 wxLog
*arg1
= (wxLog
*) 0 ;
11109 PyObject
*swig_obj
[1] ;
11111 if (!args
) SWIG_fail
;
11112 swig_obj
[0] = args
;
11113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11114 if (!SWIG_IsOK(res1
)) {
11115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11117 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= SWIG_Py_Void();
11131 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11132 PyObject
*resultobj
= 0;
11134 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 wxLog::FlushActive();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_Py_Void();
11148 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11149 PyObject
*resultobj
= 0;
11150 wxLog
*result
= 0 ;
11152 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (wxLog
*)wxLog::GetActiveTarget();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11166 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
= 0;
11168 wxLog
*arg1
= (wxLog
*) 0 ;
11169 wxLog
*result
= 0 ;
11171 PyObject
* obj0
= 0 ;
11172 char * kwnames
[] = {
11173 (char *) "pLogger", NULL
11176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11177 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11178 if (!SWIG_IsOK(res1
)) {
11179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11194 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11195 PyObject
*resultobj
= 0;
11197 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_Py_Void();
11211 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11212 PyObject
*resultobj
= 0;
11214 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= SWIG_Py_Void();
11228 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
= 0;
11230 bool arg1
= (bool) true ;
11233 PyObject
* obj0
= 0 ;
11234 char * kwnames
[] = {
11235 (char *) "bVerbose", NULL
11238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11240 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11241 if (!SWIG_IsOK(ecode1
)) {
11242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11244 arg1
= static_cast< bool >(val1
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 wxLog::SetVerbose(arg1
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_Py_Void();
11259 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= 0;
11262 unsigned long val1
;
11264 PyObject
* obj0
= 0 ;
11265 char * kwnames
[] = {
11266 (char *) "logLevel", NULL
11269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11270 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11271 if (!SWIG_IsOK(ecode1
)) {
11272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11274 arg1
= static_cast< wxLogLevel
>(val1
);
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 wxLog::SetLogLevel(arg1
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_Py_Void();
11288 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11289 PyObject
*resultobj
= 0;
11291 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 wxLog::DontCreateOnDemand();
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 resultobj
= SWIG_Py_Void();
11305 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
= 0;
11308 unsigned long val1
;
11310 PyObject
* obj0
= 0 ;
11311 char * kwnames
[] = {
11312 (char *) "ulMask", NULL
11315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11316 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11317 if (!SWIG_IsOK(ecode1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11320 arg1
= static_cast< wxTraceMask
>(val1
);
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 wxLog::SetTraceMask(arg1
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_Py_Void();
11334 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
= 0;
11336 wxString
*arg1
= 0 ;
11337 bool temp1
= false ;
11338 PyObject
* obj0
= 0 ;
11339 char * kwnames
[] = {
11340 (char *) "str", NULL
11343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11345 arg1
= wxString_in_helper(obj0
);
11346 if (arg1
== NULL
) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 wxLog::AddTraceMask((wxString
const &)*arg1
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= SWIG_Py_Void();
11370 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
= 0;
11372 wxString
*arg1
= 0 ;
11373 bool temp1
= false ;
11374 PyObject
* obj0
= 0 ;
11375 char * kwnames
[] = {
11376 (char *) "str", NULL
11379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11381 arg1
= wxString_in_helper(obj0
);
11382 if (arg1
== NULL
) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_Py_Void();
11406 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11407 PyObject
*resultobj
= 0;
11409 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 wxLog::ClearTraceMasks();
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= SWIG_Py_Void();
11423 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11424 PyObject
*resultobj
= 0;
11425 wxArrayString
*result
= 0 ;
11427 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11432 result
= (wxArrayString
*) &_result_ref
;
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= wxArrayString2PyList_helper(*result
);
11446 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
= 0;
11448 wxChar
*arg1
= (wxChar
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 char * kwnames
[] = {
11453 (char *) "ts", NULL
11456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11458 if (!SWIG_IsOK(res1
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11461 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 wxLog::SetTimestamp((wxChar
const *)arg1
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_Py_Void();
11475 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11476 PyObject
*resultobj
= 0;
11479 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (bool)wxLog::GetVerbose();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11495 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 PyObject
*resultobj
= 0;
11497 wxTraceMask result
;
11499 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (wxTraceMask
)wxLog::GetTraceMask();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11513 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
= 0;
11515 wxChar
*arg1
= (wxChar
*) 0 ;
11519 PyObject
* obj0
= 0 ;
11520 char * kwnames
[] = {
11521 (char *) "mask", NULL
11524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11526 if (!SWIG_IsOK(res1
)) {
11527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11529 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11545 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11546 PyObject
*resultobj
= 0;
11549 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (wxLogLevel
)wxLog::GetLogLevel();
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11563 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11564 PyObject
*resultobj
= 0;
11565 wxChar
*result
= 0 ;
11567 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (wxChar
*)wxLog::GetTimestamp();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11581 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11582 PyObject
*resultobj
= 0;
11585 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= wxLog_TimeStamp();
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11605 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11606 PyObject
*resultobj
= 0;
11607 wxLog
*arg1
= (wxLog
*) 0 ;
11610 PyObject
*swig_obj
[1] ;
11612 if (!args
) SWIG_fail
;
11613 swig_obj
[0] = args
;
11614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11615 if (!SWIG_IsOK(res1
)) {
11616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11618 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 wxLog_Destroy(arg1
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= SWIG_Py_Void();
11632 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11635 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11636 return SWIG_Py_Void();
11639 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11640 return SWIG_Python_InitShadowInstance(args
);
11643 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11644 PyObject
*resultobj
= 0;
11645 wxLogStderr
*result
= 0 ;
11647 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (wxLogStderr
*)new wxLogStderr();
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11661 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11664 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11665 return SWIG_Py_Void();
11668 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11669 return SWIG_Python_InitShadowInstance(args
);
11672 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
= 0;
11674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11675 wxLogTextCtrl
*result
= 0 ;
11678 PyObject
* obj0
= 0 ;
11679 char * kwnames
[] = {
11680 (char *) "pTextCtrl", NULL
11683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11685 if (!SWIG_IsOK(res1
)) {
11686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11688 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11702 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11705 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11706 return SWIG_Py_Void();
11709 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 return SWIG_Python_InitShadowInstance(args
);
11713 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11714 PyObject
*resultobj
= 0;
11715 wxLogGui
*result
= 0 ;
11717 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (wxLogGui
*)new wxLogGui();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11731 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11734 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11735 return SWIG_Py_Void();
11738 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11739 return SWIG_Python_InitShadowInstance(args
);
11742 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
= 0;
11744 wxFrame
*arg1
= (wxFrame
*) 0 ;
11745 wxString
*arg2
= 0 ;
11746 bool arg3
= (bool) true ;
11747 bool arg4
= (bool) true ;
11748 wxLogWindow
*result
= 0 ;
11751 bool temp2
= false ;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 PyObject
* obj2
= 0 ;
11759 PyObject
* obj3
= 0 ;
11760 char * kwnames
[] = {
11761 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11766 if (!SWIG_IsOK(res1
)) {
11767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11769 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11771 arg2
= wxString_in_helper(obj1
);
11772 if (arg2
== NULL
) SWIG_fail
;
11776 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11777 if (!SWIG_IsOK(ecode3
)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11780 arg3
= static_cast< bool >(val3
);
11783 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11784 if (!SWIG_IsOK(ecode4
)) {
11785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11787 arg4
= static_cast< bool >(val4
);
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11810 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
= 0;
11812 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11813 bool arg2
= (bool) true ;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 char * kwnames
[] = {
11821 (char *) "self",(char *) "bShow", NULL
11824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11826 if (!SWIG_IsOK(res1
)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11829 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11831 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11832 if (!SWIG_IsOK(ecode2
)) {
11833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11835 arg2
= static_cast< bool >(val2
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 (arg1
)->Show(arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_Py_Void();
11850 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11851 PyObject
*resultobj
= 0;
11852 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11853 wxFrame
*result
= 0 ;
11856 PyObject
*swig_obj
[1] ;
11858 if (!args
) SWIG_fail
;
11859 swig_obj
[0] = args
;
11860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11861 if (!SWIG_IsOK(res1
)) {
11862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11864 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11880 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11881 PyObject
*resultobj
= 0;
11882 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11883 wxLog
*result
= 0 ;
11886 PyObject
*swig_obj
[1] ;
11888 if (!args
) SWIG_fail
;
11889 swig_obj
[0] = args
;
11890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11891 if (!SWIG_IsOK(res1
)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11894 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11908 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11909 PyObject
*resultobj
= 0;
11910 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11914 PyObject
*swig_obj
[1] ;
11916 if (!args
) SWIG_fail
;
11917 swig_obj
[0] = args
;
11918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11919 if (!SWIG_IsOK(res1
)) {
11920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11922 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11938 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
= 0;
11940 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char * kwnames
[] = {
11949 (char *) "self",(char *) "bDoPass", NULL
11952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11957 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11958 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11959 if (!SWIG_IsOK(ecode2
)) {
11960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11962 arg2
= static_cast< bool >(val2
);
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->PassMessages(arg2
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_Py_Void();
11976 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11979 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11980 return SWIG_Py_Void();
11983 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11984 return SWIG_Python_InitShadowInstance(args
);
11987 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxLog
*arg1
= (wxLog
*) 0 ;
11990 wxLogChain
*result
= 0 ;
11993 PyObject
* obj0
= 0 ;
11994 char * kwnames
[] = {
11995 (char *) "logger", NULL
11998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
11999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12000 if (!SWIG_IsOK(res1
)) {
12001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12003 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (wxLogChain
*)new wxLogChain(arg1
);
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12017 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
= 0;
12019 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12020 wxLog
*arg2
= (wxLog
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 char * kwnames
[] = {
12028 (char *) "self",(char *) "logger", NULL
12031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12033 if (!SWIG_IsOK(res1
)) {
12034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12036 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12038 if (!SWIG_IsOK(res2
)) {
12039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12041 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 (arg1
)->SetLog(arg2
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= SWIG_Py_Void();
12055 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
= 0;
12057 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12063 PyObject
* obj0
= 0 ;
12064 PyObject
* obj1
= 0 ;
12065 char * kwnames
[] = {
12066 (char *) "self",(char *) "bDoPass", NULL
12069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12074 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12075 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12076 if (!SWIG_IsOK(ecode2
)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12079 arg2
= static_cast< bool >(val2
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 (arg1
)->PassMessages(arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_Py_Void();
12093 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12094 PyObject
*resultobj
= 0;
12095 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12099 PyObject
*swig_obj
[1] ;
12101 if (!args
) SWIG_fail
;
12102 swig_obj
[0] = args
;
12103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12104 if (!SWIG_IsOK(res1
)) {
12105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12107 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (bool)(arg1
)->IsPassingMessages();
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12123 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12124 PyObject
*resultobj
= 0;
12125 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12126 wxLog
*result
= 0 ;
12129 PyObject
*swig_obj
[1] ;
12131 if (!args
) SWIG_fail
;
12132 swig_obj
[0] = args
;
12133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12134 if (!SWIG_IsOK(res1
)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12137 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (wxLog
*)(arg1
)->GetOldLog();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12151 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12154 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12155 return SWIG_Py_Void();
12158 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12159 return SWIG_Python_InitShadowInstance(args
);
12162 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxLogBuffer
*result
= 0 ;
12166 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (wxLogBuffer
*)new wxLogBuffer();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12180 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12181 PyObject
*resultobj
= 0;
12182 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12183 wxString
*result
= 0 ;
12186 PyObject
*swig_obj
[1] ;
12188 if (!args
) SWIG_fail
;
12189 swig_obj
[0] = args
;
12190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12191 if (!SWIG_IsOK(res1
)) {
12192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12194 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12199 result
= (wxString
*) &_result_ref
;
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12208 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12217 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12220 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12221 return SWIG_Py_Void();
12224 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12225 return SWIG_Python_InitShadowInstance(args
);
12228 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 PyObject
*resultobj
= 0;
12230 unsigned long result
;
12232 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (unsigned long)wxSysErrorCode();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12246 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
= 0;
12248 unsigned long arg1
= (unsigned long) 0 ;
12250 unsigned long val1
;
12252 PyObject
* obj0
= 0 ;
12253 char * kwnames
[] = {
12254 (char *) "nErrCode", NULL
12257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12259 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12260 if (!SWIG_IsOK(ecode1
)) {
12261 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12263 arg1
= static_cast< unsigned long >(val1
);
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= wxSysErrorMsg(arg1
);
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12284 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
= 0;
12286 wxString
*arg1
= 0 ;
12287 bool temp1
= false ;
12288 PyObject
* obj0
= 0 ;
12289 char * kwnames
[] = {
12290 (char *) "msg", NULL
12293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12295 arg1
= wxString_in_helper(obj0
);
12296 if (arg1
== NULL
) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 wxPyLogFatalError((wxString
const &)*arg1
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_Py_Void();
12320 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
= 0;
12322 wxString
*arg1
= 0 ;
12323 bool temp1
= false ;
12324 PyObject
* obj0
= 0 ;
12325 char * kwnames
[] = {
12326 (char *) "msg", NULL
12329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12331 arg1
= wxString_in_helper(obj0
);
12332 if (arg1
== NULL
) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 wxPyLogError((wxString
const &)*arg1
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_Py_Void();
12356 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
= 0;
12358 wxString
*arg1
= 0 ;
12359 bool temp1
= false ;
12360 PyObject
* obj0
= 0 ;
12361 char * kwnames
[] = {
12362 (char *) "msg", NULL
12365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12367 arg1
= wxString_in_helper(obj0
);
12368 if (arg1
== NULL
) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 wxPyLogWarning((wxString
const &)*arg1
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_Py_Void();
12392 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
= 0;
12394 wxString
*arg1
= 0 ;
12395 bool temp1
= false ;
12396 PyObject
* obj0
= 0 ;
12397 char * kwnames
[] = {
12398 (char *) "msg", NULL
12401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12403 arg1
= wxString_in_helper(obj0
);
12404 if (arg1
== NULL
) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 wxPyLogMessage((wxString
const &)*arg1
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_Py_Void();
12428 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
= 0;
12430 wxString
*arg1
= 0 ;
12431 bool temp1
= false ;
12432 PyObject
* obj0
= 0 ;
12433 char * kwnames
[] = {
12434 (char *) "msg", NULL
12437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12439 arg1
= wxString_in_helper(obj0
);
12440 if (arg1
== NULL
) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 wxPyLogInfo((wxString
const &)*arg1
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_Py_Void();
12464 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
= 0;
12466 wxString
*arg1
= 0 ;
12467 bool temp1
= false ;
12468 PyObject
* obj0
= 0 ;
12469 char * kwnames
[] = {
12470 (char *) "msg", NULL
12473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12475 arg1
= wxString_in_helper(obj0
);
12476 if (arg1
== NULL
) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 wxPyLogDebug((wxString
const &)*arg1
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_Py_Void();
12500 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
= 0;
12502 wxString
*arg1
= 0 ;
12503 bool temp1
= false ;
12504 PyObject
* obj0
= 0 ;
12505 char * kwnames
[] = {
12506 (char *) "msg", NULL
12509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12511 arg1
= wxString_in_helper(obj0
);
12512 if (arg1
== NULL
) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 wxPyLogVerbose((wxString
const &)*arg1
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= SWIG_Py_Void();
12536 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
= 0;
12538 wxString
*arg1
= 0 ;
12539 bool temp1
= false ;
12540 PyObject
* obj0
= 0 ;
12541 char * kwnames
[] = {
12542 (char *) "msg", NULL
12545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12547 arg1
= wxString_in_helper(obj0
);
12548 if (arg1
== NULL
) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 wxPyLogStatus((wxString
const &)*arg1
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= SWIG_Py_Void();
12572 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
= 0;
12574 wxFrame
*arg1
= (wxFrame
*) 0 ;
12575 wxString
*arg2
= 0 ;
12578 bool temp2
= false ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char * kwnames
[] = {
12582 (char *) "pFrame",(char *) "msg", NULL
12585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12587 if (!SWIG_IsOK(res1
)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12590 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12592 arg2
= wxString_in_helper(obj1
);
12593 if (arg2
== NULL
) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_Py_Void();
12617 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
= 0;
12619 wxString
*arg1
= 0 ;
12620 bool temp1
= false ;
12621 PyObject
* obj0
= 0 ;
12622 char * kwnames
[] = {
12623 (char *) "msg", NULL
12626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12628 arg1
= wxString_in_helper(obj0
);
12629 if (arg1
== NULL
) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 wxPyLogSysError((wxString
const &)*arg1
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12653 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
= 0;
12655 unsigned long arg1
;
12656 wxString
*arg2
= 0 ;
12657 unsigned long val1
;
12659 bool temp2
= false ;
12660 PyObject
* obj0
= 0 ;
12661 PyObject
* obj1
= 0 ;
12662 char * kwnames
[] = {
12663 (char *) "level",(char *) "msg", NULL
12666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12667 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12668 if (!SWIG_IsOK(ecode1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12671 arg1
= static_cast< unsigned long >(val1
);
12673 arg2
= wxString_in_helper(obj1
);
12674 if (arg2
== NULL
) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= SWIG_Py_Void();
12698 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12699 PyObject
*resultobj
= 0;
12700 unsigned long arg1
;
12701 wxString
*arg2
= 0 ;
12702 unsigned long val1
;
12704 bool temp2
= false ;
12706 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12707 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12708 if (!SWIG_IsOK(ecode1
)) {
12709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12711 arg1
= static_cast< unsigned long >(val1
);
12713 arg2
= wxString_in_helper(swig_obj
[1]);
12714 if (arg2
== NULL
) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_Py_Void();
12738 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12739 PyObject
*resultobj
= 0;
12740 wxString
*arg1
= 0 ;
12741 wxString
*arg2
= 0 ;
12742 bool temp1
= false ;
12743 bool temp2
= false ;
12745 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12747 arg1
= wxString_in_helper(swig_obj
[0]);
12748 if (arg1
== NULL
) SWIG_fail
;
12752 arg2
= wxString_in_helper(swig_obj
[1]);
12753 if (arg2
== NULL
) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_Py_Void();
12785 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12789 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12795 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12798 if (!_v
) goto check_1
;
12799 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12804 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12808 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12813 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
= 0;
12815 wxString
*arg1
= 0 ;
12816 wxString
*arg2
= 0 ;
12817 bool temp1
= false ;
12818 bool temp2
= false ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 char * kwnames
[] = {
12822 (char *) "title",(char *) "text", NULL
12825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12827 arg1
= wxString_in_helper(obj0
);
12828 if (arg1
== NULL
) SWIG_fail
;
12832 arg2
= wxString_in_helper(obj1
);
12833 if (arg2
== NULL
) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= SWIG_Py_Void();
12865 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12866 PyObject
*resultobj
= 0;
12867 wxLogNull
*result
= 0 ;
12869 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (wxLogNull
*)new wxLogNull();
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12883 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12884 PyObject
*resultobj
= 0;
12885 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12888 PyObject
*swig_obj
[1] ;
12890 if (!args
) SWIG_fail
;
12891 swig_obj
[0] = args
;
12892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12893 if (!SWIG_IsOK(res1
)) {
12894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12896 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= SWIG_Py_Void();
12911 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12914 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12915 return SWIG_Py_Void();
12918 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 return SWIG_Python_InitShadowInstance(args
);
12922 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12923 PyObject
*resultobj
= 0;
12924 wxPyLog
*result
= 0 ;
12926 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 result
= (wxPyLog
*)new wxPyLog();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12940 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
= 0;
12942 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12943 PyObject
*arg2
= (PyObject
*) 0 ;
12944 PyObject
*arg3
= (PyObject
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 PyObject
* obj2
= 0 ;
12950 char * kwnames
[] = {
12951 (char *) "self",(char *) "self",(char *) "_class", NULL
12954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12956 if (!SWIG_IsOK(res1
)) {
12957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12959 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_Py_Void();
12975 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12978 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12979 return SWIG_Py_Void();
12982 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12983 return SWIG_Python_InitShadowInstance(args
);
12986 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
= 0;
12989 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12990 int arg3
= (int) wxKILL_NOCHILDREN
;
12991 wxKillError result
;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 char * kwnames
[] = {
13002 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13006 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13007 if (!SWIG_IsOK(ecode1
)) {
13008 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13010 arg1
= static_cast< int >(val1
);
13012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13013 if (!SWIG_IsOK(ecode2
)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13016 arg2
= static_cast< wxSignal
>(val2
);
13019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13020 if (!SWIG_IsOK(ecode3
)) {
13021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13023 arg3
= static_cast< int >(val3
);
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= SWIG_From_int(static_cast< int >(result
));
13038 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
= 0;
13044 PyObject
* obj0
= 0 ;
13045 char * kwnames
[] = {
13046 (char *) "pid", NULL
13049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13051 if (!SWIG_IsOK(ecode1
)) {
13052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13054 arg1
= static_cast< int >(val1
);
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (bool)wxPyProcess::Exists(arg1
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13070 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
= 0;
13072 wxString
*arg1
= 0 ;
13073 int arg2
= (int) wxEXEC_ASYNC
;
13074 wxPyProcess
*result
= 0 ;
13075 bool temp1
= false ;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 char * kwnames
[] = {
13081 (char *) "cmd",(char *) "flags", NULL
13084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13086 arg1
= wxString_in_helper(obj0
);
13087 if (arg1
== NULL
) SWIG_fail
;
13091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13092 if (!SWIG_IsOK(ecode2
)) {
13093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13095 arg2
= static_cast< int >(val2
);
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13118 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13121 int arg2
= (int) -1 ;
13122 wxPyProcess
*result
= 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char * kwnames
[] = {
13130 (char *) "parent",(char *) "id", NULL
13133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13136 if (!SWIG_IsOK(res1
)) {
13137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13139 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13143 if (!SWIG_IsOK(ecode2
)) {
13144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13146 arg2
= static_cast< int >(val2
);
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13161 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
= 0;
13163 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13164 PyObject
*arg2
= (PyObject
*) 0 ;
13165 PyObject
*arg3
= (PyObject
*) 0 ;
13168 PyObject
* obj0
= 0 ;
13169 PyObject
* obj1
= 0 ;
13170 PyObject
* obj2
= 0 ;
13171 char * kwnames
[] = {
13172 (char *) "self",(char *) "self",(char *) "_class", NULL
13175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13177 if (!SWIG_IsOK(res1
)) {
13178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13180 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_Py_Void();
13196 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
= 0;
13198 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 PyObject
* obj2
= 0 ;
13210 char * kwnames
[] = {
13211 (char *) "self",(char *) "pid",(char *) "status", NULL
13214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13216 if (!SWIG_IsOK(res1
)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13219 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13221 if (!SWIG_IsOK(ecode2
)) {
13222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13224 arg2
= static_cast< int >(val2
);
13225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13226 if (!SWIG_IsOK(ecode3
)) {
13227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13229 arg3
= static_cast< int >(val3
);
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 (arg1
)->OnTerminate(arg2
,arg3
);
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= SWIG_Py_Void();
13243 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13244 PyObject
*resultobj
= 0;
13245 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13248 PyObject
*swig_obj
[1] ;
13250 if (!args
) SWIG_fail
;
13251 swig_obj
[0] = args
;
13252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13253 if (!SWIG_IsOK(res1
)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13256 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 (arg1
)->Redirect();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_Py_Void();
13270 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13271 PyObject
*resultobj
= 0;
13272 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13276 PyObject
*swig_obj
[1] ;
13278 if (!args
) SWIG_fail
;
13279 swig_obj
[0] = args
;
13280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13284 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (bool)(arg1
)->IsRedirected();
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13300 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13301 PyObject
*resultobj
= 0;
13302 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13305 PyObject
*swig_obj
[1] ;
13307 if (!args
) SWIG_fail
;
13308 swig_obj
[0] = args
;
13309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13310 if (!SWIG_IsOK(res1
)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13313 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_Py_Void();
13327 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 PyObject
*resultobj
= 0;
13329 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13330 wxInputStream
*result
= 0 ;
13333 PyObject
*swig_obj
[1] ;
13335 if (!args
) SWIG_fail
;
13336 swig_obj
[0] = args
;
13337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13338 if (!SWIG_IsOK(res1
)) {
13339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13341 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13349 wxPyInputStream
* _ptr
= NULL
;
13352 _ptr
= new wxPyInputStream(result
);
13354 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13362 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13363 PyObject
*resultobj
= 0;
13364 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13365 wxInputStream
*result
= 0 ;
13368 PyObject
*swig_obj
[1] ;
13370 if (!args
) SWIG_fail
;
13371 swig_obj
[0] = args
;
13372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13373 if (!SWIG_IsOK(res1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13376 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 wxPyInputStream
* _ptr
= NULL
;
13387 _ptr
= new wxPyInputStream(result
);
13389 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13397 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13398 PyObject
*resultobj
= 0;
13399 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13400 wxOutputStream
*result
= 0 ;
13403 PyObject
*swig_obj
[1] ;
13405 if (!args
) SWIG_fail
;
13406 swig_obj
[0] = args
;
13407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13408 if (!SWIG_IsOK(res1
)) {
13409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13411 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13425 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13426 PyObject
*resultobj
= 0;
13427 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13430 PyObject
*swig_obj
[1] ;
13432 if (!args
) SWIG_fail
;
13433 swig_obj
[0] = args
;
13434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13435 if (!SWIG_IsOK(res1
)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13438 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->CloseOutput();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_Py_Void();
13452 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13453 PyObject
*resultobj
= 0;
13454 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13458 PyObject
*swig_obj
[1] ;
13460 if (!args
) SWIG_fail
;
13461 swig_obj
[0] = args
;
13462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13463 if (!SWIG_IsOK(res1
)) {
13464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13466 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13482 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13483 PyObject
*resultobj
= 0;
13484 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13488 PyObject
*swig_obj
[1] ;
13490 if (!args
) SWIG_fail
;
13491 swig_obj
[0] = args
;
13492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13493 if (!SWIG_IsOK(res1
)) {
13494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13496 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13512 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 PyObject
*resultobj
= 0;
13514 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13518 PyObject
*swig_obj
[1] ;
13520 if (!args
) SWIG_fail
;
13521 swig_obj
[0] = args
;
13522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13526 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13542 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13546 return SWIG_Py_Void();
13549 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13550 return SWIG_Python_InitShadowInstance(args
);
13553 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
= 0;
13555 int arg1
= (int) 0 ;
13556 int arg2
= (int) 0 ;
13557 int arg3
= (int) 0 ;
13558 wxProcessEvent
*result
= 0 ;
13565 PyObject
* obj0
= 0 ;
13566 PyObject
* obj1
= 0 ;
13567 PyObject
* obj2
= 0 ;
13568 char * kwnames
[] = {
13569 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13574 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13575 if (!SWIG_IsOK(ecode1
)) {
13576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13578 arg1
= static_cast< int >(val1
);
13581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13582 if (!SWIG_IsOK(ecode2
)) {
13583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13585 arg2
= static_cast< int >(val2
);
13588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13589 if (!SWIG_IsOK(ecode3
)) {
13590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13592 arg3
= static_cast< int >(val3
);
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13607 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13608 PyObject
*resultobj
= 0;
13609 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13613 PyObject
*swig_obj
[1] ;
13615 if (!args
) SWIG_fail
;
13616 swig_obj
[0] = args
;
13617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13621 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (int)(arg1
)->GetPid();
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_From_int(static_cast< int >(result
));
13635 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13636 PyObject
*resultobj
= 0;
13637 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13641 PyObject
*swig_obj
[1] ;
13643 if (!args
) SWIG_fail
;
13644 swig_obj
[0] = args
;
13645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13646 if (!SWIG_IsOK(res1
)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13649 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (int)(arg1
)->GetExitCode();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_From_int(static_cast< int >(result
));
13663 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13664 PyObject
*resultobj
= 0;
13665 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13671 PyObject
*swig_obj
[2] ;
13673 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13678 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13679 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13680 if (!SWIG_IsOK(ecode2
)) {
13681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13683 arg2
= static_cast< int >(val2
);
13684 if (arg1
) (arg1
)->m_pid
= arg2
;
13686 resultobj
= SWIG_Py_Void();
13693 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13694 PyObject
*resultobj
= 0;
13695 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13699 PyObject
*swig_obj
[1] ;
13701 if (!args
) SWIG_fail
;
13702 swig_obj
[0] = args
;
13703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13707 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13708 result
= (int) ((arg1
)->m_pid
);
13709 resultobj
= SWIG_From_int(static_cast< int >(result
));
13716 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13717 PyObject
*resultobj
= 0;
13718 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13724 PyObject
*swig_obj
[2] ;
13726 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13728 if (!SWIG_IsOK(res1
)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13731 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13732 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13733 if (!SWIG_IsOK(ecode2
)) {
13734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13736 arg2
= static_cast< int >(val2
);
13737 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13739 resultobj
= SWIG_Py_Void();
13746 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13747 PyObject
*resultobj
= 0;
13748 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13752 PyObject
*swig_obj
[1] ;
13754 if (!args
) SWIG_fail
;
13755 swig_obj
[0] = args
;
13756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13757 if (!SWIG_IsOK(res1
)) {
13758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13760 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13761 result
= (int) ((arg1
)->m_exitcode
);
13762 resultobj
= SWIG_From_int(static_cast< int >(result
));
13769 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13772 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13773 return SWIG_Py_Void();
13776 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13777 return SWIG_Python_InitShadowInstance(args
);
13780 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
= 0;
13782 wxString
*arg1
= 0 ;
13783 int arg2
= (int) wxEXEC_ASYNC
;
13784 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13786 bool temp1
= false ;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 PyObject
* obj2
= 0 ;
13794 char * kwnames
[] = {
13795 (char *) "command",(char *) "flags",(char *) "process", NULL
13798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13800 arg1
= wxString_in_helper(obj0
);
13801 if (arg1
== NULL
) SWIG_fail
;
13805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13806 if (!SWIG_IsOK(ecode2
)) {
13807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13809 arg2
= static_cast< int >(val2
);
13812 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13813 if (!SWIG_IsOK(res3
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13816 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13819 if (!wxPyCheckForApp()) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= SWIG_From_long(static_cast< long >(result
));
13840 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
= 0;
13843 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13844 wxKillError
*arg3
= (wxKillError
*) 0 ;
13845 int arg4
= (int) wxKILL_NOCHILDREN
;
13851 wxKillError temp3
;
13854 PyObject
* obj0
= 0 ;
13855 PyObject
* obj1
= 0 ;
13856 PyObject
* obj2
= 0 ;
13857 char * kwnames
[] = {
13858 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13865 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13866 if (!SWIG_IsOK(ecode1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13869 arg1
= static_cast< long >(val1
);
13871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13872 if (!SWIG_IsOK(ecode2
)) {
13873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13875 arg2
= static_cast< wxSignal
>(val2
);
13878 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13879 if (!SWIG_IsOK(ecode4
)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13882 arg4
= static_cast< int >(val4
);
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= SWIG_From_int(static_cast< int >(result
));
13893 o
= PyInt_FromLong((long) (*arg3
));
13897 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13906 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
= 0;
13908 int arg1
= (int) wxJOYSTICK1
;
13909 wxJoystick
*result
= 0 ;
13912 PyObject
* obj0
= 0 ;
13913 char * kwnames
[] = {
13914 (char *) "joystick", NULL
13917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13920 if (!SWIG_IsOK(ecode1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13923 arg1
= static_cast< int >(val1
);
13926 if (!wxPyCheckForApp()) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (wxJoystick
*)new wxJoystick(arg1
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13939 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13940 PyObject
*resultobj
= 0;
13941 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13944 PyObject
*swig_obj
[1] ;
13946 if (!args
) SWIG_fail
;
13947 swig_obj
[0] = args
;
13948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13949 if (!SWIG_IsOK(res1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13952 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_Py_Void();
13967 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13968 PyObject
*resultobj
= 0;
13969 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13973 PyObject
*swig_obj
[1] ;
13975 if (!args
) SWIG_fail
;
13976 swig_obj
[0] = args
;
13977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13978 if (!SWIG_IsOK(res1
)) {
13979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13981 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (arg1
)->GetPosition();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
13995 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13996 PyObject
*resultobj
= 0;
13997 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14001 PyObject
*swig_obj
[1] ;
14003 if (!args
) SWIG_fail
;
14004 swig_obj
[0] = args
;
14005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14006 if (!SWIG_IsOK(res1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14009 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (int)(arg1
)->GetZPosition();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_From_int(static_cast< int >(result
));
14023 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14024 PyObject
*resultobj
= 0;
14025 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14029 PyObject
*swig_obj
[1] ;
14031 if (!args
) SWIG_fail
;
14032 swig_obj
[0] = args
;
14033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14034 if (!SWIG_IsOK(res1
)) {
14035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14037 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (int)(arg1
)->GetButtonState();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= SWIG_From_int(static_cast< int >(result
));
14051 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14052 PyObject
*resultobj
= 0;
14053 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14057 PyObject
*swig_obj
[1] ;
14059 if (!args
) SWIG_fail
;
14060 swig_obj
[0] = args
;
14061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14062 if (!SWIG_IsOK(res1
)) {
14063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14065 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (int)(arg1
)->GetPOVPosition();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_From_int(static_cast< int >(result
));
14079 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14080 PyObject
*resultobj
= 0;
14081 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14085 PyObject
*swig_obj
[1] ;
14087 if (!args
) SWIG_fail
;
14088 swig_obj
[0] = args
;
14089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14090 if (!SWIG_IsOK(res1
)) {
14091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14093 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (int)(arg1
)->GetPOVCTSPosition();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_From_int(static_cast< int >(result
));
14107 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14108 PyObject
*resultobj
= 0;
14109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14113 PyObject
*swig_obj
[1] ;
14115 if (!args
) SWIG_fail
;
14116 swig_obj
[0] = args
;
14117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14118 if (!SWIG_IsOK(res1
)) {
14119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14121 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (int)(arg1
)->GetRudderPosition();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= SWIG_From_int(static_cast< int >(result
));
14135 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14136 PyObject
*resultobj
= 0;
14137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14141 PyObject
*swig_obj
[1] ;
14143 if (!args
) SWIG_fail
;
14144 swig_obj
[0] = args
;
14145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14146 if (!SWIG_IsOK(res1
)) {
14147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14149 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (int)(arg1
)->GetUPosition();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= SWIG_From_int(static_cast< int >(result
));
14163 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14164 PyObject
*resultobj
= 0;
14165 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14169 PyObject
*swig_obj
[1] ;
14171 if (!args
) SWIG_fail
;
14172 swig_obj
[0] = args
;
14173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14174 if (!SWIG_IsOK(res1
)) {
14175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14177 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (int)(arg1
)->GetVPosition();
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= SWIG_From_int(static_cast< int >(result
));
14191 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14197 PyObject
*swig_obj
[1] ;
14199 if (!args
) SWIG_fail
;
14200 swig_obj
[0] = args
;
14201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14202 if (!SWIG_IsOK(res1
)) {
14203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14205 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (int)(arg1
)->GetMovementThreshold();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= SWIG_From_int(static_cast< int >(result
));
14219 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
= 0;
14221 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char * kwnames
[] = {
14230 (char *) "self",(char *) "threshold", NULL
14233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14235 if (!SWIG_IsOK(res1
)) {
14236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14238 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14240 if (!SWIG_IsOK(ecode2
)) {
14241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14243 arg2
= static_cast< int >(val2
);
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 (arg1
)->SetMovementThreshold(arg2
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= SWIG_Py_Void();
14257 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14258 PyObject
*resultobj
= 0;
14259 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14263 PyObject
*swig_obj
[1] ;
14265 if (!args
) SWIG_fail
;
14266 swig_obj
[0] = args
;
14267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14268 if (!SWIG_IsOK(res1
)) {
14269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14271 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= (bool)(arg1
)->IsOk();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14287 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14288 PyObject
*resultobj
= 0;
14289 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14293 PyObject
*swig_obj
[1] ;
14295 if (!args
) SWIG_fail
;
14296 swig_obj
[0] = args
;
14297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14301 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (int)(arg1
)->GetNumberJoysticks();
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_From_int(static_cast< int >(result
));
14315 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14316 PyObject
*resultobj
= 0;
14317 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14321 PyObject
*swig_obj
[1] ;
14323 if (!args
) SWIG_fail
;
14324 swig_obj
[0] = args
;
14325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14326 if (!SWIG_IsOK(res1
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14329 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (int)(arg1
)->GetManufacturerId();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_From_int(static_cast< int >(result
));
14343 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14344 PyObject
*resultobj
= 0;
14345 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14349 PyObject
*swig_obj
[1] ;
14351 if (!args
) SWIG_fail
;
14352 swig_obj
[0] = args
;
14353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14354 if (!SWIG_IsOK(res1
)) {
14355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14357 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (int)(arg1
)->GetProductId();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_From_int(static_cast< int >(result
));
14371 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14372 PyObject
*resultobj
= 0;
14373 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14377 PyObject
*swig_obj
[1] ;
14379 if (!args
) SWIG_fail
;
14380 swig_obj
[0] = args
;
14381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14382 if (!SWIG_IsOK(res1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14385 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (arg1
)->GetProductName();
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14405 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14406 PyObject
*resultobj
= 0;
14407 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14411 PyObject
*swig_obj
[1] ;
14413 if (!args
) SWIG_fail
;
14414 swig_obj
[0] = args
;
14415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14416 if (!SWIG_IsOK(res1
)) {
14417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14419 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (int)(arg1
)->GetXMin();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= SWIG_From_int(static_cast< int >(result
));
14433 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14434 PyObject
*resultobj
= 0;
14435 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14439 PyObject
*swig_obj
[1] ;
14441 if (!args
) SWIG_fail
;
14442 swig_obj
[0] = args
;
14443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14444 if (!SWIG_IsOK(res1
)) {
14445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14447 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (int)(arg1
)->GetYMin();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 resultobj
= SWIG_From_int(static_cast< int >(result
));
14461 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14462 PyObject
*resultobj
= 0;
14463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14467 PyObject
*swig_obj
[1] ;
14469 if (!args
) SWIG_fail
;
14470 swig_obj
[0] = args
;
14471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14472 if (!SWIG_IsOK(res1
)) {
14473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14475 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (int)(arg1
)->GetZMin();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_From_int(static_cast< int >(result
));
14489 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14490 PyObject
*resultobj
= 0;
14491 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14495 PyObject
*swig_obj
[1] ;
14497 if (!args
) SWIG_fail
;
14498 swig_obj
[0] = args
;
14499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14500 if (!SWIG_IsOK(res1
)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14503 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (int)(arg1
)->GetXMax();
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_From_int(static_cast< int >(result
));
14517 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14518 PyObject
*resultobj
= 0;
14519 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14523 PyObject
*swig_obj
[1] ;
14525 if (!args
) SWIG_fail
;
14526 swig_obj
[0] = args
;
14527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14528 if (!SWIG_IsOK(res1
)) {
14529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14531 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (int)(arg1
)->GetYMax();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_From_int(static_cast< int >(result
));
14545 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14546 PyObject
*resultobj
= 0;
14547 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14551 PyObject
*swig_obj
[1] ;
14553 if (!args
) SWIG_fail
;
14554 swig_obj
[0] = args
;
14555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14559 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (int)(arg1
)->GetZMax();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_From_int(static_cast< int >(result
));
14573 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14574 PyObject
*resultobj
= 0;
14575 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14579 PyObject
*swig_obj
[1] ;
14581 if (!args
) SWIG_fail
;
14582 swig_obj
[0] = args
;
14583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14584 if (!SWIG_IsOK(res1
)) {
14585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14587 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (int)(arg1
)->GetNumberButtons();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_From_int(static_cast< int >(result
));
14601 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14602 PyObject
*resultobj
= 0;
14603 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14607 PyObject
*swig_obj
[1] ;
14609 if (!args
) SWIG_fail
;
14610 swig_obj
[0] = args
;
14611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14612 if (!SWIG_IsOK(res1
)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14615 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (int)(arg1
)->GetNumberAxes();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_From_int(static_cast< int >(result
));
14629 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14630 PyObject
*resultobj
= 0;
14631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14635 PyObject
*swig_obj
[1] ;
14637 if (!args
) SWIG_fail
;
14638 swig_obj
[0] = args
;
14639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14643 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (int)(arg1
)->GetMaxButtons();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= SWIG_From_int(static_cast< int >(result
));
14657 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14658 PyObject
*resultobj
= 0;
14659 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14663 PyObject
*swig_obj
[1] ;
14665 if (!args
) SWIG_fail
;
14666 swig_obj
[0] = args
;
14667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14668 if (!SWIG_IsOK(res1
)) {
14669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14671 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (int)(arg1
)->GetMaxAxes();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= SWIG_From_int(static_cast< int >(result
));
14685 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14686 PyObject
*resultobj
= 0;
14687 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14691 PyObject
*swig_obj
[1] ;
14693 if (!args
) SWIG_fail
;
14694 swig_obj
[0] = args
;
14695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14696 if (!SWIG_IsOK(res1
)) {
14697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14699 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (int)(arg1
)->GetPollingMin();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_From_int(static_cast< int >(result
));
14713 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14714 PyObject
*resultobj
= 0;
14715 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14719 PyObject
*swig_obj
[1] ;
14721 if (!args
) SWIG_fail
;
14722 swig_obj
[0] = args
;
14723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14724 if (!SWIG_IsOK(res1
)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14727 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (int)(arg1
)->GetPollingMax();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= SWIG_From_int(static_cast< int >(result
));
14741 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14742 PyObject
*resultobj
= 0;
14743 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14747 PyObject
*swig_obj
[1] ;
14749 if (!args
) SWIG_fail
;
14750 swig_obj
[0] = args
;
14751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14755 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= (int)(arg1
)->GetRudderMin();
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_From_int(static_cast< int >(result
));
14769 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14770 PyObject
*resultobj
= 0;
14771 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14775 PyObject
*swig_obj
[1] ;
14777 if (!args
) SWIG_fail
;
14778 swig_obj
[0] = args
;
14779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14780 if (!SWIG_IsOK(res1
)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14783 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (int)(arg1
)->GetRudderMax();
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= SWIG_From_int(static_cast< int >(result
));
14797 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14798 PyObject
*resultobj
= 0;
14799 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14803 PyObject
*swig_obj
[1] ;
14805 if (!args
) SWIG_fail
;
14806 swig_obj
[0] = args
;
14807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14808 if (!SWIG_IsOK(res1
)) {
14809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14811 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 result
= (int)(arg1
)->GetUMin();
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= SWIG_From_int(static_cast< int >(result
));
14825 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14826 PyObject
*resultobj
= 0;
14827 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14831 PyObject
*swig_obj
[1] ;
14833 if (!args
) SWIG_fail
;
14834 swig_obj
[0] = args
;
14835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14836 if (!SWIG_IsOK(res1
)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14839 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (int)(arg1
)->GetUMax();
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= SWIG_From_int(static_cast< int >(result
));
14853 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14854 PyObject
*resultobj
= 0;
14855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14859 PyObject
*swig_obj
[1] ;
14861 if (!args
) SWIG_fail
;
14862 swig_obj
[0] = args
;
14863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14864 if (!SWIG_IsOK(res1
)) {
14865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14867 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (int)(arg1
)->GetVMin();
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= SWIG_From_int(static_cast< int >(result
));
14881 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14882 PyObject
*resultobj
= 0;
14883 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14887 PyObject
*swig_obj
[1] ;
14889 if (!args
) SWIG_fail
;
14890 swig_obj
[0] = args
;
14891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14892 if (!SWIG_IsOK(res1
)) {
14893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14895 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (int)(arg1
)->GetVMax();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_From_int(static_cast< int >(result
));
14909 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14910 PyObject
*resultobj
= 0;
14911 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14915 PyObject
*swig_obj
[1] ;
14917 if (!args
) SWIG_fail
;
14918 swig_obj
[0] = args
;
14919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14920 if (!SWIG_IsOK(res1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14923 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (bool)(arg1
)->HasRudder();
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14939 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14940 PyObject
*resultobj
= 0;
14941 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14945 PyObject
*swig_obj
[1] ;
14947 if (!args
) SWIG_fail
;
14948 swig_obj
[0] = args
;
14949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14950 if (!SWIG_IsOK(res1
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14953 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (bool)(arg1
)->HasZ();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14969 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14970 PyObject
*resultobj
= 0;
14971 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14975 PyObject
*swig_obj
[1] ;
14977 if (!args
) SWIG_fail
;
14978 swig_obj
[0] = args
;
14979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14983 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (bool)(arg1
)->HasU();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14999 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15000 PyObject
*resultobj
= 0;
15001 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15005 PyObject
*swig_obj
[1] ;
15007 if (!args
) SWIG_fail
;
15008 swig_obj
[0] = args
;
15009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15010 if (!SWIG_IsOK(res1
)) {
15011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15013 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= (bool)(arg1
)->HasV();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15029 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15030 PyObject
*resultobj
= 0;
15031 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15035 PyObject
*swig_obj
[1] ;
15037 if (!args
) SWIG_fail
;
15038 swig_obj
[0] = args
;
15039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15040 if (!SWIG_IsOK(res1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15043 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (bool)(arg1
)->HasPOV();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15059 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15060 PyObject
*resultobj
= 0;
15061 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15065 PyObject
*swig_obj
[1] ;
15067 if (!args
) SWIG_fail
;
15068 swig_obj
[0] = args
;
15069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15073 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (bool)(arg1
)->HasPOV4Dir();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15089 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15090 PyObject
*resultobj
= 0;
15091 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15095 PyObject
*swig_obj
[1] ;
15097 if (!args
) SWIG_fail
;
15098 swig_obj
[0] = args
;
15099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15100 if (!SWIG_IsOK(res1
)) {
15101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15103 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (bool)(arg1
)->HasPOVCTS();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15119 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= 0;
15121 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15122 wxWindow
*arg2
= (wxWindow
*) 0 ;
15123 int arg3
= (int) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 PyObject
* obj2
= 0 ;
15134 char * kwnames
[] = {
15135 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15140 if (!SWIG_IsOK(res1
)) {
15141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15143 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15145 if (!SWIG_IsOK(res2
)) {
15146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15148 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15151 if (!SWIG_IsOK(ecode3
)) {
15152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15154 arg3
= static_cast< int >(val3
);
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15171 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15172 PyObject
*resultobj
= 0;
15173 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15177 PyObject
*swig_obj
[1] ;
15179 if (!args
) SWIG_fail
;
15180 swig_obj
[0] = args
;
15181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15182 if (!SWIG_IsOK(res1
)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15185 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (bool)(arg1
)->ReleaseCapture();
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15201 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15204 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15205 return SWIG_Py_Void();
15208 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15209 return SWIG_Python_InitShadowInstance(args
);
15212 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
= 0;
15214 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15215 int arg2
= (int) 0 ;
15216 int arg3
= (int) wxJOYSTICK1
;
15217 int arg4
= (int) 0 ;
15218 wxJoystickEvent
*result
= 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 PyObject
* obj2
= 0 ;
15230 PyObject
* obj3
= 0 ;
15231 char * kwnames
[] = {
15232 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15238 if (!SWIG_IsOK(ecode1
)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15241 arg1
= static_cast< wxEventType
>(val1
);
15244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15245 if (!SWIG_IsOK(ecode2
)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15248 arg2
= static_cast< int >(val2
);
15251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15252 if (!SWIG_IsOK(ecode3
)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15255 arg3
= static_cast< int >(val3
);
15258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15259 if (!SWIG_IsOK(ecode4
)) {
15260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15262 arg4
= static_cast< int >(val4
);
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15277 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15278 PyObject
*resultobj
= 0;
15279 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15283 PyObject
*swig_obj
[1] ;
15285 if (!args
) SWIG_fail
;
15286 swig_obj
[0] = args
;
15287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15288 if (!SWIG_IsOK(res1
)) {
15289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15291 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15305 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15306 PyObject
*resultobj
= 0;
15307 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15311 PyObject
*swig_obj
[1] ;
15313 if (!args
) SWIG_fail
;
15314 swig_obj
[0] = args
;
15315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15316 if (!SWIG_IsOK(res1
)) {
15317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15319 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= SWIG_From_int(static_cast< int >(result
));
15333 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15334 PyObject
*resultobj
= 0;
15335 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15339 PyObject
*swig_obj
[1] ;
15341 if (!args
) SWIG_fail
;
15342 swig_obj
[0] = args
;
15343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15344 if (!SWIG_IsOK(res1
)) {
15345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15347 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= SWIG_From_int(static_cast< int >(result
));
15361 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15362 PyObject
*resultobj
= 0;
15363 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15367 PyObject
*swig_obj
[1] ;
15369 if (!args
) SWIG_fail
;
15370 swig_obj
[0] = args
;
15371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15372 if (!SWIG_IsOK(res1
)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15375 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_From_int(static_cast< int >(result
));
15389 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15390 PyObject
*resultobj
= 0;
15391 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15395 PyObject
*swig_obj
[1] ;
15397 if (!args
) SWIG_fail
;
15398 swig_obj
[0] = args
;
15399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15400 if (!SWIG_IsOK(res1
)) {
15401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15403 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 resultobj
= SWIG_From_int(static_cast< int >(result
));
15417 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
= 0;
15419 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 char * kwnames
[] = {
15428 (char *) "self",(char *) "stick", NULL
15431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15433 if (!SWIG_IsOK(res1
)) {
15434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15436 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15438 if (!SWIG_IsOK(ecode2
)) {
15439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15441 arg2
= static_cast< int >(val2
);
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 (arg1
)->SetJoystick(arg2
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_Py_Void();
15455 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
= 0;
15457 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "self",(char *) "state", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15474 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15476 if (!SWIG_IsOK(ecode2
)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15479 arg2
= static_cast< int >(val2
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 (arg1
)->SetButtonState(arg2
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
= 0;
15495 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 char * kwnames
[] = {
15504 (char *) "self",(char *) "change", NULL
15507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15509 if (!SWIG_IsOK(res1
)) {
15510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15512 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15514 if (!SWIG_IsOK(ecode2
)) {
15515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15517 arg2
= static_cast< int >(val2
);
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 (arg1
)->SetButtonChange(arg2
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_Py_Void();
15531 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
= 0;
15533 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15534 wxPoint
*arg2
= 0 ;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 char * kwnames
[] = {
15541 (char *) "self",(char *) "pos", NULL
15544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15546 if (!SWIG_IsOK(res1
)) {
15547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15549 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= SWIG_Py_Void();
15567 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
= 0;
15569 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 char * kwnames
[] = {
15578 (char *) "self",(char *) "zPos", NULL
15581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15583 if (!SWIG_IsOK(res1
)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15586 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15588 if (!SWIG_IsOK(ecode2
)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15591 arg2
= static_cast< int >(val2
);
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 (arg1
)->SetZPosition(arg2
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_Py_Void();
15605 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15606 PyObject
*resultobj
= 0;
15607 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15611 PyObject
*swig_obj
[1] ;
15613 if (!args
) SWIG_fail
;
15614 swig_obj
[0] = args
;
15615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15616 if (!SWIG_IsOK(res1
)) {
15617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15619 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15635 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15636 PyObject
*resultobj
= 0;
15637 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15641 PyObject
*swig_obj
[1] ;
15643 if (!args
) SWIG_fail
;
15644 swig_obj
[0] = args
;
15645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15646 if (!SWIG_IsOK(res1
)) {
15647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15649 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15665 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15666 PyObject
*resultobj
= 0;
15667 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15671 PyObject
*swig_obj
[1] ;
15673 if (!args
) SWIG_fail
;
15674 swig_obj
[0] = args
;
15675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15676 if (!SWIG_IsOK(res1
)) {
15677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15679 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15695 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
= 0;
15697 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15698 int arg2
= (int) wxJOY_BUTTON_ANY
;
15704 PyObject
* obj0
= 0 ;
15705 PyObject
* obj1
= 0 ;
15706 char * kwnames
[] = {
15707 (char *) "self",(char *) "but", NULL
15710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15712 if (!SWIG_IsOK(res1
)) {
15713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15715 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15718 if (!SWIG_IsOK(ecode2
)) {
15719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15721 arg2
= static_cast< int >(val2
);
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15738 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
= 0;
15740 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15741 int arg2
= (int) wxJOY_BUTTON_ANY
;
15747 PyObject
* obj0
= 0 ;
15748 PyObject
* obj1
= 0 ;
15749 char * kwnames
[] = {
15750 (char *) "self",(char *) "but", NULL
15753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15755 if (!SWIG_IsOK(res1
)) {
15756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15758 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15761 if (!SWIG_IsOK(ecode2
)) {
15762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15764 arg2
= static_cast< int >(val2
);
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15781 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
= 0;
15783 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15784 int arg2
= (int) wxJOY_BUTTON_ANY
;
15790 PyObject
* obj0
= 0 ;
15791 PyObject
* obj1
= 0 ;
15792 char * kwnames
[] = {
15793 (char *) "self",(char *) "but", NULL
15796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15798 if (!SWIG_IsOK(res1
)) {
15799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15801 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15804 if (!SWIG_IsOK(ecode2
)) {
15805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15807 arg2
= static_cast< int >(val2
);
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15824 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15827 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15828 return SWIG_Py_Void();
15831 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15832 return SWIG_Python_InitShadowInstance(args
);
15835 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
= 0;
15837 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15838 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15839 wxSound
*result
= 0 ;
15840 bool temp1
= false ;
15841 PyObject
* obj0
= 0 ;
15842 char * kwnames
[] = {
15843 (char *) "fileName", NULL
15846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15849 arg1
= wxString_in_helper(obj0
);
15850 if (arg1
== NULL
) SWIG_fail
;
15855 if (!wxPyCheckForApp()) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15876 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
= 0;
15878 PyObject
*arg1
= (PyObject
*) 0 ;
15879 wxSound
*result
= 0 ;
15880 PyObject
* obj0
= 0 ;
15881 char * kwnames
[] = {
15882 (char *) "data", NULL
15885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15888 if (!wxPyCheckForApp()) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (wxSound
*)new_wxSound(arg1
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15901 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15902 PyObject
*resultobj
= 0;
15903 wxSound
*arg1
= (wxSound
*) 0 ;
15906 PyObject
*swig_obj
[1] ;
15908 if (!args
) SWIG_fail
;
15909 swig_obj
[0] = args
;
15910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15911 if (!SWIG_IsOK(res1
)) {
15912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15914 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= SWIG_Py_Void();
15929 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
= 0;
15931 wxSound
*arg1
= (wxSound
*) 0 ;
15932 wxString
*arg2
= 0 ;
15936 bool temp2
= false ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char * kwnames
[] = {
15940 (char *) "self",(char *) "fileName", NULL
15943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15945 if (!SWIG_IsOK(res1
)) {
15946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15948 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15950 arg2
= wxString_in_helper(obj1
);
15951 if (arg2
== NULL
) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15977 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
= 0;
15979 wxSound
*arg1
= (wxSound
*) 0 ;
15980 PyObject
*arg2
= (PyObject
*) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 PyObject
* obj1
= 0 ;
15986 char * kwnames
[] = {
15987 (char *) "self",(char *) "data", NULL
15990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15992 if (!SWIG_IsOK(res1
)) {
15993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
15995 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16012 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16013 PyObject
*resultobj
= 0;
16014 wxSound
*arg1
= (wxSound
*) 0 ;
16018 PyObject
*swig_obj
[1] ;
16020 if (!args
) SWIG_fail
;
16021 swig_obj
[0] = args
;
16022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16023 if (!SWIG_IsOK(res1
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16026 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (bool)(arg1
)->IsOk();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
= 0;
16044 wxSound
*arg1
= (wxSound
*) 0 ;
16045 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16049 unsigned int val2
;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 char * kwnames
[] = {
16054 (char *) "self",(char *) "flags", NULL
16057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16059 if (!SWIG_IsOK(res1
)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16062 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16064 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16065 if (!SWIG_IsOK(ecode2
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16068 arg2
= static_cast< unsigned int >(val2
);
16071 if (!wxPyCheckForApp()) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16086 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
= 0;
16088 wxString
*arg1
= 0 ;
16089 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16091 bool temp1
= false ;
16092 unsigned int val2
;
16094 PyObject
* obj0
= 0 ;
16095 PyObject
* obj1
= 0 ;
16096 char * kwnames
[] = {
16097 (char *) "filename",(char *) "flags", NULL
16100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16102 arg1
= wxString_in_helper(obj0
);
16103 if (arg1
== NULL
) SWIG_fail
;
16107 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16108 if (!SWIG_IsOK(ecode2
)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16111 arg2
= static_cast< unsigned int >(val2
);
16114 if (!wxPyCheckForApp()) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16137 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16138 PyObject
*resultobj
= 0;
16140 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16142 if (!wxPyCheckForApp()) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= SWIG_Py_Void();
16155 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16158 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16159 return SWIG_Py_Void();
16162 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16163 return SWIG_Python_InitShadowInstance(args
);
16166 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
= 0;
16168 wxString
*arg1
= 0 ;
16169 wxString
*arg2
= 0 ;
16170 wxString
*arg3
= 0 ;
16171 wxString
*arg4
= 0 ;
16172 wxFileTypeInfo
*result
= 0 ;
16173 bool temp1
= false ;
16174 bool temp2
= false ;
16175 bool temp3
= false ;
16176 bool temp4
= false ;
16177 PyObject
* obj0
= 0 ;
16178 PyObject
* obj1
= 0 ;
16179 PyObject
* obj2
= 0 ;
16180 PyObject
* obj3
= 0 ;
16181 char * kwnames
[] = {
16182 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16187 arg1
= wxString_in_helper(obj0
);
16188 if (arg1
== NULL
) SWIG_fail
;
16192 arg2
= wxString_in_helper(obj1
);
16193 if (arg2
== NULL
) SWIG_fail
;
16197 arg3
= wxString_in_helper(obj2
);
16198 if (arg3
== NULL
) SWIG_fail
;
16202 arg4
= wxString_in_helper(obj3
);
16203 if (arg4
== NULL
) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16251 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
= 0;
16253 wxArrayString
*arg1
= 0 ;
16254 wxFileTypeInfo
*result
= 0 ;
16255 bool temp1
= false ;
16256 PyObject
* obj0
= 0 ;
16257 char * kwnames
[] = {
16258 (char *) "sArray", NULL
16261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16263 if (! PySequence_Check(obj0
)) {
16264 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16267 arg1
= new wxArrayString
;
16269 int i
, len
=PySequence_Length(obj0
);
16270 for (i
=0; i
<len
; i
++) {
16271 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16272 wxString
* s
= wxString_in_helper(item
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16287 if (temp1
) delete arg1
;
16292 if (temp1
) delete arg1
;
16298 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16299 PyObject
*resultobj
= 0;
16300 wxFileTypeInfo
*result
= 0 ;
16302 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16316 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16317 PyObject
*resultobj
= 0;
16318 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16322 PyObject
*swig_obj
[1] ;
16324 if (!args
) SWIG_fail
;
16325 swig_obj
[0] = args
;
16326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16327 if (!SWIG_IsOK(res1
)) {
16328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16330 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16346 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
= 0;
16348 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16349 wxString
*arg2
= 0 ;
16350 int arg3
= (int) 0 ;
16353 bool temp2
= false ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 PyObject
* obj2
= 0 ;
16359 char * kwnames
[] = {
16360 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16365 if (!SWIG_IsOK(res1
)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16368 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16370 arg2
= wxString_in_helper(obj1
);
16371 if (arg2
== NULL
) SWIG_fail
;
16375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16376 if (!SWIG_IsOK(ecode3
)) {
16377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16379 arg3
= static_cast< int >(val3
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_Py_Void();
16402 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
= 0;
16404 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16405 wxString
*arg2
= 0 ;
16408 bool temp2
= false ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char * kwnames
[] = {
16412 (char *) "self",(char *) "shortDesc", NULL
16415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16420 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16422 arg2
= wxString_in_helper(obj1
);
16423 if (arg2
== NULL
) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= SWIG_Py_Void();
16447 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16448 PyObject
*resultobj
= 0;
16449 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16450 wxString
*result
= 0 ;
16453 PyObject
*swig_obj
[1] ;
16455 if (!args
) SWIG_fail
;
16456 swig_obj
[0] = args
;
16457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16458 if (!SWIG_IsOK(res1
)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16461 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16466 result
= (wxString
*) &_result_ref
;
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16475 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16484 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16485 PyObject
*resultobj
= 0;
16486 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16487 wxString
*result
= 0 ;
16490 PyObject
*swig_obj
[1] ;
16492 if (!args
) SWIG_fail
;
16493 swig_obj
[0] = args
;
16494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16495 if (!SWIG_IsOK(res1
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16498 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16503 result
= (wxString
*) &_result_ref
;
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16512 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16521 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16522 PyObject
*resultobj
= 0;
16523 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16524 wxString
*result
= 0 ;
16527 PyObject
*swig_obj
[1] ;
16529 if (!args
) SWIG_fail
;
16530 swig_obj
[0] = args
;
16531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16532 if (!SWIG_IsOK(res1
)) {
16533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16535 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16540 result
= (wxString
*) &_result_ref
;
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16549 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16558 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16559 PyObject
*resultobj
= 0;
16560 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16561 wxString
*result
= 0 ;
16564 PyObject
*swig_obj
[1] ;
16566 if (!args
) SWIG_fail
;
16567 swig_obj
[0] = args
;
16568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16569 if (!SWIG_IsOK(res1
)) {
16570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16572 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16577 result
= (wxString
*) &_result_ref
;
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16586 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16595 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16596 PyObject
*resultobj
= 0;
16597 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16598 wxString
*result
= 0 ;
16601 PyObject
*swig_obj
[1] ;
16603 if (!args
) SWIG_fail
;
16604 swig_obj
[0] = args
;
16605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16606 if (!SWIG_IsOK(res1
)) {
16607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16609 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16614 result
= (wxString
*) &_result_ref
;
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16623 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16632 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16633 PyObject
*resultobj
= 0;
16634 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16635 wxArrayString
*result
= 0 ;
16638 PyObject
*swig_obj
[1] ;
16640 if (!args
) SWIG_fail
;
16641 swig_obj
[0] = args
;
16642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16643 if (!SWIG_IsOK(res1
)) {
16644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16646 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16651 result
= (wxArrayString
*) &_result_ref
;
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= wxArrayString2PyList_helper(*result
);
16665 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16666 PyObject
*resultobj
= 0;
16667 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16671 PyObject
*swig_obj
[1] ;
16673 if (!args
) SWIG_fail
;
16674 swig_obj
[0] = args
;
16675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16676 if (!SWIG_IsOK(res1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16679 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16693 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 PyObject
*resultobj
= 0;
16695 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16696 wxString
*result
= 0 ;
16699 PyObject
*swig_obj
[1] ;
16701 if (!args
) SWIG_fail
;
16702 swig_obj
[0] = args
;
16703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16704 if (!SWIG_IsOK(res1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16707 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16712 result
= (wxString
*) &_result_ref
;
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16730 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16731 PyObject
*resultobj
= 0;
16732 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16736 PyObject
*swig_obj
[1] ;
16738 if (!args
) SWIG_fail
;
16739 swig_obj
[0] = args
;
16740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16741 if (!SWIG_IsOK(res1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16744 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_From_int(static_cast< int >(result
));
16758 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16761 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16762 return SWIG_Py_Void();
16765 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16766 return SWIG_Python_InitShadowInstance(args
);
16769 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
= 0;
16771 wxFileTypeInfo
*arg1
= 0 ;
16772 wxFileType
*result
= 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char * kwnames
[] = {
16777 (char *) "ftInfo", NULL
16780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16781 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16782 if (!SWIG_IsOK(res1
)) {
16783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16788 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16802 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16803 PyObject
*resultobj
= 0;
16804 wxFileType
*arg1
= (wxFileType
*) 0 ;
16807 PyObject
*swig_obj
[1] ;
16809 if (!args
) SWIG_fail
;
16810 swig_obj
[0] = args
;
16811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16815 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_Py_Void();
16830 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16831 PyObject
*resultobj
= 0;
16832 wxFileType
*arg1
= (wxFileType
*) 0 ;
16833 PyObject
*result
= 0 ;
16836 PyObject
*swig_obj
[1] ;
16838 if (!args
) SWIG_fail
;
16839 swig_obj
[0] = args
;
16840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16841 if (!SWIG_IsOK(res1
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16844 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= result
;
16858 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16859 PyObject
*resultobj
= 0;
16860 wxFileType
*arg1
= (wxFileType
*) 0 ;
16861 PyObject
*result
= 0 ;
16864 PyObject
*swig_obj
[1] ;
16866 if (!args
) SWIG_fail
;
16867 swig_obj
[0] = args
;
16868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16869 if (!SWIG_IsOK(res1
)) {
16870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16872 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= result
;
16886 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16887 PyObject
*resultobj
= 0;
16888 wxFileType
*arg1
= (wxFileType
*) 0 ;
16889 PyObject
*result
= 0 ;
16892 PyObject
*swig_obj
[1] ;
16894 if (!args
) SWIG_fail
;
16895 swig_obj
[0] = args
;
16896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16897 if (!SWIG_IsOK(res1
)) {
16898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16900 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= result
;
16914 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16915 PyObject
*resultobj
= 0;
16916 wxFileType
*arg1
= (wxFileType
*) 0 ;
16917 wxIcon
*result
= 0 ;
16920 PyObject
*swig_obj
[1] ;
16922 if (!args
) SWIG_fail
;
16923 swig_obj
[0] = args
;
16924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16928 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16942 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16943 PyObject
*resultobj
= 0;
16944 wxFileType
*arg1
= (wxFileType
*) 0 ;
16945 PyObject
*result
= 0 ;
16948 PyObject
*swig_obj
[1] ;
16950 if (!args
) SWIG_fail
;
16951 swig_obj
[0] = args
;
16952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16953 if (!SWIG_IsOK(res1
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16956 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= result
;
16970 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16971 PyObject
*resultobj
= 0;
16972 wxFileType
*arg1
= (wxFileType
*) 0 ;
16973 PyObject
*result
= 0 ;
16976 PyObject
*swig_obj
[1] ;
16978 if (!args
) SWIG_fail
;
16979 swig_obj
[0] = args
;
16980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16981 if (!SWIG_IsOK(res1
)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
16984 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
;
16998 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= 0;
17000 wxFileType
*arg1
= (wxFileType
*) 0 ;
17001 wxString
*arg2
= 0 ;
17002 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17003 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17004 PyObject
*result
= 0 ;
17007 bool temp2
= false ;
17008 bool temp3
= false ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 PyObject
* obj2
= 0 ;
17012 char * kwnames
[] = {
17013 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17018 if (!SWIG_IsOK(res1
)) {
17019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17021 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17023 arg2
= wxString_in_helper(obj1
);
17024 if (arg2
== NULL
) SWIG_fail
;
17029 arg3
= wxString_in_helper(obj2
);
17030 if (arg3
== NULL
) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= result
;
17063 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
= 0;
17065 wxFileType
*arg1
= (wxFileType
*) 0 ;
17066 wxString
*arg2
= 0 ;
17067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17069 PyObject
*result
= 0 ;
17072 bool temp2
= false ;
17073 bool temp3
= false ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 PyObject
* obj2
= 0 ;
17077 char * kwnames
[] = {
17078 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17083 if (!SWIG_IsOK(res1
)) {
17084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17086 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17088 arg2
= wxString_in_helper(obj1
);
17089 if (arg2
== NULL
) SWIG_fail
;
17094 arg3
= wxString_in_helper(obj2
);
17095 if (arg3
== NULL
) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= result
;
17128 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
= 0;
17130 wxFileType
*arg1
= (wxFileType
*) 0 ;
17131 wxString
*arg2
= 0 ;
17132 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17133 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17134 PyObject
*result
= 0 ;
17137 bool temp2
= false ;
17138 bool temp3
= false ;
17139 PyObject
* obj0
= 0 ;
17140 PyObject
* obj1
= 0 ;
17141 PyObject
* obj2
= 0 ;
17142 char * kwnames
[] = {
17143 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17148 if (!SWIG_IsOK(res1
)) {
17149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17151 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17153 arg2
= wxString_in_helper(obj1
);
17154 if (arg2
== NULL
) SWIG_fail
;
17159 arg3
= wxString_in_helper(obj2
);
17160 if (arg3
== NULL
) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= result
;
17193 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
= 0;
17195 wxFileType
*arg1
= (wxFileType
*) 0 ;
17196 wxString
*arg2
= 0 ;
17197 wxString
*arg3
= 0 ;
17198 bool arg4
= (bool) true ;
17202 bool temp2
= false ;
17203 bool temp3
= false ;
17206 PyObject
* obj0
= 0 ;
17207 PyObject
* obj1
= 0 ;
17208 PyObject
* obj2
= 0 ;
17209 PyObject
* obj3
= 0 ;
17210 char * kwnames
[] = {
17211 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17216 if (!SWIG_IsOK(res1
)) {
17217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17219 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17221 arg2
= wxString_in_helper(obj1
);
17222 if (arg2
== NULL
) SWIG_fail
;
17226 arg3
= wxString_in_helper(obj2
);
17227 if (arg3
== NULL
) SWIG_fail
;
17231 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17232 if (!SWIG_IsOK(ecode4
)) {
17233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17235 arg4
= static_cast< bool >(val4
);
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17268 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
= 0;
17270 wxFileType
*arg1
= (wxFileType
*) 0 ;
17271 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17272 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17273 int arg3
= (int) 0 ;
17277 bool temp2
= false ;
17280 PyObject
* obj0
= 0 ;
17281 PyObject
* obj1
= 0 ;
17282 PyObject
* obj2
= 0 ;
17283 char * kwnames
[] = {
17284 (char *) "self",(char *) "cmd",(char *) "index", NULL
17287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17289 if (!SWIG_IsOK(res1
)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17292 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17295 arg2
= wxString_in_helper(obj1
);
17296 if (arg2
== NULL
) SWIG_fail
;
17301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17302 if (!SWIG_IsOK(ecode3
)) {
17303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17305 arg3
= static_cast< int >(val3
);
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17330 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17331 PyObject
*resultobj
= 0;
17332 wxFileType
*arg1
= (wxFileType
*) 0 ;
17336 PyObject
*swig_obj
[1] ;
17338 if (!args
) SWIG_fail
;
17339 swig_obj
[0] = args
;
17340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17341 if (!SWIG_IsOK(res1
)) {
17342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17344 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (bool)(arg1
)->Unassociate();
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17360 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
= 0;
17362 wxString
*arg1
= 0 ;
17363 wxString
*arg2
= 0 ;
17364 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17365 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17367 bool temp1
= false ;
17368 bool temp2
= false ;
17369 bool temp3
= false ;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 PyObject
* obj2
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17379 arg1
= wxString_in_helper(obj0
);
17380 if (arg1
== NULL
) SWIG_fail
;
17384 arg2
= wxString_in_helper(obj1
);
17385 if (arg2
== NULL
) SWIG_fail
;
17390 arg3
= wxString_in_helper(obj2
);
17391 if (arg3
== NULL
) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17438 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17441 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17442 return SWIG_Py_Void();
17445 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17446 return SWIG_Python_InitShadowInstance(args
);
17449 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17450 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17455 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17456 PyObject
*pyobj
= 0;
17458 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17463 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
= 0;
17465 wxString
*arg1
= 0 ;
17466 wxString
*arg2
= 0 ;
17468 bool temp1
= false ;
17469 bool temp2
= false ;
17470 PyObject
* obj0
= 0 ;
17471 PyObject
* obj1
= 0 ;
17472 char * kwnames
[] = {
17473 (char *) "mimeType",(char *) "wildcard", NULL
17476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17478 arg1
= wxString_in_helper(obj0
);
17479 if (arg1
== NULL
) SWIG_fail
;
17483 arg2
= wxString_in_helper(obj1
);
17484 if (arg2
== NULL
) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17518 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17519 PyObject
*resultobj
= 0;
17520 wxMimeTypesManager
*result
= 0 ;
17522 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17536 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
= 0;
17538 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17539 int arg2
= (int) wxMAILCAP_ALL
;
17540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17546 bool temp3
= false ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 PyObject
* obj2
= 0 ;
17550 char * kwnames
[] = {
17551 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17556 if (!SWIG_IsOK(res1
)) {
17557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17559 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17562 if (!SWIG_IsOK(ecode2
)) {
17563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17565 arg2
= static_cast< int >(val2
);
17569 arg3
= wxString_in_helper(obj2
);
17570 if (arg3
== NULL
) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= SWIG_Py_Void();
17595 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17596 PyObject
*resultobj
= 0;
17597 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17600 PyObject
*swig_obj
[1] ;
17602 if (!args
) SWIG_fail
;
17603 swig_obj
[0] = args
;
17604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17605 if (!SWIG_IsOK(res1
)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17608 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 (arg1
)->ClearData();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= SWIG_Py_Void();
17622 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
= 0;
17624 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17625 wxString
*arg2
= 0 ;
17626 wxFileType
*result
= 0 ;
17629 bool temp2
= false ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 char * kwnames
[] = {
17633 (char *) "self",(char *) "ext", NULL
17636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17638 if (!SWIG_IsOK(res1
)) {
17639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17641 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17643 arg2
= wxString_in_helper(obj1
);
17644 if (arg2
== NULL
) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17668 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= 0;
17670 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17671 wxString
*arg2
= 0 ;
17672 wxFileType
*result
= 0 ;
17675 bool temp2
= false ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char * kwnames
[] = {
17679 (char *) "self",(char *) "mimeType", NULL
17682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17684 if (!SWIG_IsOK(res1
)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17687 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17689 arg2
= wxString_in_helper(obj1
);
17690 if (arg2
== NULL
) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17714 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
= 0;
17716 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17717 wxString
*arg2
= 0 ;
17718 bool arg3
= (bool) false ;
17722 bool temp2
= false ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 PyObject
* obj2
= 0 ;
17728 char * kwnames
[] = {
17729 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17734 if (!SWIG_IsOK(res1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17737 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17739 arg2
= wxString_in_helper(obj1
);
17740 if (arg2
== NULL
) SWIG_fail
;
17744 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17745 if (!SWIG_IsOK(ecode3
)) {
17746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17748 arg3
= static_cast< bool >(val3
);
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17773 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
= 0;
17775 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17776 wxString
*arg2
= 0 ;
17780 bool temp2
= false ;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 char * kwnames
[] = {
17784 (char *) "self",(char *) "filename", NULL
17787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17789 if (!SWIG_IsOK(res1
)) {
17790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17792 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17794 arg2
= wxString_in_helper(obj1
);
17795 if (arg2
== NULL
) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17821 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17822 PyObject
*resultobj
= 0;
17823 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17824 PyObject
*result
= 0 ;
17827 PyObject
*swig_obj
[1] ;
17829 if (!args
) SWIG_fail
;
17830 swig_obj
[0] = args
;
17831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17832 if (!SWIG_IsOK(res1
)) {
17833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17835 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= result
;
17849 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
= 0;
17851 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17852 wxFileTypeInfo
*arg2
= 0 ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 char * kwnames
[] = {
17860 (char *) "self",(char *) "ft", NULL
17863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17865 if (!SWIG_IsOK(res1
)) {
17866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17868 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17870 if (!SWIG_IsOK(res2
)) {
17871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17876 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= SWIG_Py_Void();
17890 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
= 0;
17892 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17893 wxFileTypeInfo
*arg2
= 0 ;
17894 wxFileType
*result
= 0 ;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 char * kwnames
[] = {
17902 (char *) "self",(char *) "ftInfo", NULL
17905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17907 if (!SWIG_IsOK(res1
)) {
17908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17910 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17912 if (!SWIG_IsOK(res2
)) {
17913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17918 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17932 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
= 0;
17934 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17935 wxFileType
*arg2
= (wxFileType
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "ft", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17952 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17954 if (!SWIG_IsOK(res2
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17957 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (bool)(arg1
)->Unassociate(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17973 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17974 PyObject
*resultobj
= 0;
17975 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17978 PyObject
*swig_obj
[1] ;
17980 if (!args
) SWIG_fail
;
17981 swig_obj
[0] = args
;
17982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17983 if (!SWIG_IsOK(res1
)) {
17984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17986 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_Py_Void();
18001 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18004 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18005 return SWIG_Py_Void();
18008 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18009 return SWIG_Python_InitShadowInstance(args
);
18012 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18013 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18018 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18019 PyObject
*pyobj
= 0;
18023 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18025 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18032 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18033 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18038 SWIGINTERN PyObject
*ART_MENU_get(void) {
18039 PyObject
*pyobj
= 0;
18043 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18045 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18052 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18053 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18058 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18059 PyObject
*pyobj
= 0;
18063 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18065 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18072 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18073 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18078 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18079 PyObject
*pyobj
= 0;
18083 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18085 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18092 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18093 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18098 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18099 PyObject
*pyobj
= 0;
18103 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18105 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18112 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18113 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18118 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18119 PyObject
*pyobj
= 0;
18123 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18125 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18132 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18133 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18138 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18139 PyObject
*pyobj
= 0;
18143 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18145 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18152 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18153 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18158 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18159 PyObject
*pyobj
= 0;
18163 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18165 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18172 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18173 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18178 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18179 PyObject
*pyobj
= 0;
18183 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18185 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18192 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18193 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18198 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18199 PyObject
*pyobj
= 0;
18203 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18205 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18212 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18213 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18218 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18219 PyObject
*pyobj
= 0;
18223 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18225 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18232 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18233 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18238 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18239 PyObject
*pyobj
= 0;
18243 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18245 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18252 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18253 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18258 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18259 PyObject
*pyobj
= 0;
18263 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18265 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18272 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18273 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18278 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18279 PyObject
*pyobj
= 0;
18283 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18285 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18292 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18293 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18298 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18299 PyObject
*pyobj
= 0;
18303 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18305 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18312 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18313 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18318 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18319 PyObject
*pyobj
= 0;
18323 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18325 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18332 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18333 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18338 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18339 PyObject
*pyobj
= 0;
18343 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18345 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18352 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18353 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18358 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18359 PyObject
*pyobj
= 0;
18363 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18365 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18372 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18373 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18378 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18379 PyObject
*pyobj
= 0;
18383 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18385 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18392 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18393 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18398 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18399 PyObject
*pyobj
= 0;
18403 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18405 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18412 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18413 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18418 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18419 PyObject
*pyobj
= 0;
18423 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18425 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18432 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18433 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18438 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18439 PyObject
*pyobj
= 0;
18443 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18445 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18452 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18453 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18458 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18459 PyObject
*pyobj
= 0;
18463 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18465 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18472 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18473 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18478 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18479 PyObject
*pyobj
= 0;
18483 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18485 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18492 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18493 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18498 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18499 PyObject
*pyobj
= 0;
18503 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18505 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18512 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18513 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18518 SWIGINTERN PyObject
*ART_HELP_get(void) {
18519 PyObject
*pyobj
= 0;
18523 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18525 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18532 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18533 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18538 SWIGINTERN PyObject
*ART_TIP_get(void) {
18539 PyObject
*pyobj
= 0;
18543 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18545 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18552 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18553 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18558 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18559 PyObject
*pyobj
= 0;
18563 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18565 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18572 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18573 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18578 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18579 PyObject
*pyobj
= 0;
18583 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18585 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18592 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18593 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18598 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18599 PyObject
*pyobj
= 0;
18603 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18605 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18612 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18613 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18618 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18619 PyObject
*pyobj
= 0;
18623 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18625 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18632 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18633 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18638 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18639 PyObject
*pyobj
= 0;
18643 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18645 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18652 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18653 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18658 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18659 PyObject
*pyobj
= 0;
18663 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18665 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18672 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18673 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18678 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18679 PyObject
*pyobj
= 0;
18683 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18685 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18692 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18693 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18698 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18699 PyObject
*pyobj
= 0;
18703 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18705 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18712 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18713 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18718 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18719 PyObject
*pyobj
= 0;
18723 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18725 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18732 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18733 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18738 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18739 PyObject
*pyobj
= 0;
18743 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18745 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18752 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18753 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18758 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18759 PyObject
*pyobj
= 0;
18763 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18765 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18772 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18773 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18778 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18779 PyObject
*pyobj
= 0;
18783 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18785 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18792 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18793 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18798 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18799 PyObject
*pyobj
= 0;
18803 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18805 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18812 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18813 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18818 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18819 PyObject
*pyobj
= 0;
18823 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18825 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18832 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18833 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18838 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18839 PyObject
*pyobj
= 0;
18843 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18845 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18852 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18853 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18858 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18859 PyObject
*pyobj
= 0;
18863 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18865 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18872 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18873 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18878 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18879 PyObject
*pyobj
= 0;
18883 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18885 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18892 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18893 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18898 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18899 PyObject
*pyobj
= 0;
18903 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18905 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18912 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18913 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18918 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18919 PyObject
*pyobj
= 0;
18923 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18925 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18932 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18933 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18938 SWIGINTERN PyObject
*ART_COPY_get(void) {
18939 PyObject
*pyobj
= 0;
18943 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18945 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18952 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18953 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18958 SWIGINTERN PyObject
*ART_CUT_get(void) {
18959 PyObject
*pyobj
= 0;
18963 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18965 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18972 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18973 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18978 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18979 PyObject
*pyobj
= 0;
18983 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18985 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18992 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
18993 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
18998 SWIGINTERN PyObject
*ART_DELETE_get(void) {
18999 PyObject
*pyobj
= 0;
19003 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19005 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19012 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19013 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19018 SWIGINTERN PyObject
*ART_NEW_get(void) {
19019 PyObject
*pyobj
= 0;
19023 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19025 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19032 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19033 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19038 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19039 PyObject
*pyobj
= 0;
19043 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19045 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19052 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19053 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19058 SWIGINTERN PyObject
*ART_REDO_get(void) {
19059 PyObject
*pyobj
= 0;
19063 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19065 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19072 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19073 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19078 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19079 PyObject
*pyobj
= 0;
19083 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19085 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19092 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19093 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19098 SWIGINTERN PyObject
*ART_FIND_get(void) {
19099 PyObject
*pyobj
= 0;
19103 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19105 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19112 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19113 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19118 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19119 PyObject
*pyobj
= 0;
19123 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19125 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19132 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19133 PyObject
*resultobj
= 0;
19134 wxPyArtProvider
*result
= 0 ;
19136 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19138 if (!wxPyCheckForApp()) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19151 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19152 PyObject
*resultobj
= 0;
19153 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19156 PyObject
*swig_obj
[1] ;
19158 if (!args
) SWIG_fail
;
19159 swig_obj
[0] = args
;
19160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19161 if (!SWIG_IsOK(res1
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19164 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= SWIG_Py_Void();
19179 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
= 0;
19181 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19182 PyObject
*arg2
= (PyObject
*) 0 ;
19183 PyObject
*arg3
= (PyObject
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 PyObject
* obj2
= 0 ;
19189 char * kwnames
[] = {
19190 (char *) "self",(char *) "self",(char *) "_class", NULL
19193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19195 if (!SWIG_IsOK(res1
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19198 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 resultobj
= SWIG_Py_Void();
19214 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
= 0;
19216 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char * kwnames
[] = {
19220 (char *) "provider", NULL
19223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19224 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19225 if (!SWIG_IsOK(res1
)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 wxPyArtProvider::PushProvider(arg1
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_Py_Void();
19241 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19242 PyObject
*resultobj
= 0;
19245 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (bool)wxPyArtProvider::PopProvider();
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19261 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
= 0;
19263 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 char * kwnames
[] = {
19269 (char *) "provider", NULL
19272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19274 if (!SWIG_IsOK(res1
)) {
19275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19277 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19293 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
= 0;
19295 wxString
*arg1
= 0 ;
19296 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19297 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19298 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19299 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19301 bool temp1
= false ;
19302 bool temp2
= false ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 PyObject
* obj2
= 0 ;
19307 char * kwnames
[] = {
19308 (char *) "id",(char *) "client",(char *) "size", NULL
19311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19313 arg1
= wxString_in_helper(obj0
);
19314 if (arg1
== NULL
) SWIG_fail
;
19319 arg2
= wxString_in_helper(obj1
);
19320 if (arg2
== NULL
) SWIG_fail
;
19327 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19331 if (!wxPyCheckForApp()) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19360 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
= 0;
19362 wxString
*arg1
= 0 ;
19363 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19364 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19365 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19366 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19368 bool temp1
= false ;
19369 bool temp2
= false ;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 PyObject
* obj2
= 0 ;
19374 char * kwnames
[] = {
19375 (char *) "id",(char *) "client",(char *) "size", NULL
19378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19380 arg1
= wxString_in_helper(obj0
);
19381 if (arg1
== NULL
) SWIG_fail
;
19386 arg2
= wxString_in_helper(obj1
);
19387 if (arg2
== NULL
) SWIG_fail
;
19394 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19398 if (!wxPyCheckForApp()) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19427 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
= 0;
19429 wxString
*arg1
= 0 ;
19430 bool arg2
= (bool) false ;
19432 bool temp1
= false ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char * kwnames
[] = {
19438 (char *) "client",(char *) "platform_dependent", NULL
19441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19443 arg1
= wxString_in_helper(obj0
);
19444 if (arg1
== NULL
) SWIG_fail
;
19448 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19449 if (!SWIG_IsOK(ecode2
)) {
19450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19452 arg2
= static_cast< bool >(val2
);
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19475 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19476 PyObject
*resultobj
= 0;
19477 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19480 PyObject
*swig_obj
[1] ;
19482 if (!args
) SWIG_fail
;
19483 swig_obj
[0] = args
;
19484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19485 if (!SWIG_IsOK(res1
)) {
19486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19488 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 wxPyArtProvider_Destroy(arg1
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= SWIG_Py_Void();
19502 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19505 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19506 return SWIG_Py_Void();
19509 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19510 return SWIG_Python_InitShadowInstance(args
);
19513 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19514 PyObject
*resultobj
= 0;
19515 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19518 PyObject
*swig_obj
[1] ;
19520 if (!args
) SWIG_fail
;
19521 swig_obj
[0] = args
;
19522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19526 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= SWIG_Py_Void();
19541 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
= 0;
19543 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19544 wxConfigBase
*result
= 0 ;
19546 PyObject
* obj0
= 0 ;
19547 char * kwnames
[] = {
19548 (char *) "config", NULL
19551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19552 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19553 if (!SWIG_IsOK(res1
)) {
19554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19569 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
= 0;
19571 bool arg1
= (bool) true ;
19572 wxConfigBase
*result
= 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char * kwnames
[] = {
19577 (char *) "createOnDemand", NULL
19580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19582 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19583 if (!SWIG_IsOK(ecode1
)) {
19584 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19586 arg1
= static_cast< bool >(val1
);
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19601 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19602 PyObject
*resultobj
= 0;
19603 wxConfigBase
*result
= 0 ;
19605 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (wxConfigBase
*)wxConfigBase::Create();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19619 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19620 PyObject
*resultobj
= 0;
19622 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 wxConfigBase::DontCreateOnDemand();
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= SWIG_Py_Void();
19636 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
= 0;
19638 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19639 wxString
*arg2
= 0 ;
19642 bool temp2
= false ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 char * kwnames
[] = {
19646 (char *) "self",(char *) "path", NULL
19649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19651 if (!SWIG_IsOK(res1
)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19654 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19656 arg2
= wxString_in_helper(obj1
);
19657 if (arg2
== NULL
) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 (arg1
)->SetPath((wxString
const &)*arg2
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_Py_Void();
19681 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19682 PyObject
*resultobj
= 0;
19683 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19684 wxString
*result
= 0 ;
19687 PyObject
*swig_obj
[1] ;
19689 if (!args
) SWIG_fail
;
19690 swig_obj
[0] = args
;
19691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19692 if (!SWIG_IsOK(res1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19695 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19700 result
= (wxString
*) &_result_ref
;
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19709 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19718 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19719 PyObject
*resultobj
= 0;
19720 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19721 PyObject
*result
= 0 ;
19724 PyObject
*swig_obj
[1] ;
19726 if (!args
) SWIG_fail
;
19727 swig_obj
[0] = args
;
19728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19732 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= result
;
19746 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
= 0;
19748 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19750 PyObject
*result
= 0 ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "self",(char *) "index", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19766 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19767 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19768 if (!SWIG_IsOK(ecode2
)) {
19769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19771 arg2
= static_cast< long >(val2
);
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= result
;
19785 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19786 PyObject
*resultobj
= 0;
19787 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19788 PyObject
*result
= 0 ;
19791 PyObject
*swig_obj
[1] ;
19793 if (!args
) SWIG_fail
;
19794 swig_obj
[0] = args
;
19795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19796 if (!SWIG_IsOK(res1
)) {
19797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19799 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= result
;
19813 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
= 0;
19815 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19817 PyObject
*result
= 0 ;
19822 PyObject
* obj0
= 0 ;
19823 PyObject
* obj1
= 0 ;
19824 char * kwnames
[] = {
19825 (char *) "self",(char *) "index", NULL
19828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19830 if (!SWIG_IsOK(res1
)) {
19831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19833 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19834 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19835 if (!SWIG_IsOK(ecode2
)) {
19836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19838 arg2
= static_cast< long >(val2
);
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= result
;
19852 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= 0;
19854 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19855 bool arg2
= (bool) false ;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 char * kwnames
[] = {
19864 (char *) "self",(char *) "recursive", NULL
19867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19869 if (!SWIG_IsOK(res1
)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19872 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19874 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19875 if (!SWIG_IsOK(ecode2
)) {
19876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19878 arg2
= static_cast< bool >(val2
);
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19893 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
= 0;
19895 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19896 bool arg2
= (bool) false ;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 char * kwnames
[] = {
19905 (char *) "self",(char *) "recursive", NULL
19908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19910 if (!SWIG_IsOK(res1
)) {
19911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19913 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19915 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19916 if (!SWIG_IsOK(ecode2
)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19919 arg2
= static_cast< bool >(val2
);
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19934 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
= 0;
19936 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19937 wxString
*arg2
= 0 ;
19941 bool temp2
= false ;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 char * kwnames
[] = {
19945 (char *) "self",(char *) "name", NULL
19948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19950 if (!SWIG_IsOK(res1
)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19953 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19955 arg2
= wxString_in_helper(obj1
);
19956 if (arg2
== NULL
) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19982 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
= 0;
19984 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19985 wxString
*arg2
= 0 ;
19989 bool temp2
= false ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 char * kwnames
[] = {
19993 (char *) "self",(char *) "name", NULL
19996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19998 if (!SWIG_IsOK(res1
)) {
19999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20001 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20003 arg2
= wxString_in_helper(obj1
);
20004 if (arg2
== NULL
) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20030 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20033 wxString
*arg2
= 0 ;
20037 bool temp2
= false ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "self",(char *) "name", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20049 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20051 arg2
= wxString_in_helper(obj1
);
20052 if (arg2
== NULL
) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20078 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= 0;
20080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20081 wxString
*arg2
= 0 ;
20082 wxConfigBase::EntryType result
;
20085 bool temp2
= false ;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20088 char * kwnames
[] = {
20089 (char *) "self",(char *) "name", NULL
20092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20097 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20099 arg2
= wxString_in_helper(obj1
);
20100 if (arg2
== NULL
) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= SWIG_From_int(static_cast< int >(result
));
20124 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
= 0;
20126 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20127 wxString
*arg2
= 0 ;
20128 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20133 bool temp2
= false ;
20134 bool temp3
= false ;
20135 PyObject
* obj0
= 0 ;
20136 PyObject
* obj1
= 0 ;
20137 PyObject
* obj2
= 0 ;
20138 char * kwnames
[] = {
20139 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20144 if (!SWIG_IsOK(res1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20147 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20149 arg2
= wxString_in_helper(obj1
);
20150 if (arg2
== NULL
) SWIG_fail
;
20155 arg3
= wxString_in_helper(obj2
);
20156 if (arg3
== NULL
) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20195 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
= 0;
20197 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20198 wxString
*arg2
= 0 ;
20199 long arg3
= (long) 0 ;
20203 bool temp2
= false ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 PyObject
* obj2
= 0 ;
20209 char * kwnames
[] = {
20210 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20215 if (!SWIG_IsOK(res1
)) {
20216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20218 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20220 arg2
= wxString_in_helper(obj1
);
20221 if (arg2
== NULL
) SWIG_fail
;
20225 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20226 if (!SWIG_IsOK(ecode3
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20229 arg3
= static_cast< long >(val3
);
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= SWIG_From_long(static_cast< long >(result
));
20252 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
= 0;
20254 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20255 wxString
*arg2
= 0 ;
20256 double arg3
= (double) 0.0 ;
20260 bool temp2
= false ;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20265 PyObject
* obj2
= 0 ;
20266 char * kwnames
[] = {
20267 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20272 if (!SWIG_IsOK(res1
)) {
20273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20275 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20277 arg2
= wxString_in_helper(obj1
);
20278 if (arg2
== NULL
) SWIG_fail
;
20282 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20283 if (!SWIG_IsOK(ecode3
)) {
20284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20286 arg3
= static_cast< double >(val3
);
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= SWIG_From_double(static_cast< double >(result
));
20309 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
= 0;
20311 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20312 wxString
*arg2
= 0 ;
20313 bool arg3
= (bool) false ;
20317 bool temp2
= false ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 PyObject
* obj2
= 0 ;
20323 char * kwnames
[] = {
20324 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20329 if (!SWIG_IsOK(res1
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20332 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20334 arg2
= wxString_in_helper(obj1
);
20335 if (arg2
== NULL
) SWIG_fail
;
20339 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20340 if (!SWIG_IsOK(ecode3
)) {
20341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20343 arg3
= static_cast< bool >(val3
);
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20368 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
= 0;
20370 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20371 wxString
*arg2
= 0 ;
20372 wxString
*arg3
= 0 ;
20376 bool temp2
= false ;
20377 bool temp3
= false ;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20380 PyObject
* obj2
= 0 ;
20381 char * kwnames
[] = {
20382 (char *) "self",(char *) "key",(char *) "value", NULL
20385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20387 if (!SWIG_IsOK(res1
)) {
20388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20390 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20392 arg2
= wxString_in_helper(obj1
);
20393 if (arg2
== NULL
) SWIG_fail
;
20397 arg3
= wxString_in_helper(obj2
);
20398 if (arg3
== NULL
) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20432 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
= 0;
20434 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20435 wxString
*arg2
= 0 ;
20440 bool temp2
= false ;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20445 PyObject
* obj2
= 0 ;
20446 char * kwnames
[] = {
20447 (char *) "self",(char *) "key",(char *) "value", NULL
20450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20452 if (!SWIG_IsOK(res1
)) {
20453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20455 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20457 arg2
= wxString_in_helper(obj1
);
20458 if (arg2
== NULL
) SWIG_fail
;
20461 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20462 if (!SWIG_IsOK(ecode3
)) {
20463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20465 arg3
= static_cast< long >(val3
);
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20489 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
= 0;
20491 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20492 wxString
*arg2
= 0 ;
20497 bool temp2
= false ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 PyObject
* obj2
= 0 ;
20503 char * kwnames
[] = {
20504 (char *) "self",(char *) "key",(char *) "value", NULL
20507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20509 if (!SWIG_IsOK(res1
)) {
20510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20512 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20514 arg2
= wxString_in_helper(obj1
);
20515 if (arg2
== NULL
) SWIG_fail
;
20518 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20519 if (!SWIG_IsOK(ecode3
)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20522 arg3
= static_cast< double >(val3
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20546 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
= 0;
20548 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20549 wxString
*arg2
= 0 ;
20554 bool temp2
= false ;
20557 PyObject
* obj0
= 0 ;
20558 PyObject
* obj1
= 0 ;
20559 PyObject
* obj2
= 0 ;
20560 char * kwnames
[] = {
20561 (char *) "self",(char *) "key",(char *) "value", NULL
20564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20566 if (!SWIG_IsOK(res1
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20569 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20571 arg2
= wxString_in_helper(obj1
);
20572 if (arg2
== NULL
) SWIG_fail
;
20575 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20576 if (!SWIG_IsOK(ecode3
)) {
20577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20579 arg3
= static_cast< bool >(val3
);
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20603 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
= 0;
20605 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20606 bool arg2
= (bool) false ;
20612 PyObject
* obj0
= 0 ;
20613 PyObject
* obj1
= 0 ;
20614 char * kwnames
[] = {
20615 (char *) "self",(char *) "currentOnly", NULL
20618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20620 if (!SWIG_IsOK(res1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20623 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20625 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20626 if (!SWIG_IsOK(ecode2
)) {
20627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20629 arg2
= static_cast< bool >(val2
);
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (bool)(arg1
)->Flush(arg2
);
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20646 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
= 0;
20648 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20649 wxString
*arg2
= 0 ;
20650 wxString
*arg3
= 0 ;
20654 bool temp2
= false ;
20655 bool temp3
= false ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 char * kwnames
[] = {
20660 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20665 if (!SWIG_IsOK(res1
)) {
20666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20668 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20670 arg2
= wxString_in_helper(obj1
);
20671 if (arg2
== NULL
) SWIG_fail
;
20675 arg3
= wxString_in_helper(obj2
);
20676 if (arg3
== NULL
) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20710 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
= 0;
20712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20713 wxString
*arg2
= 0 ;
20714 wxString
*arg3
= 0 ;
20718 bool temp2
= false ;
20719 bool temp3
= false ;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20722 PyObject
* obj2
= 0 ;
20723 char * kwnames
[] = {
20724 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20729 if (!SWIG_IsOK(res1
)) {
20730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20732 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20734 arg2
= wxString_in_helper(obj1
);
20735 if (arg2
== NULL
) SWIG_fail
;
20739 arg3
= wxString_in_helper(obj2
);
20740 if (arg3
== NULL
) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20774 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
= 0;
20776 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20777 wxString
*arg2
= 0 ;
20778 bool arg3
= (bool) true ;
20782 bool temp2
= false ;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 PyObject
* obj2
= 0 ;
20788 char * kwnames
[] = {
20789 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20794 if (!SWIG_IsOK(res1
)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20797 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20799 arg2
= wxString_in_helper(obj1
);
20800 if (arg2
== NULL
) SWIG_fail
;
20804 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20805 if (!SWIG_IsOK(ecode3
)) {
20806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20808 arg3
= static_cast< bool >(val3
);
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20833 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
= 0;
20835 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20836 wxString
*arg2
= 0 ;
20840 bool temp2
= false ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 char * kwnames
[] = {
20844 (char *) "self",(char *) "key", NULL
20847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20849 if (!SWIG_IsOK(res1
)) {
20850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20852 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20854 arg2
= wxString_in_helper(obj1
);
20855 if (arg2
== NULL
) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20881 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20882 PyObject
*resultobj
= 0;
20883 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20887 PyObject
*swig_obj
[1] ;
20889 if (!args
) SWIG_fail
;
20890 swig_obj
[0] = args
;
20891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20892 if (!SWIG_IsOK(res1
)) {
20893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20895 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (bool)(arg1
)->DeleteAll();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20911 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
= 0;
20913 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20914 bool arg2
= (bool) true ;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 char * kwnames
[] = {
20922 (char *) "self",(char *) "doIt", NULL
20925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20927 if (!SWIG_IsOK(res1
)) {
20928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20930 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20932 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20933 if (!SWIG_IsOK(ecode2
)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20936 arg2
= static_cast< bool >(val2
);
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 (arg1
)->SetExpandEnvVars(arg2
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_Py_Void();
20951 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20952 PyObject
*resultobj
= 0;
20953 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20957 PyObject
*swig_obj
[1] ;
20959 if (!args
) SWIG_fail
;
20960 swig_obj
[0] = args
;
20961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20962 if (!SWIG_IsOK(res1
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20965 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20981 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
= 0;
20983 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20984 bool arg2
= (bool) true ;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20991 char * kwnames
[] = {
20992 (char *) "self",(char *) "doIt", NULL
20995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20997 if (!SWIG_IsOK(res1
)) {
20998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21000 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21002 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21003 if (!SWIG_IsOK(ecode2
)) {
21004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21006 arg2
= static_cast< bool >(val2
);
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 (arg1
)->SetRecordDefaults(arg2
);
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= SWIG_Py_Void();
21021 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21022 PyObject
*resultobj
= 0;
21023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21027 PyObject
*swig_obj
[1] ;
21029 if (!args
) SWIG_fail
;
21030 swig_obj
[0] = args
;
21031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21032 if (!SWIG_IsOK(res1
)) {
21033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21035 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21051 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
= 0;
21053 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21054 wxString
*arg2
= 0 ;
21058 bool temp2
= false ;
21059 PyObject
* obj0
= 0 ;
21060 PyObject
* obj1
= 0 ;
21061 char * kwnames
[] = {
21062 (char *) "self",(char *) "str", NULL
21065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21067 if (!SWIG_IsOK(res1
)) {
21068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21070 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21072 arg2
= wxString_in_helper(obj1
);
21073 if (arg2
== NULL
) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21103 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21104 PyObject
*resultobj
= 0;
21105 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21109 PyObject
*swig_obj
[1] ;
21111 if (!args
) SWIG_fail
;
21112 swig_obj
[0] = args
;
21113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21117 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21137 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21138 PyObject
*resultobj
= 0;
21139 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21143 PyObject
*swig_obj
[1] ;
21145 if (!args
) SWIG_fail
;
21146 swig_obj
[0] = args
;
21147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21148 if (!SWIG_IsOK(res1
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21151 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21171 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
= 0;
21173 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21174 wxString
*arg2
= 0 ;
21177 bool temp2
= false ;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 char * kwnames
[] = {
21181 (char *) "self",(char *) "appName", NULL
21184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21186 if (!SWIG_IsOK(res1
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21189 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21191 arg2
= wxString_in_helper(obj1
);
21192 if (arg2
== NULL
) SWIG_fail
;
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 (arg1
)->SetAppName((wxString
const &)*arg2
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= SWIG_Py_Void();
21216 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
= 0;
21218 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21219 wxString
*arg2
= 0 ;
21222 bool temp2
= false ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 char * kwnames
[] = {
21226 (char *) "self",(char *) "vendorName", NULL
21229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21231 if (!SWIG_IsOK(res1
)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21234 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21236 arg2
= wxString_in_helper(obj1
);
21237 if (arg2
== NULL
) SWIG_fail
;
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_Py_Void();
21261 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
= 0;
21263 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 char * kwnames
[] = {
21272 (char *) "self",(char *) "style", NULL
21275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21277 if (!SWIG_IsOK(res1
)) {
21278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21280 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21281 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21282 if (!SWIG_IsOK(ecode2
)) {
21283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21285 arg2
= static_cast< long >(val2
);
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 (arg1
)->SetStyle(arg2
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_Py_Void();
21299 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21300 PyObject
*resultobj
= 0;
21301 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21305 PyObject
*swig_obj
[1] ;
21307 if (!args
) SWIG_fail
;
21308 swig_obj
[0] = args
;
21309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21310 if (!SWIG_IsOK(res1
)) {
21311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21313 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= SWIG_From_long(static_cast< long >(result
));
21327 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21330 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21331 return SWIG_Py_Void();
21334 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
= 0;
21336 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21337 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21338 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21339 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21340 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21341 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21342 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21343 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21344 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21345 wxConfig
*result
= 0 ;
21346 bool temp1
= false ;
21347 bool temp2
= false ;
21348 bool temp3
= false ;
21349 bool temp4
= false ;
21352 PyObject
* obj0
= 0 ;
21353 PyObject
* obj1
= 0 ;
21354 PyObject
* obj2
= 0 ;
21355 PyObject
* obj3
= 0 ;
21356 PyObject
* obj4
= 0 ;
21357 char * kwnames
[] = {
21358 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21364 arg1
= wxString_in_helper(obj0
);
21365 if (arg1
== NULL
) SWIG_fail
;
21371 arg2
= wxString_in_helper(obj1
);
21372 if (arg2
== NULL
) SWIG_fail
;
21378 arg3
= wxString_in_helper(obj2
);
21379 if (arg3
== NULL
) SWIG_fail
;
21385 arg4
= wxString_in_helper(obj3
);
21386 if (arg4
== NULL
) SWIG_fail
;
21391 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21392 if (!SWIG_IsOK(ecode5
)) {
21393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21395 arg5
= static_cast< long >(val5
);
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21442 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21443 PyObject
*resultobj
= 0;
21444 wxConfig
*arg1
= (wxConfig
*) 0 ;
21447 PyObject
*swig_obj
[1] ;
21449 if (!args
) SWIG_fail
;
21450 swig_obj
[0] = args
;
21451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21452 if (!SWIG_IsOK(res1
)) {
21453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21455 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_Py_Void();
21470 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21473 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21474 return SWIG_Py_Void();
21477 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21478 return SWIG_Python_InitShadowInstance(args
);
21481 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
= 0;
21483 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21484 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21485 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21486 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21487 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21489 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21490 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21491 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21492 wxFileConfig
*result
= 0 ;
21493 bool temp1
= false ;
21494 bool temp2
= false ;
21495 bool temp3
= false ;
21496 bool temp4
= false ;
21499 PyObject
* obj0
= 0 ;
21500 PyObject
* obj1
= 0 ;
21501 PyObject
* obj2
= 0 ;
21502 PyObject
* obj3
= 0 ;
21503 PyObject
* obj4
= 0 ;
21504 char * kwnames
[] = {
21505 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21511 arg1
= wxString_in_helper(obj0
);
21512 if (arg1
== NULL
) SWIG_fail
;
21518 arg2
= wxString_in_helper(obj1
);
21519 if (arg2
== NULL
) SWIG_fail
;
21525 arg3
= wxString_in_helper(obj2
);
21526 if (arg3
== NULL
) SWIG_fail
;
21532 arg4
= wxString_in_helper(obj3
);
21533 if (arg4
== NULL
) SWIG_fail
;
21538 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21539 if (!SWIG_IsOK(ecode5
)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21542 arg5
= static_cast< long >(val5
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21589 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21590 PyObject
*resultobj
= 0;
21591 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21594 PyObject
*swig_obj
[1] ;
21596 if (!args
) SWIG_fail
;
21597 swig_obj
[0] = args
;
21598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21599 if (!SWIG_IsOK(res1
)) {
21600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21602 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= SWIG_Py_Void();
21617 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21620 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21621 return SWIG_Py_Void();
21624 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21625 return SWIG_Python_InitShadowInstance(args
);
21628 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
= 0;
21630 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21631 wxString
*arg2
= 0 ;
21632 wxConfigPathChanger
*result
= 0 ;
21635 bool temp2
= false ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 char * kwnames
[] = {
21639 (char *) "config",(char *) "entry", NULL
21642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21644 if (!SWIG_IsOK(res1
)) {
21645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21647 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21649 arg2
= wxString_in_helper(obj1
);
21650 if (arg2
== NULL
) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21674 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21675 PyObject
*resultobj
= 0;
21676 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21679 PyObject
*swig_obj
[1] ;
21681 if (!args
) SWIG_fail
;
21682 swig_obj
[0] = args
;
21683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21684 if (!SWIG_IsOK(res1
)) {
21685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21687 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= SWIG_Py_Void();
21702 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21703 PyObject
*resultobj
= 0;
21704 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21705 wxString
*result
= 0 ;
21708 PyObject
*swig_obj
[1] ;
21710 if (!args
) SWIG_fail
;
21711 swig_obj
[0] = args
;
21712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21713 if (!SWIG_IsOK(res1
)) {
21714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21716 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21721 result
= (wxString
*) &_result_ref
;
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21730 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21739 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21742 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21743 return SWIG_Py_Void();
21746 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21747 return SWIG_Python_InitShadowInstance(args
);
21750 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
= 0;
21752 wxString
*arg1
= 0 ;
21754 bool temp1
= false ;
21755 PyObject
* obj0
= 0 ;
21756 char * kwnames
[] = {
21757 (char *) "sz", NULL
21760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21762 arg1
= wxString_in_helper(obj0
);
21763 if (arg1
== NULL
) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21793 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21794 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21799 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21800 PyObject
*pyobj
= 0;
21804 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21806 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21813 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21814 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21819 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21820 PyObject
*pyobj
= 0;
21824 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21826 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21833 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
= 0;
21835 wxDateTime::Country arg1
;
21838 PyObject
* obj0
= 0 ;
21839 char * kwnames
[] = {
21840 (char *) "country", NULL
21843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21845 if (!SWIG_IsOK(ecode1
)) {
21846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21848 arg1
= static_cast< wxDateTime::Country
>(val1
);
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 wxDateTime::SetCountry(arg1
);
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 resultobj
= SWIG_Py_Void();
21862 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21863 PyObject
*resultobj
= 0;
21864 wxDateTime::Country result
;
21866 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_From_int(static_cast< int >(result
));
21880 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
= 0;
21882 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21886 PyObject
* obj0
= 0 ;
21887 char * kwnames
[] = {
21888 (char *) "country", NULL
21891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21893 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21894 if (!SWIG_IsOK(ecode1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21897 arg1
= static_cast< wxDateTime::Country
>(val1
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21914 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
= 0;
21916 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21920 PyObject
* obj0
= 0 ;
21921 char * kwnames
[] = {
21922 (char *) "cal", NULL
21925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21928 if (!SWIG_IsOK(ecode1
)) {
21929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21931 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_From_int(static_cast< int >(result
));
21946 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
= 0;
21952 PyObject
* obj0
= 0 ;
21953 char * kwnames
[] = {
21954 (char *) "year", NULL
21957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21959 if (!SWIG_IsOK(ecode1
)) {
21960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21962 arg1
= static_cast< int >(val1
);
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= SWIG_From_int(static_cast< int >(result
));
21976 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
= 0;
21978 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21979 wxDateTime::Month result
;
21982 PyObject
* obj0
= 0 ;
21983 char * kwnames
[] = {
21984 (char *) "cal", NULL
21987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
21989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21990 if (!SWIG_IsOK(ecode1
)) {
21991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21993 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= SWIG_From_int(static_cast< int >(result
));
22008 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
= 0;
22010 int arg1
= (int) wxDateTime::Inv_Year
;
22011 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char * kwnames
[] = {
22020 (char *) "year",(char *) "cal", NULL
22023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22025 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22026 if (!SWIG_IsOK(ecode1
)) {
22027 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22029 arg1
= static_cast< int >(val1
);
22032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22033 if (!SWIG_IsOK(ecode2
)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22036 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
= 0;
22055 int arg1
= (int) wxDateTime::Inv_Year
;
22059 PyObject
* obj0
= 0 ;
22060 char * kwnames
[] = {
22061 (char *) "year", NULL
22064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22067 if (!SWIG_IsOK(ecode1
)) {
22068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22070 arg1
= static_cast< int >(val1
);
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= (int)wxDateTime::GetCentury(arg1
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_From_int(static_cast< int >(result
));
22085 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
= 0;
22088 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 char * kwnames
[] = {
22097 (char *) "year",(char *) "cal", NULL
22100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22102 if (!SWIG_IsOK(ecode1
)) {
22103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22105 arg1
= static_cast< int >(val1
);
22107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22108 if (!SWIG_IsOK(ecode2
)) {
22109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22111 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_From_int(static_cast< int >(result
));
22126 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
= 0;
22128 wxDateTime::Month arg1
;
22129 int arg2
= (int) wxDateTime::Inv_Year
;
22130 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 PyObject
* obj2
= 0 ;
22141 char * kwnames
[] = {
22142 (char *) "month",(char *) "year",(char *) "cal", NULL
22145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22146 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22147 if (!SWIG_IsOK(ecode1
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22150 arg1
= static_cast< wxDateTime::Month
>(val1
);
22152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22153 if (!SWIG_IsOK(ecode2
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22156 arg2
= static_cast< int >(val2
);
22159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22160 if (!SWIG_IsOK(ecode3
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22163 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_From_int(static_cast< int >(result
));
22178 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
= 0;
22180 wxDateTime::Month arg1
;
22181 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 char * kwnames
[] = {
22190 (char *) "month",(char *) "flags", NULL
22193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22194 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22195 if (!SWIG_IsOK(ecode1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22198 arg1
= static_cast< wxDateTime::Month
>(val1
);
22200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22201 if (!SWIG_IsOK(ecode2
)) {
22202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22204 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22225 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
= 0;
22227 wxDateTime::WeekDay arg1
;
22228 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "weekday",(char *) "flags", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22241 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22242 if (!SWIG_IsOK(ecode1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22245 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22248 if (!SWIG_IsOK(ecode2
)) {
22249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22251 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22272 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22273 PyObject
*resultobj
= 0;
22274 PyObject
*result
= 0 ;
22276 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= result
;
22290 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
= 0;
22292 int arg1
= (int) wxDateTime::Inv_Year
;
22293 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 char * kwnames
[] = {
22302 (char *) "year",(char *) "country", NULL
22305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22307 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22308 if (!SWIG_IsOK(ecode1
)) {
22309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22311 arg1
= static_cast< int >(val1
);
22314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22315 if (!SWIG_IsOK(ecode2
)) {
22316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22318 arg2
= static_cast< wxDateTime::Country
>(val2
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22335 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
= 0;
22337 int arg1
= (int) wxDateTime::Inv_Year
;
22338 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 char * kwnames
[] = {
22347 (char *) "year",(char *) "country", NULL
22350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22352 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22353 if (!SWIG_IsOK(ecode1
)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22356 arg1
= static_cast< int >(val1
);
22359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22360 if (!SWIG_IsOK(ecode2
)) {
22361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22363 arg2
= static_cast< wxDateTime::Country
>(val2
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22378 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
= 0;
22380 int arg1
= (int) wxDateTime::Inv_Year
;
22381 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 char * kwnames
[] = {
22390 (char *) "year",(char *) "country", NULL
22393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22395 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22396 if (!SWIG_IsOK(ecode1
)) {
22397 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22399 arg1
= static_cast< int >(val1
);
22402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22403 if (!SWIG_IsOK(ecode2
)) {
22404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22406 arg2
= static_cast< wxDateTime::Country
>(val2
);
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22421 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22422 PyObject
*resultobj
= 0;
22425 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= wxDateTime::Now();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22439 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22440 PyObject
*resultobj
= 0;
22443 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= wxDateTime::UNow();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22457 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22458 PyObject
*resultobj
= 0;
22461 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= wxDateTime::Today();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22475 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22476 PyObject
*resultobj
= 0;
22477 wxDateTime
*result
= 0 ;
22479 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= (wxDateTime
*)new wxDateTime();
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22493 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
= 0;
22496 wxDateTime
*result
= 0 ;
22497 unsigned int val1
;
22499 PyObject
* obj0
= 0 ;
22500 char * kwnames
[] = {
22501 (char *) "timet", NULL
22504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22505 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22506 if (!SWIG_IsOK(ecode1
)) {
22507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22509 arg1
= static_cast< time_t >(val1
);
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= (wxDateTime
*)new wxDateTime(arg1
);
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22523 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
= 0;
22526 wxDateTime
*result
= 0 ;
22529 PyObject
* obj0
= 0 ;
22530 char * kwnames
[] = {
22531 (char *) "jdn", NULL
22534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22535 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22536 if (!SWIG_IsOK(ecode1
)) {
22537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22539 arg1
= static_cast< double >(val1
);
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (wxDateTime
*)new wxDateTime(arg1
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22553 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
= 0;
22556 int arg2
= (int) 0 ;
22557 int arg3
= (int) 0 ;
22558 int arg4
= (int) 0 ;
22559 wxDateTime
*result
= 0 ;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 PyObject
* obj2
= 0 ;
22571 PyObject
* obj3
= 0 ;
22572 char * kwnames
[] = {
22573 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22578 if (!SWIG_IsOK(ecode1
)) {
22579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22581 arg1
= static_cast< int >(val1
);
22583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22584 if (!SWIG_IsOK(ecode2
)) {
22585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22587 arg2
= static_cast< int >(val2
);
22590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22591 if (!SWIG_IsOK(ecode3
)) {
22592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22594 arg3
= static_cast< int >(val3
);
22597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22598 if (!SWIG_IsOK(ecode4
)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22601 arg4
= static_cast< int >(val4
);
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22616 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
= 0;
22619 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22620 int arg3
= (int) wxDateTime::Inv_Year
;
22621 int arg4
= (int) 0 ;
22622 int arg5
= (int) 0 ;
22623 int arg6
= (int) 0 ;
22624 int arg7
= (int) 0 ;
22625 wxDateTime
*result
= 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 PyObject
* obj2
= 0 ;
22643 PyObject
* obj3
= 0 ;
22644 PyObject
* obj4
= 0 ;
22645 PyObject
* obj5
= 0 ;
22646 PyObject
* obj6
= 0 ;
22647 char * kwnames
[] = {
22648 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22652 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22653 if (!SWIG_IsOK(ecode1
)) {
22654 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22656 arg1
= static_cast< int >(val1
);
22658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22659 if (!SWIG_IsOK(ecode2
)) {
22660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22662 arg2
= static_cast< wxDateTime::Month
>(val2
);
22665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22666 if (!SWIG_IsOK(ecode3
)) {
22667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22669 arg3
= static_cast< int >(val3
);
22672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22673 if (!SWIG_IsOK(ecode4
)) {
22674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22676 arg4
= static_cast< int >(val4
);
22679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22680 if (!SWIG_IsOK(ecode5
)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22683 arg5
= static_cast< int >(val5
);
22686 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22687 if (!SWIG_IsOK(ecode6
)) {
22688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22690 arg6
= static_cast< int >(val6
);
22693 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22694 if (!SWIG_IsOK(ecode7
)) {
22695 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22697 arg7
= static_cast< int >(val7
);
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22712 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
= 0;
22714 wxDateTime
*arg1
= 0 ;
22715 wxDateTime
*result
= 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char * kwnames
[] = {
22720 (char *) "date", NULL
22723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22724 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22725 if (!SWIG_IsOK(res1
)) {
22726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22731 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22745 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22746 PyObject
*resultobj
= 0;
22747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22750 PyObject
*swig_obj
[1] ;
22752 if (!args
) SWIG_fail
;
22753 swig_obj
[0] = args
;
22754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22758 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_Py_Void();
22773 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22774 PyObject
*resultobj
= 0;
22775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22776 wxDateTime
*result
= 0 ;
22779 PyObject
*swig_obj
[1] ;
22781 if (!args
) SWIG_fail
;
22782 swig_obj
[0] = args
;
22783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22784 if (!SWIG_IsOK(res1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22787 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22792 result
= (wxDateTime
*) &_result_ref
;
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22804 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
= 0;
22806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22808 wxDateTime
*result
= 0 ;
22811 unsigned int val2
;
22813 PyObject
* obj0
= 0 ;
22814 PyObject
* obj1
= 0 ;
22815 char * kwnames
[] = {
22816 (char *) "self",(char *) "timet", NULL
22819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22821 if (!SWIG_IsOK(res1
)) {
22822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22824 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22825 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22826 if (!SWIG_IsOK(ecode2
)) {
22827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22829 arg2
= static_cast< time_t >(val2
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22834 result
= (wxDateTime
*) &_result_ref
;
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22846 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
= 0;
22848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22850 wxDateTime
*result
= 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char * kwnames
[] = {
22858 (char *) "self",(char *) "jdn", NULL
22861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22866 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22867 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22868 if (!SWIG_IsOK(ecode2
)) {
22869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22871 arg2
= static_cast< double >(val2
);
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22876 result
= (wxDateTime
*) &_result_ref
;
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22888 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
= 0;
22890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22892 int arg3
= (int) 0 ;
22893 int arg4
= (int) 0 ;
22894 int arg5
= (int) 0 ;
22895 wxDateTime
*result
= 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 PyObject
* obj2
= 0 ;
22909 PyObject
* obj3
= 0 ;
22910 PyObject
* obj4
= 0 ;
22911 char * kwnames
[] = {
22912 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22917 if (!SWIG_IsOK(res1
)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22920 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22922 if (!SWIG_IsOK(ecode2
)) {
22923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22925 arg2
= static_cast< int >(val2
);
22927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22928 if (!SWIG_IsOK(ecode3
)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22931 arg3
= static_cast< int >(val3
);
22934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22935 if (!SWIG_IsOK(ecode4
)) {
22936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22938 arg4
= static_cast< int >(val4
);
22941 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22942 if (!SWIG_IsOK(ecode5
)) {
22943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22945 arg5
= static_cast< int >(val5
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22951 result
= (wxDateTime
*) &_result_ref
;
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22963 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
= 0;
22965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22967 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22968 int arg4
= (int) wxDateTime::Inv_Year
;
22969 int arg5
= (int) 0 ;
22970 int arg6
= (int) 0 ;
22971 int arg7
= (int) 0 ;
22972 int arg8
= (int) 0 ;
22973 wxDateTime
*result
= 0 ;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 PyObject
* obj2
= 0 ;
22993 PyObject
* obj3
= 0 ;
22994 PyObject
* obj4
= 0 ;
22995 PyObject
* obj5
= 0 ;
22996 PyObject
* obj6
= 0 ;
22997 PyObject
* obj7
= 0 ;
22998 char * kwnames
[] = {
22999 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23007 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23009 if (!SWIG_IsOK(ecode2
)) {
23010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23012 arg2
= static_cast< int >(val2
);
23014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23015 if (!SWIG_IsOK(ecode3
)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23018 arg3
= static_cast< wxDateTime::Month
>(val3
);
23021 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23022 if (!SWIG_IsOK(ecode4
)) {
23023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23025 arg4
= static_cast< int >(val4
);
23028 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23029 if (!SWIG_IsOK(ecode5
)) {
23030 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23032 arg5
= static_cast< int >(val5
);
23035 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23036 if (!SWIG_IsOK(ecode6
)) {
23037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23039 arg6
= static_cast< int >(val6
);
23042 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23043 if (!SWIG_IsOK(ecode7
)) {
23044 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23046 arg7
= static_cast< int >(val7
);
23049 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23050 if (!SWIG_IsOK(ecode8
)) {
23051 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23053 arg8
= static_cast< int >(val8
);
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23059 result
= (wxDateTime
*) &_result_ref
;
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23071 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23072 PyObject
*resultobj
= 0;
23073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23074 wxDateTime
*result
= 0 ;
23077 PyObject
*swig_obj
[1] ;
23079 if (!args
) SWIG_fail
;
23080 swig_obj
[0] = args
;
23081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23082 if (!SWIG_IsOK(res1
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23085 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23090 result
= (wxDateTime
*) &_result_ref
;
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23102 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
= 0;
23104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23106 wxDateTime
*result
= 0 ;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 char * kwnames
[] = {
23114 (char *) "self",(char *) "year", NULL
23117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23122 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23124 if (!SWIG_IsOK(ecode2
)) {
23125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23127 arg2
= static_cast< int >(val2
);
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23132 result
= (wxDateTime
*) &_result_ref
;
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23144 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
= 0;
23146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23147 wxDateTime::Month arg2
;
23148 wxDateTime
*result
= 0 ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 char * kwnames
[] = {
23156 (char *) "self",(char *) "month", NULL
23159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23161 if (!SWIG_IsOK(res1
)) {
23162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23164 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23166 if (!SWIG_IsOK(ecode2
)) {
23167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23169 arg2
= static_cast< wxDateTime::Month
>(val2
);
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23174 result
= (wxDateTime
*) &_result_ref
;
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23186 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
= 0;
23188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23190 wxDateTime
*result
= 0 ;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 char * kwnames
[] = {
23198 (char *) "self",(char *) "day", NULL
23201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23203 if (!SWIG_IsOK(res1
)) {
23204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23206 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23208 if (!SWIG_IsOK(ecode2
)) {
23209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23211 arg2
= static_cast< int >(val2
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23216 result
= (wxDateTime
*) &_result_ref
;
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23228 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
= 0;
23230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23232 wxDateTime
*result
= 0 ;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 char * kwnames
[] = {
23240 (char *) "self",(char *) "hour", NULL
23243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23245 if (!SWIG_IsOK(res1
)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23248 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23250 if (!SWIG_IsOK(ecode2
)) {
23251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23253 arg2
= static_cast< int >(val2
);
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23258 result
= (wxDateTime
*) &_result_ref
;
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23270 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
= 0;
23272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23274 wxDateTime
*result
= 0 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 char * kwnames
[] = {
23282 (char *) "self",(char *) "minute", NULL
23285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23290 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23292 if (!SWIG_IsOK(ecode2
)) {
23293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23295 arg2
= static_cast< int >(val2
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23300 result
= (wxDateTime
*) &_result_ref
;
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23312 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
= 0;
23314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23316 wxDateTime
*result
= 0 ;
23321 PyObject
* obj0
= 0 ;
23322 PyObject
* obj1
= 0 ;
23323 char * kwnames
[] = {
23324 (char *) "self",(char *) "second", NULL
23327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23332 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23334 if (!SWIG_IsOK(ecode2
)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23337 arg2
= static_cast< int >(val2
);
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23342 result
= (wxDateTime
*) &_result_ref
;
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23354 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
= 0;
23356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23358 wxDateTime
*result
= 0 ;
23363 PyObject
* obj0
= 0 ;
23364 PyObject
* obj1
= 0 ;
23365 char * kwnames
[] = {
23366 (char *) "self",(char *) "millisecond", NULL
23369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23371 if (!SWIG_IsOK(res1
)) {
23372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23374 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23376 if (!SWIG_IsOK(ecode2
)) {
23377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23379 arg2
= static_cast< int >(val2
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23384 result
= (wxDateTime
*) &_result_ref
;
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23396 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
= 0;
23398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23399 wxDateTime::WeekDay arg2
;
23400 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23401 wxDateTime
*result
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 PyObject
* obj2
= 0 ;
23411 char * kwnames
[] = {
23412 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23420 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23422 if (!SWIG_IsOK(ecode2
)) {
23423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23425 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23428 if (!SWIG_IsOK(ecode3
)) {
23429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23431 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23437 result
= (wxDateTime
*) &_result_ref
;
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23449 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
= 0;
23451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23452 wxDateTime::WeekDay arg2
;
23453 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23461 PyObject
* obj0
= 0 ;
23462 PyObject
* obj1
= 0 ;
23463 PyObject
* obj2
= 0 ;
23464 char * kwnames
[] = {
23465 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23470 if (!SWIG_IsOK(res1
)) {
23471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23473 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23475 if (!SWIG_IsOK(ecode2
)) {
23476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23478 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23481 if (!SWIG_IsOK(ecode3
)) {
23482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23484 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23499 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
= 0;
23501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23502 wxDateTime::WeekDay arg2
;
23503 wxDateTime
*result
= 0 ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 char * kwnames
[] = {
23511 (char *) "self",(char *) "weekday", NULL
23514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23519 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23521 if (!SWIG_IsOK(ecode2
)) {
23522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23524 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23529 result
= (wxDateTime
*) &_result_ref
;
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23541 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
= 0;
23543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23544 wxDateTime::WeekDay arg2
;
23550 PyObject
* obj0
= 0 ;
23551 PyObject
* obj1
= 0 ;
23552 char * kwnames
[] = {
23553 (char *) "self",(char *) "weekday", NULL
23556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23561 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23563 if (!SWIG_IsOK(ecode2
)) {
23564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23566 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (arg1
)->GetNextWeekDay(arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23580 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
= 0;
23582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23583 wxDateTime::WeekDay arg2
;
23584 wxDateTime
*result
= 0 ;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 char * kwnames
[] = {
23592 (char *) "self",(char *) "weekday", NULL
23595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23597 if (!SWIG_IsOK(res1
)) {
23598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23600 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23602 if (!SWIG_IsOK(ecode2
)) {
23603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23605 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23610 result
= (wxDateTime
*) &_result_ref
;
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23622 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
= 0;
23624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23625 wxDateTime::WeekDay arg2
;
23631 PyObject
* obj0
= 0 ;
23632 PyObject
* obj1
= 0 ;
23633 char * kwnames
[] = {
23634 (char *) "self",(char *) "weekday", NULL
23637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23639 if (!SWIG_IsOK(res1
)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23642 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23644 if (!SWIG_IsOK(ecode2
)) {
23645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23647 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (arg1
)->GetPrevWeekDay(arg2
);
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23661 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
= 0;
23663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23664 wxDateTime::WeekDay arg2
;
23665 int arg3
= (int) 1 ;
23666 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23667 int arg5
= (int) wxDateTime::Inv_Year
;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 PyObject
* obj2
= 0 ;
23682 PyObject
* obj3
= 0 ;
23683 PyObject
* obj4
= 0 ;
23684 char * kwnames
[] = {
23685 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23690 if (!SWIG_IsOK(res1
)) {
23691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23693 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23695 if (!SWIG_IsOK(ecode2
)) {
23696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23698 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23701 if (!SWIG_IsOK(ecode3
)) {
23702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23704 arg3
= static_cast< int >(val3
);
23707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23708 if (!SWIG_IsOK(ecode4
)) {
23709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23711 arg4
= static_cast< wxDateTime::Month
>(val4
);
23714 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23715 if (!SWIG_IsOK(ecode5
)) {
23716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23718 arg5
= static_cast< int >(val5
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23735 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
= 0;
23737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23738 wxDateTime::WeekDay arg2
;
23739 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23740 int arg4
= (int) wxDateTime::Inv_Year
;
23750 PyObject
* obj0
= 0 ;
23751 PyObject
* obj1
= 0 ;
23752 PyObject
* obj2
= 0 ;
23753 PyObject
* obj3
= 0 ;
23754 char * kwnames
[] = {
23755 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23760 if (!SWIG_IsOK(res1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23763 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23765 if (!SWIG_IsOK(ecode2
)) {
23766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23768 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23771 if (!SWIG_IsOK(ecode3
)) {
23772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23774 arg3
= static_cast< wxDateTime::Month
>(val3
);
23777 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23778 if (!SWIG_IsOK(ecode4
)) {
23779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23781 arg4
= static_cast< int >(val4
);
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23798 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
= 0;
23800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23801 wxDateTime::WeekDay arg2
;
23802 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23803 int arg4
= (int) wxDateTime::Inv_Year
;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 PyObject
* obj2
= 0 ;
23816 PyObject
* obj3
= 0 ;
23817 char * kwnames
[] = {
23818 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23823 if (!SWIG_IsOK(res1
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23826 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23828 if (!SWIG_IsOK(ecode2
)) {
23829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23831 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23834 if (!SWIG_IsOK(ecode3
)) {
23835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23837 arg3
= static_cast< wxDateTime::Month
>(val3
);
23840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23841 if (!SWIG_IsOK(ecode4
)) {
23842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23844 arg4
= static_cast< int >(val4
);
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23859 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
= 0;
23861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23863 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23864 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 PyObject
* obj3
= 0 ;
23878 char * kwnames
[] = {
23879 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23884 if (!SWIG_IsOK(res1
)) {
23885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23887 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23889 if (!SWIG_IsOK(ecode2
)) {
23890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23892 arg2
= static_cast< int >(val2
);
23894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23895 if (!SWIG_IsOK(ecode3
)) {
23896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23898 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23902 if (!SWIG_IsOK(ecode4
)) {
23903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23905 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23922 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
= 0;
23924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23926 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23927 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 PyObject
* obj2
= 0 ;
23940 PyObject
* obj3
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23950 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23952 if (!SWIG_IsOK(ecode2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23955 arg2
= static_cast< int >(val2
);
23957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23958 if (!SWIG_IsOK(ecode3
)) {
23959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23961 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23965 if (!SWIG_IsOK(ecode4
)) {
23966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23968 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23983 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23984 PyObject
*resultobj
= 0;
23987 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23995 PyObject
* obj0
= 0 ;
23996 PyObject
* obj1
= 0 ;
23997 PyObject
* obj2
= 0 ;
23998 char * kwnames
[] = {
23999 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24004 if (!SWIG_IsOK(ecode1
)) {
24005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24007 arg1
= static_cast< int >(val1
);
24008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24009 if (!SWIG_IsOK(ecode2
)) {
24010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24012 arg2
= static_cast< int >(val2
);
24014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24015 if (!SWIG_IsOK(ecode3
)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24018 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24033 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24034 PyObject
*resultobj
= 0;
24035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24036 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24037 int arg3
= (int) wxDateTime::Inv_Year
;
24038 wxDateTime
*result
= 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 PyObject
* obj2
= 0 ;
24048 char * kwnames
[] = {
24049 (char *) "self",(char *) "month",(char *) "year", NULL
24052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24054 if (!SWIG_IsOK(res1
)) {
24055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24057 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24060 if (!SWIG_IsOK(ecode2
)) {
24061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24063 arg2
= static_cast< wxDateTime::Month
>(val2
);
24066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24067 if (!SWIG_IsOK(ecode3
)) {
24068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24070 arg3
= static_cast< int >(val3
);
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24076 result
= (wxDateTime
*) &_result_ref
;
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24088 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
= 0;
24090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24091 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24092 int arg3
= (int) wxDateTime::Inv_Year
;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 PyObject
* obj2
= 0 ;
24103 char * kwnames
[] = {
24104 (char *) "self",(char *) "month",(char *) "year", NULL
24107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24109 if (!SWIG_IsOK(res1
)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24112 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24115 if (!SWIG_IsOK(ecode2
)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24118 arg2
= static_cast< wxDateTime::Month
>(val2
);
24121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24122 if (!SWIG_IsOK(ecode3
)) {
24123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24125 arg3
= static_cast< int >(val3
);
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24140 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
= 0;
24142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24144 wxDateTime
*result
= 0 ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 char * kwnames
[] = {
24152 (char *) "self",(char *) "yday", NULL
24155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24157 if (!SWIG_IsOK(res1
)) {
24158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24160 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24162 if (!SWIG_IsOK(ecode2
)) {
24163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24165 arg2
= static_cast< int >(val2
);
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24170 result
= (wxDateTime
*) &_result_ref
;
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24182 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
= 0;
24184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 char * kwnames
[] = {
24194 (char *) "self",(char *) "yday", NULL
24197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24202 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24204 if (!SWIG_IsOK(ecode2
)) {
24205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24207 arg2
= static_cast< int >(val2
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (arg1
)->GetYearDay(arg2
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24221 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24222 PyObject
*resultobj
= 0;
24223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24227 PyObject
*swig_obj
[1] ;
24229 if (!args
) SWIG_fail
;
24230 swig_obj
[0] = args
;
24231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24232 if (!SWIG_IsOK(res1
)) {
24233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24235 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (double)(arg1
)->GetJulianDayNumber();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= SWIG_From_double(static_cast< double >(result
));
24249 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24250 PyObject
*resultobj
= 0;
24251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24255 PyObject
*swig_obj
[1] ;
24257 if (!args
) SWIG_fail
;
24258 swig_obj
[0] = args
;
24259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24260 if (!SWIG_IsOK(res1
)) {
24261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24263 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (double)(arg1
)->GetJDN();
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_From_double(static_cast< double >(result
));
24277 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24278 PyObject
*resultobj
= 0;
24279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24283 PyObject
*swig_obj
[1] ;
24285 if (!args
) SWIG_fail
;
24286 swig_obj
[0] = args
;
24287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24288 if (!SWIG_IsOK(res1
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24291 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_From_double(static_cast< double >(result
));
24305 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24306 PyObject
*resultobj
= 0;
24307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24311 PyObject
*swig_obj
[1] ;
24313 if (!args
) SWIG_fail
;
24314 swig_obj
[0] = args
;
24315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24316 if (!SWIG_IsOK(res1
)) {
24317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24319 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (double)(arg1
)->GetMJD();
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= SWIG_From_double(static_cast< double >(result
));
24333 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24334 PyObject
*resultobj
= 0;
24335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24339 PyObject
*swig_obj
[1] ;
24341 if (!args
) SWIG_fail
;
24342 swig_obj
[0] = args
;
24343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24344 if (!SWIG_IsOK(res1
)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24347 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (double)(arg1
)->GetRataDie();
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_From_double(static_cast< double >(result
));
24361 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
= 0;
24363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24364 wxDateTime::TimeZone
*arg2
= 0 ;
24365 bool arg3
= (bool) false ;
24369 bool temp2
= false ;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24374 PyObject
* obj2
= 0 ;
24375 char * kwnames
[] = {
24376 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24381 if (!SWIG_IsOK(res1
)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24384 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24386 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24390 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24391 if (!SWIG_IsOK(ecode3
)) {
24392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24394 arg3
= static_cast< bool >(val3
);
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24402 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24404 if (temp2
) delete arg2
;
24409 if (temp2
) delete arg2
;
24415 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
= 0;
24417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24418 wxDateTime::TimeZone
*arg2
= 0 ;
24419 bool arg3
= (bool) false ;
24420 wxDateTime
*result
= 0 ;
24423 bool temp2
= false ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 PyObject
* obj2
= 0 ;
24429 char * kwnames
[] = {
24430 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24435 if (!SWIG_IsOK(res1
)) {
24436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24438 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24440 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24444 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24445 if (!SWIG_IsOK(ecode3
)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24448 arg3
= static_cast< bool >(val3
);
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24454 result
= (wxDateTime
*) &_result_ref
;
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24461 if (temp2
) delete arg2
;
24466 if (temp2
) delete arg2
;
24472 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
= 0;
24474 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24475 wxDateTime::TimeZone
*arg2
= 0 ;
24476 bool arg3
= (bool) false ;
24480 bool temp2
= false ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 PyObject
* obj2
= 0 ;
24486 char * kwnames
[] = {
24487 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24492 if (!SWIG_IsOK(res1
)) {
24493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24495 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24497 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24501 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24502 if (!SWIG_IsOK(ecode3
)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24505 arg3
= static_cast< bool >(val3
);
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24515 if (temp2
) delete arg2
;
24520 if (temp2
) delete arg2
;
24526 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24527 PyObject
*resultobj
= 0;
24528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24529 wxDateTime::TimeZone
*arg2
= 0 ;
24530 bool arg3
= (bool) false ;
24531 wxDateTime
*result
= 0 ;
24534 bool temp2
= false ;
24537 PyObject
* obj0
= 0 ;
24538 PyObject
* obj1
= 0 ;
24539 PyObject
* obj2
= 0 ;
24540 char * kwnames
[] = {
24541 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24546 if (!SWIG_IsOK(res1
)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24549 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24551 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24555 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24556 if (!SWIG_IsOK(ecode3
)) {
24557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24559 arg3
= static_cast< bool >(val3
);
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24565 result
= (wxDateTime
*) &_result_ref
;
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24572 if (temp2
) delete arg2
;
24577 if (temp2
) delete arg2
;
24583 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
= 0;
24585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24586 bool arg2
= (bool) false ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char * kwnames
[] = {
24595 (char *) "self",(char *) "noDST", NULL
24598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24600 if (!SWIG_IsOK(res1
)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24603 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24605 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24606 if (!SWIG_IsOK(ecode2
)) {
24607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24609 arg2
= static_cast< bool >(val2
);
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24624 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
= 0;
24626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24627 bool arg2
= (bool) false ;
24628 wxDateTime
*result
= 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 char * kwnames
[] = {
24636 (char *) "self",(char *) "noDST", NULL
24639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24641 if (!SWIG_IsOK(res1
)) {
24642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24644 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24646 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24647 if (!SWIG_IsOK(ecode2
)) {
24648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24650 arg2
= static_cast< bool >(val2
);
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24656 result
= (wxDateTime
*) &_result_ref
;
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24668 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
= 0;
24670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24671 bool arg2
= (bool) false ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 char * kwnames
[] = {
24680 (char *) "self",(char *) "noDST", NULL
24683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24685 if (!SWIG_IsOK(res1
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24688 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24690 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24691 if (!SWIG_IsOK(ecode2
)) {
24692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24694 arg2
= static_cast< bool >(val2
);
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24709 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
= 0;
24711 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24712 bool arg2
= (bool) false ;
24713 wxDateTime
*result
= 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 char * kwnames
[] = {
24721 (char *) "self",(char *) "noDST", NULL
24724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24726 if (!SWIG_IsOK(res1
)) {
24727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24729 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24731 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24732 if (!SWIG_IsOK(ecode2
)) {
24733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24735 arg2
= static_cast< bool >(val2
);
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24741 result
= (wxDateTime
*) &_result_ref
;
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24753 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
= 0;
24755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24756 bool arg2
= (bool) false ;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 char * kwnames
[] = {
24765 (char *) "self",(char *) "noDST", NULL
24768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24773 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24775 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24776 if (!SWIG_IsOK(ecode2
)) {
24777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24779 arg2
= static_cast< bool >(val2
);
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24794 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
= 0;
24796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24797 bool arg2
= (bool) false ;
24798 wxDateTime
*result
= 0 ;
24803 PyObject
* obj0
= 0 ;
24804 PyObject
* obj1
= 0 ;
24805 char * kwnames
[] = {
24806 (char *) "self",(char *) "noDST", NULL
24809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24811 if (!SWIG_IsOK(res1
)) {
24812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24814 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24817 if (!SWIG_IsOK(ecode2
)) {
24818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24820 arg2
= static_cast< bool >(val2
);
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24826 result
= (wxDateTime
*) &_result_ref
;
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24838 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
= 0;
24840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24841 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 char * kwnames
[] = {
24850 (char *) "self",(char *) "country", NULL
24853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24858 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24861 if (!SWIG_IsOK(ecode2
)) {
24862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24864 arg2
= static_cast< wxDateTime::Country
>(val2
);
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (int)(arg1
)->IsDST(arg2
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= SWIG_From_int(static_cast< int >(result
));
24879 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24880 PyObject
*resultobj
= 0;
24881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24885 PyObject
*swig_obj
[1] ;
24887 if (!args
) SWIG_fail
;
24888 swig_obj
[0] = args
;
24889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24890 if (!SWIG_IsOK(res1
)) {
24891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24893 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24909 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24910 PyObject
*resultobj
= 0;
24911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24915 PyObject
*swig_obj
[1] ;
24917 if (!args
) SWIG_fail
;
24918 swig_obj
[0] = args
;
24919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24920 if (!SWIG_IsOK(res1
)) {
24921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24923 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24937 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
= 0;
24939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24940 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24941 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24945 bool temp2
= false ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 char * kwnames
[] = {
24949 (char *) "self",(char *) "tz", NULL
24952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24954 if (!SWIG_IsOK(res1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24957 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24960 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= SWIG_From_int(static_cast< int >(result
));
24972 if (temp2
) delete arg2
;
24977 if (temp2
) delete arg2
;
24983 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
= 0;
24985 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24986 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24987 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24988 wxDateTime::Month result
;
24991 bool temp2
= false ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 char * kwnames
[] = {
24995 (char *) "self",(char *) "tz", NULL
24998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25003 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25006 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_From_int(static_cast< int >(result
));
25018 if (temp2
) delete arg2
;
25023 if (temp2
) delete arg2
;
25029 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
= 0;
25031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25032 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25033 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25037 bool temp2
= false ;
25038 PyObject
* obj0
= 0 ;
25039 PyObject
* obj1
= 0 ;
25040 char * kwnames
[] = {
25041 (char *) "self",(char *) "tz", NULL
25044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25046 if (!SWIG_IsOK(res1
)) {
25047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25049 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25052 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_From_int(static_cast< int >(result
));
25064 if (temp2
) delete arg2
;
25069 if (temp2
) delete arg2
;
25075 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
= 0;
25077 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25078 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25079 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25080 wxDateTime::WeekDay result
;
25083 bool temp2
= false ;
25084 PyObject
* obj0
= 0 ;
25085 PyObject
* obj1
= 0 ;
25086 char * kwnames
[] = {
25087 (char *) "self",(char *) "tz", NULL
25090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25092 if (!SWIG_IsOK(res1
)) {
25093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25095 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25098 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_From_int(static_cast< int >(result
));
25110 if (temp2
) delete arg2
;
25115 if (temp2
) delete arg2
;
25121 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
= 0;
25123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25124 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25125 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25129 bool temp2
= false ;
25130 PyObject
* obj0
= 0 ;
25131 PyObject
* obj1
= 0 ;
25132 char * kwnames
[] = {
25133 (char *) "self",(char *) "tz", NULL
25136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25138 if (!SWIG_IsOK(res1
)) {
25139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25141 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25144 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= SWIG_From_int(static_cast< int >(result
));
25156 if (temp2
) delete arg2
;
25161 if (temp2
) delete arg2
;
25167 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
= 0;
25169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25170 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25171 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25175 bool temp2
= false ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char * kwnames
[] = {
25179 (char *) "self",(char *) "tz", NULL
25182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25184 if (!SWIG_IsOK(res1
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25187 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25190 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= SWIG_From_int(static_cast< int >(result
));
25202 if (temp2
) delete arg2
;
25207 if (temp2
) delete arg2
;
25213 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
= 0;
25215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25216 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25217 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25221 bool temp2
= false ;
25222 PyObject
* obj0
= 0 ;
25223 PyObject
* obj1
= 0 ;
25224 char * kwnames
[] = {
25225 (char *) "self",(char *) "tz", NULL
25228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25230 if (!SWIG_IsOK(res1
)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25233 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25236 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= SWIG_From_int(static_cast< int >(result
));
25248 if (temp2
) delete arg2
;
25253 if (temp2
) delete arg2
;
25259 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
= 0;
25261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25262 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25263 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25267 bool temp2
= false ;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 char * kwnames
[] = {
25271 (char *) "self",(char *) "tz", NULL
25274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25276 if (!SWIG_IsOK(res1
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25279 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25282 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_From_int(static_cast< int >(result
));
25294 if (temp2
) delete arg2
;
25299 if (temp2
) delete arg2
;
25305 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
= 0;
25307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25308 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25309 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25313 bool temp2
= false ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 char * kwnames
[] = {
25317 (char *) "self",(char *) "tz", NULL
25320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25322 if (!SWIG_IsOK(res1
)) {
25323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25325 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25328 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= SWIG_From_int(static_cast< int >(result
));
25340 if (temp2
) delete arg2
;
25345 if (temp2
) delete arg2
;
25351 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
= 0;
25353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25354 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25355 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25356 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25362 bool temp3
= false ;
25363 PyObject
* obj0
= 0 ;
25364 PyObject
* obj1
= 0 ;
25365 PyObject
* obj2
= 0 ;
25366 char * kwnames
[] = {
25367 (char *) "self",(char *) "flags",(char *) "tz", NULL
25370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25372 if (!SWIG_IsOK(res1
)) {
25373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25375 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25378 if (!SWIG_IsOK(ecode2
)) {
25379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25381 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25385 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_From_int(static_cast< int >(result
));
25397 if (temp3
) delete arg3
;
25402 if (temp3
) delete arg3
;
25408 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
= 0;
25410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25411 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25412 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25413 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25419 bool temp3
= false ;
25420 PyObject
* obj0
= 0 ;
25421 PyObject
* obj1
= 0 ;
25422 PyObject
* obj2
= 0 ;
25423 char * kwnames
[] = {
25424 (char *) "self",(char *) "flags",(char *) "tz", NULL
25427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25432 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25435 if (!SWIG_IsOK(ecode2
)) {
25436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25438 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25442 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_From_int(static_cast< int >(result
));
25454 if (temp3
) delete arg3
;
25459 if (temp3
) delete arg3
;
25465 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
= 0;
25467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25468 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char * kwnames
[] = {
25477 (char *) "self",(char *) "country", NULL
25480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25485 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25488 if (!SWIG_IsOK(ecode2
)) {
25489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25491 arg2
= static_cast< wxDateTime::Country
>(val2
);
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25508 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
= 0;
25510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25511 wxDateTime
*arg2
= 0 ;
25517 PyObject
* obj0
= 0 ;
25518 PyObject
* obj1
= 0 ;
25519 char * kwnames
[] = {
25520 (char *) "self",(char *) "datetime", NULL
25523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25528 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25529 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25530 if (!SWIG_IsOK(res2
)) {
25531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25536 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25552 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
= 0;
25554 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25555 wxDateTime
*arg2
= 0 ;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 char * kwnames
[] = {
25564 (char *) "self",(char *) "datetime", NULL
25567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25569 if (!SWIG_IsOK(res1
)) {
25570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25572 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25574 if (!SWIG_IsOK(res2
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25580 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25596 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
= 0;
25598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25599 wxDateTime
*arg2
= 0 ;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 char * kwnames
[] = {
25608 (char *) "self",(char *) "datetime", NULL
25611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25613 if (!SWIG_IsOK(res1
)) {
25614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25616 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25618 if (!SWIG_IsOK(res2
)) {
25619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25624 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25640 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
= 0;
25642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25643 wxDateTime
*arg2
= 0 ;
25644 wxDateTime
*arg3
= 0 ;
25652 PyObject
* obj0
= 0 ;
25653 PyObject
* obj1
= 0 ;
25654 PyObject
* obj2
= 0 ;
25655 char * kwnames
[] = {
25656 (char *) "self",(char *) "t1",(char *) "t2", NULL
25659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25661 if (!SWIG_IsOK(res1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25664 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25666 if (!SWIG_IsOK(res2
)) {
25667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25672 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25673 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25674 if (!SWIG_IsOK(res3
)) {
25675 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25680 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25696 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
= 0;
25698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25699 wxDateTime
*arg2
= 0 ;
25700 wxDateTime
*arg3
= 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 PyObject
* obj2
= 0 ;
25711 char * kwnames
[] = {
25712 (char *) "self",(char *) "t1",(char *) "t2", NULL
25715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25717 if (!SWIG_IsOK(res1
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25720 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25722 if (!SWIG_IsOK(res2
)) {
25723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25728 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25729 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25730 if (!SWIG_IsOK(res3
)) {
25731 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25736 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25752 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
= 0;
25754 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25755 wxDateTime
*arg2
= 0 ;
25761 PyObject
* obj0
= 0 ;
25762 PyObject
* obj1
= 0 ;
25763 char * kwnames
[] = {
25764 (char *) "self",(char *) "dt", NULL
25767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25769 if (!SWIG_IsOK(res1
)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25772 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25774 if (!SWIG_IsOK(res2
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25780 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25796 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
= 0;
25798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25799 wxDateTime
*arg2
= 0 ;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 char * kwnames
[] = {
25808 (char *) "self",(char *) "dt", NULL
25811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25813 if (!SWIG_IsOK(res1
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25816 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25818 if (!SWIG_IsOK(res2
)) {
25819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25824 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25840 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
= 0;
25842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25843 wxDateTime
*arg2
= 0 ;
25844 wxTimeSpan
*arg3
= 0 ;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj1
= 0 ;
25854 PyObject
* obj2
= 0 ;
25855 char * kwnames
[] = {
25856 (char *) "self",(char *) "dt",(char *) "ts", NULL
25859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25861 if (!SWIG_IsOK(res1
)) {
25862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25864 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25866 if (!SWIG_IsOK(res2
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25872 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25873 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25874 if (!SWIG_IsOK(res3
)) {
25875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25880 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25896 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
= 0;
25898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25899 wxTimeSpan
*arg2
= 0 ;
25900 wxDateTime
*result
= 0 ;
25905 PyObject
* obj0
= 0 ;
25906 PyObject
* obj1
= 0 ;
25907 char * kwnames
[] = {
25908 (char *) "self",(char *) "diff", NULL
25911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25916 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25918 if (!SWIG_IsOK(res2
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25924 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25929 result
= (wxDateTime
*) &_result_ref
;
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25941 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
= 0;
25943 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25944 wxDateSpan
*arg2
= 0 ;
25945 wxDateTime
*result
= 0 ;
25950 PyObject
* obj0
= 0 ;
25951 PyObject
* obj1
= 0 ;
25952 char * kwnames
[] = {
25953 (char *) "self",(char *) "diff", NULL
25956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25958 if (!SWIG_IsOK(res1
)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25961 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25963 if (!SWIG_IsOK(res2
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25969 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25974 result
= (wxDateTime
*) &_result_ref
;
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25986 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
= 0;
25988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25989 wxTimeSpan
*arg2
= 0 ;
25990 wxDateTime
*result
= 0 ;
25995 PyObject
* obj0
= 0 ;
25996 PyObject
* obj1
= 0 ;
25997 char * kwnames
[] = {
25998 (char *) "self",(char *) "diff", NULL
26001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26003 if (!SWIG_IsOK(res1
)) {
26004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26006 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26008 if (!SWIG_IsOK(res2
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26014 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26019 result
= (wxDateTime
*) &_result_ref
;
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26031 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
= 0;
26033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26034 wxDateSpan
*arg2
= 0 ;
26035 wxDateTime
*result
= 0 ;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 char * kwnames
[] = {
26043 (char *) "self",(char *) "diff", NULL
26046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26051 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26053 if (!SWIG_IsOK(res2
)) {
26054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26059 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26064 result
= (wxDateTime
*) &_result_ref
;
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26076 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26079 wxDateTime
*arg2
= 0 ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 char * kwnames
[] = {
26088 (char *) "self",(char *) "dt", NULL
26091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26093 if (!SWIG_IsOK(res1
)) {
26094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26096 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26098 if (!SWIG_IsOK(res2
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26104 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26118 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26119 PyObject
*resultobj
= 0;
26120 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26121 wxTimeSpan
*arg2
= 0 ;
26122 wxDateTime
*result
= 0 ;
26128 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26133 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26134 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26135 if (!SWIG_IsOK(res2
)) {
26136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26141 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26145 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26146 result
= (wxDateTime
*) &_result_ref
;
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26158 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26159 PyObject
*resultobj
= 0;
26160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26161 wxDateSpan
*arg2
= 0 ;
26162 wxDateTime
*result
= 0 ;
26168 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26170 if (!SWIG_IsOK(res1
)) {
26171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26173 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26174 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26175 if (!SWIG_IsOK(res2
)) {
26176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26181 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26186 result
= (wxDateTime
*) &_result_ref
;
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26198 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26202 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26207 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26208 _v
= SWIG_CheckState(res
);
26210 if (!_v
) goto check_1
;
26211 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26216 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26220 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26225 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26226 PyObject
*resultobj
= 0;
26227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26228 wxTimeSpan
*arg2
= 0 ;
26229 wxDateTime
*result
= 0 ;
26235 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26237 if (!SWIG_IsOK(res1
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26240 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26241 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26242 if (!SWIG_IsOK(res2
)) {
26243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26248 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26253 result
= (wxDateTime
*) &_result_ref
;
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26265 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26266 PyObject
*resultobj
= 0;
26267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26268 wxDateSpan
*arg2
= 0 ;
26269 wxDateTime
*result
= 0 ;
26275 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26277 if (!SWIG_IsOK(res1
)) {
26278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26280 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26281 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26282 if (!SWIG_IsOK(res2
)) {
26283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26288 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26293 result
= (wxDateTime
*) &_result_ref
;
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26305 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26309 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26314 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26315 _v
= SWIG_CheckState(res
);
26317 if (!_v
) goto check_1
;
26318 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26323 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26327 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26332 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26333 PyObject
*resultobj
= 0;
26334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26335 wxTimeSpan
*arg2
= 0 ;
26342 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26347 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26348 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26349 if (!SWIG_IsOK(res2
)) {
26350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26355 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26369 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26370 PyObject
*resultobj
= 0;
26371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26372 wxDateSpan
*arg2
= 0 ;
26379 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26381 if (!SWIG_IsOK(res1
)) {
26382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26384 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26385 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26386 if (!SWIG_IsOK(res2
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26392 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26406 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26410 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26415 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26416 _v
= SWIG_CheckState(res
);
26418 if (!_v
) goto check_1
;
26419 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26424 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26428 Py_INCREF(Py_NotImplemented
);
26429 return Py_NotImplemented
;
26433 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26434 PyObject
*resultobj
= 0;
26435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26436 wxDateTime
*arg2
= 0 ;
26443 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26445 if (!SWIG_IsOK(res1
)) {
26446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26448 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26449 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26450 if (!SWIG_IsOK(res2
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26456 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26463 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26470 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26471 PyObject
*resultobj
= 0;
26472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26473 wxTimeSpan
*arg2
= 0 ;
26480 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26485 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26486 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26487 if (!SWIG_IsOK(res2
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26493 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26507 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26508 PyObject
*resultobj
= 0;
26509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26510 wxDateSpan
*arg2
= 0 ;
26517 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26519 if (!SWIG_IsOK(res1
)) {
26520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26522 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26523 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26524 if (!SWIG_IsOK(res2
)) {
26525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26530 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26544 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26548 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26553 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26554 _v
= SWIG_CheckState(res
);
26556 if (!_v
) goto check_1
;
26557 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26564 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26565 _v
= SWIG_CheckState(res
);
26567 if (!_v
) goto check_2
;
26568 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26573 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26577 Py_INCREF(Py_NotImplemented
);
26578 return Py_NotImplemented
;
26582 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
= 0;
26584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26585 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26593 char * kwnames
[] = {
26594 (char *) "self",(char *) "other", NULL
26597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26599 if (!SWIG_IsOK(res1
)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26602 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26604 if (!SWIG_IsOK(res2
)) {
26605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26607 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26610 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26623 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
= 0;
26625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26626 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char * kwnames
[] = {
26635 (char *) "self",(char *) "other", NULL
26638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26643 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26645 if (!SWIG_IsOK(res2
)) {
26646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26648 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26664 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
= 0;
26666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26667 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 char * kwnames
[] = {
26676 (char *) "self",(char *) "other", NULL
26679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26681 if (!SWIG_IsOK(res1
)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26684 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26686 if (!SWIG_IsOK(res2
)) {
26687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26689 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26705 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
= 0;
26707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26708 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26716 char * kwnames
[] = {
26717 (char *) "self",(char *) "other", NULL
26720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26722 if (!SWIG_IsOK(res1
)) {
26723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26725 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26727 if (!SWIG_IsOK(res2
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26730 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26746 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
= 0;
26748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26749 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "other", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26766 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26768 if (!SWIG_IsOK(res2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26771 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26787 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
= 0;
26789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26790 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 char * kwnames
[] = {
26799 (char *) "self",(char *) "other", NULL
26802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26807 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26809 if (!SWIG_IsOK(res2
)) {
26810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26812 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26828 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
= 0;
26830 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26831 wxString
*arg2
= 0 ;
26835 bool temp2
= false ;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 char * kwnames
[] = {
26839 (char *) "self",(char *) "date", NULL
26842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26844 if (!SWIG_IsOK(res1
)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26847 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26849 arg2
= wxString_in_helper(obj1
);
26850 if (arg2
== NULL
) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_From_int(static_cast< int >(result
));
26874 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
= 0;
26876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26877 wxString
*arg2
= 0 ;
26878 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26879 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26880 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26881 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26885 bool temp2
= false ;
26886 bool temp3
= false ;
26889 PyObject
* obj0
= 0 ;
26890 PyObject
* obj1
= 0 ;
26891 PyObject
* obj2
= 0 ;
26892 PyObject
* obj3
= 0 ;
26893 char * kwnames
[] = {
26894 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26902 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26904 arg2
= wxString_in_helper(obj1
);
26905 if (arg2
== NULL
) SWIG_fail
;
26910 arg3
= wxString_in_helper(obj2
);
26911 if (arg3
== NULL
) SWIG_fail
;
26916 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26917 if (!SWIG_IsOK(res4
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26923 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_From_int(static_cast< int >(result
));
26954 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
= 0;
26956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26957 wxString
*arg2
= 0 ;
26961 bool temp2
= false ;
26962 PyObject
* obj0
= 0 ;
26963 PyObject
* obj1
= 0 ;
26964 char * kwnames
[] = {
26965 (char *) "self",(char *) "datetime", NULL
26968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26970 if (!SWIG_IsOK(res1
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26973 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26975 arg2
= wxString_in_helper(obj1
);
26976 if (arg2
== NULL
) SWIG_fail
;
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= SWIG_From_int(static_cast< int >(result
));
27000 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
= 0;
27002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27003 wxString
*arg2
= 0 ;
27007 bool temp2
= false ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 char * kwnames
[] = {
27011 (char *) "self",(char *) "date", NULL
27014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27019 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27021 arg2
= wxString_in_helper(obj1
);
27022 if (arg2
== NULL
) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= SWIG_From_int(static_cast< int >(result
));
27046 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
= 0;
27048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27049 wxString
*arg2
= 0 ;
27053 bool temp2
= false ;
27054 PyObject
* obj0
= 0 ;
27055 PyObject
* obj1
= 0 ;
27056 char * kwnames
[] = {
27057 (char *) "self",(char *) "time", NULL
27060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27062 if (!SWIG_IsOK(res1
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27065 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27067 arg2
= wxString_in_helper(obj1
);
27068 if (arg2
== NULL
) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_From_int(static_cast< int >(result
));
27092 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
= 0;
27094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27095 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27096 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27097 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27098 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27102 bool temp2
= false ;
27103 bool temp3
= false ;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 PyObject
* obj2
= 0 ;
27107 char * kwnames
[] = {
27108 (char *) "self",(char *) "format",(char *) "tz", NULL
27111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27113 if (!SWIG_IsOK(res1
)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27116 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27119 arg2
= wxString_in_helper(obj1
);
27120 if (arg2
== NULL
) SWIG_fail
;
27126 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27148 if (temp3
) delete arg3
;
27157 if (temp3
) delete arg3
;
27163 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27164 PyObject
*resultobj
= 0;
27165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27169 PyObject
*swig_obj
[1] ;
27171 if (!args
) SWIG_fail
;
27172 swig_obj
[0] = args
;
27173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27174 if (!SWIG_IsOK(res1
)) {
27175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27177 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27197 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27198 PyObject
*resultobj
= 0;
27199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27203 PyObject
*swig_obj
[1] ;
27205 if (!args
) SWIG_fail
;
27206 swig_obj
[0] = args
;
27207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27208 if (!SWIG_IsOK(res1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27211 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27231 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27232 PyObject
*resultobj
= 0;
27233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27237 PyObject
*swig_obj
[1] ;
27239 if (!args
) SWIG_fail
;
27240 swig_obj
[0] = args
;
27241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27242 if (!SWIG_IsOK(res1
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27245 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27265 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27266 PyObject
*resultobj
= 0;
27267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27271 PyObject
*swig_obj
[1] ;
27273 if (!args
) SWIG_fail
;
27274 swig_obj
[0] = args
;
27275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27276 if (!SWIG_IsOK(res1
)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27279 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27299 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27302 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27303 return SWIG_Py_Void();
27306 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27307 return SWIG_Python_InitShadowInstance(args
);
27310 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
= 0;
27316 PyObject
* obj0
= 0 ;
27317 char * kwnames
[] = {
27318 (char *) "sec", NULL
27321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27322 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27323 if (!SWIG_IsOK(ecode1
)) {
27324 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27326 arg1
= static_cast< long >(val1
);
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 result
= wxTimeSpan::Seconds(arg1
);
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27340 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27341 PyObject
*resultobj
= 0;
27344 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= wxTimeSpan::Second();
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27358 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
= 0;
27364 PyObject
* obj0
= 0 ;
27365 char * kwnames
[] = {
27366 (char *) "min", NULL
27369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27370 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27371 if (!SWIG_IsOK(ecode1
)) {
27372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27374 arg1
= static_cast< long >(val1
);
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= wxTimeSpan::Minutes(arg1
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27388 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27389 PyObject
*resultobj
= 0;
27392 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 result
= wxTimeSpan::Minute();
27396 wxPyEndAllowThreads(__tstate
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27406 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
= 0;
27412 PyObject
* obj0
= 0 ;
27413 char * kwnames
[] = {
27414 (char *) "hours", NULL
27417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27418 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27419 if (!SWIG_IsOK(ecode1
)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27422 arg1
= static_cast< long >(val1
);
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 result
= wxTimeSpan::Hours(arg1
);
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27429 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27436 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27437 PyObject
*resultobj
= 0;
27440 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= wxTimeSpan::Hour();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27454 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
= 0;
27460 PyObject
* obj0
= 0 ;
27461 char * kwnames
[] = {
27462 (char *) "days", NULL
27465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27466 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27467 if (!SWIG_IsOK(ecode1
)) {
27468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27470 arg1
= static_cast< long >(val1
);
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= wxTimeSpan::Days(arg1
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27484 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27485 PyObject
*resultobj
= 0;
27488 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 result
= wxTimeSpan::Day();
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27502 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
= 0;
27508 PyObject
* obj0
= 0 ;
27509 char * kwnames
[] = {
27510 (char *) "days", NULL
27513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27514 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27515 if (!SWIG_IsOK(ecode1
)) {
27516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27518 arg1
= static_cast< long >(val1
);
27520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27521 result
= wxTimeSpan::Weeks(arg1
);
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27532 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27533 PyObject
*resultobj
= 0;
27536 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 result
= wxTimeSpan::Week();
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27550 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27551 PyObject
*resultobj
= 0;
27552 long arg1
= (long) 0 ;
27553 long arg2
= (long) 0 ;
27554 long arg3
= (long) 0 ;
27555 long arg4
= (long) 0 ;
27556 wxTimeSpan
*result
= 0 ;
27565 PyObject
* obj0
= 0 ;
27566 PyObject
* obj1
= 0 ;
27567 PyObject
* obj2
= 0 ;
27568 PyObject
* obj3
= 0 ;
27569 char * kwnames
[] = {
27570 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27575 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27576 if (!SWIG_IsOK(ecode1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27579 arg1
= static_cast< long >(val1
);
27582 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27583 if (!SWIG_IsOK(ecode2
)) {
27584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27586 arg2
= static_cast< long >(val2
);
27589 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27590 if (!SWIG_IsOK(ecode3
)) {
27591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27593 arg3
= static_cast< long >(val3
);
27596 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27597 if (!SWIG_IsOK(ecode4
)) {
27598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27600 arg4
= static_cast< long >(val4
);
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27615 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27616 PyObject
*resultobj
= 0;
27617 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27620 PyObject
*swig_obj
[1] ;
27622 if (!args
) SWIG_fail
;
27623 swig_obj
[0] = args
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27628 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 resultobj
= SWIG_Py_Void();
27643 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
= 0;
27645 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27646 wxTimeSpan
*arg2
= 0 ;
27647 wxTimeSpan
*result
= 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char * kwnames
[] = {
27655 (char *) "self",(char *) "diff", NULL
27658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27663 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27665 if (!SWIG_IsOK(res2
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27671 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27676 result
= (wxTimeSpan
*) &_result_ref
;
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27688 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
= 0;
27690 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27691 wxTimeSpan
*arg2
= 0 ;
27692 wxTimeSpan
*result
= 0 ;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 char * kwnames
[] = {
27700 (char *) "self",(char *) "diff", NULL
27703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27708 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27710 if (!SWIG_IsOK(res2
)) {
27711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27716 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27721 result
= (wxTimeSpan
*) &_result_ref
;
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27733 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
= 0;
27735 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27737 wxTimeSpan
*result
= 0 ;
27742 PyObject
* obj0
= 0 ;
27743 PyObject
* obj1
= 0 ;
27744 char * kwnames
[] = {
27745 (char *) "self",(char *) "n", NULL
27748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27750 if (!SWIG_IsOK(res1
)) {
27751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27753 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27755 if (!SWIG_IsOK(ecode2
)) {
27756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27758 arg2
= static_cast< int >(val2
);
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27763 result
= (wxTimeSpan
*) &_result_ref
;
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27775 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27777 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27778 wxTimeSpan
*result
= 0 ;
27781 PyObject
*swig_obj
[1] ;
27783 if (!args
) SWIG_fail
;
27784 swig_obj
[0] = args
;
27785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27789 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27794 result
= (wxTimeSpan
*) &_result_ref
;
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27806 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27807 PyObject
*resultobj
= 0;
27808 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27812 PyObject
*swig_obj
[1] ;
27814 if (!args
) SWIG_fail
;
27815 swig_obj
[0] = args
;
27816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27817 if (!SWIG_IsOK(res1
)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27820 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27834 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
= 0;
27836 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27837 wxTimeSpan
*arg2
= 0 ;
27838 wxTimeSpan
*result
= 0 ;
27843 PyObject
* obj0
= 0 ;
27844 PyObject
* obj1
= 0 ;
27845 char * kwnames
[] = {
27846 (char *) "self",(char *) "diff", NULL
27849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27854 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27856 if (!SWIG_IsOK(res2
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27862 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27867 result
= (wxTimeSpan
*) &_result_ref
;
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27879 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
= 0;
27881 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27882 wxTimeSpan
*arg2
= 0 ;
27883 wxTimeSpan
*result
= 0 ;
27888 PyObject
* obj0
= 0 ;
27889 PyObject
* obj1
= 0 ;
27890 char * kwnames
[] = {
27891 (char *) "self",(char *) "diff", NULL
27894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27896 if (!SWIG_IsOK(res1
)) {
27897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27899 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27901 if (!SWIG_IsOK(res2
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27907 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27912 result
= (wxTimeSpan
*) &_result_ref
;
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27924 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
= 0;
27926 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27928 wxTimeSpan
*result
= 0 ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 char * kwnames
[] = {
27936 (char *) "self",(char *) "n", NULL
27939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27941 if (!SWIG_IsOK(res1
)) {
27942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27944 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27946 if (!SWIG_IsOK(ecode2
)) {
27947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
27949 arg2
= static_cast< int >(val2
);
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27954 result
= (wxTimeSpan
*) &_result_ref
;
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27966 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27967 PyObject
*resultobj
= 0;
27968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27969 wxTimeSpan
*result
= 0 ;
27972 PyObject
*swig_obj
[1] ;
27974 if (!args
) SWIG_fail
;
27975 swig_obj
[0] = args
;
27976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27977 if (!SWIG_IsOK(res1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27980 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
27985 result
= (wxTimeSpan
*) &_result_ref
;
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27997 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
= 0;
27999 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28000 wxTimeSpan
*arg2
= 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char * kwnames
[] = {
28009 (char *) "self",(char *) "other", NULL
28012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28017 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28019 if (!SWIG_IsOK(res2
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28025 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28039 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
= 0;
28041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28042 wxTimeSpan
*arg2
= 0 ;
28048 PyObject
* obj0
= 0 ;
28049 PyObject
* obj1
= 0 ;
28050 char * kwnames
[] = {
28051 (char *) "self",(char *) "other", NULL
28054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28059 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28061 if (!SWIG_IsOK(res2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28067 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28081 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
= 0;
28083 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 char * kwnames
[] = {
28093 (char *) "self",(char *) "n", NULL
28096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28098 if (!SWIG_IsOK(res1
)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28101 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28103 if (!SWIG_IsOK(ecode2
)) {
28104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28106 arg2
= static_cast< int >(val2
);
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= wxTimeSpan___mul__(arg1
,arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28120 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
= 0;
28122 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 PyObject
* obj1
= 0 ;
28131 char * kwnames
[] = {
28132 (char *) "self",(char *) "n", NULL
28135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28137 if (!SWIG_IsOK(res1
)) {
28138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28140 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28142 if (!SWIG_IsOK(ecode2
)) {
28143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28145 arg2
= static_cast< int >(val2
);
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28159 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
= 0;
28161 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28162 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28168 PyObject
* obj0
= 0 ;
28169 PyObject
* obj1
= 0 ;
28170 char * kwnames
[] = {
28171 (char *) "self",(char *) "other", NULL
28174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28176 if (!SWIG_IsOK(res1
)) {
28177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28179 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28181 if (!SWIG_IsOK(res2
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28184 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28200 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
= 0;
28202 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28203 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28209 PyObject
* obj0
= 0 ;
28210 PyObject
* obj1
= 0 ;
28211 char * kwnames
[] = {
28212 (char *) "self",(char *) "other", NULL
28215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28220 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28222 if (!SWIG_IsOK(res2
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28225 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28241 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
= 0;
28243 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28244 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28250 PyObject
* obj0
= 0 ;
28251 PyObject
* obj1
= 0 ;
28252 char * kwnames
[] = {
28253 (char *) "self",(char *) "other", NULL
28256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28258 if (!SWIG_IsOK(res1
)) {
28259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28261 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28263 if (!SWIG_IsOK(res2
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28266 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28282 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
= 0;
28284 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28285 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 char * kwnames
[] = {
28294 (char *) "self",(char *) "other", NULL
28297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28302 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28304 if (!SWIG_IsOK(res2
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28307 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28323 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28324 PyObject
*resultobj
= 0;
28325 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28326 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char * kwnames
[] = {
28335 (char *) "self",(char *) "other", NULL
28338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28340 if (!SWIG_IsOK(res1
)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28343 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28345 if (!SWIG_IsOK(res2
)) {
28346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28348 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28364 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
= 0;
28366 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28367 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28373 PyObject
* obj0
= 0 ;
28374 PyObject
* obj1
= 0 ;
28375 char * kwnames
[] = {
28376 (char *) "self",(char *) "other", NULL
28379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28384 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28386 if (!SWIG_IsOK(res2
)) {
28387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28389 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28405 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28406 PyObject
*resultobj
= 0;
28407 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28411 PyObject
*swig_obj
[1] ;
28413 if (!args
) SWIG_fail
;
28414 swig_obj
[0] = args
;
28415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28416 if (!SWIG_IsOK(res1
)) {
28417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28419 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28435 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28436 PyObject
*resultobj
= 0;
28437 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28441 PyObject
*swig_obj
[1] ;
28443 if (!args
) SWIG_fail
;
28444 swig_obj
[0] = args
;
28445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28446 if (!SWIG_IsOK(res1
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28449 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28465 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28466 PyObject
*resultobj
= 0;
28467 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28471 PyObject
*swig_obj
[1] ;
28473 if (!args
) SWIG_fail
;
28474 swig_obj
[0] = args
;
28475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28476 if (!SWIG_IsOK(res1
)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28479 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28495 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
= 0;
28497 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28498 wxTimeSpan
*arg2
= 0 ;
28504 PyObject
* obj0
= 0 ;
28505 PyObject
* obj1
= 0 ;
28506 char * kwnames
[] = {
28507 (char *) "self",(char *) "ts", NULL
28510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28512 if (!SWIG_IsOK(res1
)) {
28513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28515 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28517 if (!SWIG_IsOK(res2
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28523 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28539 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
= 0;
28541 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28542 wxTimeSpan
*arg2
= 0 ;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 char * kwnames
[] = {
28551 (char *) "self",(char *) "ts", NULL
28554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28556 if (!SWIG_IsOK(res1
)) {
28557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28559 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28561 if (!SWIG_IsOK(res2
)) {
28562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28567 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28571 wxPyEndAllowThreads(__tstate
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28583 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
= 0;
28585 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28586 wxTimeSpan
*arg2
= 0 ;
28592 PyObject
* obj0
= 0 ;
28593 PyObject
* obj1
= 0 ;
28594 char * kwnames
[] = {
28595 (char *) "self",(char *) "t", NULL
28598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28600 if (!SWIG_IsOK(res1
)) {
28601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28603 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28605 if (!SWIG_IsOK(res2
)) {
28606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28611 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28627 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28628 PyObject
*resultobj
= 0;
28629 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28633 PyObject
*swig_obj
[1] ;
28635 if (!args
) SWIG_fail
;
28636 swig_obj
[0] = args
;
28637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28638 if (!SWIG_IsOK(res1
)) {
28639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28641 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28645 wxPyEndAllowThreads(__tstate
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= SWIG_From_int(static_cast< int >(result
));
28655 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28656 PyObject
*resultobj
= 0;
28657 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28661 PyObject
*swig_obj
[1] ;
28663 if (!args
) SWIG_fail
;
28664 swig_obj
[0] = args
;
28665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28666 if (!SWIG_IsOK(res1
)) {
28667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28669 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28673 wxPyEndAllowThreads(__tstate
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= SWIG_From_int(static_cast< int >(result
));
28683 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28684 PyObject
*resultobj
= 0;
28685 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28689 PyObject
*swig_obj
[1] ;
28691 if (!args
) SWIG_fail
;
28692 swig_obj
[0] = args
;
28693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28694 if (!SWIG_IsOK(res1
)) {
28695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28697 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= SWIG_From_int(static_cast< int >(result
));
28711 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28712 PyObject
*resultobj
= 0;
28713 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28717 PyObject
*swig_obj
[1] ;
28719 if (!args
) SWIG_fail
;
28720 swig_obj
[0] = args
;
28721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28722 if (!SWIG_IsOK(res1
)) {
28723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28725 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 resultobj
= SWIG_From_int(static_cast< int >(result
));
28739 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28740 PyObject
*resultobj
= 0;
28741 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28745 PyObject
*swig_obj
[1] ;
28747 if (!args
) SWIG_fail
;
28748 swig_obj
[0] = args
;
28749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28750 if (!SWIG_IsOK(res1
)) {
28751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28753 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28761 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28762 hi
= PyLong_FromLong( (&result
)->GetHi() );
28763 lo
= PyLong_FromLong( (&result
)->GetLo() );
28764 shifter
= PyLong_FromLong(32);
28765 shifted
= PyNumber_Lshift(hi
, shifter
);
28766 resultobj
= PyNumber_Or(shifted
, lo
);
28769 Py_DECREF(shifter
);
28770 Py_DECREF(shifted
);
28778 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28779 PyObject
*resultobj
= 0;
28780 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28784 PyObject
*swig_obj
[1] ;
28786 if (!args
) SWIG_fail
;
28787 swig_obj
[0] = args
;
28788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28789 if (!SWIG_IsOK(res1
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28792 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28800 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28801 hi
= PyLong_FromLong( (&result
)->GetHi() );
28802 lo
= PyLong_FromLong( (&result
)->GetLo() );
28803 shifter
= PyLong_FromLong(32);
28804 shifted
= PyNumber_Lshift(hi
, shifter
);
28805 resultobj
= PyNumber_Or(shifted
, lo
);
28808 Py_DECREF(shifter
);
28809 Py_DECREF(shifted
);
28817 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
= 0;
28819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28820 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28821 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28825 bool temp2
= false ;
28826 PyObject
* obj0
= 0 ;
28827 PyObject
* obj1
= 0 ;
28828 char * kwnames
[] = {
28829 (char *) "self",(char *) "format", NULL
28832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28834 if (!SWIG_IsOK(res1
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28837 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28840 arg2
= wxString_in_helper(obj1
);
28841 if (arg2
== NULL
) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28872 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28875 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28876 return SWIG_Py_Void();
28879 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28880 return SWIG_Python_InitShadowInstance(args
);
28883 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
= 0;
28885 int arg1
= (int) 0 ;
28886 int arg2
= (int) 0 ;
28887 int arg3
= (int) 0 ;
28888 int arg4
= (int) 0 ;
28889 wxDateSpan
*result
= 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 PyObject
* obj2
= 0 ;
28901 PyObject
* obj3
= 0 ;
28902 char * kwnames
[] = {
28903 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28908 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28909 if (!SWIG_IsOK(ecode1
)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28912 arg1
= static_cast< int >(val1
);
28915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28916 if (!SWIG_IsOK(ecode2
)) {
28917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28919 arg2
= static_cast< int >(val2
);
28922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28923 if (!SWIG_IsOK(ecode3
)) {
28924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28926 arg3
= static_cast< int >(val3
);
28929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28930 if (!SWIG_IsOK(ecode4
)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28933 arg4
= static_cast< int >(val4
);
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
28948 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28949 PyObject
*resultobj
= 0;
28950 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
28953 PyObject
*swig_obj
[1] ;
28955 if (!args
) SWIG_fail
;
28956 swig_obj
[0] = args
;
28957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
28958 if (!SWIG_IsOK(res1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
28961 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= SWIG_Py_Void();
28976 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
= 0;
28982 PyObject
* obj0
= 0 ;
28983 char * kwnames
[] = {
28984 (char *) "days", NULL
28987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28989 if (!SWIG_IsOK(ecode1
)) {
28990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
28992 arg1
= static_cast< int >(val1
);
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 result
= wxDateSpan::Days(arg1
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29006 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29007 PyObject
*resultobj
= 0;
29010 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 result
= wxDateSpan::Day();
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29024 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
= 0;
29030 PyObject
* obj0
= 0 ;
29031 char * kwnames
[] = {
29032 (char *) "weeks", NULL
29035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29037 if (!SWIG_IsOK(ecode1
)) {
29038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29040 arg1
= static_cast< int >(val1
);
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 result
= wxDateSpan::Weeks(arg1
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29054 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29055 PyObject
*resultobj
= 0;
29058 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 result
= wxDateSpan::Week();
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29072 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
= 0;
29078 PyObject
* obj0
= 0 ;
29079 char * kwnames
[] = {
29080 (char *) "mon", NULL
29083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29085 if (!SWIG_IsOK(ecode1
)) {
29086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29088 arg1
= static_cast< int >(val1
);
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 result
= wxDateSpan::Months(arg1
);
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29102 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29103 PyObject
*resultobj
= 0;
29106 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= wxDateSpan::Month();
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29120 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
= 0;
29126 PyObject
* obj0
= 0 ;
29127 char * kwnames
[] = {
29128 (char *) "years", NULL
29131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29132 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29133 if (!SWIG_IsOK(ecode1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29136 arg1
= static_cast< int >(val1
);
29138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 result
= wxDateSpan::Years(arg1
);
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29150 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29151 PyObject
*resultobj
= 0;
29154 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 result
= wxDateSpan::Year();
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29168 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
= 0;
29170 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29172 wxDateSpan
*result
= 0 ;
29177 PyObject
* obj0
= 0 ;
29178 PyObject
* obj1
= 0 ;
29179 char * kwnames
[] = {
29180 (char *) "self",(char *) "n", NULL
29183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29185 if (!SWIG_IsOK(res1
)) {
29186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29188 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29190 if (!SWIG_IsOK(ecode2
)) {
29191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29193 arg2
= static_cast< int >(val2
);
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29198 result
= (wxDateSpan
*) &_result_ref
;
29200 wxPyEndAllowThreads(__tstate
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29210 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
= 0;
29212 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29214 wxDateSpan
*result
= 0 ;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 char * kwnames
[] = {
29222 (char *) "self",(char *) "n", NULL
29225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29227 if (!SWIG_IsOK(res1
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29230 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29232 if (!SWIG_IsOK(ecode2
)) {
29233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29235 arg2
= static_cast< int >(val2
);
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29240 result
= (wxDateSpan
*) &_result_ref
;
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29252 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
= 0;
29254 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29256 wxDateSpan
*result
= 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 char * kwnames
[] = {
29264 (char *) "self",(char *) "n", NULL
29267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29269 if (!SWIG_IsOK(res1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29272 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29274 if (!SWIG_IsOK(ecode2
)) {
29275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29277 arg2
= static_cast< int >(val2
);
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29281 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29282 result
= (wxDateSpan
*) &_result_ref
;
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29294 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
= 0;
29296 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29298 wxDateSpan
*result
= 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 char * kwnames
[] = {
29306 (char *) "self",(char *) "n", NULL
29309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29311 if (!SWIG_IsOK(res1
)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29314 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29316 if (!SWIG_IsOK(ecode2
)) {
29317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29319 arg2
= static_cast< int >(val2
);
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29324 result
= (wxDateSpan
*) &_result_ref
;
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29336 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29337 PyObject
*resultobj
= 0;
29338 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29342 PyObject
*swig_obj
[1] ;
29344 if (!args
) SWIG_fail
;
29345 swig_obj
[0] = args
;
29346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29347 if (!SWIG_IsOK(res1
)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29350 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= SWIG_From_int(static_cast< int >(result
));
29364 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29365 PyObject
*resultobj
= 0;
29366 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29370 PyObject
*swig_obj
[1] ;
29372 if (!args
) SWIG_fail
;
29373 swig_obj
[0] = args
;
29374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29375 if (!SWIG_IsOK(res1
)) {
29376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29378 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= SWIG_From_int(static_cast< int >(result
));
29392 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29393 PyObject
*resultobj
= 0;
29394 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29398 PyObject
*swig_obj
[1] ;
29400 if (!args
) SWIG_fail
;
29401 swig_obj
[0] = args
;
29402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29403 if (!SWIG_IsOK(res1
)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29406 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29413 resultobj
= SWIG_From_int(static_cast< int >(result
));
29420 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29421 PyObject
*resultobj
= 0;
29422 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29426 PyObject
*swig_obj
[1] ;
29428 if (!args
) SWIG_fail
;
29429 swig_obj
[0] = args
;
29430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29431 if (!SWIG_IsOK(res1
)) {
29432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29434 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= SWIG_From_int(static_cast< int >(result
));
29448 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29449 PyObject
*resultobj
= 0;
29450 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29454 PyObject
*swig_obj
[1] ;
29456 if (!args
) SWIG_fail
;
29457 swig_obj
[0] = args
;
29458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29459 if (!SWIG_IsOK(res1
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29462 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29469 resultobj
= SWIG_From_int(static_cast< int >(result
));
29476 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
= 0;
29478 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29479 wxDateSpan
*arg2
= 0 ;
29480 wxDateSpan
*result
= 0 ;
29485 PyObject
* obj0
= 0 ;
29486 PyObject
* obj1
= 0 ;
29487 char * kwnames
[] = {
29488 (char *) "self",(char *) "other", NULL
29491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29493 if (!SWIG_IsOK(res1
)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29496 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29498 if (!SWIG_IsOK(res2
)) {
29499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29504 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29509 result
= (wxDateSpan
*) &_result_ref
;
29511 wxPyEndAllowThreads(__tstate
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29521 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29522 PyObject
*resultobj
= 0;
29523 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29524 wxDateSpan
*arg2
= 0 ;
29525 wxDateSpan
*result
= 0 ;
29530 PyObject
* obj0
= 0 ;
29531 PyObject
* obj1
= 0 ;
29532 char * kwnames
[] = {
29533 (char *) "self",(char *) "other", NULL
29536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29541 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29543 if (!SWIG_IsOK(res2
)) {
29544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29549 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29554 result
= (wxDateSpan
*) &_result_ref
;
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29566 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29567 PyObject
*resultobj
= 0;
29568 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29569 wxDateSpan
*result
= 0 ;
29572 PyObject
*swig_obj
[1] ;
29574 if (!args
) SWIG_fail
;
29575 swig_obj
[0] = args
;
29576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29577 if (!SWIG_IsOK(res1
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29580 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29585 result
= (wxDateSpan
*) &_result_ref
;
29587 wxPyEndAllowThreads(__tstate
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29597 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
= 0;
29599 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29601 wxDateSpan
*result
= 0 ;
29606 PyObject
* obj0
= 0 ;
29607 PyObject
* obj1
= 0 ;
29608 char * kwnames
[] = {
29609 (char *) "self",(char *) "factor", NULL
29612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29614 if (!SWIG_IsOK(res1
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29617 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29619 if (!SWIG_IsOK(ecode2
)) {
29620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29622 arg2
= static_cast< int >(val2
);
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29627 result
= (wxDateSpan
*) &_result_ref
;
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29639 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
= 0;
29641 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29642 wxDateSpan
*arg2
= 0 ;
29643 wxDateSpan
*result
= 0 ;
29648 PyObject
* obj0
= 0 ;
29649 PyObject
* obj1
= 0 ;
29650 char * kwnames
[] = {
29651 (char *) "self",(char *) "other", NULL
29654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29656 if (!SWIG_IsOK(res1
)) {
29657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29659 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29661 if (!SWIG_IsOK(res2
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29667 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29672 result
= (wxDateSpan
*) &_result_ref
;
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29684 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
= 0;
29686 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29687 wxDateSpan
*arg2
= 0 ;
29688 wxDateSpan
*result
= 0 ;
29693 PyObject
* obj0
= 0 ;
29694 PyObject
* obj1
= 0 ;
29695 char * kwnames
[] = {
29696 (char *) "self",(char *) "other", NULL
29699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29701 if (!SWIG_IsOK(res1
)) {
29702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29704 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29706 if (!SWIG_IsOK(res2
)) {
29707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29712 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29717 result
= (wxDateSpan
*) &_result_ref
;
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29729 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29730 PyObject
*resultobj
= 0;
29731 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29732 wxDateSpan
*result
= 0 ;
29735 PyObject
*swig_obj
[1] ;
29737 if (!args
) SWIG_fail
;
29738 swig_obj
[0] = args
;
29739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29740 if (!SWIG_IsOK(res1
)) {
29741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29743 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29747 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29748 result
= (wxDateSpan
*) &_result_ref
;
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29760 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
= 0;
29762 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29764 wxDateSpan
*result
= 0 ;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 char * kwnames
[] = {
29772 (char *) "self",(char *) "factor", NULL
29775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29777 if (!SWIG_IsOK(res1
)) {
29778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29780 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29782 if (!SWIG_IsOK(ecode2
)) {
29783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29785 arg2
= static_cast< int >(val2
);
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29790 result
= (wxDateSpan
*) &_result_ref
;
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29802 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
= 0;
29804 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29805 wxDateSpan
*arg2
= 0 ;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 char * kwnames
[] = {
29814 (char *) "self",(char *) "other", NULL
29817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29819 if (!SWIG_IsOK(res1
)) {
29820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29822 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29824 if (!SWIG_IsOK(res2
)) {
29825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29830 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29837 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29844 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
= 0;
29846 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29847 wxDateSpan
*arg2
= 0 ;
29853 PyObject
* obj0
= 0 ;
29854 PyObject
* obj1
= 0 ;
29855 char * kwnames
[] = {
29856 (char *) "self",(char *) "other", NULL
29859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29861 if (!SWIG_IsOK(res1
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29864 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29866 if (!SWIG_IsOK(res2
)) {
29867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29872 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29886 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
= 0;
29888 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29895 PyObject
* obj0
= 0 ;
29896 PyObject
* obj1
= 0 ;
29897 char * kwnames
[] = {
29898 (char *) "self",(char *) "n", NULL
29901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29906 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29908 if (!SWIG_IsOK(ecode2
)) {
29909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29911 arg2
= static_cast< int >(val2
);
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 result
= wxDateSpan___mul__(arg1
,arg2
);
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29925 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29926 PyObject
*resultobj
= 0;
29927 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 char * kwnames
[] = {
29937 (char *) "self",(char *) "n", NULL
29940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29942 if (!SWIG_IsOK(res1
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29945 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29947 if (!SWIG_IsOK(ecode2
)) {
29948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29950 arg2
= static_cast< int >(val2
);
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= wxDateSpan___rmul__(arg1
,arg2
);
29954 wxPyEndAllowThreads(__tstate
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29964 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29965 PyObject
*resultobj
= 0;
29966 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29967 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 char * kwnames
[] = {
29976 (char *) "self",(char *) "other", NULL
29979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29981 if (!SWIG_IsOK(res1
)) {
29982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29984 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29986 if (!SWIG_IsOK(res2
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
29989 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30005 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
= 0;
30007 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30008 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char * kwnames
[] = {
30017 (char *) "self",(char *) "other", NULL
30020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30025 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30027 if (!SWIG_IsOK(res2
)) {
30028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30030 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30034 wxPyEndAllowThreads(__tstate
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30046 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30049 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30050 return SWIG_Py_Void();
30053 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30054 return SWIG_Python_InitShadowInstance(args
);
30057 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30058 PyObject
*resultobj
= 0;
30061 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 result
= (long)wxGetLocalTime();
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= SWIG_From_long(static_cast< long >(result
));
30075 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30076 PyObject
*resultobj
= 0;
30079 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 result
= (long)wxGetUTCTime();
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= SWIG_From_long(static_cast< long >(result
));
30093 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30094 PyObject
*resultobj
= 0;
30097 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (long)wxGetCurrentTime();
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 resultobj
= SWIG_From_long(static_cast< long >(result
));
30111 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30112 PyObject
*resultobj
= 0;
30115 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 result
= wxGetLocalTimeMillis();
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30124 hi
= PyLong_FromLong( (&result
)->GetHi() );
30125 lo
= PyLong_FromLong( (&result
)->GetLo() );
30126 shifter
= PyLong_FromLong(32);
30127 shifted
= PyNumber_Lshift(hi
, shifter
);
30128 resultobj
= PyNumber_Or(shifted
, lo
);
30131 Py_DECREF(shifter
);
30132 Py_DECREF(shifted
);
30140 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30141 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30146 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30147 PyObject
*pyobj
= 0;
30149 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30154 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30155 PyObject
*resultobj
= 0;
30156 wxDataFormatId arg1
;
30157 wxDataFormat
*result
= 0 ;
30160 PyObject
* obj0
= 0 ;
30161 char * kwnames
[] = {
30162 (char *) "type", NULL
30165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30167 if (!SWIG_IsOK(ecode1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30170 arg1
= static_cast< wxDataFormatId
>(val1
);
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30184 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30185 PyObject
*resultobj
= 0;
30186 wxString
*arg1
= 0 ;
30187 wxDataFormat
*result
= 0 ;
30188 bool temp1
= false ;
30189 PyObject
* obj0
= 0 ;
30190 char * kwnames
[] = {
30191 (char *) "format", NULL
30194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30196 arg1
= wxString_in_helper(obj0
);
30197 if (arg1
== NULL
) SWIG_fail
;
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30221 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30222 PyObject
*resultobj
= 0;
30223 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30226 PyObject
*swig_obj
[1] ;
30228 if (!args
) SWIG_fail
;
30229 swig_obj
[0] = args
;
30230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30231 if (!SWIG_IsOK(res1
)) {
30232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30234 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 resultobj
= SWIG_Py_Void();
30249 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30250 PyObject
*resultobj
= 0;
30251 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30252 wxDataFormatId arg2
;
30259 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30261 if (!SWIG_IsOK(res1
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30264 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30265 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30266 if (!SWIG_IsOK(ecode2
)) {
30267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30269 arg2
= static_cast< wxDataFormatId
>(val2
);
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30285 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30286 PyObject
*resultobj
= 0;
30287 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30288 wxDataFormatId arg2
;
30295 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30297 if (!SWIG_IsOK(res1
)) {
30298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30300 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30301 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30302 if (!SWIG_IsOK(ecode2
)) {
30303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30305 arg2
= static_cast< wxDataFormatId
>(val2
);
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30321 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30322 PyObject
*resultobj
= 0;
30323 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30324 wxDataFormat
*arg2
= 0 ;
30331 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30333 if (!SWIG_IsOK(res1
)) {
30334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30336 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30337 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30338 if (!SWIG_IsOK(res2
)) {
30339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30344 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30360 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30364 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30369 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30370 _v
= SWIG_CheckState(res
);
30372 if (!_v
) goto check_1
;
30373 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30378 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30382 Py_INCREF(Py_NotImplemented
);
30383 return Py_NotImplemented
;
30387 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30388 PyObject
*resultobj
= 0;
30389 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30390 wxDataFormat
*arg2
= 0 ;
30397 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30399 if (!SWIG_IsOK(res1
)) {
30400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30402 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30403 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30404 if (!SWIG_IsOK(res2
)) {
30405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30410 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30426 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30430 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30435 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30436 _v
= SWIG_CheckState(res
);
30438 if (!_v
) goto check_1
;
30439 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30444 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30448 Py_INCREF(Py_NotImplemented
);
30449 return Py_NotImplemented
;
30453 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30454 PyObject
*resultobj
= 0;
30455 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30456 wxDataFormatId arg2
;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 char * kwnames
[] = {
30464 (char *) "self",(char *) "format", NULL
30467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30469 if (!SWIG_IsOK(res1
)) {
30470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30472 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30474 if (!SWIG_IsOK(ecode2
)) {
30475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30477 arg2
= static_cast< wxDataFormatId
>(val2
);
30479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30480 (arg1
)->SetType(arg2
);
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= SWIG_Py_Void();
30491 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30492 PyObject
*resultobj
= 0;
30493 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30494 wxDataFormatId result
;
30497 PyObject
*swig_obj
[1] ;
30499 if (!args
) SWIG_fail
;
30500 swig_obj
[0] = args
;
30501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30505 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= SWIG_From_int(static_cast< int >(result
));
30519 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30520 PyObject
*resultobj
= 0;
30521 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30525 PyObject
*swig_obj
[1] ;
30527 if (!args
) SWIG_fail
;
30528 swig_obj
[0] = args
;
30529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30530 if (!SWIG_IsOK(res1
)) {
30531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30533 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= ((wxDataFormat
const *)arg1
)->GetId();
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30553 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
= 0;
30555 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30556 wxString
*arg2
= 0 ;
30559 bool temp2
= false ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char * kwnames
[] = {
30563 (char *) "self",(char *) "format", NULL
30566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30568 if (!SWIG_IsOK(res1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30571 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30573 arg2
= wxString_in_helper(obj1
);
30574 if (arg2
== NULL
) SWIG_fail
;
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 (arg1
)->SetId((wxString
const &)*arg2
);
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30583 resultobj
= SWIG_Py_Void();
30598 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30601 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30602 return SWIG_Py_Void();
30605 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30606 return SWIG_Python_InitShadowInstance(args
);
30609 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30610 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30615 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30616 PyObject
*pyobj
= 0;
30618 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30623 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30624 PyObject
*resultobj
= 0;
30625 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30628 PyObject
*swig_obj
[1] ;
30630 if (!args
) SWIG_fail
;
30631 swig_obj
[0] = args
;
30632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30633 if (!SWIG_IsOK(res1
)) {
30634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30636 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30644 resultobj
= SWIG_Py_Void();
30651 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
= 0;
30653 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30654 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30655 SwigValueWrapper
<wxDataFormat
> result
;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 char * kwnames
[] = {
30663 (char *) "self",(char *) "dir", NULL
30666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30668 if (!SWIG_IsOK(res1
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30671 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30674 if (!SWIG_IsOK(ecode2
)) {
30675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30677 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30692 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
= 0;
30694 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30695 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char * kwnames
[] = {
30704 (char *) "self",(char *) "dir", NULL
30707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30709 if (!SWIG_IsOK(res1
)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30712 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30715 if (!SWIG_IsOK(ecode2
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30718 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30733 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
= 0;
30735 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30736 wxDataFormat
*arg2
= 0 ;
30737 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 PyObject
* obj2
= 0 ;
30748 char * kwnames
[] = {
30749 (char *) "self",(char *) "format",(char *) "dir", NULL
30752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30754 if (!SWIG_IsOK(res1
)) {
30755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30757 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30759 if (!SWIG_IsOK(res2
)) {
30760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30765 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30768 if (!SWIG_IsOK(ecode3
)) {
30769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30771 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30788 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
= 0;
30790 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30791 wxDataFormat
*arg2
= 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char * kwnames
[] = {
30800 (char *) "self",(char *) "format", NULL
30803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30808 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30810 if (!SWIG_IsOK(res2
)) {
30811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30816 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30830 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
= 0;
30832 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30833 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30834 PyObject
*result
= 0 ;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 char * kwnames
[] = {
30842 (char *) "self",(char *) "dir", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30850 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30853 if (!SWIG_IsOK(ecode2
)) {
30854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30856 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30861 wxPyEndAllowThreads(__tstate
);
30862 if (PyErr_Occurred()) SWIG_fail
;
30864 resultobj
= result
;
30871 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
= 0;
30873 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30874 wxDataFormat
*arg2
= 0 ;
30875 PyObject
*result
= 0 ;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char * kwnames
[] = {
30883 (char *) "self",(char *) "format", NULL
30886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30888 if (!SWIG_IsOK(res1
)) {
30889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30891 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30893 if (!SWIG_IsOK(res2
)) {
30894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30899 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= result
;
30913 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
= 0;
30915 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30916 wxDataFormat
*arg2
= 0 ;
30917 PyObject
*arg3
= (PyObject
*) 0 ;
30923 PyObject
* obj0
= 0 ;
30924 PyObject
* obj1
= 0 ;
30925 PyObject
* obj2
= 0 ;
30926 char * kwnames
[] = {
30927 (char *) "self",(char *) "format",(char *) "data", NULL
30930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30932 if (!SWIG_IsOK(res1
)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30935 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30937 if (!SWIG_IsOK(res2
)) {
30938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30943 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30960 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30963 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
30964 return SWIG_Py_Void();
30967 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30968 PyObject
*resultobj
= 0;
30969 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
30970 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
30971 wxDataObjectSimple
*result
= 0 ;
30974 PyObject
* obj0
= 0 ;
30975 char * kwnames
[] = {
30976 (char *) "format", NULL
30979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
30981 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30982 if (!SWIG_IsOK(res1
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
30986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
30988 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
30993 wxPyEndAllowThreads(__tstate
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31003 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31004 PyObject
*resultobj
= 0;
31005 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31006 wxDataFormat
*result
= 0 ;
31009 PyObject
*swig_obj
[1] ;
31011 if (!args
) SWIG_fail
;
31012 swig_obj
[0] = args
;
31013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31014 if (!SWIG_IsOK(res1
)) {
31015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31017 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31021 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31022 result
= (wxDataFormat
*) &_result_ref
;
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31034 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31035 PyObject
*resultobj
= 0;
31036 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31037 wxDataFormat
*arg2
= 0 ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 char * kwnames
[] = {
31045 (char *) "self",(char *) "format", NULL
31048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31050 if (!SWIG_IsOK(res1
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31053 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31055 if (!SWIG_IsOK(res2
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31061 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_Py_Void();
31075 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31076 PyObject
*resultobj
= 0;
31077 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31081 PyObject
*swig_obj
[1] ;
31083 if (!args
) SWIG_fail
;
31084 swig_obj
[0] = args
;
31085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31086 if (!SWIG_IsOK(res1
)) {
31087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31089 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31093 wxPyEndAllowThreads(__tstate
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31096 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31103 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31104 PyObject
*resultobj
= 0;
31105 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31106 PyObject
*result
= 0 ;
31109 PyObject
*swig_obj
[1] ;
31111 if (!args
) SWIG_fail
;
31112 swig_obj
[0] = args
;
31113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31114 if (!SWIG_IsOK(res1
)) {
31115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31117 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31120 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31121 wxPyEndAllowThreads(__tstate
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= result
;
31131 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31132 PyObject
*resultobj
= 0;
31133 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31134 PyObject
*arg2
= (PyObject
*) 0 ;
31138 PyObject
* obj0
= 0 ;
31139 PyObject
* obj1
= 0 ;
31140 char * kwnames
[] = {
31141 (char *) "self",(char *) "data", NULL
31144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31146 if (!SWIG_IsOK(res1
)) {
31147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31149 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31166 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31169 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31170 return SWIG_Py_Void();
31173 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31174 return SWIG_Python_InitShadowInstance(args
);
31177 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
= 0;
31179 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31180 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31181 wxPyDataObjectSimple
*result
= 0 ;
31184 PyObject
* obj0
= 0 ;
31185 char * kwnames
[] = {
31186 (char *) "format", NULL
31189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31191 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31192 if (!SWIG_IsOK(res1
)) {
31193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31198 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31213 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= 0;
31215 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31216 PyObject
*arg2
= (PyObject
*) 0 ;
31217 PyObject
*arg3
= (PyObject
*) 0 ;
31220 PyObject
* obj0
= 0 ;
31221 PyObject
* obj1
= 0 ;
31222 PyObject
* obj2
= 0 ;
31223 char * kwnames
[] = {
31224 (char *) "self",(char *) "self",(char *) "_class", NULL
31227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31229 if (!SWIG_IsOK(res1
)) {
31230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31232 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31241 resultobj
= SWIG_Py_Void();
31248 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31252 return SWIG_Py_Void();
31255 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31256 return SWIG_Python_InitShadowInstance(args
);
31259 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31260 PyObject
*resultobj
= 0;
31261 wxDataObjectComposite
*result
= 0 ;
31263 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31267 wxPyEndAllowThreads(__tstate
);
31268 if (PyErr_Occurred()) SWIG_fail
;
31270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31277 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
= 0;
31279 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31280 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31281 bool arg3
= (bool) false ;
31287 PyObject
* obj0
= 0 ;
31288 PyObject
* obj1
= 0 ;
31289 PyObject
* obj2
= 0 ;
31290 char * kwnames
[] = {
31291 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31296 if (!SWIG_IsOK(res1
)) {
31297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31299 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31300 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31301 if (!SWIG_IsOK(res2
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31305 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31306 if (!SWIG_IsOK(ecode3
)) {
31307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31309 arg3
= static_cast< bool >(val3
);
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 (arg1
)->Add(arg2
,arg3
);
31314 wxPyEndAllowThreads(__tstate
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31317 resultobj
= SWIG_Py_Void();
31324 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31327 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31328 return SWIG_Py_Void();
31331 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31332 return SWIG_Python_InitShadowInstance(args
);
31335 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31336 PyObject
*resultobj
= 0;
31337 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31338 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31339 wxTextDataObject
*result
= 0 ;
31340 bool temp1
= false ;
31341 PyObject
* obj0
= 0 ;
31342 char * kwnames
[] = {
31343 (char *) "text", NULL
31346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31349 arg1
= wxString_in_helper(obj0
);
31350 if (arg1
== NULL
) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31375 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31376 PyObject
*resultobj
= 0;
31377 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31381 PyObject
*swig_obj
[1] ;
31383 if (!args
) SWIG_fail
;
31384 swig_obj
[0] = args
;
31385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31386 if (!SWIG_IsOK(res1
)) {
31387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31389 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 result
= (size_t)(arg1
)->GetTextLength();
31393 wxPyEndAllowThreads(__tstate
);
31394 if (PyErr_Occurred()) SWIG_fail
;
31396 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31403 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31404 PyObject
*resultobj
= 0;
31405 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31409 PyObject
*swig_obj
[1] ;
31411 if (!args
) SWIG_fail
;
31412 swig_obj
[0] = args
;
31413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31414 if (!SWIG_IsOK(res1
)) {
31415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31417 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31420 result
= (arg1
)->GetText();
31421 wxPyEndAllowThreads(__tstate
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31437 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
= 0;
31439 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31440 wxString
*arg2
= 0 ;
31443 bool temp2
= false ;
31444 PyObject
* obj0
= 0 ;
31445 PyObject
* obj1
= 0 ;
31446 char * kwnames
[] = {
31447 (char *) "self",(char *) "text", NULL
31450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31452 if (!SWIG_IsOK(res1
)) {
31453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31455 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31457 arg2
= wxString_in_helper(obj1
);
31458 if (arg2
== NULL
) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 (arg1
)->SetText((wxString
const &)*arg2
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 resultobj
= SWIG_Py_Void();
31482 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31485 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31486 return SWIG_Py_Void();
31489 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31490 return SWIG_Python_InitShadowInstance(args
);
31493 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31494 PyObject
*resultobj
= 0;
31495 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31496 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31497 wxPyTextDataObject
*result
= 0 ;
31498 bool temp1
= false ;
31499 PyObject
* obj0
= 0 ;
31500 char * kwnames
[] = {
31501 (char *) "text", NULL
31504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31507 arg1
= wxString_in_helper(obj0
);
31508 if (arg1
== NULL
) SWIG_fail
;
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31515 wxPyEndAllowThreads(__tstate
);
31516 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31533 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31534 PyObject
*resultobj
= 0;
31535 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31536 PyObject
*arg2
= (PyObject
*) 0 ;
31537 PyObject
*arg3
= (PyObject
*) 0 ;
31540 PyObject
* obj0
= 0 ;
31541 PyObject
* obj1
= 0 ;
31542 PyObject
* obj2
= 0 ;
31543 char * kwnames
[] = {
31544 (char *) "self",(char *) "self",(char *) "_class", NULL
31547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31549 if (!SWIG_IsOK(res1
)) {
31550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31552 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= SWIG_Py_Void();
31568 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31571 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31572 return SWIG_Py_Void();
31575 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31576 return SWIG_Python_InitShadowInstance(args
);
31579 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31580 PyObject
*resultobj
= 0;
31581 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31582 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31583 wxBitmapDataObject
*result
= 0 ;
31586 PyObject
* obj0
= 0 ;
31587 char * kwnames
[] = {
31588 (char *) "bitmap", NULL
31591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31593 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31594 if (!SWIG_IsOK(res1
)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31600 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31615 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31616 PyObject
*resultobj
= 0;
31617 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31621 PyObject
*swig_obj
[1] ;
31623 if (!args
) SWIG_fail
;
31624 swig_obj
[0] = args
;
31625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31626 if (!SWIG_IsOK(res1
)) {
31627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31629 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31643 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31646 wxBitmap
*arg2
= 0 ;
31651 PyObject
* obj0
= 0 ;
31652 PyObject
* obj1
= 0 ;
31653 char * kwnames
[] = {
31654 (char *) "self",(char *) "bitmap", NULL
31657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31659 if (!SWIG_IsOK(res1
)) {
31660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31662 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31664 if (!SWIG_IsOK(res2
)) {
31665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31670 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31673 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 resultobj
= SWIG_Py_Void();
31684 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31687 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31688 return SWIG_Py_Void();
31691 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31692 return SWIG_Python_InitShadowInstance(args
);
31695 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
= 0;
31697 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31698 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31699 wxPyBitmapDataObject
*result
= 0 ;
31702 PyObject
* obj0
= 0 ;
31703 char * kwnames
[] = {
31704 (char *) "bitmap", NULL
31707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31709 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31710 if (!SWIG_IsOK(res1
)) {
31711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31716 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31720 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31731 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31732 PyObject
*resultobj
= 0;
31733 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31734 PyObject
*arg2
= (PyObject
*) 0 ;
31735 PyObject
*arg3
= (PyObject
*) 0 ;
31738 PyObject
* obj0
= 0 ;
31739 PyObject
* obj1
= 0 ;
31740 PyObject
* obj2
= 0 ;
31741 char * kwnames
[] = {
31742 (char *) "self",(char *) "self",(char *) "_class", NULL
31745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31747 if (!SWIG_IsOK(res1
)) {
31748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31750 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31755 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31756 wxPyEndAllowThreads(__tstate
);
31757 if (PyErr_Occurred()) SWIG_fail
;
31759 resultobj
= SWIG_Py_Void();
31766 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31769 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31770 return SWIG_Py_Void();
31773 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31774 return SWIG_Python_InitShadowInstance(args
);
31777 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31778 PyObject
*resultobj
= 0;
31779 wxFileDataObject
*result
= 0 ;
31781 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31784 result
= (wxFileDataObject
*)new wxFileDataObject();
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31795 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31796 PyObject
*resultobj
= 0;
31797 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31798 wxArrayString
*result
= 0 ;
31801 PyObject
*swig_obj
[1] ;
31803 if (!args
) SWIG_fail
;
31804 swig_obj
[0] = args
;
31805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31806 if (!SWIG_IsOK(res1
)) {
31807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31809 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31814 result
= (wxArrayString
*) &_result_ref
;
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= wxArrayString2PyList_helper(*result
);
31828 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
= 0;
31830 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31831 wxString
*arg2
= 0 ;
31834 bool temp2
= false ;
31835 PyObject
* obj0
= 0 ;
31836 PyObject
* obj1
= 0 ;
31837 char * kwnames
[] = {
31838 (char *) "self",(char *) "filename", NULL
31841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31843 if (!SWIG_IsOK(res1
)) {
31844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31846 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31848 arg2
= wxString_in_helper(obj1
);
31849 if (arg2
== NULL
) SWIG_fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 (arg1
)->AddFile((wxString
const &)*arg2
);
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 resultobj
= SWIG_Py_Void();
31873 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31876 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31877 return SWIG_Py_Void();
31880 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31881 return SWIG_Python_InitShadowInstance(args
);
31884 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31885 PyObject
*resultobj
= 0;
31886 wxDataFormat
*arg1
= 0 ;
31887 wxCustomDataObject
*result
= 0 ;
31891 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31893 if (!SWIG_IsOK(res1
)) {
31894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31899 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31902 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31913 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31914 PyObject
*resultobj
= 0;
31915 wxString
*arg1
= 0 ;
31916 wxCustomDataObject
*result
= 0 ;
31917 bool temp1
= false ;
31919 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31921 arg1
= wxString_in_helper(swig_obj
[0]);
31922 if (arg1
== NULL
) SWIG_fail
;
31926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31927 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31946 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
31947 PyObject
*resultobj
= 0;
31948 wxCustomDataObject
*result
= 0 ;
31950 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31953 result
= (wxCustomDataObject
*)new wxCustomDataObject();
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31964 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
31968 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
31971 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
31977 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
31980 if (!_v
) goto check_2
;
31981 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
31986 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
31990 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
31995 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31996 PyObject
*resultobj
= 0;
31997 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
31998 PyObject
*arg2
= (PyObject
*) 0 ;
32002 PyObject
* obj0
= 0 ;
32003 PyObject
* obj1
= 0 ;
32004 char * kwnames
[] = {
32005 (char *) "self",(char *) "data", NULL
32008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32010 if (!SWIG_IsOK(res1
)) {
32011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32013 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32017 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32018 wxPyEndAllowThreads(__tstate
);
32019 if (PyErr_Occurred()) SWIG_fail
;
32022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32030 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32031 PyObject
*resultobj
= 0;
32032 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32036 PyObject
*swig_obj
[1] ;
32038 if (!args
) SWIG_fail
;
32039 swig_obj
[0] = args
;
32040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32041 if (!SWIG_IsOK(res1
)) {
32042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32044 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 result
= (size_t)(arg1
)->GetSize();
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32051 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32058 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32059 PyObject
*resultobj
= 0;
32060 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32061 PyObject
*result
= 0 ;
32064 PyObject
*swig_obj
[1] ;
32066 if (!args
) SWIG_fail
;
32067 swig_obj
[0] = args
;
32068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32069 if (!SWIG_IsOK(res1
)) {
32070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32072 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32079 resultobj
= result
;
32086 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32089 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32090 return SWIG_Py_Void();
32093 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32094 return SWIG_Python_InitShadowInstance(args
);
32097 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32098 PyObject
*resultobj
= 0;
32099 wxURLDataObject
*result
= 0 ;
32101 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32104 result
= (wxURLDataObject
*)new wxURLDataObject();
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32115 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32116 PyObject
*resultobj
= 0;
32117 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32121 PyObject
*swig_obj
[1] ;
32123 if (!args
) SWIG_fail
;
32124 swig_obj
[0] = args
;
32125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32126 if (!SWIG_IsOK(res1
)) {
32127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32129 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 result
= (arg1
)->GetURL();
32133 wxPyEndAllowThreads(__tstate
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32149 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
= 0;
32151 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32152 wxString
*arg2
= 0 ;
32155 bool temp2
= false ;
32156 PyObject
* obj0
= 0 ;
32157 PyObject
* obj1
= 0 ;
32158 char * kwnames
[] = {
32159 (char *) "self",(char *) "url", NULL
32162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32164 if (!SWIG_IsOK(res1
)) {
32165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32167 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32169 arg2
= wxString_in_helper(obj1
);
32170 if (arg2
== NULL
) SWIG_fail
;
32174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32175 (arg1
)->SetURL((wxString
const &)*arg2
);
32176 wxPyEndAllowThreads(__tstate
);
32177 if (PyErr_Occurred()) SWIG_fail
;
32179 resultobj
= SWIG_Py_Void();
32194 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32197 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32198 return SWIG_Py_Void();
32201 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32202 return SWIG_Python_InitShadowInstance(args
);
32205 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32206 PyObject
*resultobj
= 0;
32207 wxMetafileDataObject
*result
= 0 ;
32209 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32223 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32226 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32227 return SWIG_Py_Void();
32230 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32231 return SWIG_Python_InitShadowInstance(args
);
32234 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32235 PyObject
*resultobj
= 0;
32236 wxDragResult arg1
;
32240 PyObject
* obj0
= 0 ;
32241 char * kwnames
[] = {
32242 (char *) "res", NULL
32245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32246 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32247 if (!SWIG_IsOK(ecode1
)) {
32248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32250 arg1
= static_cast< wxDragResult
>(val1
);
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 result
= (bool)wxIsDragResultOk(arg1
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32266 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
= 0;
32268 wxWindow
*arg1
= (wxWindow
*) 0 ;
32269 wxIcon
const &arg2_defvalue
= wxNullIcon
;
32270 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
32271 wxIcon
const &arg3_defvalue
= wxNullIcon
;
32272 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
32273 wxIcon
const &arg4_defvalue
= wxNullIcon
;
32274 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
32275 wxPyDropSource
*result
= 0 ;
32284 PyObject
* obj0
= 0 ;
32285 PyObject
* obj1
= 0 ;
32286 PyObject
* obj2
= 0 ;
32287 PyObject
* obj3
= 0 ;
32288 char * kwnames
[] = {
32289 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32294 if (!SWIG_IsOK(res1
)) {
32295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32297 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32300 if (!SWIG_IsOK(res2
)) {
32301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32306 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32309 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
32310 if (!SWIG_IsOK(res3
)) {
32311 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32316 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
32319 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
32320 if (!SWIG_IsOK(res4
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32326 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32341 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
= 0;
32343 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32344 PyObject
*arg2
= (PyObject
*) 0 ;
32345 PyObject
*arg3
= (PyObject
*) 0 ;
32351 PyObject
* obj0
= 0 ;
32352 PyObject
* obj1
= 0 ;
32353 PyObject
* obj2
= 0 ;
32354 PyObject
* obj3
= 0 ;
32355 char * kwnames
[] = {
32356 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32361 if (!SWIG_IsOK(res1
)) {
32362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32364 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32368 if (!SWIG_IsOK(ecode4
)) {
32369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32371 arg4
= static_cast< int >(val4
);
32373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32374 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32375 wxPyEndAllowThreads(__tstate
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32378 resultobj
= SWIG_Py_Void();
32385 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32386 PyObject
*resultobj
= 0;
32387 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32390 PyObject
*swig_obj
[1] ;
32392 if (!args
) SWIG_fail
;
32393 swig_obj
[0] = args
;
32394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32395 if (!SWIG_IsOK(res1
)) {
32396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32398 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_Py_Void();
32413 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
= 0;
32415 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32416 wxDataObject
*arg2
= 0 ;
32421 PyObject
* obj0
= 0 ;
32422 PyObject
* obj1
= 0 ;
32423 char * kwnames
[] = {
32424 (char *) "self",(char *) "data", NULL
32427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32429 if (!SWIG_IsOK(res1
)) {
32430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32432 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32434 if (!SWIG_IsOK(res2
)) {
32435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32440 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 (arg1
)->SetData(*arg2
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= SWIG_Py_Void();
32454 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32455 PyObject
*resultobj
= 0;
32456 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32457 wxDataObject
*result
= 0 ;
32460 PyObject
*swig_obj
[1] ;
32462 if (!args
) SWIG_fail
;
32463 swig_obj
[0] = args
;
32464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32465 if (!SWIG_IsOK(res1
)) {
32466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32468 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32471 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32472 wxPyEndAllowThreads(__tstate
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32482 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
= 0;
32484 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32485 wxDragResult arg2
;
32486 wxCursor
*arg3
= 0 ;
32493 PyObject
* obj0
= 0 ;
32494 PyObject
* obj1
= 0 ;
32495 PyObject
* obj2
= 0 ;
32496 char * kwnames
[] = {
32497 (char *) "self",(char *) "res",(char *) "cursor", NULL
32500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32502 if (!SWIG_IsOK(res1
)) {
32503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32505 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32507 if (!SWIG_IsOK(ecode2
)) {
32508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32510 arg2
= static_cast< wxDragResult
>(val2
);
32511 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32512 if (!SWIG_IsOK(res3
)) {
32513 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32518 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_Py_Void();
32532 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
= 0;
32534 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32535 int arg2
= (int) wxDrag_CopyOnly
;
32536 wxDragResult result
;
32541 PyObject
* obj0
= 0 ;
32542 PyObject
* obj1
= 0 ;
32543 char * kwnames
[] = {
32544 (char *) "self",(char *) "flags", NULL
32547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32549 if (!SWIG_IsOK(res1
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32552 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32555 if (!SWIG_IsOK(ecode2
)) {
32556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32558 arg2
= static_cast< int >(val2
);
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32563 wxPyEndAllowThreads(__tstate
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32566 resultobj
= SWIG_From_int(static_cast< int >(result
));
32573 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32574 PyObject
*resultobj
= 0;
32575 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32576 wxDragResult arg2
;
32582 PyObject
* obj0
= 0 ;
32583 PyObject
* obj1
= 0 ;
32584 char * kwnames
[] = {
32585 (char *) "self",(char *) "effect", NULL
32588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32590 if (!SWIG_IsOK(res1
)) {
32591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32593 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32595 if (!SWIG_IsOK(ecode2
)) {
32596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32598 arg2
= static_cast< wxDragResult
>(val2
);
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32614 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32617 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32618 return SWIG_Py_Void();
32621 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32622 return SWIG_Python_InitShadowInstance(args
);
32625 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32626 PyObject
*resultobj
= 0;
32627 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32628 wxPyDropTarget
*result
= 0 ;
32630 PyObject
* obj0
= 0 ;
32631 char * kwnames
[] = {
32632 (char *) "dataObject", NULL
32635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32637 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32638 if (!SWIG_IsOK(res1
)) {
32639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32655 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32656 PyObject
*resultobj
= 0;
32657 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32658 PyObject
*arg2
= (PyObject
*) 0 ;
32659 PyObject
*arg3
= (PyObject
*) 0 ;
32662 PyObject
* obj0
= 0 ;
32663 PyObject
* obj1
= 0 ;
32664 PyObject
* obj2
= 0 ;
32665 char * kwnames
[] = {
32666 (char *) "self",(char *) "self",(char *) "_class", NULL
32669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32671 if (!SWIG_IsOK(res1
)) {
32672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32674 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32683 resultobj
= SWIG_Py_Void();
32690 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32691 PyObject
*resultobj
= 0;
32692 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32695 PyObject
*swig_obj
[1] ;
32697 if (!args
) SWIG_fail
;
32698 swig_obj
[0] = args
;
32699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32700 if (!SWIG_IsOK(res1
)) {
32701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32703 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 wxPyEndAllowThreads(__tstate
);
32709 if (PyErr_Occurred()) SWIG_fail
;
32711 resultobj
= SWIG_Py_Void();
32718 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32719 PyObject
*resultobj
= 0;
32720 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32721 wxDataObject
*result
= 0 ;
32724 PyObject
*swig_obj
[1] ;
32726 if (!args
) SWIG_fail
;
32727 swig_obj
[0] = args
;
32728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32729 if (!SWIG_IsOK(res1
)) {
32730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32732 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32736 wxPyEndAllowThreads(__tstate
);
32737 if (PyErr_Occurred()) SWIG_fail
;
32739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32746 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32747 PyObject
*resultobj
= 0;
32748 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32749 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32753 PyObject
* obj0
= 0 ;
32754 PyObject
* obj1
= 0 ;
32755 char * kwnames
[] = {
32756 (char *) "self",(char *) "dataObject", NULL
32759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32761 if (!SWIG_IsOK(res1
)) {
32762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32764 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32765 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32766 if (!SWIG_IsOK(res2
)) {
32767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 (arg1
)->SetDataObject(arg2
);
32772 wxPyEndAllowThreads(__tstate
);
32773 if (PyErr_Occurred()) SWIG_fail
;
32775 resultobj
= SWIG_Py_Void();
32782 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32783 PyObject
*resultobj
= 0;
32784 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32787 wxDragResult arg4
;
32788 wxDragResult result
;
32797 PyObject
* obj0
= 0 ;
32798 PyObject
* obj1
= 0 ;
32799 PyObject
* obj2
= 0 ;
32800 PyObject
* obj3
= 0 ;
32801 char * kwnames
[] = {
32802 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
32805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32807 if (!SWIG_IsOK(res1
)) {
32808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32810 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32812 if (!SWIG_IsOK(ecode2
)) {
32813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32815 arg2
= static_cast< int >(val2
);
32816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32817 if (!SWIG_IsOK(ecode3
)) {
32818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32820 arg3
= static_cast< int >(val3
);
32821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32822 if (!SWIG_IsOK(ecode4
)) {
32823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32825 arg4
= static_cast< wxDragResult
>(val4
);
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 resultobj
= SWIG_From_int(static_cast< int >(result
));
32839 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
= 0;
32841 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32844 wxDragResult arg4
;
32845 wxDragResult result
;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32856 PyObject
* obj2
= 0 ;
32857 PyObject
* obj3
= 0 ;
32858 char * kwnames
[] = {
32859 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
32862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32864 if (!SWIG_IsOK(res1
)) {
32865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32867 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32869 if (!SWIG_IsOK(ecode2
)) {
32870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
32872 arg2
= static_cast< int >(val2
);
32873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32874 if (!SWIG_IsOK(ecode3
)) {
32875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
32877 arg3
= static_cast< int >(val3
);
32878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32879 if (!SWIG_IsOK(ecode4
)) {
32880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
32882 arg4
= static_cast< wxDragResult
>(val4
);
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= SWIG_From_int(static_cast< int >(result
));
32896 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32897 PyObject
*resultobj
= 0;
32898 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32901 PyObject
*swig_obj
[1] ;
32903 if (!args
) SWIG_fail
;
32904 swig_obj
[0] = args
;
32905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32906 if (!SWIG_IsOK(res1
)) {
32907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32909 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32916 resultobj
= SWIG_Py_Void();
32923 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32924 PyObject
*resultobj
= 0;
32925 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32935 PyObject
* obj0
= 0 ;
32936 PyObject
* obj1
= 0 ;
32937 PyObject
* obj2
= 0 ;
32938 char * kwnames
[] = {
32939 (char *) "self",(char *) "x",(char *) "y", NULL
32942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32944 if (!SWIG_IsOK(res1
)) {
32945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32947 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32949 if (!SWIG_IsOK(ecode2
)) {
32950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
32952 arg2
= static_cast< int >(val2
);
32953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32954 if (!SWIG_IsOK(ecode3
)) {
32955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
32957 arg3
= static_cast< int >(val3
);
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32973 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32974 PyObject
*resultobj
= 0;
32975 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32979 PyObject
*swig_obj
[1] ;
32981 if (!args
) SWIG_fail
;
32982 swig_obj
[0] = args
;
32983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32984 if (!SWIG_IsOK(res1
)) {
32985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32987 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32990 result
= (bool)(arg1
)->GetData();
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33003 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33004 PyObject
*resultobj
= 0;
33005 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33006 wxDragResult arg2
;
33011 PyObject
* obj0
= 0 ;
33012 PyObject
* obj1
= 0 ;
33013 char * kwnames
[] = {
33014 (char *) "self",(char *) "action", NULL
33017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33019 if (!SWIG_IsOK(res1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33022 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33024 if (!SWIG_IsOK(ecode2
)) {
33025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33027 arg2
= static_cast< wxDragResult
>(val2
);
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 (arg1
)->SetDefaultAction(arg2
);
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33034 resultobj
= SWIG_Py_Void();
33041 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33042 PyObject
*resultobj
= 0;
33043 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33044 wxDragResult result
;
33047 PyObject
*swig_obj
[1] ;
33049 if (!args
) SWIG_fail
;
33050 swig_obj
[0] = args
;
33051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33052 if (!SWIG_IsOK(res1
)) {
33053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33055 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33059 wxPyEndAllowThreads(__tstate
);
33060 if (PyErr_Occurred()) SWIG_fail
;
33062 resultobj
= SWIG_From_int(static_cast< int >(result
));
33069 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33072 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33073 return SWIG_Py_Void();
33076 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33077 return SWIG_Python_InitShadowInstance(args
);
33080 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33081 PyObject
*resultobj
= 0;
33082 wxPyTextDropTarget
*result
= 0 ;
33084 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33098 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33099 PyObject
*resultobj
= 0;
33100 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33101 PyObject
*arg2
= (PyObject
*) 0 ;
33102 PyObject
*arg3
= (PyObject
*) 0 ;
33105 PyObject
* obj0
= 0 ;
33106 PyObject
* obj1
= 0 ;
33107 PyObject
* obj2
= 0 ;
33108 char * kwnames
[] = {
33109 (char *) "self",(char *) "self",(char *) "_class", NULL
33112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33114 if (!SWIG_IsOK(res1
)) {
33115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33117 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33122 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33123 wxPyEndAllowThreads(__tstate
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33126 resultobj
= SWIG_Py_Void();
33133 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33134 PyObject
*resultobj
= 0;
33135 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33138 wxString
*arg4
= 0 ;
33146 bool temp4
= false ;
33147 PyObject
* obj0
= 0 ;
33148 PyObject
* obj1
= 0 ;
33149 PyObject
* obj2
= 0 ;
33150 PyObject
* obj3
= 0 ;
33151 char * kwnames
[] = {
33152 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33157 if (!SWIG_IsOK(res1
)) {
33158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33160 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33162 if (!SWIG_IsOK(ecode2
)) {
33163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33165 arg2
= static_cast< int >(val2
);
33166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33167 if (!SWIG_IsOK(ecode3
)) {
33168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33170 arg3
= static_cast< int >(val3
);
33172 arg4
= wxString_in_helper(obj3
);
33173 if (arg4
== NULL
) SWIG_fail
;
33177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33178 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33179 wxPyEndAllowThreads(__tstate
);
33180 if (PyErr_Occurred()) SWIG_fail
;
33183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33199 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
= 0;
33201 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33204 wxDragResult arg4
;
33205 wxDragResult result
;
33214 PyObject
* obj0
= 0 ;
33215 PyObject
* obj1
= 0 ;
33216 PyObject
* obj2
= 0 ;
33217 PyObject
* obj3
= 0 ;
33218 char * kwnames
[] = {
33219 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33224 if (!SWIG_IsOK(res1
)) {
33225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33227 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33229 if (!SWIG_IsOK(ecode2
)) {
33230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33232 arg2
= static_cast< int >(val2
);
33233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33234 if (!SWIG_IsOK(ecode3
)) {
33235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33237 arg3
= static_cast< int >(val3
);
33238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33239 if (!SWIG_IsOK(ecode4
)) {
33240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33242 arg4
= static_cast< wxDragResult
>(val4
);
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= SWIG_From_int(static_cast< int >(result
));
33256 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33257 PyObject
*resultobj
= 0;
33258 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33261 wxDragResult arg4
;
33262 wxDragResult result
;
33271 PyObject
* obj0
= 0 ;
33272 PyObject
* obj1
= 0 ;
33273 PyObject
* obj2
= 0 ;
33274 PyObject
* obj3
= 0 ;
33275 char * kwnames
[] = {
33276 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33281 if (!SWIG_IsOK(res1
)) {
33282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33284 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33286 if (!SWIG_IsOK(ecode2
)) {
33287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33289 arg2
= static_cast< int >(val2
);
33290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33291 if (!SWIG_IsOK(ecode3
)) {
33292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33294 arg3
= static_cast< int >(val3
);
33295 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33296 if (!SWIG_IsOK(ecode4
)) {
33297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33299 arg4
= static_cast< wxDragResult
>(val4
);
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 resultobj
= SWIG_From_int(static_cast< int >(result
));
33313 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33314 PyObject
*resultobj
= 0;
33315 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33318 PyObject
*swig_obj
[1] ;
33320 if (!args
) SWIG_fail
;
33321 swig_obj
[0] = args
;
33322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33323 if (!SWIG_IsOK(res1
)) {
33324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33326 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= SWIG_Py_Void();
33340 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33341 PyObject
*resultobj
= 0;
33342 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33352 PyObject
* obj0
= 0 ;
33353 PyObject
* obj1
= 0 ;
33354 PyObject
* obj2
= 0 ;
33355 char * kwnames
[] = {
33356 (char *) "self",(char *) "x",(char *) "y", NULL
33359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33361 if (!SWIG_IsOK(res1
)) {
33362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33364 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33366 if (!SWIG_IsOK(ecode2
)) {
33367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33369 arg2
= static_cast< int >(val2
);
33370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33371 if (!SWIG_IsOK(ecode3
)) {
33372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33374 arg3
= static_cast< int >(val3
);
33376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33377 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33390 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
= 0;
33392 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33395 wxDragResult arg4
;
33396 wxDragResult result
;
33405 PyObject
* obj0
= 0 ;
33406 PyObject
* obj1
= 0 ;
33407 PyObject
* obj2
= 0 ;
33408 PyObject
* obj3
= 0 ;
33409 char * kwnames
[] = {
33410 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33415 if (!SWIG_IsOK(res1
)) {
33416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33418 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33420 if (!SWIG_IsOK(ecode2
)) {
33421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33423 arg2
= static_cast< int >(val2
);
33424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33425 if (!SWIG_IsOK(ecode3
)) {
33426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33428 arg3
= static_cast< int >(val3
);
33429 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33430 if (!SWIG_IsOK(ecode4
)) {
33431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33433 arg4
= static_cast< wxDragResult
>(val4
);
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33437 wxPyEndAllowThreads(__tstate
);
33438 if (PyErr_Occurred()) SWIG_fail
;
33440 resultobj
= SWIG_From_int(static_cast< int >(result
));
33447 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33450 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33451 return SWIG_Py_Void();
33454 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33455 return SWIG_Python_InitShadowInstance(args
);
33458 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33459 PyObject
*resultobj
= 0;
33460 wxPyFileDropTarget
*result
= 0 ;
33462 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33465 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33476 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33477 PyObject
*resultobj
= 0;
33478 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33479 PyObject
*arg2
= (PyObject
*) 0 ;
33480 PyObject
*arg3
= (PyObject
*) 0 ;
33483 PyObject
* obj0
= 0 ;
33484 PyObject
* obj1
= 0 ;
33485 PyObject
* obj2
= 0 ;
33486 char * kwnames
[] = {
33487 (char *) "self",(char *) "self",(char *) "_class", NULL
33490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33492 if (!SWIG_IsOK(res1
)) {
33493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33495 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33501 wxPyEndAllowThreads(__tstate
);
33502 if (PyErr_Occurred()) SWIG_fail
;
33504 resultobj
= SWIG_Py_Void();
33511 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33512 PyObject
*resultobj
= 0;
33513 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33516 wxArrayString
*arg4
= 0 ;
33524 bool temp4
= false ;
33525 PyObject
* obj0
= 0 ;
33526 PyObject
* obj1
= 0 ;
33527 PyObject
* obj2
= 0 ;
33528 PyObject
* obj3
= 0 ;
33529 char * kwnames
[] = {
33530 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33535 if (!SWIG_IsOK(res1
)) {
33536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33538 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33540 if (!SWIG_IsOK(ecode2
)) {
33541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33543 arg2
= static_cast< int >(val2
);
33544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33545 if (!SWIG_IsOK(ecode3
)) {
33546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33548 arg3
= static_cast< int >(val3
);
33550 if (! PySequence_Check(obj3
)) {
33551 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33554 arg4
= new wxArrayString
;
33556 int i
, len
=PySequence_Length(obj3
);
33557 for (i
=0; i
<len
; i
++) {
33558 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33559 wxString
* s
= wxString_in_helper(item
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33568 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33576 if (temp4
) delete arg4
;
33581 if (temp4
) delete arg4
;
33587 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
= 0;
33589 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33592 wxDragResult arg4
;
33593 wxDragResult result
;
33602 PyObject
* obj0
= 0 ;
33603 PyObject
* obj1
= 0 ;
33604 PyObject
* obj2
= 0 ;
33605 PyObject
* obj3
= 0 ;
33606 char * kwnames
[] = {
33607 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33612 if (!SWIG_IsOK(res1
)) {
33613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33615 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33617 if (!SWIG_IsOK(ecode2
)) {
33618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33620 arg2
= static_cast< int >(val2
);
33621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33622 if (!SWIG_IsOK(ecode3
)) {
33623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33625 arg3
= static_cast< int >(val3
);
33626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33627 if (!SWIG_IsOK(ecode4
)) {
33628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33630 arg4
= static_cast< wxDragResult
>(val4
);
33632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33637 resultobj
= SWIG_From_int(static_cast< int >(result
));
33644 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33645 PyObject
*resultobj
= 0;
33646 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33649 wxDragResult arg4
;
33650 wxDragResult result
;
33659 PyObject
* obj0
= 0 ;
33660 PyObject
* obj1
= 0 ;
33661 PyObject
* obj2
= 0 ;
33662 PyObject
* obj3
= 0 ;
33663 char * kwnames
[] = {
33664 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33669 if (!SWIG_IsOK(res1
)) {
33670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33672 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33674 if (!SWIG_IsOK(ecode2
)) {
33675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33677 arg2
= static_cast< int >(val2
);
33678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33679 if (!SWIG_IsOK(ecode3
)) {
33680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33682 arg3
= static_cast< int >(val3
);
33683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33684 if (!SWIG_IsOK(ecode4
)) {
33685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33687 arg4
= static_cast< wxDragResult
>(val4
);
33689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= SWIG_From_int(static_cast< int >(result
));
33701 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33702 PyObject
*resultobj
= 0;
33703 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33706 PyObject
*swig_obj
[1] ;
33708 if (!args
) SWIG_fail
;
33709 swig_obj
[0] = args
;
33710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33711 if (!SWIG_IsOK(res1
)) {
33712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33714 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 wxPyEndAllowThreads(__tstate
);
33719 if (PyErr_Occurred()) SWIG_fail
;
33721 resultobj
= SWIG_Py_Void();
33728 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33729 PyObject
*resultobj
= 0;
33730 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33740 PyObject
* obj0
= 0 ;
33741 PyObject
* obj1
= 0 ;
33742 PyObject
* obj2
= 0 ;
33743 char * kwnames
[] = {
33744 (char *) "self",(char *) "x",(char *) "y", NULL
33747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33749 if (!SWIG_IsOK(res1
)) {
33750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33752 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33754 if (!SWIG_IsOK(ecode2
)) {
33755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33757 arg2
= static_cast< int >(val2
);
33758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33759 if (!SWIG_IsOK(ecode3
)) {
33760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33762 arg3
= static_cast< int >(val3
);
33764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33765 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33766 wxPyEndAllowThreads(__tstate
);
33767 if (PyErr_Occurred()) SWIG_fail
;
33770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33778 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33779 PyObject
*resultobj
= 0;
33780 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33783 wxDragResult arg4
;
33784 wxDragResult result
;
33793 PyObject
* obj0
= 0 ;
33794 PyObject
* obj1
= 0 ;
33795 PyObject
* obj2
= 0 ;
33796 PyObject
* obj3
= 0 ;
33797 char * kwnames
[] = {
33798 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33803 if (!SWIG_IsOK(res1
)) {
33804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33806 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33808 if (!SWIG_IsOK(ecode2
)) {
33809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33811 arg2
= static_cast< int >(val2
);
33812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33813 if (!SWIG_IsOK(ecode3
)) {
33814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33816 arg3
= static_cast< int >(val3
);
33817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33818 if (!SWIG_IsOK(ecode4
)) {
33819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33821 arg4
= static_cast< wxDragResult
>(val4
);
33823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33824 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33825 wxPyEndAllowThreads(__tstate
);
33826 if (PyErr_Occurred()) SWIG_fail
;
33828 resultobj
= SWIG_From_int(static_cast< int >(result
));
33835 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33838 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
33839 return SWIG_Py_Void();
33842 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33843 return SWIG_Python_InitShadowInstance(args
);
33846 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33847 PyObject
*resultobj
= 0;
33848 wxClipboard
*result
= 0 ;
33850 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 result
= (wxClipboard
*)new wxClipboard();
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
33864 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33865 PyObject
*resultobj
= 0;
33866 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33869 PyObject
*swig_obj
[1] ;
33871 if (!args
) SWIG_fail
;
33872 swig_obj
[0] = args
;
33873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
33874 if (!SWIG_IsOK(res1
)) {
33875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
33877 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 wxPyEndAllowThreads(__tstate
);
33883 if (PyErr_Occurred()) SWIG_fail
;
33885 resultobj
= SWIG_Py_Void();
33892 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33893 PyObject
*resultobj
= 0;
33894 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33898 PyObject
*swig_obj
[1] ;
33900 if (!args
) SWIG_fail
;
33901 swig_obj
[0] = args
;
33902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
33906 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 result
= (bool)(arg1
)->Open();
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33922 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33923 PyObject
*resultobj
= 0;
33924 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33927 PyObject
*swig_obj
[1] ;
33929 if (!args
) SWIG_fail
;
33930 swig_obj
[0] = args
;
33931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
33932 if (!SWIG_IsOK(res1
)) {
33933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
33935 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33942 resultobj
= SWIG_Py_Void();
33949 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33950 PyObject
*resultobj
= 0;
33951 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33955 PyObject
*swig_obj
[1] ;
33957 if (!args
) SWIG_fail
;
33958 swig_obj
[0] = args
;
33959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
33960 if (!SWIG_IsOK(res1
)) {
33961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
33963 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33979 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
= 0;
33981 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33982 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
33987 PyObject
* obj0
= 0 ;
33988 PyObject
* obj1
= 0 ;
33989 char * kwnames
[] = {
33990 (char *) "self",(char *) "data", NULL
33993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
33995 if (!SWIG_IsOK(res1
)) {
33996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
33998 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33999 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34000 if (!SWIG_IsOK(res2
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34005 result
= (bool)(arg1
)->AddData(arg2
);
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34018 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34019 PyObject
*resultobj
= 0;
34020 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34021 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34026 PyObject
* obj0
= 0 ;
34027 PyObject
* obj1
= 0 ;
34028 char * kwnames
[] = {
34029 (char *) "self",(char *) "data", NULL
34032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34034 if (!SWIG_IsOK(res1
)) {
34035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34037 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34038 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34039 if (!SWIG_IsOK(res2
)) {
34040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34044 result
= (bool)(arg1
)->SetData(arg2
);
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34057 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
= 0;
34059 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34060 wxDataFormat
*arg2
= 0 ;
34066 PyObject
* obj0
= 0 ;
34067 PyObject
* obj1
= 0 ;
34068 char * kwnames
[] = {
34069 (char *) "self",(char *) "format", NULL
34072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34074 if (!SWIG_IsOK(res1
)) {
34075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34077 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34079 if (!SWIG_IsOK(res2
)) {
34080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34085 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34101 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34102 PyObject
*resultobj
= 0;
34103 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34104 wxDataObject
*arg2
= 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 char * kwnames
[] = {
34113 (char *) "self",(char *) "data", NULL
34116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34118 if (!SWIG_IsOK(res1
)) {
34119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34121 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34123 if (!SWIG_IsOK(res2
)) {
34124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34129 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 result
= (bool)(arg1
)->GetData(*arg2
);
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34145 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34146 PyObject
*resultobj
= 0;
34147 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34150 PyObject
*swig_obj
[1] ;
34152 if (!args
) SWIG_fail
;
34153 swig_obj
[0] = args
;
34154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34155 if (!SWIG_IsOK(res1
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34158 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= SWIG_Py_Void();
34172 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34173 PyObject
*resultobj
= 0;
34174 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34178 PyObject
*swig_obj
[1] ;
34180 if (!args
) SWIG_fail
;
34181 swig_obj
[0] = args
;
34182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34183 if (!SWIG_IsOK(res1
)) {
34184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34186 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 result
= (bool)(arg1
)->Flush();
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34202 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34203 PyObject
*resultobj
= 0;
34204 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34205 bool arg2
= (bool) true ;
34210 PyObject
* obj0
= 0 ;
34211 PyObject
* obj1
= 0 ;
34212 char * kwnames
[] = {
34213 (char *) "self",(char *) "primary", NULL
34216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34218 if (!SWIG_IsOK(res1
)) {
34219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34221 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34223 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34224 if (!SWIG_IsOK(ecode2
)) {
34225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34227 arg2
= static_cast< bool >(val2
);
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 (arg1
)->UsePrimarySelection(arg2
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 resultobj
= SWIG_Py_Void();
34242 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34243 PyObject
*resultobj
= 0;
34244 wxClipboard
*result
= 0 ;
34246 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 result
= (wxClipboard
*)wxClipboard::Get();
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34260 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34263 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34264 return SWIG_Py_Void();
34267 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34268 return SWIG_Python_InitShadowInstance(args
);
34271 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34272 PyObject
*resultobj
= 0;
34273 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34274 wxClipboardLocker
*result
= 0 ;
34277 PyObject
* obj0
= 0 ;
34278 char * kwnames
[] = {
34279 (char *) "clipboard", NULL
34282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34285 if (!SWIG_IsOK(res1
)) {
34286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34288 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34293 wxPyEndAllowThreads(__tstate
);
34294 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34303 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34304 PyObject
*resultobj
= 0;
34305 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 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_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34313 if (!SWIG_IsOK(res1
)) {
34314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34316 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34324 resultobj
= SWIG_Py_Void();
34331 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34332 PyObject
*resultobj
= 0;
34333 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34337 PyObject
*swig_obj
[1] ;
34339 if (!args
) SWIG_fail
;
34340 swig_obj
[0] = args
;
34341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34342 if (!SWIG_IsOK(res1
)) {
34343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34345 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34349 wxPyEndAllowThreads(__tstate
);
34350 if (PyErr_Occurred()) SWIG_fail
;
34353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34361 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34364 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34365 return SWIG_Py_Void();
34368 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34369 return SWIG_Python_InitShadowInstance(args
);
34372 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
= 0;
34374 int arg1
= (int) 0 ;
34375 int arg2
= (int) 0 ;
34376 int arg3
= (int) 0 ;
34377 int arg4
= (int) 0 ;
34378 wxVideoMode
*result
= 0 ;
34387 PyObject
* obj0
= 0 ;
34388 PyObject
* obj1
= 0 ;
34389 PyObject
* obj2
= 0 ;
34390 PyObject
* obj3
= 0 ;
34391 char * kwnames
[] = {
34392 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34398 if (!SWIG_IsOK(ecode1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34401 arg1
= static_cast< int >(val1
);
34404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34405 if (!SWIG_IsOK(ecode2
)) {
34406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34408 arg2
= static_cast< int >(val2
);
34411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34412 if (!SWIG_IsOK(ecode3
)) {
34413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34415 arg3
= static_cast< int >(val3
);
34418 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34419 if (!SWIG_IsOK(ecode4
)) {
34420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34422 arg4
= static_cast< int >(val4
);
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34437 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34438 PyObject
*resultobj
= 0;
34439 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34442 PyObject
*swig_obj
[1] ;
34444 if (!args
) SWIG_fail
;
34445 swig_obj
[0] = args
;
34446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34447 if (!SWIG_IsOK(res1
)) {
34448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34450 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= SWIG_Py_Void();
34465 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= 0;
34467 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34468 wxVideoMode
*arg2
= 0 ;
34474 PyObject
* obj0
= 0 ;
34475 PyObject
* obj1
= 0 ;
34476 char * kwnames
[] = {
34477 (char *) "self",(char *) "other", NULL
34480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34482 if (!SWIG_IsOK(res1
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34485 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34487 if (!SWIG_IsOK(res2
)) {
34488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34493 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34509 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34510 PyObject
*resultobj
= 0;
34511 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34515 PyObject
*swig_obj
[1] ;
34517 if (!args
) SWIG_fail
;
34518 swig_obj
[0] = args
;
34519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34520 if (!SWIG_IsOK(res1
)) {
34521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34523 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34526 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34527 wxPyEndAllowThreads(__tstate
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34530 resultobj
= SWIG_From_int(static_cast< int >(result
));
34537 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34538 PyObject
*resultobj
= 0;
34539 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34543 PyObject
*swig_obj
[1] ;
34545 if (!args
) SWIG_fail
;
34546 swig_obj
[0] = args
;
34547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34548 if (!SWIG_IsOK(res1
)) {
34549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34551 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34554 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34555 wxPyEndAllowThreads(__tstate
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34558 resultobj
= SWIG_From_int(static_cast< int >(result
));
34565 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34566 PyObject
*resultobj
= 0;
34567 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34571 PyObject
*swig_obj
[1] ;
34573 if (!args
) SWIG_fail
;
34574 swig_obj
[0] = args
;
34575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34576 if (!SWIG_IsOK(res1
)) {
34577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34579 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34582 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34583 wxPyEndAllowThreads(__tstate
);
34584 if (PyErr_Occurred()) SWIG_fail
;
34586 resultobj
= SWIG_From_int(static_cast< int >(result
));
34593 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34594 PyObject
*resultobj
= 0;
34595 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34599 PyObject
*swig_obj
[1] ;
34601 if (!args
) SWIG_fail
;
34602 swig_obj
[0] = args
;
34603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34604 if (!SWIG_IsOK(res1
)) {
34605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34607 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34610 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34611 wxPyEndAllowThreads(__tstate
);
34612 if (PyErr_Occurred()) SWIG_fail
;
34615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34623 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34624 PyObject
*resultobj
= 0;
34625 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34626 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34632 PyObject
* obj0
= 0 ;
34633 PyObject
* obj1
= 0 ;
34634 char * kwnames
[] = {
34635 (char *) "self",(char *) "other", NULL
34638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34640 if (!SWIG_IsOK(res1
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34643 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34645 if (!SWIG_IsOK(res2
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34648 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34664 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
= 0;
34666 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34667 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34673 PyObject
* obj0
= 0 ;
34674 PyObject
* obj1
= 0 ;
34675 char * kwnames
[] = {
34676 (char *) "self",(char *) "other", NULL
34679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34681 if (!SWIG_IsOK(res1
)) {
34682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34684 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34686 if (!SWIG_IsOK(res2
)) {
34687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34689 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34692 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34693 wxPyEndAllowThreads(__tstate
);
34694 if (PyErr_Occurred()) SWIG_fail
;
34697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34705 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34706 PyObject
*resultobj
= 0;
34707 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34713 PyObject
*swig_obj
[2] ;
34715 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34717 if (!SWIG_IsOK(res1
)) {
34718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34720 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34721 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34722 if (!SWIG_IsOK(ecode2
)) {
34723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34725 arg2
= static_cast< int >(val2
);
34726 if (arg1
) (arg1
)->w
= arg2
;
34728 resultobj
= SWIG_Py_Void();
34735 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34736 PyObject
*resultobj
= 0;
34737 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34741 PyObject
*swig_obj
[1] ;
34743 if (!args
) SWIG_fail
;
34744 swig_obj
[0] = args
;
34745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34746 if (!SWIG_IsOK(res1
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34749 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34750 result
= (int) ((arg1
)->w
);
34751 resultobj
= SWIG_From_int(static_cast< int >(result
));
34758 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34759 PyObject
*resultobj
= 0;
34760 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34766 PyObject
*swig_obj
[2] ;
34768 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34770 if (!SWIG_IsOK(res1
)) {
34771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34773 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34774 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34775 if (!SWIG_IsOK(ecode2
)) {
34776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34778 arg2
= static_cast< int >(val2
);
34779 if (arg1
) (arg1
)->h
= arg2
;
34781 resultobj
= SWIG_Py_Void();
34788 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34789 PyObject
*resultobj
= 0;
34790 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34794 PyObject
*swig_obj
[1] ;
34796 if (!args
) SWIG_fail
;
34797 swig_obj
[0] = args
;
34798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34799 if (!SWIG_IsOK(res1
)) {
34800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34802 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34803 result
= (int) ((arg1
)->h
);
34804 resultobj
= SWIG_From_int(static_cast< int >(result
));
34811 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34812 PyObject
*resultobj
= 0;
34813 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34819 PyObject
*swig_obj
[2] ;
34821 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34823 if (!SWIG_IsOK(res1
)) {
34824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34826 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34827 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34828 if (!SWIG_IsOK(ecode2
)) {
34829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34831 arg2
= static_cast< int >(val2
);
34832 if (arg1
) (arg1
)->bpp
= arg2
;
34834 resultobj
= SWIG_Py_Void();
34841 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34842 PyObject
*resultobj
= 0;
34843 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34847 PyObject
*swig_obj
[1] ;
34849 if (!args
) SWIG_fail
;
34850 swig_obj
[0] = args
;
34851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34852 if (!SWIG_IsOK(res1
)) {
34853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34855 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34856 result
= (int) ((arg1
)->bpp
);
34857 resultobj
= SWIG_From_int(static_cast< int >(result
));
34864 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34865 PyObject
*resultobj
= 0;
34866 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34872 PyObject
*swig_obj
[2] ;
34874 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
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_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34879 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34880 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34881 if (!SWIG_IsOK(ecode2
)) {
34882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
34884 arg2
= static_cast< int >(val2
);
34885 if (arg1
) (arg1
)->refresh
= arg2
;
34887 resultobj
= SWIG_Py_Void();
34894 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34895 PyObject
*resultobj
= 0;
34896 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34900 PyObject
*swig_obj
[1] ;
34902 if (!args
) SWIG_fail
;
34903 swig_obj
[0] = args
;
34904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34905 if (!SWIG_IsOK(res1
)) {
34906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34908 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34909 result
= (int) ((arg1
)->refresh
);
34910 resultobj
= SWIG_From_int(static_cast< int >(result
));
34917 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34920 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
34921 return SWIG_Py_Void();
34924 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34925 return SWIG_Python_InitShadowInstance(args
);
34928 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
34929 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
34934 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
34935 PyObject
*pyobj
= 0;
34937 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
34942 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34943 PyObject
*resultobj
= 0;
34944 size_t arg1
= (size_t) 0 ;
34945 wxDisplay
*result
= 0 ;
34948 PyObject
* obj0
= 0 ;
34949 char * kwnames
[] = {
34950 (char *) "index", NULL
34953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
34955 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
34956 if (!SWIG_IsOK(ecode1
)) {
34957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
34959 arg1
= static_cast< size_t >(val1
);
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 result
= (wxDisplay
*)new wxDisplay(arg1
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
34974 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34975 PyObject
*resultobj
= 0;
34976 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
34979 PyObject
*swig_obj
[1] ;
34981 if (!args
) SWIG_fail
;
34982 swig_obj
[0] = args
;
34983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
34984 if (!SWIG_IsOK(res1
)) {
34985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
34987 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
34989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 resultobj
= SWIG_Py_Void();
35002 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35003 PyObject
*resultobj
= 0;
35006 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 result
= (size_t)wxDisplay::GetCount();
35010 wxPyEndAllowThreads(__tstate
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35013 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35020 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
= 0;
35022 wxPoint
*arg1
= 0 ;
35025 PyObject
* obj0
= 0 ;
35026 char * kwnames
[] = {
35027 (char *) "pt", NULL
35030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35033 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35037 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35038 wxPyEndAllowThreads(__tstate
);
35039 if (PyErr_Occurred()) SWIG_fail
;
35041 resultobj
= SWIG_From_int(static_cast< int >(result
));
35048 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35049 PyObject
*resultobj
= 0;
35050 wxWindow
*arg1
= (wxWindow
*) 0 ;
35054 PyObject
* obj0
= 0 ;
35055 char * kwnames
[] = {
35056 (char *) "window", NULL
35059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35061 if (!SWIG_IsOK(res1
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35064 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35067 result
= (int)wxDisplay::GetFromWindow(arg1
);
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= SWIG_From_int(static_cast< int >(result
));
35078 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35079 PyObject
*resultobj
= 0;
35080 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35084 PyObject
*swig_obj
[1] ;
35086 if (!args
) SWIG_fail
;
35087 swig_obj
[0] = args
;
35088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35089 if (!SWIG_IsOK(res1
)) {
35090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35092 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35095 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35096 wxPyEndAllowThreads(__tstate
);
35097 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35108 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35109 PyObject
*resultobj
= 0;
35110 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35114 PyObject
*swig_obj
[1] ;
35116 if (!args
) SWIG_fail
;
35117 swig_obj
[0] = args
;
35118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35119 if (!SWIG_IsOK(res1
)) {
35120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35122 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35129 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35136 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35137 PyObject
*resultobj
= 0;
35138 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35142 PyObject
*swig_obj
[1] ;
35144 if (!args
) SWIG_fail
;
35145 swig_obj
[0] = args
;
35146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35147 if (!SWIG_IsOK(res1
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35150 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 result
= ((wxDisplay
const *)arg1
)->GetName();
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35170 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35171 PyObject
*resultobj
= 0;
35172 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35176 PyObject
*swig_obj
[1] ;
35178 if (!args
) SWIG_fail
;
35179 swig_obj
[0] = args
;
35180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35181 if (!SWIG_IsOK(res1
)) {
35182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35184 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35187 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35188 wxPyEndAllowThreads(__tstate
);
35189 if (PyErr_Occurred()) SWIG_fail
;
35192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35200 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
= 0;
35202 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35203 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35204 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35205 PyObject
*result
= 0 ;
35210 PyObject
* obj0
= 0 ;
35211 PyObject
* obj1
= 0 ;
35212 char * kwnames
[] = {
35213 (char *) "self",(char *) "mode", NULL
35216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35218 if (!SWIG_IsOK(res1
)) {
35219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35221 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35224 if (!SWIG_IsOK(res2
)) {
35225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35230 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35234 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 resultobj
= result
;
35245 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35246 PyObject
*resultobj
= 0;
35247 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35248 wxVideoMode result
;
35251 PyObject
*swig_obj
[1] ;
35253 if (!args
) SWIG_fail
;
35254 swig_obj
[0] = args
;
35255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35256 if (!SWIG_IsOK(res1
)) {
35257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35259 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35262 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
35263 wxPyEndAllowThreads(__tstate
);
35264 if (PyErr_Occurred()) SWIG_fail
;
35266 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35273 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35274 PyObject
*resultobj
= 0;
35275 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35276 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35277 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35283 PyObject
* obj0
= 0 ;
35284 PyObject
* obj1
= 0 ;
35285 char * kwnames
[] = {
35286 (char *) "self",(char *) "mode", NULL
35289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35291 if (!SWIG_IsOK(res1
)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35294 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35297 if (!SWIG_IsOK(res2
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35303 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35307 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35320 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35321 PyObject
*resultobj
= 0;
35322 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35325 PyObject
*swig_obj
[1] ;
35327 if (!args
) SWIG_fail
;
35328 swig_obj
[0] = args
;
35329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35330 if (!SWIG_IsOK(res1
)) {
35331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35333 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35336 (arg1
)->ResetMode();
35337 wxPyEndAllowThreads(__tstate
);
35338 if (PyErr_Occurred()) SWIG_fail
;
35340 resultobj
= SWIG_Py_Void();
35347 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35350 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35351 return SWIG_Py_Void();
35354 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35355 return SWIG_Python_InitShadowInstance(args
);
35358 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35359 PyObject
*resultobj
= 0;
35360 wxStandardPaths
*result
= 0 ;
35362 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35376 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35377 PyObject
*resultobj
= 0;
35378 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35382 PyObject
*swig_obj
[1] ;
35384 if (!args
) SWIG_fail
;
35385 swig_obj
[0] = args
;
35386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35387 if (!SWIG_IsOK(res1
)) {
35388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35390 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35394 wxPyEndAllowThreads(__tstate
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35410 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35411 PyObject
*resultobj
= 0;
35412 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35416 PyObject
*swig_obj
[1] ;
35418 if (!args
) SWIG_fail
;
35419 swig_obj
[0] = args
;
35420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35421 if (!SWIG_IsOK(res1
)) {
35422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35424 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35427 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35428 wxPyEndAllowThreads(__tstate
);
35429 if (PyErr_Occurred()) SWIG_fail
;
35433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35444 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35445 PyObject
*resultobj
= 0;
35446 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35450 PyObject
*swig_obj
[1] ;
35452 if (!args
) SWIG_fail
;
35453 swig_obj
[0] = args
;
35454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35455 if (!SWIG_IsOK(res1
)) {
35456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35458 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35461 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35462 wxPyEndAllowThreads(__tstate
);
35463 if (PyErr_Occurred()) SWIG_fail
;
35467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35478 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35479 PyObject
*resultobj
= 0;
35480 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35484 PyObject
*swig_obj
[1] ;
35486 if (!args
) SWIG_fail
;
35487 swig_obj
[0] = args
;
35488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35489 if (!SWIG_IsOK(res1
)) {
35490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35492 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35496 wxPyEndAllowThreads(__tstate
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35512 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35513 PyObject
*resultobj
= 0;
35514 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35518 PyObject
*swig_obj
[1] ;
35520 if (!args
) SWIG_fail
;
35521 swig_obj
[0] = args
;
35522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35523 if (!SWIG_IsOK(res1
)) {
35524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35526 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35529 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35530 wxPyEndAllowThreads(__tstate
);
35531 if (PyErr_Occurred()) SWIG_fail
;
35535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35546 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35547 PyObject
*resultobj
= 0;
35548 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35552 PyObject
*swig_obj
[1] ;
35554 if (!args
) SWIG_fail
;
35555 swig_obj
[0] = args
;
35556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35557 if (!SWIG_IsOK(res1
)) {
35558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35560 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35580 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35581 PyObject
*resultobj
= 0;
35582 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35586 PyObject
*swig_obj
[1] ;
35588 if (!args
) SWIG_fail
;
35589 swig_obj
[0] = args
;
35590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35591 if (!SWIG_IsOK(res1
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35594 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35597 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35614 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35615 PyObject
*resultobj
= 0;
35616 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35617 wxString
*arg2
= 0 ;
35620 bool temp2
= false ;
35621 PyObject
* obj0
= 0 ;
35622 PyObject
* obj1
= 0 ;
35623 char * kwnames
[] = {
35624 (char *) "self",(char *) "prefix", NULL
35627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35629 if (!SWIG_IsOK(res1
)) {
35630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35632 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35634 arg2
= wxString_in_helper(obj1
);
35635 if (arg2
== NULL
) SWIG_fail
;
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35644 resultobj
= SWIG_Py_Void();
35659 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35660 PyObject
*resultobj
= 0;
35661 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35665 PyObject
*swig_obj
[1] ;
35667 if (!args
) SWIG_fail
;
35668 swig_obj
[0] = args
;
35669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35670 if (!SWIG_IsOK(res1
)) {
35671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35673 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35693 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35696 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
35697 return SWIG_Py_Void();
35700 static PyMethodDef SwigMethods
[] = {
35701 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
35706 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
35708 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
35709 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
35716 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
35717 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
35718 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
35720 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
35724 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
35725 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
35727 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
35728 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
35730 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
35731 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
35732 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
35733 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
35740 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
35741 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
35742 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
35743 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
35744 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
35745 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
35747 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
35748 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
35758 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
35759 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
35760 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
35761 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
35762 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
35763 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
35764 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
35765 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
35766 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
35768 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
35770 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
35771 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
35772 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
35778 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
35779 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
35780 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
35781 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
35782 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
35783 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
35784 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
35785 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
35786 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
35787 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
35788 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
35789 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
35799 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
35800 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
35801 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
35802 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
35803 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
35804 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
35805 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
35806 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
35807 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
35808 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
35809 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
35811 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
35813 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
35814 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
35817 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
35818 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
35820 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
35821 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
35822 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
35823 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
35824 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
35825 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
35826 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
35827 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
35828 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
35834 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
35835 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
35837 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
35838 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
35840 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
35841 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
35842 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
35844 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
35845 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
35846 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
35848 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
35849 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
35850 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
35851 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
35853 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
35854 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
35855 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
35856 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
35857 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
35859 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
35862 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
35867 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
35870 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
35871 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
35872 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
35874 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
35875 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
35877 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
35878 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
35879 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35880 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
35881 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
35882 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
35883 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
35885 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
35888 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
35889 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
35893 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
35896 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
35898 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
35899 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
35900 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
35901 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
35902 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
35903 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
35904 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
35905 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
35907 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
35908 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
35909 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
35910 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
35911 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
35913 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
35914 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
35915 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
35916 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
35917 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
35920 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
35921 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
35922 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
35924 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
35925 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
35928 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35929 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
35932 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
35933 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
35935 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
35936 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
35938 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
35939 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
35940 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
35941 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
35942 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
35943 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
35944 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
35945 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
35946 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
35948 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
35949 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
35950 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
35951 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
35952 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
35955 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
35956 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
35957 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
35959 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
35960 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
35964 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
35965 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
35966 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
35967 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
35968 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
35969 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
35970 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
35971 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
35972 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35973 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35979 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35980 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35981 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35983 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
35985 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
35987 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
35988 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
35989 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
35990 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
35991 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
35993 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
35994 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35995 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35996 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35997 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35998 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35999 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36000 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36001 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36002 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36003 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36004 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36005 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36006 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36007 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36008 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36009 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36010 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36011 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36012 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36013 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36014 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36015 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36016 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36017 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36018 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36019 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36020 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36021 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36022 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36023 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36024 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36025 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36026 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36027 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36028 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36029 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36030 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36031 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36032 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36033 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36034 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36035 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36036 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36037 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36038 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36039 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36040 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36041 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36042 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36043 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36044 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36045 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36046 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36047 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36048 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36049 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36050 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36051 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36052 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36053 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36054 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36055 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36056 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36057 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36058 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36059 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36060 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36061 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36062 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36063 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36064 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36065 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36067 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36068 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36069 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36070 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36071 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36072 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36073 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36074 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36075 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36076 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36077 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36078 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36079 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36080 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36081 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36082 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36083 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36084 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36085 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36086 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36087 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36088 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36089 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36090 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36091 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36092 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36093 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36094 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36095 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36096 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36097 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36098 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36099 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36100 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36101 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36102 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36103 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36104 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36105 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36106 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36107 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36108 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36109 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36110 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36111 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36112 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36113 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36114 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36115 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36116 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36117 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36118 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36119 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36120 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36121 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36122 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36123 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36124 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36125 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36126 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36127 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36128 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36129 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36130 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36131 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36132 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36133 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36134 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36135 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36136 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36137 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36138 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36139 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36140 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36141 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36142 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36143 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36144 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36145 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36146 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36147 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36148 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36149 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36150 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36151 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36152 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36153 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36154 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36155 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36156 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36158 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36159 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36160 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36161 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36162 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36163 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36164 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36165 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36167 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36168 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36170 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36171 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36172 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36174 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36177 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36178 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36179 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36185 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36186 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36187 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36188 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36189 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36190 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36191 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36192 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36193 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36194 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36195 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36196 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36197 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36198 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36199 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36200 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36201 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36202 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36203 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36205 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36206 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36207 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36209 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36210 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36211 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36213 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36214 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36215 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36216 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36217 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36219 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36222 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36225 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36226 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36230 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36231 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36232 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36233 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36234 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36235 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36236 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36237 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36238 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36239 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36240 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36241 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36243 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36244 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36245 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36246 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36247 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36248 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36249 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36250 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36253 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36254 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36255 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36256 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36257 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36258 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36259 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36260 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36261 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36265 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36267 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36268 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36270 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36271 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36273 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36274 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36275 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36276 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36277 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36278 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36280 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36281 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36282 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36289 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36290 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36291 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36292 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36293 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36294 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36295 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36296 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36297 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36298 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36299 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36300 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36302 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36309 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36310 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36311 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36316 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36317 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36318 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36319 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36326 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36328 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36329 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36331 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36332 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36333 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36334 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36335 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36336 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36337 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36339 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36341 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36343 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36345 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36347 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36349 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36350 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36351 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36352 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36353 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36354 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36357 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36358 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36364 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36369 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36370 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36371 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36375 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36376 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36377 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36378 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36379 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36380 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36382 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36383 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36385 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36386 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36387 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36388 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36389 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36391 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36392 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36393 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36396 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36397 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36398 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36399 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36400 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36401 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36402 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36405 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36409 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36410 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36411 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36412 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36413 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36414 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36417 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36418 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36419 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36420 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36421 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36422 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36425 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36426 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36427 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36429 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36430 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36432 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36433 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36434 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36437 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36442 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36444 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36446 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36447 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36448 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36449 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36450 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36453 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36454 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36455 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36457 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36458 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36460 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36461 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36463 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36464 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36467 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36468 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36470 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36472 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36473 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36476 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36477 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36478 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36479 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36480 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36481 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36482 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36483 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36485 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36486 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36487 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36488 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36489 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36490 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36492 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36493 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36494 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36495 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36496 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36500 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36502 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36503 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36505 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36506 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36507 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36510 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36511 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36515 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36517 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36519 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36520 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36521 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36522 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36526 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36527 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36530 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36531 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36532 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36537 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36540 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
36541 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
36542 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
36543 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
36544 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
36545 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
36546 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
36551 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
36552 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
36554 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
36555 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
36556 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
36558 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
36559 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
36560 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
36561 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
36563 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
36565 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
36566 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
36567 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
36568 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
36571 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
36572 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
36573 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
36574 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
36575 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
36576 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
36577 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
36578 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
36579 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
36580 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
36582 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
36583 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
36586 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
36587 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
36588 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
36589 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
36591 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
36593 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
36594 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
36595 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
36596 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
36597 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
36598 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
36599 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
36600 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
36601 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
36602 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
36603 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
36605 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
36606 { NULL
, NULL
, 0, NULL
}
36610 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36612 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36613 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36615 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36616 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36618 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36619 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36621 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36622 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36624 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36625 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36627 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36628 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36630 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
36631 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
36633 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36634 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36636 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36637 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36639 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36640 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36642 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36643 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36645 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
36646 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
36648 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36649 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36651 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36652 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36654 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36655 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36657 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36658 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36660 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36661 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36663 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36664 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36666 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36667 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36669 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36670 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36672 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36673 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36675 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36676 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36678 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36679 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36681 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36682 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36684 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36685 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36687 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36688 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36690 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36691 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36693 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36694 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36696 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36697 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36699 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36700 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36702 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36703 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36705 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
36706 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
36708 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36709 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36711 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36712 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36714 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36717 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36718 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36720 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36721 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36723 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36724 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36726 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36727 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36729 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
36730 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
36732 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
36733 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
36735 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
36736 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36738 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
36739 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36741 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
36742 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
36744 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
36745 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
36747 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
36748 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
36750 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
36751 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
36753 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
36754 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36756 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
36757 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
36759 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
36760 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36762 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
36763 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
36765 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
36766 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
36768 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
36769 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
36771 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
36772 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
36774 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
36775 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
36777 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
36778 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
36780 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
36781 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36783 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
36784 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
36786 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
36787 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36789 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
36790 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
36792 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
36793 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
36795 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
36796 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
36798 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36799 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36801 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36802 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36804 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36807 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36808 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36810 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
36811 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
36813 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36814 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36816 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36817 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36819 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36820 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36822 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36823 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36825 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
36826 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
36828 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
36829 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
36831 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36832 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36834 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36835 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36837 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36838 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36840 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36843 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36844 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36846 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36847 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36849 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36850 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36852 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36853 return (void *)((wxObject
*) ((wxSizer
*) x
));
36855 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36856 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36858 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
36859 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
36861 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36864 static void *_p_wxEventTo_p_wxObject(void *x
) {
36865 return (void *)((wxObject
*) ((wxEvent
*) x
));
36867 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36868 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36870 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36871 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36873 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36874 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36876 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36877 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36879 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36880 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36882 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36883 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36885 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36886 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36888 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36889 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36891 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36892 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36894 static void *_p_wxControlTo_p_wxObject(void *x
) {
36895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36897 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36898 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36900 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
36901 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
36903 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36904 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36906 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
36907 return (void *)((wxObject
*) ((wxClipboard
*) x
));
36909 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36910 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36912 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36913 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36915 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36918 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36919 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36921 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
36922 return (void *)((wxObject
*) ((wxToolTip
*) x
));
36924 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36925 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36927 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36930 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36931 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36933 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36936 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36937 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36939 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36940 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36942 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36943 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36945 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36946 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36948 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36949 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36951 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36952 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36954 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36957 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36960 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36961 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36963 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36964 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36966 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36969 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36970 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36972 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36973 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36975 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36976 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36978 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36981 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36982 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36984 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36985 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36987 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36988 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36990 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36991 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36993 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36994 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36996 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36997 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36999 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37000 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37002 static void *_p_wxImageTo_p_wxObject(void *x
) {
37003 return (void *)((wxObject
*) ((wxImage
*) x
));
37005 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37006 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37008 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37009 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37011 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37012 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37014 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37017 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37018 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37020 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37021 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37023 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37026 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37027 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37029 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37032 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37033 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37035 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37036 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37038 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37041 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37042 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37044 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37045 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37047 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37048 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37050 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37051 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37053 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37054 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37056 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37057 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37059 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37062 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37063 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37065 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37066 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37068 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37069 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37071 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37072 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37074 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37075 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37077 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37080 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37083 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37084 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37086 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37087 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37089 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37090 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37092 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37093 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37095 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37096 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37098 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37099 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37101 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37102 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37104 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37105 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37107 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37108 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37110 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37111 return (void *)((wxWindow
*) ((wxControl
*) x
));
37113 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37114 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37116 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37117 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37119 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37120 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37122 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37123 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37125 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37126 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};
37127 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37128 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37129 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37130 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37131 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37132 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37133 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37134 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37135 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37136 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37137 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37138 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37139 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37140 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37141 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37142 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37143 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37144 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37145 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37146 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37147 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37148 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37149 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37150 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37151 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37152 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37153 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37154 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37155 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37156 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37157 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37158 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37159 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37160 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37161 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37162 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37163 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37164 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37165 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37166 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37167 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37168 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37169 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37170 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37171 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37172 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37173 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37174 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37175 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37176 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37177 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37178 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37179 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37180 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37181 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37182 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37183 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37184 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37185 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37186 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37187 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37188 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37189 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37190 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37191 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37192 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37193 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37194 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37195 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37196 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37197 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37198 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37199 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37200 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37201 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37202 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37203 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37204 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37205 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37206 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37207 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37208 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37209 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37210 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37211 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37212 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37213 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37214 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37215 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37216 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37217 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37218 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37219 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37220 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37221 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37222 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37223 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37224 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37225 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37226 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37227 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37228 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37229 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37230 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37231 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37232 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37233 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37234 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37235 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37236 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37237 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37238 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37239 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37240 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37241 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37242 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37243 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37244 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37245 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37246 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37247 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37248 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37249 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37250 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37251 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37252 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37253 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37254 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37255 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37256 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37257 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37258 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37259 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37260 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37261 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37262 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37263 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37264 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37265 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37266 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37267 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37268 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37269 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37270 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37271 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37272 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37273 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37274 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37275 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37276 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37277 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37278 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37279 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37280 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37281 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37282 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37283 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37284 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37285 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37286 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37287 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37288 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37289 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37290 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37291 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37292 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37293 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37295 static swig_type_info
*swig_type_initial
[] = {
37297 &_swigt__p_form_ops_t
,
37299 &_swigt__p_unsigned_char
,
37300 &_swigt__p_unsigned_int
,
37301 &_swigt__p_unsigned_long
,
37303 &_swigt__p_wxANIHandler
,
37304 &_swigt__p_wxAcceleratorTable
,
37305 &_swigt__p_wxActivateEvent
,
37306 &_swigt__p_wxArrayString
,
37307 &_swigt__p_wxBMPHandler
,
37308 &_swigt__p_wxBitmap
,
37309 &_swigt__p_wxBitmapDataObject
,
37310 &_swigt__p_wxBoxSizer
,
37311 &_swigt__p_wxBusyCursor
,
37312 &_swigt__p_wxBusyInfo
,
37313 &_swigt__p_wxCURHandler
,
37314 &_swigt__p_wxCaret
,
37316 &_swigt__p_wxChildFocusEvent
,
37317 &_swigt__p_wxClipboard
,
37318 &_swigt__p_wxClipboardLocker
,
37319 &_swigt__p_wxCloseEvent
,
37320 &_swigt__p_wxColour
,
37321 &_swigt__p_wxCommandEvent
,
37322 &_swigt__p_wxConfig
,
37323 &_swigt__p_wxConfigBase
,
37324 &_swigt__p_wxConfigPathChanger
,
37325 &_swigt__p_wxContextMenuEvent
,
37326 &_swigt__p_wxControl
,
37327 &_swigt__p_wxControlWithItems
,
37328 &_swigt__p_wxCursor
,
37329 &_swigt__p_wxCustomDataObject
,
37331 &_swigt__p_wxDataFormat
,
37332 &_swigt__p_wxDataObject
,
37333 &_swigt__p_wxDataObjectComposite
,
37334 &_swigt__p_wxDataObjectSimple
,
37335 &_swigt__p_wxDateEvent
,
37336 &_swigt__p_wxDateSpan
,
37337 &_swigt__p_wxDateTime
,
37338 &_swigt__p_wxDateTime__TimeZone
,
37339 &_swigt__p_wxDisplay
,
37340 &_swigt__p_wxDisplayChangedEvent
,
37341 &_swigt__p_wxDropFilesEvent
,
37342 &_swigt__p_wxDuplexMode
,
37343 &_swigt__p_wxEraseEvent
,
37344 &_swigt__p_wxEvent
,
37345 &_swigt__p_wxEvtHandler
,
37346 &_swigt__p_wxFSFile
,
37347 &_swigt__p_wxFileConfig
,
37348 &_swigt__p_wxFileDataObject
,
37349 &_swigt__p_wxFileHistory
,
37350 &_swigt__p_wxFileSystem
,
37351 &_swigt__p_wxFileType
,
37352 &_swigt__p_wxFileTypeInfo
,
37353 &_swigt__p_wxFlexGridSizer
,
37354 &_swigt__p_wxFocusEvent
,
37356 &_swigt__p_wxFrame
,
37357 &_swigt__p_wxGBSizerItem
,
37358 &_swigt__p_wxGIFHandler
,
37359 &_swigt__p_wxGridBagSizer
,
37360 &_swigt__p_wxGridSizer
,
37361 &_swigt__p_wxICOHandler
,
37363 &_swigt__p_wxIconizeEvent
,
37364 &_swigt__p_wxIdleEvent
,
37365 &_swigt__p_wxImage
,
37366 &_swigt__p_wxImageHandler
,
37367 &_swigt__p_wxIndividualLayoutConstraint
,
37368 &_swigt__p_wxInitDialogEvent
,
37369 &_swigt__p_wxJPEGHandler
,
37370 &_swigt__p_wxJoystick
,
37371 &_swigt__p_wxJoystickEvent
,
37372 &_swigt__p_wxKeyEvent
,
37373 &_swigt__p_wxKillError
,
37374 &_swigt__p_wxLayoutConstraints
,
37376 &_swigt__p_wxLogBuffer
,
37377 &_swigt__p_wxLogChain
,
37378 &_swigt__p_wxLogGui
,
37379 &_swigt__p_wxLogNull
,
37380 &_swigt__p_wxLogStderr
,
37381 &_swigt__p_wxLogTextCtrl
,
37382 &_swigt__p_wxLogWindow
,
37383 &_swigt__p_wxMaximizeEvent
,
37384 &_swigt__p_wxMemorySize
,
37386 &_swigt__p_wxMenuBar
,
37387 &_swigt__p_wxMenuEvent
,
37388 &_swigt__p_wxMenuItem
,
37389 &_swigt__p_wxMetafileDataObject
,
37390 &_swigt__p_wxMimeTypesManager
,
37391 &_swigt__p_wxMouseCaptureChangedEvent
,
37392 &_swigt__p_wxMouseEvent
,
37393 &_swigt__p_wxMouseState
,
37394 &_swigt__p_wxMoveEvent
,
37395 &_swigt__p_wxMutexGuiLocker
,
37396 &_swigt__p_wxNavigationKeyEvent
,
37397 &_swigt__p_wxNcPaintEvent
,
37398 &_swigt__p_wxNotifyEvent
,
37399 &_swigt__p_wxObject
,
37400 &_swigt__p_wxOutputStream
,
37401 &_swigt__p_wxPCXHandler
,
37402 &_swigt__p_wxPNGHandler
,
37403 &_swigt__p_wxPNMHandler
,
37404 &_swigt__p_wxPaintEvent
,
37405 &_swigt__p_wxPaletteChangedEvent
,
37406 &_swigt__p_wxPaperSize
,
37407 &_swigt__p_wxPoint
,
37408 &_swigt__p_wxProcessEvent
,
37409 &_swigt__p_wxPyApp
,
37410 &_swigt__p_wxPyArtProvider
,
37411 &_swigt__p_wxPyBitmapDataObject
,
37412 &_swigt__p_wxPyCommandEvent
,
37413 &_swigt__p_wxPyDataObjectSimple
,
37414 &_swigt__p_wxPyDropSource
,
37415 &_swigt__p_wxPyDropTarget
,
37416 &_swigt__p_wxPyEvent
,
37417 &_swigt__p_wxPyFileDropTarget
,
37418 &_swigt__p_wxPyImageHandler
,
37419 &_swigt__p_wxPyLog
,
37420 &_swigt__p_wxPyProcess
,
37421 &_swigt__p_wxPySizer
,
37422 &_swigt__p_wxPyTextDataObject
,
37423 &_swigt__p_wxPyTextDropTarget
,
37424 &_swigt__p_wxPyTimer
,
37425 &_swigt__p_wxPyTipProvider
,
37426 &_swigt__p_wxPyValidator
,
37427 &_swigt__p_wxQueryNewPaletteEvent
,
37429 &_swigt__p_wxScrollEvent
,
37430 &_swigt__p_wxScrollWinEvent
,
37431 &_swigt__p_wxSetCursorEvent
,
37432 &_swigt__p_wxShowEvent
,
37433 &_swigt__p_wxSingleInstanceChecker
,
37435 &_swigt__p_wxSizeEvent
,
37436 &_swigt__p_wxSizer
,
37437 &_swigt__p_wxSizerItem
,
37438 &_swigt__p_wxSound
,
37439 &_swigt__p_wxStandardPaths
,
37440 &_swigt__p_wxStaticBoxSizer
,
37441 &_swigt__p_wxStdDialogButtonSizer
,
37442 &_swigt__p_wxStopWatch
,
37443 &_swigt__p_wxString
,
37444 &_swigt__p_wxSysColourChangedEvent
,
37445 &_swigt__p_wxSystemOptions
,
37446 &_swigt__p_wxSystemSettings
,
37447 &_swigt__p_wxTIFFHandler
,
37448 &_swigt__p_wxTextCtrl
,
37449 &_swigt__p_wxTextDataObject
,
37450 &_swigt__p_wxTimeSpan
,
37451 &_swigt__p_wxTimer
,
37452 &_swigt__p_wxTimerEvent
,
37453 &_swigt__p_wxTimerRunner
,
37454 &_swigt__p_wxTipProvider
,
37455 &_swigt__p_wxToolTip
,
37456 &_swigt__p_wxURLDataObject
,
37457 &_swigt__p_wxUpdateUIEvent
,
37458 &_swigt__p_wxValidator
,
37459 &_swigt__p_wxVideoMode
,
37460 &_swigt__p_wxWindow
,
37461 &_swigt__p_wxWindowCreateEvent
,
37462 &_swigt__p_wxWindowDestroyEvent
,
37463 &_swigt__p_wxWindowDisabler
,
37464 &_swigt__p_wxXPMHandler
,
37467 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37468 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37469 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37470 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37471 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37472 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37473 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37474 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37475 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37476 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}};
37477 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37478 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37479 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37480 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37481 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37482 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37483 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37484 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37485 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}};
37486 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37487 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37488 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37489 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37490 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37491 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}};
37492 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37493 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}};
37494 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37495 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37496 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37497 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37498 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37499 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37500 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37501 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37502 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37503 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37504 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37505 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37506 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37507 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37508 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37509 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37510 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37511 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37512 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37513 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37514 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37515 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37516 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37517 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37518 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37519 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37520 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37521 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37522 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37523 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37524 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37525 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37526 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37527 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37528 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37529 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37530 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37531 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37532 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37533 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37534 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37535 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}};
37536 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37537 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37538 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37539 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37540 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37541 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37542 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}};
37543 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
37544 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37545 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
37546 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
37547 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
37548 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37549 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
37550 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37551 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
37552 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
37553 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
37554 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}};
37555 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
37556 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
37557 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
37558 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
37559 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
37560 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37561 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
37562 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
37563 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37564 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37565 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
37566 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
37567 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
37568 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37569 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37570 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37571 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37572 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37573 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37574 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37575 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37576 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37577 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37578 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37579 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37580 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37581 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37582 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37583 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37584 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37585 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37586 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37587 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37588 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37589 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37590 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37591 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37592 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37593 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37594 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37595 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37596 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37597 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37598 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}};
37599 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
37600 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37601 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37602 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
37603 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
37604 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37605 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
37606 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
37607 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}};
37608 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37609 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
37610 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
37611 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37612 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37613 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
37614 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
37615 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37616 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
37617 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37618 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
37619 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
37620 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
37621 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37622 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
37623 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
37624 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37625 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}};
37626 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
37627 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
37628 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
37629 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
37630 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}};
37631 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
37632 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37633 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
37634 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}};
37635 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
37637 static swig_cast_info
*swig_cast_initial
[] = {
37639 _swigc__p_form_ops_t
,
37641 _swigc__p_unsigned_char
,
37642 _swigc__p_unsigned_int
,
37643 _swigc__p_unsigned_long
,
37645 _swigc__p_wxANIHandler
,
37646 _swigc__p_wxAcceleratorTable
,
37647 _swigc__p_wxActivateEvent
,
37648 _swigc__p_wxArrayString
,
37649 _swigc__p_wxBMPHandler
,
37650 _swigc__p_wxBitmap
,
37651 _swigc__p_wxBitmapDataObject
,
37652 _swigc__p_wxBoxSizer
,
37653 _swigc__p_wxBusyCursor
,
37654 _swigc__p_wxBusyInfo
,
37655 _swigc__p_wxCURHandler
,
37658 _swigc__p_wxChildFocusEvent
,
37659 _swigc__p_wxClipboard
,
37660 _swigc__p_wxClipboardLocker
,
37661 _swigc__p_wxCloseEvent
,
37662 _swigc__p_wxColour
,
37663 _swigc__p_wxCommandEvent
,
37664 _swigc__p_wxConfig
,
37665 _swigc__p_wxConfigBase
,
37666 _swigc__p_wxConfigPathChanger
,
37667 _swigc__p_wxContextMenuEvent
,
37668 _swigc__p_wxControl
,
37669 _swigc__p_wxControlWithItems
,
37670 _swigc__p_wxCursor
,
37671 _swigc__p_wxCustomDataObject
,
37673 _swigc__p_wxDataFormat
,
37674 _swigc__p_wxDataObject
,
37675 _swigc__p_wxDataObjectComposite
,
37676 _swigc__p_wxDataObjectSimple
,
37677 _swigc__p_wxDateEvent
,
37678 _swigc__p_wxDateSpan
,
37679 _swigc__p_wxDateTime
,
37680 _swigc__p_wxDateTime__TimeZone
,
37681 _swigc__p_wxDisplay
,
37682 _swigc__p_wxDisplayChangedEvent
,
37683 _swigc__p_wxDropFilesEvent
,
37684 _swigc__p_wxDuplexMode
,
37685 _swigc__p_wxEraseEvent
,
37687 _swigc__p_wxEvtHandler
,
37688 _swigc__p_wxFSFile
,
37689 _swigc__p_wxFileConfig
,
37690 _swigc__p_wxFileDataObject
,
37691 _swigc__p_wxFileHistory
,
37692 _swigc__p_wxFileSystem
,
37693 _swigc__p_wxFileType
,
37694 _swigc__p_wxFileTypeInfo
,
37695 _swigc__p_wxFlexGridSizer
,
37696 _swigc__p_wxFocusEvent
,
37699 _swigc__p_wxGBSizerItem
,
37700 _swigc__p_wxGIFHandler
,
37701 _swigc__p_wxGridBagSizer
,
37702 _swigc__p_wxGridSizer
,
37703 _swigc__p_wxICOHandler
,
37705 _swigc__p_wxIconizeEvent
,
37706 _swigc__p_wxIdleEvent
,
37708 _swigc__p_wxImageHandler
,
37709 _swigc__p_wxIndividualLayoutConstraint
,
37710 _swigc__p_wxInitDialogEvent
,
37711 _swigc__p_wxJPEGHandler
,
37712 _swigc__p_wxJoystick
,
37713 _swigc__p_wxJoystickEvent
,
37714 _swigc__p_wxKeyEvent
,
37715 _swigc__p_wxKillError
,
37716 _swigc__p_wxLayoutConstraints
,
37718 _swigc__p_wxLogBuffer
,
37719 _swigc__p_wxLogChain
,
37720 _swigc__p_wxLogGui
,
37721 _swigc__p_wxLogNull
,
37722 _swigc__p_wxLogStderr
,
37723 _swigc__p_wxLogTextCtrl
,
37724 _swigc__p_wxLogWindow
,
37725 _swigc__p_wxMaximizeEvent
,
37726 _swigc__p_wxMemorySize
,
37728 _swigc__p_wxMenuBar
,
37729 _swigc__p_wxMenuEvent
,
37730 _swigc__p_wxMenuItem
,
37731 _swigc__p_wxMetafileDataObject
,
37732 _swigc__p_wxMimeTypesManager
,
37733 _swigc__p_wxMouseCaptureChangedEvent
,
37734 _swigc__p_wxMouseEvent
,
37735 _swigc__p_wxMouseState
,
37736 _swigc__p_wxMoveEvent
,
37737 _swigc__p_wxMutexGuiLocker
,
37738 _swigc__p_wxNavigationKeyEvent
,
37739 _swigc__p_wxNcPaintEvent
,
37740 _swigc__p_wxNotifyEvent
,
37741 _swigc__p_wxObject
,
37742 _swigc__p_wxOutputStream
,
37743 _swigc__p_wxPCXHandler
,
37744 _swigc__p_wxPNGHandler
,
37745 _swigc__p_wxPNMHandler
,
37746 _swigc__p_wxPaintEvent
,
37747 _swigc__p_wxPaletteChangedEvent
,
37748 _swigc__p_wxPaperSize
,
37750 _swigc__p_wxProcessEvent
,
37752 _swigc__p_wxPyArtProvider
,
37753 _swigc__p_wxPyBitmapDataObject
,
37754 _swigc__p_wxPyCommandEvent
,
37755 _swigc__p_wxPyDataObjectSimple
,
37756 _swigc__p_wxPyDropSource
,
37757 _swigc__p_wxPyDropTarget
,
37758 _swigc__p_wxPyEvent
,
37759 _swigc__p_wxPyFileDropTarget
,
37760 _swigc__p_wxPyImageHandler
,
37762 _swigc__p_wxPyProcess
,
37763 _swigc__p_wxPySizer
,
37764 _swigc__p_wxPyTextDataObject
,
37765 _swigc__p_wxPyTextDropTarget
,
37766 _swigc__p_wxPyTimer
,
37767 _swigc__p_wxPyTipProvider
,
37768 _swigc__p_wxPyValidator
,
37769 _swigc__p_wxQueryNewPaletteEvent
,
37771 _swigc__p_wxScrollEvent
,
37772 _swigc__p_wxScrollWinEvent
,
37773 _swigc__p_wxSetCursorEvent
,
37774 _swigc__p_wxShowEvent
,
37775 _swigc__p_wxSingleInstanceChecker
,
37777 _swigc__p_wxSizeEvent
,
37779 _swigc__p_wxSizerItem
,
37781 _swigc__p_wxStandardPaths
,
37782 _swigc__p_wxStaticBoxSizer
,
37783 _swigc__p_wxStdDialogButtonSizer
,
37784 _swigc__p_wxStopWatch
,
37785 _swigc__p_wxString
,
37786 _swigc__p_wxSysColourChangedEvent
,
37787 _swigc__p_wxSystemOptions
,
37788 _swigc__p_wxSystemSettings
,
37789 _swigc__p_wxTIFFHandler
,
37790 _swigc__p_wxTextCtrl
,
37791 _swigc__p_wxTextDataObject
,
37792 _swigc__p_wxTimeSpan
,
37794 _swigc__p_wxTimerEvent
,
37795 _swigc__p_wxTimerRunner
,
37796 _swigc__p_wxTipProvider
,
37797 _swigc__p_wxToolTip
,
37798 _swigc__p_wxURLDataObject
,
37799 _swigc__p_wxUpdateUIEvent
,
37800 _swigc__p_wxValidator
,
37801 _swigc__p_wxVideoMode
,
37802 _swigc__p_wxWindow
,
37803 _swigc__p_wxWindowCreateEvent
,
37804 _swigc__p_wxWindowDestroyEvent
,
37805 _swigc__p_wxWindowDisabler
,
37806 _swigc__p_wxXPMHandler
,
37810 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37812 static swig_const_info swig_const_table
[] = {
37813 {0, 0, 0, 0.0, 0, 0}};
37818 /* -----------------------------------------------------------------------------
37819 * Type initialization:
37820 * This problem is tough by the requirement that no dynamic
37821 * memory is used. Also, since swig_type_info structures store pointers to
37822 * swig_cast_info structures and swig_cast_info structures store pointers back
37823 * to swig_type_info structures, we need some lookup code at initialization.
37824 * The idea is that swig generates all the structures that are needed.
37825 * The runtime then collects these partially filled structures.
37826 * The SWIG_InitializeModule function takes these initial arrays out of
37827 * swig_module, and does all the lookup, filling in the swig_module.types
37828 * array with the correct data and linking the correct swig_cast_info
37829 * structures together.
37831 * The generated swig_type_info structures are assigned staticly to an initial
37832 * array. We just loop though that array, and handle each type individually.
37833 * First we lookup if this type has been already loaded, and if so, use the
37834 * loaded structure instead of the generated one. Then we have to fill in the
37835 * cast linked list. The cast data is initially stored in something like a
37836 * two-dimensional array. Each row corresponds to a type (there are the same
37837 * number of rows as there are in the swig_type_initial array). Each entry in
37838 * a column is one of the swig_cast_info structures for that type.
37839 * The cast_initial array is actually an array of arrays, because each row has
37840 * a variable number of columns. So to actually build the cast linked list,
37841 * we find the array of casts associated with the type, and loop through it
37842 * adding the casts to the list. The one last trick we need to do is making
37843 * sure the type pointer in the swig_cast_info struct is correct.
37845 * First off, we lookup the cast->type name to see if it is already loaded.
37846 * There are three cases to handle:
37847 * 1) If the cast->type has already been loaded AND the type we are adding
37848 * casting info to has not been loaded (it is in this module), THEN we
37849 * replace the cast->type pointer with the type pointer that has already
37851 * 2) If BOTH types (the one we are adding casting info to, and the
37852 * cast->type) are loaded, THEN the cast info has already been loaded by
37853 * the previous module so we just ignore it.
37854 * 3) Finally, if cast->type has not already been loaded, then we add that
37855 * swig_cast_info to the linked list (because the cast->type) pointer will
37857 * ----------------------------------------------------------------------------- */
37867 #define SWIGRUNTIME_DEBUG
37871 SWIG_InitializeModule(void *clientdata
) {
37873 swig_module_info
*module_head
;
37874 static int init_run
= 0;
37876 clientdata
= clientdata
;
37878 if (init_run
) return;
37881 /* Initialize the swig_module */
37882 swig_module
.type_initial
= swig_type_initial
;
37883 swig_module
.cast_initial
= swig_cast_initial
;
37885 /* Try and load any already created modules */
37886 module_head
= SWIG_GetModule(clientdata
);
37888 swig_module
.next
= module_head
->next
;
37889 module_head
->next
= &swig_module
;
37891 /* This is the first module loaded */
37892 swig_module
.next
= &swig_module
;
37893 SWIG_SetModule(clientdata
, &swig_module
);
37896 /* Now work on filling in swig_module.types */
37897 #ifdef SWIGRUNTIME_DEBUG
37898 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37900 for (i
= 0; i
< swig_module
.size
; ++i
) {
37901 swig_type_info
*type
= 0;
37902 swig_type_info
*ret
;
37903 swig_cast_info
*cast
;
37905 #ifdef SWIGRUNTIME_DEBUG
37906 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37909 /* if there is another module already loaded */
37910 if (swig_module
.next
!= &swig_module
) {
37911 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37914 /* Overwrite clientdata field */
37915 #ifdef SWIGRUNTIME_DEBUG
37916 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37918 if (swig_module
.type_initial
[i
]->clientdata
) {
37919 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37920 #ifdef SWIGRUNTIME_DEBUG
37921 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37925 type
= swig_module
.type_initial
[i
];
37928 /* Insert casting types */
37929 cast
= swig_module
.cast_initial
[i
];
37930 while (cast
->type
) {
37931 /* Don't need to add information already in the list */
37933 #ifdef SWIGRUNTIME_DEBUG
37934 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37936 if (swig_module
.next
!= &swig_module
) {
37937 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37938 #ifdef SWIGRUNTIME_DEBUG
37939 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37943 if (type
== swig_module
.type_initial
[i
]) {
37944 #ifdef SWIGRUNTIME_DEBUG
37945 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37950 /* Check for casting already in the list */
37951 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37952 #ifdef SWIGRUNTIME_DEBUG
37953 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37955 if (!ocast
) ret
= 0;
37960 #ifdef SWIGRUNTIME_DEBUG
37961 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37964 type
->cast
->prev
= cast
;
37965 cast
->next
= type
->cast
;
37971 /* Set entry in modules->types array equal to the type */
37972 swig_module
.types
[i
] = type
;
37974 swig_module
.types
[i
] = 0;
37976 #ifdef SWIGRUNTIME_DEBUG
37977 printf("**** SWIG_InitializeModule: Cast List ******\n");
37978 for (i
= 0; i
< swig_module
.size
; ++i
) {
37980 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37981 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37982 while (cast
->type
) {
37983 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37987 printf("---- Total casts: %d\n",j
);
37989 printf("**** SWIG_InitializeModule: Cast List ******\n");
37993 /* This function will propagate the clientdata field of type to
37994 * any new swig_type_info structures that have been added into the list
37995 * of equivalent types. It is like calling
37996 * SWIG_TypeClientData(type, clientdata) a second time.
37999 SWIG_PropagateClientData(void) {
38001 swig_cast_info
*equiv
;
38002 static int init_run
= 0;
38004 if (init_run
) return;
38007 for (i
= 0; i
< swig_module
.size
; i
++) {
38008 if (swig_module
.types
[i
]->clientdata
) {
38009 equiv
= swig_module
.types
[i
]->cast
;
38011 if (!equiv
->converter
) {
38012 if (equiv
->type
&& !equiv
->type
->clientdata
)
38013 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38015 equiv
= equiv
->next
;
38035 /* Python-specific SWIG API */
38036 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38037 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38038 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38040 /* -----------------------------------------------------------------------------
38041 * global variable support code.
38042 * ----------------------------------------------------------------------------- */
38044 typedef struct swig_globalvar
{
38045 char *name
; /* Name of global variable */
38046 PyObject
*(*get_attr
)(void); /* Return the current value */
38047 int (*set_attr
)(PyObject
*); /* Set the value */
38048 struct swig_globalvar
*next
;
38051 typedef struct swig_varlinkobject
{
38053 swig_globalvar
*vars
;
38054 } swig_varlinkobject
;
38056 SWIGINTERN PyObject
*
38057 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38058 return PyString_FromString("<Swig global variables>");
38061 SWIGINTERN PyObject
*
38062 swig_varlink_str(swig_varlinkobject
*v
) {
38063 PyObject
*str
= PyString_FromString("(");
38064 swig_globalvar
*var
;
38065 for (var
= v
->vars
; var
; var
=var
->next
) {
38066 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38067 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38069 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38074 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38075 PyObject
*str
= swig_varlink_str(v
);
38076 fprintf(fp
,"Swig global variables ");
38077 fprintf(fp
,"%s\n", PyString_AsString(str
));
38083 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38084 swig_globalvar
*var
= v
->vars
;
38086 swig_globalvar
*n
= var
->next
;
38093 SWIGINTERN PyObject
*
38094 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38095 PyObject
*res
= NULL
;
38096 swig_globalvar
*var
= v
->vars
;
38098 if (strcmp(var
->name
,n
) == 0) {
38099 res
= (*var
->get_attr
)();
38104 if (res
== NULL
&& !PyErr_Occurred()) {
38105 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38111 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38113 swig_globalvar
*var
= v
->vars
;
38115 if (strcmp(var
->name
,n
) == 0) {
38116 res
= (*var
->set_attr
)(p
);
38121 if (res
== 1 && !PyErr_Occurred()) {
38122 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38127 SWIGINTERN PyTypeObject
*
38128 swig_varlink_type(void) {
38129 static char varlink__doc__
[] = "Swig var link object";
38130 static PyTypeObject varlink_type
;
38131 static int type_init
= 0;
38133 const PyTypeObject tmp
38135 PyObject_HEAD_INIT(NULL
)
38136 0, /* Number of items in variable part (ob_size) */
38137 (char *)"swigvarlink", /* Type name (tp_name) */
38138 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38139 0, /* Itemsize (tp_itemsize) */
38140 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38141 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38142 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38143 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38144 0, /* tp_compare */
38145 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38146 0, /* tp_as_number */
38147 0, /* tp_as_sequence */
38148 0, /* tp_as_mapping */
38151 (reprfunc
)swig_varlink_str
, /* tp_str */
38152 0, /* tp_getattro */
38153 0, /* tp_setattro */
38154 0, /* tp_as_buffer */
38156 varlink__doc__
, /* tp_doc */
38157 0, /* tp_traverse */
38159 0, /* tp_richcompare */
38160 0, /* tp_weaklistoffset */
38161 #if PY_VERSION_HEX >= 0x02020000
38162 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38164 #if PY_VERSION_HEX >= 0x02030000
38167 #ifdef COUNT_ALLOCS
38168 0,0,0,0 /* tp_alloc -> tp_next */
38171 varlink_type
= tmp
;
38172 varlink_type
.ob_type
= &PyType_Type
;
38175 return &varlink_type
;
38178 /* Create a variable linking object for use later */
38179 SWIGINTERN PyObject
*
38180 SWIG_Python_newvarlink(void) {
38181 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38185 return ((PyObject
*) result
);
38189 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38190 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38191 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38193 size_t size
= strlen(name
)+1;
38194 gv
->name
= (char *)malloc(size
);
38196 strncpy(gv
->name
,name
,size
);
38197 gv
->get_attr
= get_attr
;
38198 gv
->set_attr
= set_attr
;
38199 gv
->next
= v
->vars
;
38205 SWIGINTERN PyObject
*
38207 static PyObject
*_SWIG_globals
= 0;
38208 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38209 return _SWIG_globals
;
38212 /* -----------------------------------------------------------------------------
38213 * constants/methods manipulation
38214 * ----------------------------------------------------------------------------- */
38216 /* Install Constants */
38218 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38221 for (i
= 0; constants
[i
].type
; ++i
) {
38222 switch(constants
[i
].type
) {
38223 case SWIG_PY_POINTER
:
38224 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38226 case SWIG_PY_BINARY
:
38227 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38234 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38240 /* -----------------------------------------------------------------------------*/
38241 /* Fix SwigMethods to carry the callback ptrs when needed */
38242 /* -----------------------------------------------------------------------------*/
38245 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38246 swig_const_info
*const_table
,
38247 swig_type_info
**types
,
38248 swig_type_info
**types_initial
) {
38250 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38251 char *c
= methods
[i
].ml_doc
;
38252 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38254 swig_const_info
*ci
= 0;
38255 char *name
= c
+ 10;
38256 for (j
= 0; const_table
[j
].type
; ++j
) {
38257 if (strncmp(const_table
[j
].name
, name
,
38258 strlen(const_table
[j
].name
)) == 0) {
38259 ci
= &(const_table
[j
]);
38264 size_t shift
= (ci
->ptype
) - types
;
38265 swig_type_info
*ty
= types_initial
[shift
];
38266 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38267 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38268 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38271 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38273 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38275 strncpy(buff
, "swig_ptr: ", 10);
38277 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38278 methods
[i
].ml_doc
= ndoc
;
38290 /* -----------------------------------------------------------------------------*
38291 * Partial Init method
38292 * -----------------------------------------------------------------------------*/
38297 SWIGEXPORT
void SWIG_init(void) {
38300 /* Fix SwigMethods to carry the callback ptrs when needed */
38301 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38303 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38304 d
= PyModule_GetDict(m
);
38306 SWIG_InitializeModule(0);
38307 SWIG_InstallConstants(d
,swig_const_table
);
38310 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38311 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38312 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38313 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38314 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38315 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38316 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38317 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38318 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38319 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38320 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38321 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38322 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38323 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38324 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38325 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38326 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38327 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38328 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38329 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38330 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38331 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38332 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38333 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38334 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38335 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38336 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38337 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38338 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38339 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38340 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38341 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38342 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38343 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38344 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38345 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38346 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38347 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38348 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38349 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38350 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38351 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38352 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38353 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38354 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38355 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38356 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38357 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38358 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38359 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38360 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38361 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38362 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38363 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38364 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38365 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38366 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38367 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38368 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38369 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38370 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38371 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38372 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38373 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38374 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38375 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38376 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38377 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38378 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38379 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38380 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38381 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38382 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38383 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38384 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38385 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38386 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38387 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38388 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38389 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38390 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38391 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38392 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38393 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38394 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38395 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38396 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38397 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38398 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38399 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38400 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38401 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38402 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38403 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38404 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38405 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38406 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38407 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38408 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38409 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38410 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38411 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38413 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38415 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38416 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38417 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38418 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38419 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38420 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38421 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38422 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38423 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38424 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38425 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38426 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38427 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38428 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38429 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38430 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38431 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38432 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38433 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38434 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38435 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38436 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38437 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38438 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38439 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38440 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38441 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38442 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38443 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38444 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38445 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38446 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38447 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38448 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38449 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38450 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38451 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38452 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38453 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38454 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38455 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38456 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38457 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38458 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38459 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38460 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38461 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38462 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38463 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38464 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38465 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38466 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38467 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38469 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38471 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38472 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38473 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38474 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38475 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38476 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38477 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
38478 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
38479 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
38480 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
38481 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
38482 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
38483 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
38484 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
38485 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
38486 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
38487 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
38488 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
38489 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
38490 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
38491 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
38492 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
38493 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
38494 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
38495 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
38496 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
38497 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
38498 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
38499 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
38500 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
38501 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
38502 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
38503 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
38504 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
38505 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
38506 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
38507 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
38508 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
38509 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
38510 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
38511 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
38512 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
38513 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
38514 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
38515 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
38516 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
38517 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
38518 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
38519 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
38520 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
38521 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
38522 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
38523 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
38524 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
38525 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
38526 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
38527 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
38528 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
38529 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
38530 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
38531 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
38532 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
38533 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
38534 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
38535 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
38536 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
38537 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
38538 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
38539 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
38540 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
38541 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
38542 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
38543 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
38544 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
38545 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
38546 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
38548 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
38550 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
38551 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
38552 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
38553 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
38554 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
38555 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
38556 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
38557 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
38558 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
38559 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
38560 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
38561 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
38562 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
38563 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
38564 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
38565 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
38566 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
38567 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
38568 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
38569 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
38570 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
38571 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
38572 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
38573 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
38574 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
38575 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
38576 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
38577 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
38578 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
38579 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
38580 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
38581 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
38582 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
38583 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
38584 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
38585 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
38586 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
38587 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
38588 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
38589 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
38590 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
38591 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
38592 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
38593 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
38594 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
38595 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
38596 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
38597 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
38598 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
38599 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
38600 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
38601 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
38602 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
38603 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
38604 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
38605 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
38606 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
38607 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
38608 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
38609 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
38610 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
38611 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
38612 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
38613 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
38614 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
38615 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
38616 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
38617 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
38618 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
38619 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
38620 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
38621 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
38622 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
38623 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
38624 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
38625 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
38626 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
38627 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
38628 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
38629 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
38630 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
38631 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
38632 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
38633 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
38634 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
38635 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
38636 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
38637 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
38638 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
38639 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
38640 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
38641 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
38642 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
38643 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
38644 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
38645 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
38646 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
38647 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
38648 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
38649 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
38650 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
38651 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
38652 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
38653 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
38654 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
38655 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
38656 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
38657 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
38658 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
38659 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
38660 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
38661 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
38662 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
38663 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
38664 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
38665 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
38666 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
38667 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
38668 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
38669 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
38670 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
38671 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
38672 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
38673 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
38674 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
38675 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
38676 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
38677 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
38678 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
38679 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
38680 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
38681 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
38682 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
38683 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
38684 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
38685 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
38686 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
38687 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
38688 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
38689 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
38690 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
38691 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
38692 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
38693 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
38694 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
38695 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
38696 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
38697 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
38698 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
38699 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
38700 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
38701 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
38702 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
38703 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
38704 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
38705 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
38706 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
38707 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
38708 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
38709 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
38710 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
38711 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
38712 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
38713 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
38714 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
38715 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
38716 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
38717 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
38718 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
38719 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
38720 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
38721 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
38722 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
38723 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
38724 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
38725 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
38726 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
38727 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
38728 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
38729 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
38730 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
38731 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
38732 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
38733 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
38734 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
38735 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
38736 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
38737 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
38738 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
38739 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
38740 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
38741 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
38742 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
38743 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
38744 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
38745 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
38746 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
38747 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
38748 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
38749 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
38751 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
38752 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
38753 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
38754 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
38756 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);