1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_void swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2476 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2477 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2478 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxCaret swig_types[18]
2481 #define SWIGTYPE_p_wxChar swig_types[19]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2483 #define SWIGTYPE_p_wxClipboard swig_types[21]
2484 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2485 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
2486 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2487 #define SWIGTYPE_p_wxColour swig_types[25]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2489 #define SWIGTYPE_p_wxConfig swig_types[27]
2490 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2491 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2492 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2493 #define SWIGTYPE_p_wxControl swig_types[31]
2494 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2495 #define SWIGTYPE_p_wxCursor swig_types[33]
2496 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2497 #define SWIGTYPE_p_wxDC swig_types[35]
2498 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2499 #define SWIGTYPE_p_wxDataObject swig_types[37]
2500 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2501 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2502 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2503 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime swig_types[42]
2505 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2506 #define SWIGTYPE_p_wxDisplay swig_types[44]
2507 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2509 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2510 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvent swig_types[49]
2512 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2513 #define SWIGTYPE_p_wxFSFile swig_types[51]
2514 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2515 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2516 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2517 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2518 #define SWIGTYPE_p_wxFileType swig_types[56]
2519 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2522 #define SWIGTYPE_p_wxFont swig_types[60]
2523 #define SWIGTYPE_p_wxFrame swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2527 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2528 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2529 #define SWIGTYPE_p_wxIcon swig_types[67]
2530 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2532 #define SWIGTYPE_p_wxImage swig_types[70]
2533 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2534 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2535 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2536 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2537 #define SWIGTYPE_p_wxJoystick swig_types[75]
2538 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2539 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxKillError swig_types[78]
2541 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2542 #define SWIGTYPE_p_wxLog swig_types[80]
2543 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2544 #define SWIGTYPE_p_wxLogChain swig_types[82]
2545 #define SWIGTYPE_p_wxLogGui swig_types[83]
2546 #define SWIGTYPE_p_wxLogNull swig_types[84]
2547 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2548 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2549 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2550 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2551 #define SWIGTYPE_p_wxMemorySize swig_types[89]
2552 #define SWIGTYPE_p_wxMenu swig_types[90]
2553 #define SWIGTYPE_p_wxMenuBar swig_types[91]
2554 #define SWIGTYPE_p_wxMenuEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMenuItem swig_types[93]
2556 #define SWIGTYPE_p_wxMetafile swig_types[94]
2557 #define SWIGTYPE_p_wxMetafileDataObject swig_types[95]
2558 #define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
2559 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMouseEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMouseState swig_types[99]
2562 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxObject swig_types[105]
2568 #define SWIGTYPE_p_wxOutputStream swig_types[106]
2569 #define SWIGTYPE_p_wxPCXHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPNGHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNMHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPaintEvent swig_types[110]
2573 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaperSize swig_types[112]
2575 #define SWIGTYPE_p_wxPoint swig_types[113]
2576 #define SWIGTYPE_p_wxPowerEvent swig_types[114]
2577 #define SWIGTYPE_p_wxProcessEvent swig_types[115]
2578 #define SWIGTYPE_p_wxPyApp swig_types[116]
2579 #define SWIGTYPE_p_wxPyArtProvider swig_types[117]
2580 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[118]
2581 #define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[120]
2583 #define SWIGTYPE_p_wxPyDropSource swig_types[121]
2584 #define SWIGTYPE_p_wxPyDropTarget swig_types[122]
2585 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2586 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[124]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2588 #define SWIGTYPE_p_wxPyLog swig_types[126]
2589 #define SWIGTYPE_p_wxPyProcess swig_types[127]
2590 #define SWIGTYPE_p_wxPySizer swig_types[128]
2591 #define SWIGTYPE_p_wxPyTextDataObject swig_types[129]
2592 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[130]
2593 #define SWIGTYPE_p_wxPyTimer swig_types[131]
2594 #define SWIGTYPE_p_wxPyTipProvider swig_types[132]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[133]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[134]
2597 #define SWIGTYPE_p_wxRect swig_types[135]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[140]
2603 #define SWIGTYPE_p_wxSize swig_types[141]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSizer swig_types[143]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2607 #define SWIGTYPE_p_wxSound swig_types[145]
2608 #define SWIGTYPE_p_wxStandardPaths swig_types[146]
2609 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2610 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2611 #define SWIGTYPE_p_wxStopWatch swig_types[149]
2612 #define SWIGTYPE_p_wxString swig_types[150]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614 #define SWIGTYPE_p_wxSystemOptions swig_types[152]
2615 #define SWIGTYPE_p_wxSystemSettings swig_types[153]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2617 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2618 #define SWIGTYPE_p_wxTextDataObject swig_types[156]
2619 #define SWIGTYPE_p_wxTimeSpan swig_types[157]
2620 #define SWIGTYPE_p_wxTimer swig_types[158]
2621 #define SWIGTYPE_p_wxTimerEvent swig_types[159]
2622 #define SWIGTYPE_p_wxTimerRunner swig_types[160]
2623 #define SWIGTYPE_p_wxTipProvider swig_types[161]
2624 #define SWIGTYPE_p_wxToolTip swig_types[162]
2625 #define SWIGTYPE_p_wxURLDataObject swig_types[163]
2626 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2627 #define SWIGTYPE_p_wxValidator swig_types[165]
2628 #define SWIGTYPE_p_wxVideoMode swig_types[166]
2629 #define SWIGTYPE_p_wxWindow swig_types[167]
2630 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[168]
2631 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2632 #define SWIGTYPE_p_wxWindowDisabler swig_types[170]
2633 #define SWIGTYPE_p_wxXPMHandler swig_types[171]
2634 static swig_type_info
*swig_types
[173];
2635 static swig_module_info swig_module
= {swig_types
, 172, 0, 0, 0, 0};
2636 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2637 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2639 /* -------- TYPES TABLE (END) -------- */
2641 #if (PY_VERSION_HEX <= 0x02000000)
2642 # if !defined(SWIG_PYTHON_CLASSIC)
2643 # error "This python version requires to use swig with the '-classic' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodern' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodernargs' option"
2653 # error "This python version requires to use swig with the '-nofastunpack' option"
2656 /*-----------------------------------------------
2657 @(target):= _misc_.so
2658 ------------------------------------------------*/
2659 #define SWIG_init init_misc_
2661 #define SWIG_name "_misc_"
2663 #define SWIGVERSION 0x010329
2666 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2667 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2670 #include <stdexcept>
2674 class PyObject_ptr
{
2679 PyObject_ptr() :_obj(0)
2683 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2688 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2690 if (initial_ref
) Py_XINCREF(_obj
);
2693 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2695 Py_XINCREF(item
._obj
);
2706 operator PyObject
*() const
2711 PyObject
*operator->() const
2720 struct PyObject_var
: PyObject_ptr
{
2721 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2723 PyObject_var
& operator = (PyObject
* obj
)
2733 #include "wx/wxPython/wxPython.h"
2734 #include "wx/wxPython/pyclasses.h"
2735 #include "wx/wxPython/pyistream.h"
2737 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2778 int res
= SWIG_AsVal_long (obj
, &v
);
2779 if (SWIG_IsOK(res
)) {
2780 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2781 return SWIG_OverflowError
;
2783 if (val
) *val
= static_cast< int >(v
);
2789 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2791 #include <wx/stockitem.h>
2793 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2794 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2795 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2798 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2800 if (obj
== Py_True
) {
2801 if (val
) *val
= true;
2803 } else if (obj
== Py_False
) {
2804 if (val
) *val
= false;
2808 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2809 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2816 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2819 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2820 return SWIG_TypeError
;
2823 *val
= (unsigned long)v
;
2828 SWIGINTERNINLINE PyObject
*
2829 SWIG_From_unsigned_SS_long (unsigned long value
)
2831 return (value
> LONG_MAX
) ?
2832 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2836 void* wxGetXDisplay()
2839 return wxGetDisplay();
2846 wxWindow
* FindWindowAtPointer() {
2848 return wxFindWindowAtPointer(unused
);
2852 bool wxThread_IsMain() {
2853 #ifdef WXP_WITH_THREAD
2854 return wxThread::IsMain();
2860 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2864 #include <wx/snglinst.h>
2868 #include <wx/msw/private.h>
2869 #include <wx/dynload.h>
2874 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2885 // This one only partially works. Appears to be an undocumented
2886 // "standard" convention that not all widgets adhear to. For
2887 // example, for some widgets backgrounds or non-client areas may
2889 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2894 // This one works much better, nearly all widgets and their
2895 // children are captured correctly[**]. Prior to the big
2896 // background erase changes that Vadim did in 2004-2005 this
2897 // method failed badly on XP with Themes activated, most native
2898 // widgets draw only partially, if at all. Without themes it
2899 // worked just like on Win2k. After those changes this method
2902 // ** For example the radio buttons in a wxRadioBox are not its
2903 // children by default, but you can capture it via the panel
2904 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2905 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2906 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2907 PRF_ERASEBKGND
| PRF_OWNED
);
2913 // This one is only defined in the latest SDK and is only
2914 // available on XP. MSDN says it is similar to sending WM_PRINT
2915 // so I expect that it will work similar to the above. Since it
2916 // is avaialble only on XP, it can't be compiled like this and
2917 // will have to be loaded dynamically.
2918 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2923 // Use PrintWindow if available, or fallback to WM_PRINT
2924 // otherwise. Unfortunately using PrintWindow is even worse than
2925 // WM_PRINT. For most native widgets nothing is drawn to the dc
2926 // at all, with or without Themes.
2927 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2928 static bool s_triedToLoad
= false;
2929 static PrintWindow_t pfnPrintWindow
= NULL
;
2930 if ( !s_triedToLoad
)
2933 s_triedToLoad
= true;
2934 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2935 if ( dllUser32
.IsLoaded() )
2937 wxLogNull nolog
; // Don't report errors here
2938 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2943 //printf("Using PrintWindow\n");
2944 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2948 //printf("Using WM_PRINT\n");
2949 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2950 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2951 PRF_ERASEBKGND
| PRF_OWNED
);
2962 #include <wx/tipdlg.h>
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_size_t (size_t value
)
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2972 class wxPyTipProvider
: public wxTipProvider
{
2974 wxPyTipProvider(size_t currentTip
)
2975 : wxTipProvider(currentTip
) {}
2977 DEC_PYCALLBACK_STRING__pure(GetTip
);
2978 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2982 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2983 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2986 SWIGINTERNINLINE
int
2987 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2990 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2991 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2996 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2998 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3000 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3001 : wxTimer(owner
, id
)
3008 SWIGINTERN swig_type_info
*
3009 SWIG_pchar_descriptor()
3011 static int init
= 0;
3012 static swig_type_info
* info
= 0;
3014 info
= SWIG_TypeQuery("_p_char");
3021 SWIGINTERNINLINE PyObject
*
3022 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3025 if (size
> INT_MAX
) {
3026 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3027 return pchar_descriptor
?
3028 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3030 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3033 return SWIG_Py_Void();
3038 SWIGINTERNINLINE PyObject
*
3039 SWIG_FromCharPtr(const char *cptr
)
3041 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3046 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3049 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3050 if (SWIG_IsOK(res
)) {
3051 if ((v
> UINT_MAX
)) {
3052 return SWIG_OverflowError
;
3054 if (val
) *val
= static_cast< unsigned int >(v
);
3060 SWIGINTERN wxString
wxLog_TimeStamp(){
3062 wxLog::TimeStamp(&msg
);
3065 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3066 // Make some wrappers that double any % signs so they are 'escaped'
3067 void wxPyLogFatalError(const wxString
& msg
)
3070 m
.Replace(wxT("%"), wxT("%%"));
3074 void wxPyLogError(const wxString
& msg
)
3077 m
.Replace(wxT("%"), wxT("%%"));
3081 void wxPyLogWarning(const wxString
& msg
)
3084 m
.Replace(wxT("%"), wxT("%%"));
3088 void wxPyLogMessage(const wxString
& msg
)
3091 m
.Replace(wxT("%"), wxT("%%"));
3095 void wxPyLogInfo(const wxString
& msg
)
3098 m
.Replace(wxT("%"), wxT("%%"));
3102 void wxPyLogDebug(const wxString
& msg
)
3105 m
.Replace(wxT("%"), wxT("%%"));
3109 void wxPyLogVerbose(const wxString
& msg
)
3112 m
.Replace(wxT("%"), wxT("%%"));
3116 void wxPyLogStatus(const wxString
& msg
)
3119 m
.Replace(wxT("%"), wxT("%%"));
3123 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3126 m
.Replace(wxT("%"), wxT("%%"));
3127 wxLogStatus(pFrame
, m
);
3130 void wxPyLogSysError(const wxString
& msg
)
3133 m
.Replace(wxT("%"), wxT("%%"));
3137 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3140 m
.Replace(wxT("%"), wxT("%%"));
3141 wxLogGeneric(level
, m
);
3144 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3147 m
.Replace(wxT("%"), wxT("%%"));
3148 wxLogTrace(mask
, m
);
3151 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3154 m
.Replace(wxT("%"), wxT("%%"));
3155 wxLogTrace(mask
, m
);
3160 // A wxLog class that can be derived from in wxPython
3161 class wxPyLog
: public wxLog
{
3163 wxPyLog() : wxLog() {}
3165 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3167 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3168 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3169 PyObject
* s
= wx2PyString(szString
);
3170 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3173 wxPyEndBlockThreads(blocked
);
3175 wxLog::DoLog(level
, szString
, t
);
3178 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3180 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3181 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3182 PyObject
* s
= wx2PyString(szString
);
3183 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3186 wxPyEndBlockThreads(blocked
);
3188 wxLog::DoLogString(szString
, t
);
3191 DEC_PYCALLBACK_VOID_(Flush
);
3194 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3199 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3202 #include <wx/joystick.h>
3205 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3206 // A C++ stub class for wxJoystick for platforms that don't have it.
3207 class wxJoystick
: public wxObject
{
3209 wxJoystick(int joystick
= wxJOYSTICK1
) {
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyErr_SetString(PyExc_NotImplementedError
,
3212 "wxJoystick is not available on this platform.");
3213 wxPyEndBlockThreads(blocked
);
3215 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3216 int GetZPosition() { return -1; }
3217 int GetButtonState() { return -1; }
3218 int GetPOVPosition() { return -1; }
3219 int GetPOVCTSPosition() { return -1; }
3220 int GetRudderPosition() { return -1; }
3221 int GetUPosition() { return -1; }
3222 int GetVPosition() { return -1; }
3223 int GetMovementThreshold() { return -1; }
3224 void SetMovementThreshold(int threshold
) {}
3226 bool IsOk(void) { return false; }
3227 int GetNumberJoysticks() { return -1; }
3228 int GetManufacturerId() { return -1; }
3229 int GetProductId() { return -1; }
3230 wxString
GetProductName() { return wxEmptyString
; }
3231 int GetXMin() { return -1; }
3232 int GetYMin() { return -1; }
3233 int GetZMin() { return -1; }
3234 int GetXMax() { return -1; }
3235 int GetYMax() { return -1; }
3236 int GetZMax() { return -1; }
3237 int GetNumberButtons() { return -1; }
3238 int GetNumberAxes() { return -1; }
3239 int GetMaxButtons() { return -1; }
3240 int GetMaxAxes() { return -1; }
3241 int GetPollingMin() { return -1; }
3242 int GetPollingMax() { return -1; }
3243 int GetRudderMin() { return -1; }
3244 int GetRudderMax() { return -1; }
3245 int GetUMin() { return -1; }
3246 int GetUMax() { return -1; }
3247 int GetVMin() { return -1; }
3248 int GetVMax() { return -1; }
3250 bool HasRudder() { return false; }
3251 bool HasZ() { return false; }
3252 bool HasU() { return false; }
3253 bool HasV() { return false; }
3254 bool HasPOV() { return false; }
3255 bool HasPOV4Dir() { return false; }
3256 bool HasPOVCTS() { return false; }
3258 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3259 bool ReleaseCapture() { return false; }
3264 #include <wx/sound.h>
3268 // A C++ stub class for wxWave for platforms that don't have it.
3269 class wxSound
: public wxObject
3273 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3274 PyErr_SetString(PyExc_NotImplementedError
,
3275 "wxSound is not available on this platform.");
3276 wxPyEndBlockThreads(blocked
);
3278 wxSound(const wxString
&/*, bool*/) {
3279 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3280 PyErr_SetString(PyExc_NotImplementedError
,
3281 "wxSound is not available on this platform.");
3282 wxPyEndBlockThreads(blocked
);
3284 wxSound(int, const wxByte
*) {
3285 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3286 PyErr_SetString(PyExc_NotImplementedError
,
3287 "wxSound is not available on this platform.");
3288 wxPyEndBlockThreads(blocked
);
3293 bool Create(const wxString
&/*, bool*/) { return false; }
3294 bool Create(int, const wxByte
*) { return false; };
3295 bool IsOk() { return false; };
3296 bool Play(unsigned) const { return false; }
3297 static bool Play(const wxString
&, unsigned) { return false; }
3298 static void Stop() {}
3303 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3304 if (fileName
.Length() == 0)
3307 return new wxSound(fileName
);
3309 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3310 unsigned char* buffer
; int size
;
3311 wxSound
*sound
= NULL
;
3313 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3314 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3316 sound
= new wxSound(size
, buffer
);
3318 wxPyEndBlockThreads(blocked
);
3321 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3323 unsigned char* buffer
;
3327 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3328 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3330 rv
= self
->Create(size
, buffer
);
3332 wxPyEndBlockThreads(blocked
);
3335 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3336 PyErr_SetString(PyExc_NotImplementedError
,
3337 "Create from data is not available on this platform.");
3338 wxPyEndBlockThreads(blocked
);
3343 #include <wx/mimetype.h>
3345 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3347 if (self
->GetMimeType(&str
))
3348 return wx2PyString(str
);
3352 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3354 if (self
->GetMimeTypes(arr
))
3355 return wxArrayString2PyList_helper(arr
);
3359 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3361 if (self
->GetExtensions(arr
))
3362 return wxArrayString2PyList_helper(arr
);
3366 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3368 if (self
->GetIcon(&loc
))
3369 return new wxIcon(loc
);
3373 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3375 if (self
->GetIcon(&loc
)) {
3376 wxString iconFile
= loc
.GetFileName();
3379 iconIndex
= loc
.GetIndex();
3381 // Make a tuple and put the values in it
3382 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3383 PyObject
* tuple
= PyTuple_New(3);
3384 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3385 wxT("wxIcon"), true));
3386 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3387 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3388 wxPyEndBlockThreads(blocked
);
3394 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3396 if (self
->GetDescription(&str
))
3397 return wx2PyString(str
);
3401 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3403 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3404 return wx2PyString(str
);
3408 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3410 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3411 return wx2PyString(str
);
3415 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3416 wxArrayString verbs
;
3417 wxArrayString commands
;
3418 if (self
->GetAllCommands(&verbs
, &commands
,
3419 wxFileType::MessageParameters(filename
, mimetype
))) {
3420 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3421 PyObject
* tuple
= PyTuple_New(2);
3422 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3423 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3424 wxPyEndBlockThreads(blocked
);
3430 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3431 return wxFileType::ExpandCommand(command
,
3432 wxFileType::MessageParameters(filename
, mimetype
));
3434 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3436 self
->EnumAllFileTypes(arr
);
3437 return wxArrayString2PyList_helper(arr
);
3440 #include <wx/artprov.h>
3442 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3443 static const wxString
wxPyART_MENU(wxART_MENU
);
3444 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3445 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3446 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3447 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3448 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3449 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3450 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3451 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3452 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3453 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3454 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3455 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3456 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3457 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3458 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3459 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3460 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3461 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3462 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3463 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3464 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3465 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3466 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3467 static const wxString
wxPyART_HELP(wxART_HELP
);
3468 static const wxString
wxPyART_TIP(wxART_TIP
);
3469 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3470 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3471 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3472 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3473 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3474 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3475 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3476 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3477 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3478 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3479 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3480 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3481 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3482 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3483 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3484 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3485 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3486 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3487 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3488 static const wxString
wxPyART_COPY(wxART_COPY
);
3489 static const wxString
wxPyART_CUT(wxART_CUT
);
3490 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3491 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3492 static const wxString
wxPyART_NEW(wxART_NEW
);
3493 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3494 static const wxString
wxPyART_REDO(wxART_REDO
);
3495 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3496 static const wxString
wxPyART_FIND(wxART_FIND
);
3497 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3498 // Python aware wxArtProvider
3499 class wxPyArtProvider
: public wxArtProvider
{
3502 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3503 const wxArtClient
& client
,
3504 const wxSize
& size
) {
3505 wxBitmap rval
= wxNullBitmap
;
3506 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3507 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3508 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3512 s1
= wx2PyString(id
);
3513 s2
= wx2PyString(client
);
3514 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3519 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3524 wxPyEndBlockThreads(blocked
);
3531 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3535 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3536 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3537 PyObject
* ret
= PyTuple_New(3);
3539 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3540 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3541 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3543 wxPyEndBlockThreads(blocked
);
3547 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3552 cont
= self
->GetFirstGroup(value
, index
);
3553 return __EnumerationHelper(cont
, value
, index
);
3555 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3559 cont
= self
->GetNextGroup(value
, index
);
3560 return __EnumerationHelper(cont
, value
, index
);
3562 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3567 cont
= self
->GetFirstEntry(value
, index
);
3568 return __EnumerationHelper(cont
, value
, index
);
3570 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3574 cont
= self
->GetNextEntry(value
, index
);
3575 return __EnumerationHelper(cont
, value
, index
);
3577 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3579 self
->Read(key
, &rv
, defaultVal
);
3584 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3586 if (PyNumber_Check(obj
)) {
3587 if (val
) *val
= PyFloat_AsDouble(obj
);
3590 return SWIG_TypeError
;
3593 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3595 self
->Read(key
, &rv
, defaultVal
);
3599 #define SWIG_From_double PyFloat_FromDouble
3601 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3603 self
->Read(key
, &rv
, defaultVal
);
3607 #include <wx/datetime.h>
3609 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3610 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3612 #define LOCAL_TZ wxDateTime::Local
3614 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3617 wxDateTime::GetAmPmStrings(&am
, &pm
);
3618 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3619 PyObject
* tup
= PyTuple_New(2);
3620 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3621 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3622 wxPyEndBlockThreads(blocked
);
3626 SWIGINTERNINLINE PyObject
*
3627 SWIG_From_unsigned_SS_int (unsigned int value
)
3629 return SWIG_From_unsigned_SS_long (value
);
3632 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3633 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3634 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3635 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3636 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3637 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3638 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3639 return (*self
< *other
);
3641 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3642 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3643 return (*self
<= *other
);
3645 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3646 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3647 return (*self
> *other
);
3649 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3650 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3651 return (*self
>= *other
);
3653 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3654 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3655 return (*self
== *other
);
3657 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3658 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3659 return (*self
!= *other
);
3661 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3663 const wxChar
* _date
= date
;
3664 rv
= self
->ParseRfc822Date(_date
);
3665 if (rv
== NULL
) return -1;
3668 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3670 const wxChar
* _date
= date
;
3671 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3672 if (rv
== NULL
) return -1;
3675 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3677 const wxChar
* _datetime
= datetime
;
3678 rv
= self
->ParseDateTime(_datetime
);
3679 if (rv
== NULL
) return -1;
3680 return rv
- _datetime
;
3682 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3684 const wxChar
* _date
= date
;
3685 rv
= self
->ParseDate(_date
);
3686 if (rv
== NULL
) return -1;
3689 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3691 const wxChar
* _time
= time
;
3692 rv
= self
->ParseTime(_time
);
3693 if (rv
== NULL
) return -1;
3696 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3697 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3698 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3699 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3700 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3701 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3702 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3703 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3704 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3705 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3706 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3707 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3708 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3709 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3710 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3711 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3713 #include <wx/dataobj.h>
3715 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3716 size_t count
= self
->GetFormatCount(dir
);
3717 wxDataFormat
* formats
= new wxDataFormat
[count
];
3718 self
->GetAllFormats(formats
, dir
);
3720 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3721 PyObject
* list
= PyList_New(count
);
3722 for (size_t i
=0; i
<count
; i
++) {
3723 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3724 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3725 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3727 wxPyEndBlockThreads(blocked
);
3731 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3732 PyObject
* rval
= NULL
;
3733 size_t size
= self
->GetDataSize(format
);
3734 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3736 char* buf
= new char[size
];
3737 if (self
->GetDataHere(format
, buf
))
3738 rval
= PyString_FromStringAndSize(buf
, size
);
3745 wxPyEndBlockThreads(blocked
);
3748 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3750 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3751 if (PyString_Check(data
)) {
3752 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3755 // raise a TypeError if not a string
3756 PyErr_SetString(PyExc_TypeError
, "String expected.");
3759 wxPyEndBlockThreads(blocked
);
3762 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3763 PyObject
* rval
= NULL
;
3764 size_t size
= self
->GetDataSize();
3765 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3767 char* buf
= new char[size
];
3768 if (self
->GetDataHere(buf
))
3769 rval
= PyString_FromStringAndSize(buf
, size
);
3776 wxPyEndBlockThreads(blocked
);
3779 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3781 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3782 if (PyString_Check(data
)) {
3783 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3786 // raise a TypeError if not a string
3787 PyErr_SetString(PyExc_TypeError
, "String expected.");
3790 wxPyEndBlockThreads(blocked
);
3793 // Create a new class for wxPython to use
3794 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3796 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3797 : wxDataObjectSimple(format
) {}
3799 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3800 bool GetDataHere(void *buf
) const;
3801 bool SetData(size_t len
, const void *buf
) const;
3805 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3807 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3808 // We need to get the data for this object and write it to buf. I think
3809 // the best way to do this for wxPython is to have the Python method
3810 // return either a string or None and then act appropriately with the
3814 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3815 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3817 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3819 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3821 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3825 wxPyEndBlockThreads(blocked
);
3829 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3830 // For this one we simply need to make a string from buf and len
3831 // and send it to the Python method.
3833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3834 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3835 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3836 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3839 wxPyEndBlockThreads(blocked
);
3843 // Create a new class for wxPython to use
3844 class wxPyTextDataObject
: public wxTextDataObject
{
3846 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3847 : wxTextDataObject(text
) {}
3849 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3850 DEC_PYCALLBACK_STRING__const(GetText
);
3851 DEC_PYCALLBACK__STRING(SetText
);
3855 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3856 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3857 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3860 // Create a new class for wxPython to use
3861 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3863 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3864 : wxBitmapDataObject(bitmap
) {}
3866 wxBitmap
GetBitmap() const;
3867 void SetBitmap(const wxBitmap
& bitmap
);
3871 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3872 wxBitmap
* rval
= &wxNullBitmap
;
3873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3874 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3877 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3879 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3884 wxPyEndBlockThreads(blocked
);
3888 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3889 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3890 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3891 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3892 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3895 wxPyEndBlockThreads(blocked
);
3898 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3899 return new wxCustomDataObject(wxDataFormat(formatName
));
3901 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3904 if (PyString_Check(data
)) {
3905 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3908 // raise a TypeError if not a string
3909 PyErr_SetString(PyExc_TypeError
, "String expected.");
3912 wxPyEndBlockThreads(blocked
);
3915 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3917 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3918 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3919 wxPyEndBlockThreads(blocked
);
3923 #include <wx/metafile.h>
3926 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3929 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3930 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3931 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3932 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3933 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3936 class wxPyTextDropTarget
: public wxTextDropTarget
{
3938 wxPyTextDropTarget() {}
3940 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3942 DEC_PYCALLBACK__(OnLeave
);
3943 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3944 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3945 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3946 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3951 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3952 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3953 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3954 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3955 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3956 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3960 class wxPyFileDropTarget
: public wxFileDropTarget
{
3962 wxPyFileDropTarget() {}
3964 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3966 DEC_PYCALLBACK__(OnLeave
);
3967 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3968 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3969 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3970 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3975 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3976 const wxArrayString
& filenames
) {
3978 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3979 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3980 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3981 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3984 wxPyEndBlockThreads(blocked
);
3990 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3991 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3992 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3993 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3994 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3999 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4001 #include <wx/display.h>
4003 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4004 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4007 const wxVideoMode wxDefaultVideoMode
;
4010 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4012 PyObject
* pyList
= NULL
;
4013 wxArrayVideoModes arr
= self
->GetModes(mode
);
4014 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4015 pyList
= PyList_New(0);
4016 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4018 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4019 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4020 PyList_Append(pyList
, pyObj
);
4023 wxPyEndBlockThreads(blocked
);
4026 wxPyRaiseNotImplemented();
4030 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4032 return self
->GetCurrentMode();
4034 wxPyRaiseNotImplemented();
4035 return wxDefaultVideoMode
;
4038 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4040 return self
->ChangeMode(mode
);
4042 wxPyRaiseNotImplemented();
4046 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4050 wxPyRaiseNotImplemented();
4054 #include <wx/stdpaths.h>
4056 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4057 return (wxStandardPaths
*) &wxStandardPaths::Get();
4059 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4060 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4062 #include <wx/power.h>
4065 #ifndef wxHAS_POWER_EVENTS
4066 // Dummy class and other definitions for platforms that don't have them
4068 class wxPowerEvent
: public wxEvent
4071 wxPowerEvent(wxEventType evtType
) : wxEvent(wxID_NONE
, evtType
) {}
4073 bool IsVetoed() const { return false; }
4075 virtual wxEvent
*Clone() const { return new wxPowerEvent(*this); }
4079 wxEVT_POWER_SUSPENDING
,
4080 wxEVT_POWER_SUSPENDED
,
4081 wxEVT_POWER_SUSPEND_CANCEL
,
4085 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4086 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4093 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
= 0;
4095 wxSystemColour arg1
;
4099 PyObject
* obj0
= 0 ;
4100 char * kwnames
[] = {
4101 (char *) "index", NULL
4104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4106 if (!SWIG_IsOK(ecode1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4109 arg1
= static_cast< wxSystemColour
>(val1
);
4111 if (!wxPyCheckForApp()) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= wxSystemSettings::GetColour(arg1
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
= 0;
4130 PyObject
* obj0
= 0 ;
4131 char * kwnames
[] = {
4132 (char *) "index", NULL
4135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4137 if (!SWIG_IsOK(ecode1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4140 arg1
= static_cast< wxSystemFont
>(val1
);
4142 if (!wxPyCheckForApp()) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= wxSystemSettings::GetFont(arg1
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4155 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxSystemMetric arg1
;
4158 wxWindow
*arg2
= (wxWindow
*) NULL
;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4166 char * kwnames
[] = {
4167 (char *) "index",(char *) "win", NULL
4170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4172 if (!SWIG_IsOK(ecode1
)) {
4173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4175 arg1
= static_cast< wxSystemMetric
>(val1
);
4177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4178 if (!SWIG_IsOK(res2
)) {
4179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4184 if (!wxPyCheckForApp()) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_From_int(static_cast< int >(result
));
4197 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
= 0;
4199 wxSystemFeature arg1
;
4203 PyObject
* obj0
= 0 ;
4204 char * kwnames
[] = {
4205 (char *) "index", NULL
4208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4210 if (!SWIG_IsOK(ecode1
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4213 arg1
= static_cast< wxSystemFeature
>(val1
);
4215 if (!wxPyCheckForApp()) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4230 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4231 PyObject
*resultobj
= 0;
4232 wxSystemScreenType result
;
4234 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4236 if (!wxPyCheckForApp()) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= SWIG_From_int(static_cast< int >(result
));
4249 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
= 0;
4251 wxSystemScreenType arg1
;
4254 PyObject
* obj0
= 0 ;
4255 char * kwnames
[] = {
4256 (char *) "screen", NULL
4259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4261 if (!SWIG_IsOK(ecode1
)) {
4262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4264 arg1
= static_cast< wxSystemScreenType
>(val1
);
4266 if (!wxPyCheckForApp()) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 wxSystemSettings::SetScreenType(arg1
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= SWIG_Py_Void();
4279 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4282 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4283 return SWIG_Py_Void();
4286 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4287 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4292 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4293 PyObject
*pyobj
= 0;
4297 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4299 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4306 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4307 PyObject
*resultobj
= 0;
4308 wxSystemOptions
*result
= 0 ;
4310 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (wxSystemOptions
*)new wxSystemOptions();
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4324 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
= 0;
4326 wxString
*arg1
= 0 ;
4327 wxString
*arg2
= 0 ;
4328 bool temp1
= false ;
4329 bool temp2
= false ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4332 char * kwnames
[] = {
4333 (char *) "name",(char *) "value", NULL
4336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4338 arg1
= wxString_in_helper(obj0
);
4339 if (arg1
== NULL
) SWIG_fail
;
4343 arg2
= wxString_in_helper(obj1
);
4344 if (arg2
== NULL
) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4376 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
= 0;
4378 wxString
*arg1
= 0 ;
4380 bool temp1
= false ;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4385 char * kwnames
[] = {
4386 (char *) "name",(char *) "value", NULL
4389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4391 arg1
= wxString_in_helper(obj0
);
4392 if (arg1
== NULL
) SWIG_fail
;
4395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4396 if (!SWIG_IsOK(ecode2
)) {
4397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4399 arg2
= static_cast< int >(val2
);
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_Py_Void();
4421 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= 0;
4423 wxString
*arg1
= 0 ;
4425 bool temp1
= false ;
4426 PyObject
* obj0
= 0 ;
4427 char * kwnames
[] = {
4428 (char *) "name", NULL
4431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4433 arg1
= wxString_in_helper(obj0
);
4434 if (arg1
== NULL
) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4464 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
= 0;
4466 wxString
*arg1
= 0 ;
4468 bool temp1
= false ;
4469 PyObject
* obj0
= 0 ;
4470 char * kwnames
[] = {
4471 (char *) "name", NULL
4474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4476 arg1
= wxString_in_helper(obj0
);
4477 if (arg1
== NULL
) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_From_int(static_cast< int >(result
));
4501 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
= 0;
4503 wxString
*arg1
= 0 ;
4505 bool temp1
= false ;
4506 PyObject
* obj0
= 0 ;
4507 char * kwnames
[] = {
4508 (char *) "name", NULL
4511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4513 arg1
= wxString_in_helper(obj0
);
4514 if (arg1
== NULL
) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4540 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= 0;
4542 wxString
*arg1
= 0 ;
4544 bool temp1
= false ;
4545 PyObject
* obj0
= 0 ;
4546 char * kwnames
[] = {
4547 (char *) "name", NULL
4550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4552 arg1
= wxString_in_helper(obj0
);
4553 if (arg1
== NULL
) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4579 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4582 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4583 return SWIG_Py_Void();
4586 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4587 return SWIG_Python_InitShadowInstance(args
);
4590 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4591 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4596 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4597 PyObject
*pyobj
= 0;
4601 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4603 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4610 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4611 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4616 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4617 PyObject
*pyobj
= 0;
4621 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4623 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4630 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4631 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4636 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4637 PyObject
*pyobj
= 0;
4641 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4643 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4650 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4651 PyObject
*resultobj
= 0;
4654 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (long)wxNewId();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_From_long(static_cast< long >(result
));
4668 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4673 PyObject
* obj0
= 0 ;
4674 char * kwnames
[] = {
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4679 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4680 if (!SWIG_IsOK(ecode1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4683 arg1
= static_cast< long >(val1
);
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_Py_Void();
4697 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4698 PyObject
*resultobj
= 0;
4701 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (long)wxGetCurrentId();
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_From_long(static_cast< long >(result
));
4715 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
= 0;
4721 PyObject
* obj0
= 0 ;
4722 char * kwnames
[] = {
4726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4727 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4728 if (!SWIG_IsOK(ecode1
)) {
4729 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4731 arg1
= static_cast< int >(val1
);
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (bool)wxIsStockID(arg1
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4747 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
= 0;
4750 wxString
*arg2
= 0 ;
4754 bool temp2
= false ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "id",(char *) "label", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4763 if (!SWIG_IsOK(ecode1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4766 arg1
= static_cast< int >(val1
);
4768 arg2
= wxString_in_helper(obj1
);
4769 if (arg2
== NULL
) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4795 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
= 0;
4798 bool arg2
= (bool) true ;
4799 wxString arg3
= (wxString
) wxPyEmptyString
;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4807 PyObject
* obj2
= 0 ;
4808 char * kwnames
[] = {
4809 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4814 if (!SWIG_IsOK(ecode1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4817 arg1
= static_cast< int >(val1
);
4819 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4820 if (!SWIG_IsOK(ecode2
)) {
4821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4823 arg2
= static_cast< bool >(val2
);
4827 wxString
* sptr
= wxString_in_helper(obj2
);
4828 if (sptr
== NULL
) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4852 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4853 PyObject
*resultobj
= 0;
4855 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4857 if (!wxPyCheckForApp()) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_Py_Void();
4870 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4871 PyObject
*resultobj
= 0;
4873 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4875 if (!wxPyCheckForApp()) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_Py_Void();
4888 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
= 0;
4890 bool arg1
= (bool) true ;
4894 PyObject
* obj0
= 0 ;
4895 char * kwnames
[] = {
4896 (char *) "resetTimer", NULL
4899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4901 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4902 if (!SWIG_IsOK(ecode1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4905 arg1
= static_cast< bool >(val1
);
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (long)wxGetElapsedTime(arg1
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= SWIG_From_long(static_cast< long >(result
));
4920 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4921 PyObject
*resultobj
= 0;
4924 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (bool)wxIsBusy();
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4940 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4941 PyObject
*resultobj
= 0;
4944 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4964 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
= 0;
4966 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4967 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4969 bool temp1
= false ;
4970 PyObject
* obj0
= 0 ;
4971 char * kwnames
[] = {
4972 (char *) "command", NULL
4975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4978 arg1
= wxString_in_helper(obj0
);
4979 if (arg1
== NULL
) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)wxShell((wxString
const &)*arg1
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5006 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5007 PyObject
*resultobj
= 0;
5009 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_Py_Void();
5023 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5024 PyObject
*resultobj
= 0;
5025 int *arg1
= (int *) 0 ;
5026 int *arg2
= (int *) 0 ;
5029 int res1
= SWIG_TMPOBJ
;
5031 int res2
= SWIG_TMPOBJ
;
5035 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (int)wxGetOsVersion(arg1
,arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_From_int(static_cast< int >(result
));
5043 if (SWIG_IsTmpObj(res1
)) {
5044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5046 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5049 if (SWIG_IsTmpObj(res2
)) {
5050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5052 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5061 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 PyObject
*resultobj
= 0;
5065 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= wxGetOsDescription();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5085 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5086 PyObject
*resultobj
= 0;
5087 wxMemorySize result
;
5089 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= wxGetFreeMemory();
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5103 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
= 0;
5105 wxShutdownFlags arg1
;
5109 PyObject
* obj0
= 0 ;
5110 char * kwnames
[] = {
5111 (char *) "wFlags", NULL
5114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5115 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5116 if (!SWIG_IsOK(ecode1
)) {
5117 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5119 arg1
= static_cast< wxShutdownFlags
>(val1
);
5121 if (!wxPyCheckForApp()) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (bool)wxShutdown(arg1
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5136 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
= 0;
5141 PyObject
* obj0
= 0 ;
5142 char * kwnames
[] = {
5143 (char *) "secs", NULL
5146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5148 if (!SWIG_IsOK(ecode1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5151 arg1
= static_cast< int >(val1
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_Py_Void();
5165 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
= 0;
5167 unsigned long arg1
;
5168 unsigned long val1
;
5170 PyObject
* obj0
= 0 ;
5171 char * kwnames
[] = {
5172 (char *) "milliseconds", NULL
5175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5176 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5177 if (!SWIG_IsOK(ecode1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5180 arg1
= static_cast< unsigned long >(val1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_Py_Void();
5194 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 unsigned long arg1
;
5197 unsigned long val1
;
5199 PyObject
* obj0
= 0 ;
5200 char * kwnames
[] = {
5201 (char *) "microseconds", NULL
5204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5205 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5206 if (!SWIG_IsOK(ecode1
)) {
5207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5209 arg1
= static_cast< unsigned long >(val1
);
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_Py_Void();
5223 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
= 0;
5228 PyObject
* obj0
= 0 ;
5229 char * kwnames
[] = {
5230 (char *) "enable", NULL
5233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5234 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5235 if (!SWIG_IsOK(ecode1
)) {
5236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5238 arg1
= static_cast< bool >(val1
);
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 wxEnableTopLevelWindows(arg1
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_Py_Void();
5252 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
= 0;
5254 wxString
*arg1
= 0 ;
5256 bool temp1
= false ;
5257 PyObject
* obj0
= 0 ;
5258 char * kwnames
[] = {
5262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5264 arg1
= wxString_in_helper(obj0
);
5265 if (arg1
== NULL
) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5295 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5296 PyObject
*resultobj
= 0;
5299 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= wxGetEmailAddress();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5319 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5320 PyObject
*resultobj
= 0;
5323 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= wxGetHostName();
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5343 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5344 PyObject
*resultobj
= 0;
5347 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= wxGetFullHostName();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5367 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5368 PyObject
*resultobj
= 0;
5371 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= wxGetUserId();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5391 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5392 PyObject
*resultobj
= 0;
5395 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= wxGetUserName();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5415 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5416 PyObject
*resultobj
= 0;
5419 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= wxGetHomeDir();
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5439 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5442 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5444 bool temp1
= false ;
5445 PyObject
* obj0
= 0 ;
5446 char * kwnames
[] = {
5447 (char *) "user", NULL
5450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5453 arg1
= wxString_in_helper(obj0
);
5454 if (arg1
== NULL
) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= wxGetUserHome((wxString
const &)*arg1
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5485 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5486 PyObject
*resultobj
= 0;
5487 unsigned long result
;
5489 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (unsigned long)wxGetProcessId();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5503 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5504 PyObject
*resultobj
= 0;
5506 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= SWIG_Py_Void();
5520 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
= 0;
5522 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5523 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5524 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5525 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5528 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5529 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5530 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5531 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5532 int arg6
= (int) 0 ;
5533 wxWindow
*arg7
= (wxWindow
*) NULL
;
5534 int arg8
= (int) -1 ;
5535 int arg9
= (int) -1 ;
5537 bool temp1
= false ;
5538 bool temp2
= false ;
5539 bool temp3
= false ;
5540 bool temp4
= false ;
5541 bool temp5
= false ;
5550 PyObject
* obj0
= 0 ;
5551 PyObject
* obj1
= 0 ;
5552 PyObject
* obj2
= 0 ;
5553 PyObject
* obj3
= 0 ;
5554 PyObject
* obj4
= 0 ;
5555 PyObject
* obj5
= 0 ;
5556 PyObject
* obj6
= 0 ;
5557 PyObject
* obj7
= 0 ;
5558 PyObject
* obj8
= 0 ;
5559 char * kwnames
[] = {
5560 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5566 arg1
= wxString_in_helper(obj0
);
5567 if (arg1
== NULL
) SWIG_fail
;
5573 arg2
= wxString_in_helper(obj1
);
5574 if (arg2
== NULL
) SWIG_fail
;
5580 arg3
= wxString_in_helper(obj2
);
5581 if (arg3
== NULL
) SWIG_fail
;
5587 arg4
= wxString_in_helper(obj3
);
5588 if (arg4
== NULL
) SWIG_fail
;
5594 arg5
= wxString_in_helper(obj4
);
5595 if (arg5
== NULL
) SWIG_fail
;
5600 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5601 if (!SWIG_IsOK(ecode6
)) {
5602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5604 arg6
= static_cast< int >(val6
);
5607 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5608 if (!SWIG_IsOK(res7
)) {
5609 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5611 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5614 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5615 if (!SWIG_IsOK(ecode8
)) {
5616 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5618 arg8
= static_cast< int >(val8
);
5621 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5622 if (!SWIG_IsOK(ecode9
)) {
5623 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5625 arg9
= static_cast< int >(val9
);
5628 if (!wxPyCheckForApp()) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5687 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
= 0;
5689 wxString
*arg1
= 0 ;
5690 wxString
*arg2
= 0 ;
5691 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5692 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5693 wxWindow
*arg4
= (wxWindow
*) NULL
;
5695 bool temp1
= false ;
5696 bool temp2
= false ;
5697 bool temp3
= false ;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5702 PyObject
* obj2
= 0 ;
5703 PyObject
* obj3
= 0 ;
5704 char * kwnames
[] = {
5705 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5710 arg1
= wxString_in_helper(obj0
);
5711 if (arg1
== NULL
) SWIG_fail
;
5715 arg2
= wxString_in_helper(obj1
);
5716 if (arg2
== NULL
) SWIG_fail
;
5721 arg3
= wxString_in_helper(obj2
);
5722 if (arg3
== NULL
) SWIG_fail
;
5727 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5728 if (!SWIG_IsOK(res4
)) {
5729 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5731 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5734 if (!wxPyCheckForApp()) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5777 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
= 0;
5779 wxString
*arg1
= 0 ;
5780 wxString
*arg2
= 0 ;
5781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5783 wxWindow
*arg4
= (wxWindow
*) NULL
;
5785 bool temp1
= false ;
5786 bool temp2
= false ;
5787 bool temp3
= false ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5792 PyObject
* obj2
= 0 ;
5793 PyObject
* obj3
= 0 ;
5794 char * kwnames
[] = {
5795 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5800 arg1
= wxString_in_helper(obj0
);
5801 if (arg1
== NULL
) SWIG_fail
;
5805 arg2
= wxString_in_helper(obj1
);
5806 if (arg2
== NULL
) SWIG_fail
;
5811 arg3
= wxString_in_helper(obj2
);
5812 if (arg3
== NULL
) SWIG_fail
;
5817 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5818 if (!SWIG_IsOK(res4
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5821 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5867 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5870 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5871 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5872 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5873 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5876 wxWindow
*arg5
= (wxWindow
*) NULL
;
5878 bool temp1
= false ;
5879 bool temp2
= false ;
5885 PyObject
* obj0
= 0 ;
5886 PyObject
* obj1
= 0 ;
5887 PyObject
* obj2
= 0 ;
5888 PyObject
* obj3
= 0 ;
5889 PyObject
* obj4
= 0 ;
5890 char * kwnames
[] = {
5891 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5897 arg1
= wxString_in_helper(obj0
);
5898 if (arg1
== NULL
) SWIG_fail
;
5904 arg2
= wxString_in_helper(obj1
);
5905 if (arg2
== NULL
) SWIG_fail
;
5910 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5911 if (!SWIG_IsOK(ecode3
)) {
5912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5914 arg3
= static_cast< long >(val3
);
5919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5923 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5924 if (!SWIG_IsOK(res5
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5927 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5930 if (!wxPyCheckForApp()) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5965 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
= 0;
5967 wxString
*arg1
= 0 ;
5968 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5969 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5970 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5971 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5972 wxWindow
*arg4
= (wxWindow
*) NULL
;
5973 int arg5
= (int) -1 ;
5974 int arg6
= (int) -1 ;
5975 bool arg7
= (bool) true ;
5977 bool temp1
= false ;
5978 bool temp2
= false ;
5979 bool temp3
= false ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 PyObject
* obj2
= 0 ;
5991 PyObject
* obj3
= 0 ;
5992 PyObject
* obj4
= 0 ;
5993 PyObject
* obj5
= 0 ;
5994 PyObject
* obj6
= 0 ;
5995 char * kwnames
[] = {
5996 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6001 arg1
= wxString_in_helper(obj0
);
6002 if (arg1
== NULL
) SWIG_fail
;
6007 arg2
= wxString_in_helper(obj1
);
6008 if (arg2
== NULL
) SWIG_fail
;
6014 arg3
= wxString_in_helper(obj2
);
6015 if (arg3
== NULL
) SWIG_fail
;
6020 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6021 if (!SWIG_IsOK(res4
)) {
6022 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6024 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6027 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6028 if (!SWIG_IsOK(ecode5
)) {
6029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6031 arg5
= static_cast< int >(val5
);
6034 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6035 if (!SWIG_IsOK(ecode6
)) {
6036 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6038 arg6
= static_cast< int >(val6
);
6041 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6042 if (!SWIG_IsOK(ecode7
)) {
6043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6045 arg7
= static_cast< bool >(val7
);
6048 if (!wxPyCheckForApp()) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6091 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
= 0;
6093 wxString
*arg1
= 0 ;
6094 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6095 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6098 wxWindow
*arg4
= (wxWindow
*) NULL
;
6100 bool temp1
= false ;
6101 bool temp2
= false ;
6102 bool temp3
= false ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6107 PyObject
* obj2
= 0 ;
6108 PyObject
* obj3
= 0 ;
6109 char * kwnames
[] = {
6110 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6115 arg1
= wxString_in_helper(obj0
);
6116 if (arg1
== NULL
) SWIG_fail
;
6121 arg2
= wxString_in_helper(obj1
);
6122 if (arg2
== NULL
) SWIG_fail
;
6128 arg3
= wxString_in_helper(obj2
);
6129 if (arg3
== NULL
) SWIG_fail
;
6134 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6135 if (!SWIG_IsOK(res4
)) {
6136 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6138 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6141 if (!wxPyCheckForApp()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6184 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
= 0;
6186 wxString
*arg1
= 0 ;
6187 wxString
*arg2
= 0 ;
6189 wxString
*arg4
= (wxString
*) 0 ;
6190 wxWindow
*arg5
= (wxWindow
*) NULL
;
6191 int arg6
= (int) -1 ;
6192 int arg7
= (int) -1 ;
6193 bool arg8
= (bool) true ;
6194 int arg9
= (int) 150 ;
6195 int arg10
= (int) 200 ;
6197 bool temp1
= false ;
6198 bool temp2
= false ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 PyObject
* obj2
= 0 ;
6214 PyObject
* obj3
= 0 ;
6215 PyObject
* obj4
= 0 ;
6216 PyObject
* obj5
= 0 ;
6217 PyObject
* obj6
= 0 ;
6218 PyObject
* obj7
= 0 ;
6219 PyObject
* obj8
= 0 ;
6220 char * kwnames
[] = {
6221 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6226 arg1
= wxString_in_helper(obj0
);
6227 if (arg1
== NULL
) SWIG_fail
;
6231 arg2
= wxString_in_helper(obj1
);
6232 if (arg2
== NULL
) SWIG_fail
;
6236 arg3
= PyList_Size(obj2
);
6237 arg4
= wxString_LIST_helper(obj2
);
6238 if (arg4
== NULL
) SWIG_fail
;
6241 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6242 if (!SWIG_IsOK(res5
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6245 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6248 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6249 if (!SWIG_IsOK(ecode6
)) {
6250 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6252 arg6
= static_cast< int >(val6
);
6255 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6256 if (!SWIG_IsOK(ecode7
)) {
6257 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6259 arg7
= static_cast< int >(val7
);
6262 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6263 if (!SWIG_IsOK(ecode8
)) {
6264 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6266 arg8
= static_cast< bool >(val8
);
6269 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6270 if (!SWIG_IsOK(ecode9
)) {
6271 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6273 arg9
= static_cast< int >(val9
);
6276 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6277 if (!SWIG_IsOK(ecode10
)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6280 arg10
= static_cast< int >(val10
);
6283 if (!wxPyCheckForApp()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6305 if (arg4
) delete [] arg4
;
6318 if (arg4
) delete [] arg4
;
6324 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
= 0;
6326 wxString
*arg1
= 0 ;
6327 wxString
*arg2
= 0 ;
6329 wxString
*arg4
= (wxString
*) 0 ;
6330 wxWindow
*arg5
= (wxWindow
*) NULL
;
6331 int arg6
= (int) -1 ;
6332 int arg7
= (int) -1 ;
6333 bool arg8
= (bool) true ;
6334 int arg9
= (int) 150 ;
6335 int arg10
= (int) 200 ;
6337 bool temp1
= false ;
6338 bool temp2
= false ;
6351 PyObject
* obj0
= 0 ;
6352 PyObject
* obj1
= 0 ;
6353 PyObject
* obj2
= 0 ;
6354 PyObject
* obj3
= 0 ;
6355 PyObject
* obj4
= 0 ;
6356 PyObject
* obj5
= 0 ;
6357 PyObject
* obj6
= 0 ;
6358 PyObject
* obj7
= 0 ;
6359 PyObject
* obj8
= 0 ;
6360 char * kwnames
[] = {
6361 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6366 arg1
= wxString_in_helper(obj0
);
6367 if (arg1
== NULL
) SWIG_fail
;
6371 arg2
= wxString_in_helper(obj1
);
6372 if (arg2
== NULL
) SWIG_fail
;
6376 arg3
= PyList_Size(obj2
);
6377 arg4
= wxString_LIST_helper(obj2
);
6378 if (arg4
== NULL
) SWIG_fail
;
6381 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6382 if (!SWIG_IsOK(res5
)) {
6383 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6385 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6388 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6389 if (!SWIG_IsOK(ecode6
)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6392 arg6
= static_cast< int >(val6
);
6395 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6396 if (!SWIG_IsOK(ecode7
)) {
6397 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6399 arg7
= static_cast< int >(val7
);
6402 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6403 if (!SWIG_IsOK(ecode8
)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6406 arg8
= static_cast< bool >(val8
);
6409 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6410 if (!SWIG_IsOK(ecode9
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6413 arg9
= static_cast< int >(val9
);
6416 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6417 if (!SWIG_IsOK(ecode10
)) {
6418 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6420 arg10
= static_cast< int >(val10
);
6423 if (!wxPyCheckForApp()) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= SWIG_From_int(static_cast< int >(result
));
6439 if (arg4
) delete [] arg4
;
6452 if (arg4
) delete [] arg4
;
6458 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
= 0;
6460 wxString
*arg1
= 0 ;
6461 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6462 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6463 int arg3
= (int) wxOK
|wxCENTRE
;
6464 wxWindow
*arg4
= (wxWindow
*) NULL
;
6465 int arg5
= (int) -1 ;
6466 int arg6
= (int) -1 ;
6468 bool temp1
= false ;
6469 bool temp2
= false ;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6480 PyObject
* obj2
= 0 ;
6481 PyObject
* obj3
= 0 ;
6482 PyObject
* obj4
= 0 ;
6483 PyObject
* obj5
= 0 ;
6484 char * kwnames
[] = {
6485 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6490 arg1
= wxString_in_helper(obj0
);
6491 if (arg1
== NULL
) SWIG_fail
;
6496 arg2
= wxString_in_helper(obj1
);
6497 if (arg2
== NULL
) SWIG_fail
;
6502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6503 if (!SWIG_IsOK(ecode3
)) {
6504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6506 arg3
= static_cast< int >(val3
);
6509 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6510 if (!SWIG_IsOK(res4
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6513 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6517 if (!SWIG_IsOK(ecode5
)) {
6518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6520 arg5
= static_cast< int >(val5
);
6523 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6524 if (!SWIG_IsOK(ecode6
)) {
6525 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6527 arg6
= static_cast< int >(val6
);
6530 if (!wxPyCheckForApp()) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= SWIG_From_int(static_cast< int >(result
));
6559 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6560 PyObject
*resultobj
= 0;
6563 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6565 if (!wxPyCheckForApp()) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (bool)wxColourDisplay();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6580 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6581 PyObject
*resultobj
= 0;
6584 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6586 if (!wxPyCheckForApp()) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (int)wxDisplayDepth();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_From_int(static_cast< int >(result
));
6599 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6600 PyObject
*resultobj
= 0;
6603 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6605 if (!wxPyCheckForApp()) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (int)wxGetDisplayDepth();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_From_int(static_cast< int >(result
));
6618 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6619 PyObject
*resultobj
= 0;
6620 int *arg1
= (int *) 0 ;
6621 int *arg2
= (int *) 0 ;
6623 int res1
= SWIG_TMPOBJ
;
6625 int res2
= SWIG_TMPOBJ
;
6629 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6631 if (!wxPyCheckForApp()) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 wxDisplaySize(arg1
,arg2
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= SWIG_Py_Void();
6638 if (SWIG_IsTmpObj(res1
)) {
6639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6641 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6644 if (SWIG_IsTmpObj(res2
)) {
6645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6647 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6656 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6657 PyObject
*resultobj
= 0;
6660 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6662 if (!wxPyCheckForApp()) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= wxGetDisplaySize();
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6675 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 int *arg1
= (int *) 0 ;
6678 int *arg2
= (int *) 0 ;
6680 int res1
= SWIG_TMPOBJ
;
6682 int res2
= SWIG_TMPOBJ
;
6686 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6688 if (!wxPyCheckForApp()) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 wxDisplaySizeMM(arg1
,arg2
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= SWIG_Py_Void();
6695 if (SWIG_IsTmpObj(res1
)) {
6696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6698 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6701 if (SWIG_IsTmpObj(res2
)) {
6702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6704 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6713 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6714 PyObject
*resultobj
= 0;
6717 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6719 if (!wxPyCheckForApp()) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= wxGetDisplaySizeMM();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6732 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6733 PyObject
*resultobj
= 0;
6734 int *arg1
= (int *) 0 ;
6735 int *arg2
= (int *) 0 ;
6736 int *arg3
= (int *) 0 ;
6737 int *arg4
= (int *) 0 ;
6739 int res1
= SWIG_TMPOBJ
;
6741 int res2
= SWIG_TMPOBJ
;
6743 int res3
= SWIG_TMPOBJ
;
6745 int res4
= SWIG_TMPOBJ
;
6751 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6753 if (!wxPyCheckForApp()) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_Py_Void();
6760 if (SWIG_IsTmpObj(res1
)) {
6761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6763 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6766 if (SWIG_IsTmpObj(res2
)) {
6767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6769 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6772 if (SWIG_IsTmpObj(res3
)) {
6773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6775 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6778 if (SWIG_IsTmpObj(res4
)) {
6779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6781 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6790 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6791 PyObject
*resultobj
= 0;
6794 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6796 if (!wxPyCheckForApp()) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 result
= wxGetClientDisplayRect();
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6809 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
= 0;
6811 wxCursor
*arg1
= 0 ;
6814 PyObject
* obj0
= 0 ;
6815 char * kwnames
[] = {
6816 (char *) "cursor", NULL
6819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6820 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6821 if (!SWIG_IsOK(res1
)) {
6822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6827 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6829 if (!wxPyCheckForApp()) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_Py_Void();
6842 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6843 PyObject
*resultobj
= 0;
6846 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6848 if (!wxPyCheckForApp()) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (void *)wxGetXDisplay();
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6861 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
= 0;
6863 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6866 PyObject
* obj0
= 0 ;
6867 char * kwnames
[] = {
6868 (char *) "cursor", NULL
6871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6874 if (!SWIG_IsOK(res1
)) {
6875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6877 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6880 if (!wxPyCheckForApp()) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 wxBeginBusyCursor(arg1
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_Py_Void();
6893 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6894 PyObject
*resultobj
= 0;
6897 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6899 if (!wxPyCheckForApp()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= wxGetMousePosition();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6912 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6913 PyObject
*resultobj
= 0;
6914 wxWindow
*result
= 0 ;
6916 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6918 if (!wxPyCheckForApp()) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (wxWindow
*)FindWindowAtPointer();
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= wxPyMake_wxObject(result
, 0);
6933 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6934 PyObject
*resultobj
= 0;
6935 wxWindow
*result
= 0 ;
6937 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6939 if (!wxPyCheckForApp()) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (wxWindow
*)wxGetActiveWindow();
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= wxPyMake_wxObject(result
, 0);
6954 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
= 0;
6957 wxWindow
*result
= 0 ;
6959 PyObject
* obj0
= 0 ;
6960 char * kwnames
[] = {
6964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6967 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6970 if (!wxPyCheckForApp()) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= wxPyMake_wxObject(result
, 0);
6985 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
= 0;
6988 wxWindow
*result
= 0 ;
6990 PyObject
* obj0
= 0 ;
6991 char * kwnames
[] = {
6995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6998 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7001 if (!wxPyCheckForApp()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= wxPyMake_wxObject(result
, 0);
7016 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7018 wxWindow
*arg1
= (wxWindow
*) 0 ;
7019 wxWindow
*result
= 0 ;
7022 PyObject
* obj0
= 0 ;
7023 char * kwnames
[] = {
7024 (char *) "win", NULL
7027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7029 if (!SWIG_IsOK(res1
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7032 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7034 if (!wxPyCheckForApp()) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= wxPyMake_wxObject(result
, 0);
7049 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
= 0;
7051 wxString
*arg1
= 0 ;
7053 bool temp1
= false ;
7054 PyObject
* obj0
= 0 ;
7055 char * kwnames
[] = {
7056 (char *) "url", NULL
7059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7061 arg1
= wxString_in_helper(obj0
);
7062 if (arg1
== NULL
) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7088 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
= 0;
7094 PyObject
* obj0
= 0 ;
7095 char * kwnames
[] = {
7096 (char *) "key", NULL
7099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7101 if (!SWIG_IsOK(ecode1
)) {
7102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7104 arg1
= static_cast< wxKeyCode
>(val1
);
7106 if (!wxPyCheckForApp()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= (bool)wxGetKeyState(arg1
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7121 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxMouseState
*result
= 0 ;
7125 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (wxMouseState
*)new wxMouseState();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7139 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7140 PyObject
*resultobj
= 0;
7141 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7144 PyObject
*swig_obj
[1] ;
7146 if (!args
) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7152 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_Py_Void();
7167 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7168 PyObject
*resultobj
= 0;
7169 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7173 PyObject
*swig_obj
[1] ;
7175 if (!args
) SWIG_fail
;
7177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7178 if (!SWIG_IsOK(res1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7181 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (int)(arg1
)->GetX();
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_From_int(static_cast< int >(result
));
7195 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7196 PyObject
*resultobj
= 0;
7197 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7209 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (int)(arg1
)->GetY();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_From_int(static_cast< int >(result
));
7223 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7224 PyObject
*resultobj
= 0;
7225 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7237 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)(arg1
)->LeftDown();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7254 PyObject
*resultobj
= 0;
7255 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7259 PyObject
*swig_obj
[1] ;
7261 if (!args
) SWIG_fail
;
7263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7264 if (!SWIG_IsOK(res1
)) {
7265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7267 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= (bool)(arg1
)->MiddleDown();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7283 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7284 PyObject
*resultobj
= 0;
7285 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7289 PyObject
*swig_obj
[1] ;
7291 if (!args
) SWIG_fail
;
7293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7294 if (!SWIG_IsOK(res1
)) {
7295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7297 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (bool)(arg1
)->RightDown();
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7313 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 PyObject
*resultobj
= 0;
7315 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7319 PyObject
*swig_obj
[1] ;
7321 if (!args
) SWIG_fail
;
7323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7324 if (!SWIG_IsOK(res1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7327 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (bool)(arg1
)->ControlDown();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7343 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 PyObject
*resultobj
= 0;
7345 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7349 PyObject
*swig_obj
[1] ;
7351 if (!args
) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7357 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (bool)(arg1
)->ShiftDown();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7373 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7374 PyObject
*resultobj
= 0;
7375 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7379 PyObject
*swig_obj
[1] ;
7381 if (!args
) SWIG_fail
;
7383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7384 if (!SWIG_IsOK(res1
)) {
7385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7387 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (bool)(arg1
)->AltDown();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7403 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7404 PyObject
*resultobj
= 0;
7405 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7409 PyObject
*swig_obj
[1] ;
7411 if (!args
) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7417 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (bool)(arg1
)->MetaDown();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7433 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7434 PyObject
*resultobj
= 0;
7435 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7439 PyObject
*swig_obj
[1] ;
7441 if (!args
) SWIG_fail
;
7443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7444 if (!SWIG_IsOK(res1
)) {
7445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7447 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (bool)(arg1
)->CmdDown();
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7463 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
= 0;
7465 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "self",(char *) "x", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7482 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7484 if (!SWIG_IsOK(ecode2
)) {
7485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7487 arg2
= static_cast< int >(val2
);
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= SWIG_Py_Void();
7501 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
= 0;
7503 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7511 char * kwnames
[] = {
7512 (char *) "self",(char *) "y", NULL
7515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7517 if (!SWIG_IsOK(res1
)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7520 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7522 if (!SWIG_IsOK(ecode2
)) {
7523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7525 arg2
= static_cast< int >(val2
);
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= SWIG_Py_Void();
7539 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
= 0;
7541 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7548 PyObject
* obj1
= 0 ;
7549 char * kwnames
[] = {
7550 (char *) "self",(char *) "down", NULL
7553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7555 if (!SWIG_IsOK(res1
)) {
7556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7558 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7559 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7560 if (!SWIG_IsOK(ecode2
)) {
7561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7563 arg2
= static_cast< bool >(val2
);
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 (arg1
)->SetLeftDown(arg2
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_Py_Void();
7577 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
= 0;
7579 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7586 PyObject
* obj1
= 0 ;
7587 char * kwnames
[] = {
7588 (char *) "self",(char *) "down", NULL
7591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7593 if (!SWIG_IsOK(res1
)) {
7594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7596 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7598 if (!SWIG_IsOK(ecode2
)) {
7599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7601 arg2
= static_cast< bool >(val2
);
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 (arg1
)->SetMiddleDown(arg2
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= SWIG_Py_Void();
7615 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
= 0;
7617 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7625 char * kwnames
[] = {
7626 (char *) "self",(char *) "down", NULL
7629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7631 if (!SWIG_IsOK(res1
)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7634 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7636 if (!SWIG_IsOK(ecode2
)) {
7637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7639 arg2
= static_cast< bool >(val2
);
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 (arg1
)->SetRightDown(arg2
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= SWIG_Py_Void();
7653 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
= 0;
7655 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7663 char * kwnames
[] = {
7664 (char *) "self",(char *) "down", NULL
7667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7672 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7673 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7674 if (!SWIG_IsOK(ecode2
)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7677 arg2
= static_cast< bool >(val2
);
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 (arg1
)->SetControlDown(arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_Py_Void();
7691 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
= 0;
7693 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7701 char * kwnames
[] = {
7702 (char *) "self",(char *) "down", NULL
7705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7707 if (!SWIG_IsOK(res1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7710 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7711 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7712 if (!SWIG_IsOK(ecode2
)) {
7713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7715 arg2
= static_cast< bool >(val2
);
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 (arg1
)->SetShiftDown(arg2
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_Py_Void();
7729 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
= 0;
7731 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7738 PyObject
* obj1
= 0 ;
7739 char * kwnames
[] = {
7740 (char *) "self",(char *) "down", NULL
7743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7745 if (!SWIG_IsOK(res1
)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7748 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7749 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7750 if (!SWIG_IsOK(ecode2
)) {
7751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7753 arg2
= static_cast< bool >(val2
);
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 (arg1
)->SetAltDown(arg2
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_Py_Void();
7767 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
= 0;
7769 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7777 char * kwnames
[] = {
7778 (char *) "self",(char *) "down", NULL
7781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7783 if (!SWIG_IsOK(res1
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7786 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7787 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7788 if (!SWIG_IsOK(ecode2
)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7791 arg2
= static_cast< bool >(val2
);
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 (arg1
)->SetMetaDown(arg2
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_Py_Void();
7805 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7808 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7809 return SWIG_Py_Void();
7812 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7813 return SWIG_Python_InitShadowInstance(args
);
7816 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7817 PyObject
*resultobj
= 0;
7818 wxMouseState result
;
7820 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= wxGetMouseState();
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7834 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7835 PyObject
*resultobj
= 0;
7837 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7839 if (!wxPyCheckForApp()) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 wxWakeUpMainThread();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_Py_Void();
7852 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7853 PyObject
*resultobj
= 0;
7855 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7857 if (!wxPyCheckForApp()) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_Py_Void();
7870 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 PyObject
*resultobj
= 0;
7873 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7875 if (!wxPyCheckForApp()) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_Py_Void();
7888 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7889 PyObject
*resultobj
= 0;
7890 wxMutexGuiLocker
*result
= 0 ;
7892 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7894 if (!wxPyCheckForApp()) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7907 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7908 PyObject
*resultobj
= 0;
7909 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7912 PyObject
*swig_obj
[1] ;
7914 if (!args
) SWIG_fail
;
7916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7917 if (!SWIG_IsOK(res1
)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7920 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_Py_Void();
7935 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7938 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7939 return SWIG_Py_Void();
7942 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7943 return SWIG_Python_InitShadowInstance(args
);
7946 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7947 PyObject
*resultobj
= 0;
7950 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (bool)wxThread_IsMain();
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7966 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= 0;
7968 wxString
*arg1
= 0 ;
7969 wxToolTip
*result
= 0 ;
7970 bool temp1
= false ;
7971 PyObject
* obj0
= 0 ;
7972 char * kwnames
[] = {
7973 (char *) "tip", NULL
7976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7978 arg1
= wxString_in_helper(obj0
);
7979 if (arg1
== NULL
) SWIG_fail
;
7983 if (!wxPyCheckForApp()) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8004 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 PyObject
*resultobj
= 0;
8006 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8009 PyObject
*swig_obj
[1] ;
8011 if (!args
) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8017 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_Py_Void();
8032 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
= 0;
8034 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8035 wxString
*arg2
= 0 ;
8038 bool temp2
= false ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 char * kwnames
[] = {
8042 (char *) "self",(char *) "tip", NULL
8045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8050 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8052 arg2
= wxString_in_helper(obj1
);
8053 if (arg2
== NULL
) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 (arg1
)->SetTip((wxString
const &)*arg2
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_Py_Void();
8077 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 PyObject
*resultobj
= 0;
8079 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8083 PyObject
*swig_obj
[1] ;
8085 if (!args
) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8091 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (arg1
)->GetTip();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8111 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8112 PyObject
*resultobj
= 0;
8113 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8114 wxWindow
*result
= 0 ;
8117 PyObject
*swig_obj
[1] ;
8119 if (!args
) SWIG_fail
;
8121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8122 if (!SWIG_IsOK(res1
)) {
8123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8125 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= (wxWindow
*)(arg1
)->GetWindow();
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= wxPyMake_wxObject(result
, 0);
8141 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
= 0;
8146 PyObject
* obj0
= 0 ;
8147 char * kwnames
[] = {
8148 (char *) "flag", NULL
8151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8152 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8153 if (!SWIG_IsOK(ecode1
)) {
8154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8156 arg1
= static_cast< bool >(val1
);
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 wxToolTip::Enable(arg1
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= SWIG_Py_Void();
8170 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
= 0;
8175 PyObject
* obj0
= 0 ;
8176 char * kwnames
[] = {
8177 (char *) "milliseconds", NULL
8180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8181 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8182 if (!SWIG_IsOK(ecode1
)) {
8183 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8185 arg1
= static_cast< long >(val1
);
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 wxToolTip::SetDelay(arg1
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= SWIG_Py_Void();
8199 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8202 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8203 return SWIG_Py_Void();
8206 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8207 return SWIG_Python_InitShadowInstance(args
);
8210 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
= 0;
8212 wxWindow
*arg1
= (wxWindow
*) 0 ;
8214 wxCaret
*result
= 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 char * kwnames
[] = {
8221 (char *) "window",(char *) "size", NULL
8224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8226 if (!SWIG_IsOK(res1
)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8229 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8232 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8235 if (!wxPyCheckForApp()) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8248 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8249 PyObject
*resultobj
= 0;
8250 wxCaret
*arg1
= (wxCaret
*) 0 ;
8253 PyObject
*swig_obj
[1] ;
8255 if (!args
) SWIG_fail
;
8257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8258 if (!SWIG_IsOK(res1
)) {
8259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8261 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_Py_Void();
8276 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8277 PyObject
*resultobj
= 0;
8278 wxCaret
*arg1
= (wxCaret
*) 0 ;
8281 PyObject
*swig_obj
[1] ;
8283 if (!args
) SWIG_fail
;
8285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8286 if (!SWIG_IsOK(res1
)) {
8287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8289 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 wxCaret_Destroy(arg1
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_Py_Void();
8303 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8304 PyObject
*resultobj
= 0;
8305 wxCaret
*arg1
= (wxCaret
*) 0 ;
8309 PyObject
*swig_obj
[1] ;
8311 if (!args
) SWIG_fail
;
8313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8314 if (!SWIG_IsOK(res1
)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8317 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (bool)(arg1
)->IsOk();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8333 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8334 PyObject
*resultobj
= 0;
8335 wxCaret
*arg1
= (wxCaret
*) 0 ;
8339 PyObject
*swig_obj
[1] ;
8341 if (!args
) SWIG_fail
;
8343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8344 if (!SWIG_IsOK(res1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8347 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)(arg1
)->IsVisible();
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8363 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8364 PyObject
*resultobj
= 0;
8365 wxCaret
*arg1
= (wxCaret
*) 0 ;
8369 PyObject
*swig_obj
[1] ;
8371 if (!args
) SWIG_fail
;
8373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8374 if (!SWIG_IsOK(res1
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8377 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (arg1
)->GetPosition();
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8391 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 PyObject
*resultobj
= 0;
8393 wxCaret
*arg1
= (wxCaret
*) 0 ;
8394 int *arg2
= (int *) 0 ;
8395 int *arg3
= (int *) 0 ;
8399 int res2
= SWIG_TMPOBJ
;
8401 int res3
= SWIG_TMPOBJ
;
8402 PyObject
*swig_obj
[1] ;
8406 if (!args
) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8412 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 (arg1
)->GetPosition(arg2
,arg3
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= SWIG_Py_Void();
8420 if (SWIG_IsTmpObj(res2
)) {
8421 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8423 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8426 if (SWIG_IsTmpObj(res3
)) {
8427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8429 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8438 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8439 PyObject
*resultobj
= 0;
8440 wxCaret
*arg1
= (wxCaret
*) 0 ;
8444 PyObject
*swig_obj
[1] ;
8446 if (!args
) SWIG_fail
;
8448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8449 if (!SWIG_IsOK(res1
)) {
8450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8452 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 result
= (arg1
)->GetSize();
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8466 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8467 PyObject
*resultobj
= 0;
8468 wxCaret
*arg1
= (wxCaret
*) 0 ;
8469 int *arg2
= (int *) 0 ;
8470 int *arg3
= (int *) 0 ;
8474 int res2
= SWIG_TMPOBJ
;
8476 int res3
= SWIG_TMPOBJ
;
8477 PyObject
*swig_obj
[1] ;
8481 if (!args
) SWIG_fail
;
8483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8484 if (!SWIG_IsOK(res1
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8487 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 (arg1
)->GetSize(arg2
,arg3
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_Py_Void();
8495 if (SWIG_IsTmpObj(res2
)) {
8496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8498 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8501 if (SWIG_IsTmpObj(res3
)) {
8502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8504 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8513 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8514 PyObject
*resultobj
= 0;
8515 wxCaret
*arg1
= (wxCaret
*) 0 ;
8516 wxWindow
*result
= 0 ;
8519 PyObject
*swig_obj
[1] ;
8521 if (!args
) SWIG_fail
;
8523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8524 if (!SWIG_IsOK(res1
)) {
8525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8527 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (wxWindow
*)(arg1
)->GetWindow();
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= wxPyMake_wxObject(result
, 0);
8543 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
= 0;
8545 wxCaret
*arg1
= (wxCaret
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "x",(char *) "y", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8566 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8568 if (!SWIG_IsOK(ecode2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8571 arg2
= static_cast< int >(val2
);
8572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8573 if (!SWIG_IsOK(ecode3
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8576 arg3
= static_cast< int >(val3
);
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 (arg1
)->Move(arg2
,arg3
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_Py_Void();
8590 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
= 0;
8592 wxCaret
*arg1
= (wxCaret
*) 0 ;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8599 char * kwnames
[] = {
8600 (char *) "self",(char *) "pt", NULL
8603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8605 if (!SWIG_IsOK(res1
)) {
8606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8608 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 (arg1
)->Move((wxPoint
const &)*arg2
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= SWIG_Py_Void();
8626 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
= 0;
8628 wxCaret
*arg1
= (wxCaret
*) 0 ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8639 PyObject
* obj2
= 0 ;
8640 char * kwnames
[] = {
8641 (char *) "self",(char *) "width",(char *) "height", NULL
8644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8646 if (!SWIG_IsOK(res1
)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8649 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8651 if (!SWIG_IsOK(ecode2
)) {
8652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8654 arg2
= static_cast< int >(val2
);
8655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8656 if (!SWIG_IsOK(ecode3
)) {
8657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8659 arg3
= static_cast< int >(val3
);
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 (arg1
)->SetSize(arg2
,arg3
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= SWIG_Py_Void();
8673 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
= 0;
8675 wxCaret
*arg1
= (wxCaret
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 char * kwnames
[] = {
8683 (char *) "self",(char *) "size", NULL
8686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8688 if (!SWIG_IsOK(res1
)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8691 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8694 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 (arg1
)->SetSize((wxSize
const &)*arg2
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_Py_Void();
8709 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
= 0;
8711 wxCaret
*arg1
= (wxCaret
*) 0 ;
8712 int arg2
= (int) true ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "self",(char *) "show", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8728 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8731 if (!SWIG_IsOK(ecode2
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8734 arg2
= static_cast< int >(val2
);
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_Py_Void();
8749 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8750 PyObject
*resultobj
= 0;
8751 wxCaret
*arg1
= (wxCaret
*) 0 ;
8754 PyObject
*swig_obj
[1] ;
8756 if (!args
) SWIG_fail
;
8758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8759 if (!SWIG_IsOK(res1
)) {
8760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8762 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= SWIG_Py_Void();
8776 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8777 PyObject
*resultobj
= 0;
8780 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (int)wxCaret::GetBlinkTime();
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_From_int(static_cast< int >(result
));
8794 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
= 0;
8799 PyObject
* obj0
= 0 ;
8800 char * kwnames
[] = {
8801 (char *) "milliseconds", NULL
8804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8806 if (!SWIG_IsOK(ecode1
)) {
8807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8809 arg1
= static_cast< int >(val1
);
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 wxCaret::SetBlinkTime(arg1
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= SWIG_Py_Void();
8823 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8826 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8827 return SWIG_Py_Void();
8830 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8831 return SWIG_Python_InitShadowInstance(args
);
8834 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
= 0;
8836 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8837 wxBusyCursor
*result
= 0 ;
8840 PyObject
* obj0
= 0 ;
8841 char * kwnames
[] = {
8842 (char *) "cursor", NULL
8845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8851 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8854 if (!wxPyCheckForApp()) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8867 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8868 PyObject
*resultobj
= 0;
8869 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8872 PyObject
*swig_obj
[1] ;
8874 if (!args
) SWIG_fail
;
8876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8877 if (!SWIG_IsOK(res1
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8880 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= SWIG_Py_Void();
8895 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8898 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8899 return SWIG_Py_Void();
8902 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8903 return SWIG_Python_InitShadowInstance(args
);
8906 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= 0;
8908 wxWindow
*arg1
= (wxWindow
*) NULL
;
8909 wxWindowDisabler
*result
= 0 ;
8912 PyObject
* obj0
= 0 ;
8913 char * kwnames
[] = {
8914 (char *) "winToSkip", NULL
8917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8920 if (!SWIG_IsOK(res1
)) {
8921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8923 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8926 if (!wxPyCheckForApp()) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8939 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8940 PyObject
*resultobj
= 0;
8941 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8944 PyObject
*swig_obj
[1] ;
8946 if (!args
) SWIG_fail
;
8948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8949 if (!SWIG_IsOK(res1
)) {
8950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8952 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_Py_Void();
8967 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8970 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8971 return SWIG_Py_Void();
8974 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8975 return SWIG_Python_InitShadowInstance(args
);
8978 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
= 0;
8980 wxString
*arg1
= 0 ;
8981 wxBusyInfo
*result
= 0 ;
8982 bool temp1
= false ;
8983 PyObject
* obj0
= 0 ;
8984 char * kwnames
[] = {
8985 (char *) "message", NULL
8988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8990 arg1
= wxString_in_helper(obj0
);
8991 if (arg1
== NULL
) SWIG_fail
;
8995 if (!wxPyCheckForApp()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9016 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9017 PyObject
*resultobj
= 0;
9018 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9021 PyObject
*swig_obj
[1] ;
9023 if (!args
) SWIG_fail
;
9025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9026 if (!SWIG_IsOK(res1
)) {
9027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9029 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_Py_Void();
9044 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9047 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9048 return SWIG_Py_Void();
9051 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9052 return SWIG_Python_InitShadowInstance(args
);
9055 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9056 PyObject
*resultobj
= 0;
9057 wxStopWatch
*result
= 0 ;
9059 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (wxStopWatch
*)new wxStopWatch();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9073 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
= 0;
9075 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9076 long arg2
= (long) 0 ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9083 char * kwnames
[] = {
9084 (char *) "self",(char *) "t0", NULL
9087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9089 if (!SWIG_IsOK(res1
)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9092 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9094 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9095 if (!SWIG_IsOK(ecode2
)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9098 arg2
= static_cast< long >(val2
);
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 (arg1
)->Start(arg2
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= SWIG_Py_Void();
9113 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9114 PyObject
*resultobj
= 0;
9115 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9118 PyObject
*swig_obj
[1] ;
9120 if (!args
) SWIG_fail
;
9122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9123 if (!SWIG_IsOK(res1
)) {
9124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9126 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_Py_Void();
9140 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9141 PyObject
*resultobj
= 0;
9142 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9145 PyObject
*swig_obj
[1] ;
9147 if (!args
) SWIG_fail
;
9149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9150 if (!SWIG_IsOK(res1
)) {
9151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9153 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= SWIG_Py_Void();
9167 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9168 PyObject
*resultobj
= 0;
9169 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9173 PyObject
*swig_obj
[1] ;
9175 if (!args
) SWIG_fail
;
9177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9178 if (!SWIG_IsOK(res1
)) {
9179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9181 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_From_long(static_cast< long >(result
));
9195 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9198 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9199 return SWIG_Py_Void();
9202 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9203 return SWIG_Python_InitShadowInstance(args
);
9206 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
= 0;
9208 int arg1
= (int) 9 ;
9209 int arg2
= (int) wxID_FILE1
;
9210 wxFileHistory
*result
= 0 ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9217 char * kwnames
[] = {
9218 (char *) "maxFiles",(char *) "idBase", NULL
9221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9224 if (!SWIG_IsOK(ecode1
)) {
9225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9227 arg1
= static_cast< int >(val1
);
9230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9231 if (!SWIG_IsOK(ecode2
)) {
9232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9234 arg2
= static_cast< int >(val2
);
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9249 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9250 PyObject
*resultobj
= 0;
9251 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9254 PyObject
*swig_obj
[1] ;
9256 if (!args
) SWIG_fail
;
9258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9259 if (!SWIG_IsOK(res1
)) {
9260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9262 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_Py_Void();
9277 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= 0;
9279 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9280 wxString
*arg2
= 0 ;
9283 bool temp2
= false ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9286 char * kwnames
[] = {
9287 (char *) "self",(char *) "file", NULL
9290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9292 if (!SWIG_IsOK(res1
)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9295 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9297 arg2
= wxString_in_helper(obj1
);
9298 if (arg2
== NULL
) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_Py_Void();
9322 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
= 0;
9324 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9332 char * kwnames
[] = {
9333 (char *) "self",(char *) "i", NULL
9336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9341 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9343 if (!SWIG_IsOK(ecode2
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9346 arg2
= static_cast< int >(val2
);
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 (arg1
)->RemoveFileFromHistory(arg2
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_Py_Void();
9360 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9361 PyObject
*resultobj
= 0;
9362 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9366 PyObject
*swig_obj
[1] ;
9368 if (!args
) SWIG_fail
;
9370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9371 if (!SWIG_IsOK(res1
)) {
9372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9374 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_From_int(static_cast< int >(result
));
9388 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
= 0;
9390 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9391 wxMenu
*arg2
= (wxMenu
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 char * kwnames
[] = {
9399 (char *) "self",(char *) "menu", NULL
9402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9404 if (!SWIG_IsOK(res1
)) {
9405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9407 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9409 if (!SWIG_IsOK(res2
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9412 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 (arg1
)->UseMenu(arg2
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_Py_Void();
9426 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
= 0;
9428 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9429 wxMenu
*arg2
= (wxMenu
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 char * kwnames
[] = {
9437 (char *) "self",(char *) "menu", NULL
9440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9442 if (!SWIG_IsOK(res1
)) {
9443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9445 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9447 if (!SWIG_IsOK(res2
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9450 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 (arg1
)->RemoveMenu(arg2
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_Py_Void();
9464 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
= 0;
9466 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9467 wxConfigBase
*arg2
= 0 ;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 char * kwnames
[] = {
9475 (char *) "self",(char *) "config", NULL
9478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9483 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9485 if (!SWIG_IsOK(res2
)) {
9486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9491 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 (arg1
)->Load(*arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= SWIG_Py_Void();
9505 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
= 0;
9507 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9508 wxConfigBase
*arg2
= 0 ;
9513 PyObject
* obj0
= 0 ;
9514 PyObject
* obj1
= 0 ;
9515 char * kwnames
[] = {
9516 (char *) "self",(char *) "config", NULL
9519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9521 if (!SWIG_IsOK(res1
)) {
9522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9524 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9526 if (!SWIG_IsOK(res2
)) {
9527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9532 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 (arg1
)->Save(*arg2
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_Py_Void();
9546 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9547 PyObject
*resultobj
= 0;
9548 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9551 PyObject
*swig_obj
[1] ;
9553 if (!args
) SWIG_fail
;
9555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9556 if (!SWIG_IsOK(res1
)) {
9557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9559 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 (arg1
)->AddFilesToMenu();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= SWIG_Py_Void();
9573 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
= 0;
9575 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9576 wxMenu
*arg2
= (wxMenu
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "self",(char *) "menu", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9592 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9594 if (!SWIG_IsOK(res2
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9597 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 (arg1
)->AddFilesToMenu(arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_Py_Void();
9611 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
= 0;
9613 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9620 PyObject
* obj0
= 0 ;
9621 PyObject
* obj1
= 0 ;
9622 char * kwnames
[] = {
9623 (char *) "self",(char *) "i", NULL
9626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9628 if (!SWIG_IsOK(res1
)) {
9629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9631 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9633 if (!SWIG_IsOK(ecode2
)) {
9634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9636 arg2
= static_cast< int >(val2
);
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9656 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9657 PyObject
*resultobj
= 0;
9658 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9662 PyObject
*swig_obj
[1] ;
9664 if (!args
) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9670 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_From_int(static_cast< int >(result
));
9684 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9687 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9688 return SWIG_Py_Void();
9691 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9692 return SWIG_Python_InitShadowInstance(args
);
9695 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
= 0;
9697 wxString
*arg1
= 0 ;
9698 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9699 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9700 wxSingleInstanceChecker
*result
= 0 ;
9701 bool temp1
= false ;
9702 bool temp2
= false ;
9703 PyObject
* obj0
= 0 ;
9704 PyObject
* obj1
= 0 ;
9705 char * kwnames
[] = {
9706 (char *) "name",(char *) "path", NULL
9709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9711 arg1
= wxString_in_helper(obj0
);
9712 if (arg1
== NULL
) SWIG_fail
;
9717 arg2
= wxString_in_helper(obj1
);
9718 if (arg2
== NULL
) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9751 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9752 PyObject
*resultobj
= 0;
9753 wxSingleInstanceChecker
*result
= 0 ;
9755 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9769 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9770 PyObject
*resultobj
= 0;
9771 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9774 PyObject
*swig_obj
[1] ;
9776 if (!args
) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9782 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_Py_Void();
9797 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9800 wxString
*arg2
= 0 ;
9801 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9802 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9806 bool temp2
= false ;
9807 bool temp3
= false ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9810 PyObject
* obj2
= 0 ;
9811 char * kwnames
[] = {
9812 (char *) "self",(char *) "name",(char *) "path", NULL
9815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9820 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9822 arg2
= wxString_in_helper(obj1
);
9823 if (arg2
== NULL
) SWIG_fail
;
9828 arg3
= wxString_in_helper(obj2
);
9829 if (arg3
== NULL
) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9864 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9865 PyObject
*resultobj
= 0;
9866 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9870 PyObject
*swig_obj
[1] ;
9872 if (!args
) SWIG_fail
;
9874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9875 if (!SWIG_IsOK(res1
)) {
9876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9878 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9894 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9897 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9898 return SWIG_Py_Void();
9901 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9902 return SWIG_Python_InitShadowInstance(args
);
9905 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
= 0;
9907 wxWindow
*arg1
= (wxWindow
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9916 char * kwnames
[] = {
9917 (char *) "window",(char *) "dc", NULL
9920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9922 if (!SWIG_IsOK(res1
)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9927 if (!SWIG_IsOK(res2
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9933 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9949 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 PyObject
*resultobj
= 0;
9951 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9954 PyObject
*swig_obj
[1] ;
9956 if (!args
) SWIG_fail
;
9958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9959 if (!SWIG_IsOK(res1
)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9962 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= SWIG_Py_Void();
9977 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 PyObject
*resultobj
= 0;
9979 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9983 PyObject
*swig_obj
[1] ;
9985 if (!args
) SWIG_fail
;
9987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9988 if (!SWIG_IsOK(res1
)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9991 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (arg1
)->GetTip();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10011 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10012 PyObject
*resultobj
= 0;
10013 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10017 PyObject
*swig_obj
[1] ;
10019 if (!args
) SWIG_fail
;
10020 swig_obj
[0] = args
;
10021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10022 if (!SWIG_IsOK(res1
)) {
10023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10025 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (size_t)(arg1
)->GetCurrentTip();
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10039 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
= 0;
10041 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10042 wxString
*arg2
= 0 ;
10046 bool temp2
= false ;
10047 PyObject
* obj0
= 0 ;
10048 PyObject
* obj1
= 0 ;
10049 char * kwnames
[] = {
10050 (char *) "self",(char *) "tip", NULL
10053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10055 if (!SWIG_IsOK(res1
)) {
10056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10058 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10060 arg2
= wxString_in_helper(obj1
);
10061 if (arg2
== NULL
) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10091 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10094 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10095 return SWIG_Py_Void();
10098 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
= 0;
10101 wxPyTipProvider
*result
= 0 ;
10104 PyObject
* obj0
= 0 ;
10105 char * kwnames
[] = {
10106 (char *) "currentTip", NULL
10109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10110 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10111 if (!SWIG_IsOK(ecode1
)) {
10112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10114 arg1
= static_cast< size_t >(val1
);
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10128 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
= 0;
10130 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10131 PyObject
*arg2
= (PyObject
*) 0 ;
10132 PyObject
*arg3
= (PyObject
*) 0 ;
10135 PyObject
* obj0
= 0 ;
10136 PyObject
* obj1
= 0 ;
10137 PyObject
* obj2
= 0 ;
10138 char * kwnames
[] = {
10139 (char *) "self",(char *) "self",(char *) "_class", NULL
10142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10144 if (!SWIG_IsOK(res1
)) {
10145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10147 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_Py_Void();
10163 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10167 return SWIG_Py_Void();
10170 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10171 return SWIG_Python_InitShadowInstance(args
);
10174 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= 0;
10176 wxWindow
*arg1
= (wxWindow
*) 0 ;
10177 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10178 bool arg3
= (bool) true ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 PyObject
* obj2
= 0 ;
10189 char * kwnames
[] = {
10190 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10195 if (!SWIG_IsOK(res1
)) {
10196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10200 if (!SWIG_IsOK(res2
)) {
10201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10203 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10205 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10206 if (!SWIG_IsOK(ecode3
)) {
10207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10209 arg3
= static_cast< bool >(val3
);
10212 if (!wxPyCheckForApp()) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10227 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= 0;
10229 wxString
*arg1
= 0 ;
10231 wxTipProvider
*result
= 0 ;
10232 bool temp1
= false ;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 char * kwnames
[] = {
10238 (char *) "filename",(char *) "currentTip", NULL
10241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10243 arg1
= wxString_in_helper(obj0
);
10244 if (arg1
== NULL
) SWIG_fail
;
10247 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10248 if (!SWIG_IsOK(ecode2
)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10251 arg2
= static_cast< size_t >(val2
);
10253 if (!wxPyCheckForApp()) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10274 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
= 0;
10276 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10277 int arg2
= (int) wxID_ANY
;
10278 wxPyTimer
*result
= 0 ;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 char * kwnames
[] = {
10286 (char *) "owner",(char *) "id", NULL
10289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10292 if (!SWIG_IsOK(res1
)) {
10293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10295 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10299 if (!SWIG_IsOK(ecode2
)) {
10300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10302 arg2
= static_cast< int >(val2
);
10305 if (!wxPyCheckForApp()) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10318 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10319 PyObject
*resultobj
= 0;
10320 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10323 PyObject
*swig_obj
[1] ;
10325 if (!args
) SWIG_fail
;
10326 swig_obj
[0] = args
;
10327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10328 if (!SWIG_IsOK(res1
)) {
10329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10331 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= SWIG_Py_Void();
10346 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
= 0;
10348 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10349 PyObject
*arg2
= (PyObject
*) 0 ;
10350 PyObject
*arg3
= (PyObject
*) 0 ;
10351 int arg4
= (int) 1 ;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 PyObject
* obj2
= 0 ;
10359 PyObject
* obj3
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10369 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10374 if (!SWIG_IsOK(ecode4
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10377 arg4
= static_cast< int >(val4
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= SWIG_Py_Void();
10392 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
= 0;
10394 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10395 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10396 int arg3
= (int) wxID_ANY
;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 PyObject
* obj2
= 0 ;
10406 char * kwnames
[] = {
10407 (char *) "self",(char *) "owner",(char *) "id", NULL
10410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10412 if (!SWIG_IsOK(res1
)) {
10413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10415 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10417 if (!SWIG_IsOK(res2
)) {
10418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10420 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10423 if (!SWIG_IsOK(ecode3
)) {
10424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10426 arg3
= static_cast< int >(val3
);
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 (arg1
)->SetOwner(arg2
,arg3
);
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= SWIG_Py_Void();
10441 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10442 PyObject
*resultobj
= 0;
10443 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10444 wxEvtHandler
*result
= 0 ;
10447 PyObject
*swig_obj
[1] ;
10449 if (!args
) SWIG_fail
;
10450 swig_obj
[0] = args
;
10451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10452 if (!SWIG_IsOK(res1
)) {
10453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10455 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= wxPyMake_wxObject(result
, 0);
10471 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
= 0;
10473 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10474 int arg2
= (int) -1 ;
10475 bool arg3
= (bool) false ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 PyObject
* obj2
= 0 ;
10486 char * kwnames
[] = {
10487 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10492 if (!SWIG_IsOK(res1
)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10495 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10498 if (!SWIG_IsOK(ecode2
)) {
10499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10501 arg2
= static_cast< int >(val2
);
10504 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10505 if (!SWIG_IsOK(ecode3
)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10508 arg3
= static_cast< bool >(val3
);
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10525 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10526 PyObject
*resultobj
= 0;
10527 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10530 PyObject
*swig_obj
[1] ;
10532 if (!args
) SWIG_fail
;
10533 swig_obj
[0] = args
;
10534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10535 if (!SWIG_IsOK(res1
)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10538 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= SWIG_Py_Void();
10552 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10553 PyObject
*resultobj
= 0;
10554 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10557 PyObject
*swig_obj
[1] ;
10559 if (!args
) SWIG_fail
;
10560 swig_obj
[0] = args
;
10561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10562 if (!SWIG_IsOK(res1
)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10565 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_Py_Void();
10579 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10580 PyObject
*resultobj
= 0;
10581 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10585 PyObject
*swig_obj
[1] ;
10587 if (!args
) SWIG_fail
;
10588 swig_obj
[0] = args
;
10589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10593 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10609 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10610 PyObject
*resultobj
= 0;
10611 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10615 PyObject
*swig_obj
[1] ;
10617 if (!args
) SWIG_fail
;
10618 swig_obj
[0] = args
;
10619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10620 if (!SWIG_IsOK(res1
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10623 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= SWIG_From_int(static_cast< int >(result
));
10637 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10638 PyObject
*resultobj
= 0;
10639 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10643 PyObject
*swig_obj
[1] ;
10645 if (!args
) SWIG_fail
;
10646 swig_obj
[0] = args
;
10647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10648 if (!SWIG_IsOK(res1
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10651 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= SWIG_From_int(static_cast< int >(result
));
10665 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10666 PyObject
*resultobj
= 0;
10667 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10671 PyObject
*swig_obj
[1] ;
10673 if (!args
) SWIG_fail
;
10674 swig_obj
[0] = args
;
10675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10676 if (!SWIG_IsOK(res1
)) {
10677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10679 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10695 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10698 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10699 return SWIG_Py_Void();
10702 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10703 return SWIG_Python_InitShadowInstance(args
);
10706 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
= 0;
10708 int arg1
= (int) 0 ;
10709 int arg2
= (int) 0 ;
10710 wxTimerEvent
*result
= 0 ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char * kwnames
[] = {
10718 (char *) "timerid",(char *) "interval", NULL
10721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10724 if (!SWIG_IsOK(ecode1
)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10727 arg1
= static_cast< int >(val1
);
10730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10731 if (!SWIG_IsOK(ecode2
)) {
10732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10734 arg2
= static_cast< int >(val2
);
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10749 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10750 PyObject
*resultobj
= 0;
10751 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10755 PyObject
*swig_obj
[1] ;
10757 if (!args
) SWIG_fail
;
10758 swig_obj
[0] = args
;
10759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10760 if (!SWIG_IsOK(res1
)) {
10761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10763 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= SWIG_From_int(static_cast< int >(result
));
10777 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10780 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10781 return SWIG_Py_Void();
10784 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10785 return SWIG_Python_InitShadowInstance(args
);
10788 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10789 PyObject
*resultobj
= 0;
10790 wxTimer
*arg1
= 0 ;
10791 wxTimerRunner
*result
= 0 ;
10795 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10797 if (!SWIG_IsOK(res1
)) {
10798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10803 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10805 if (!wxPyCheckForApp()) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10818 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10819 PyObject
*resultobj
= 0;
10820 wxTimer
*arg1
= 0 ;
10822 bool arg3
= (bool) false ;
10823 wxTimerRunner
*result
= 0 ;
10831 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10833 if (!SWIG_IsOK(res1
)) {
10834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10839 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10840 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10841 if (!SWIG_IsOK(ecode2
)) {
10842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10844 arg2
= static_cast< int >(val2
);
10846 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10847 if (!SWIG_IsOK(ecode3
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10850 arg3
= static_cast< bool >(val3
);
10853 if (!wxPyCheckForApp()) SWIG_fail
;
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10866 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10870 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10873 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10875 if ((argc
>= 2) && (argc
<= 3)) {
10876 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10880 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10885 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10886 PyObject
*resultobj
= 0;
10887 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10890 PyObject
*swig_obj
[1] ;
10892 if (!args
) SWIG_fail
;
10893 swig_obj
[0] = args
;
10894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10898 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= SWIG_Py_Void();
10913 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
= 0;
10915 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10917 bool arg3
= (bool) false ;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 PyObject
* obj2
= 0 ;
10927 char * kwnames
[] = {
10928 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10936 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10938 if (!SWIG_IsOK(ecode2
)) {
10939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10941 arg2
= static_cast< int >(val2
);
10943 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10944 if (!SWIG_IsOK(ecode3
)) {
10945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10947 arg3
= static_cast< bool >(val3
);
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 (arg1
)->Start(arg2
,arg3
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= SWIG_Py_Void();
10962 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10965 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10966 return SWIG_Py_Void();
10969 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10970 return SWIG_Python_InitShadowInstance(args
);
10973 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10974 PyObject
*resultobj
= 0;
10975 wxLog
*result
= 0 ;
10977 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (wxLog
*)new wxLog();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10991 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10992 PyObject
*resultobj
= 0;
10993 wxLog
*arg1
= (wxLog
*) 0 ;
10996 PyObject
*swig_obj
[1] ;
10998 if (!args
) SWIG_fail
;
10999 swig_obj
[0] = args
;
11000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11001 if (!SWIG_IsOK(res1
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
11004 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= SWIG_Py_Void();
11019 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11020 PyObject
*resultobj
= 0;
11023 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (bool)wxLog::IsEnabled();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
= 0;
11041 bool arg1
= (bool) true ;
11045 PyObject
* obj0
= 0 ;
11046 char * kwnames
[] = {
11047 (char *) "doIt", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11052 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11053 if (!SWIG_IsOK(ecode1
)) {
11054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11056 arg1
= static_cast< bool >(val1
);
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 result
= (bool)wxLog::EnableLogging(arg1
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
= 0;
11076 wxChar
*arg2
= (wxChar
*) 0 ;
11078 unsigned long val1
;
11082 unsigned int val3
;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 char * kwnames
[] = {
11088 (char *) "level",(char *) "szString",(char *) "t", NULL
11091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11092 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11093 if (!SWIG_IsOK(ecode1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11096 arg1
= static_cast< wxLogLevel
>(val1
);
11097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11098 if (!SWIG_IsOK(res2
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11101 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11102 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11103 if (!SWIG_IsOK(ecode3
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11106 arg3
= static_cast< time_t >(val3
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_Py_Void();
11120 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11121 PyObject
*resultobj
= 0;
11122 wxLog
*arg1
= (wxLog
*) 0 ;
11125 PyObject
*swig_obj
[1] ;
11127 if (!args
) SWIG_fail
;
11128 swig_obj
[0] = args
;
11129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11130 if (!SWIG_IsOK(res1
)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11133 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_Py_Void();
11147 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11148 PyObject
*resultobj
= 0;
11150 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 wxLog::FlushActive();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= SWIG_Py_Void();
11164 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11165 PyObject
*resultobj
= 0;
11166 wxLog
*result
= 0 ;
11168 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (wxLog
*)wxLog::GetActiveTarget();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11182 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= 0;
11184 wxLog
*arg1
= (wxLog
*) 0 ;
11185 wxLog
*result
= 0 ;
11187 PyObject
* obj0
= 0 ;
11188 char * kwnames
[] = {
11189 (char *) "pLogger", NULL
11192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11193 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11194 if (!SWIG_IsOK(res1
)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11210 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11211 PyObject
*resultobj
= 0;
11213 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= SWIG_Py_Void();
11227 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11228 PyObject
*resultobj
= 0;
11230 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= SWIG_Py_Void();
11244 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
= 0;
11246 bool arg1
= (bool) true ;
11249 PyObject
* obj0
= 0 ;
11250 char * kwnames
[] = {
11251 (char *) "bVerbose", NULL
11254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11256 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11257 if (!SWIG_IsOK(ecode1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11260 arg1
= static_cast< bool >(val1
);
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 wxLog::SetVerbose(arg1
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_Py_Void();
11275 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
= 0;
11278 unsigned long val1
;
11280 PyObject
* obj0
= 0 ;
11281 char * kwnames
[] = {
11282 (char *) "logLevel", NULL
11285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11286 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11287 if (!SWIG_IsOK(ecode1
)) {
11288 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11290 arg1
= static_cast< wxLogLevel
>(val1
);
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 wxLog::SetLogLevel(arg1
);
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= SWIG_Py_Void();
11304 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11305 PyObject
*resultobj
= 0;
11307 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 wxLog::DontCreateOnDemand();
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_Py_Void();
11321 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
= 0;
11324 unsigned long val1
;
11326 PyObject
* obj0
= 0 ;
11327 char * kwnames
[] = {
11328 (char *) "ulMask", NULL
11331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11332 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11333 if (!SWIG_IsOK(ecode1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11336 arg1
= static_cast< wxTraceMask
>(val1
);
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 wxLog::SetTraceMask(arg1
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_Py_Void();
11350 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
= 0;
11352 wxString
*arg1
= 0 ;
11353 bool temp1
= false ;
11354 PyObject
* obj0
= 0 ;
11355 char * kwnames
[] = {
11356 (char *) "str", NULL
11359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11361 arg1
= wxString_in_helper(obj0
);
11362 if (arg1
== NULL
) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 wxLog::AddTraceMask((wxString
const &)*arg1
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_Py_Void();
11386 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
= 0;
11388 wxString
*arg1
= 0 ;
11389 bool temp1
= false ;
11390 PyObject
* obj0
= 0 ;
11391 char * kwnames
[] = {
11392 (char *) "str", NULL
11395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11397 arg1
= wxString_in_helper(obj0
);
11398 if (arg1
== NULL
) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= SWIG_Py_Void();
11422 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11423 PyObject
*resultobj
= 0;
11425 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 wxLog::ClearTraceMasks();
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_Py_Void();
11439 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11440 PyObject
*resultobj
= 0;
11441 wxArrayString
*result
= 0 ;
11443 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11448 result
= (wxArrayString
*) &_result_ref
;
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= wxArrayString2PyList_helper(*result
);
11462 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
= 0;
11464 wxChar
*arg1
= (wxChar
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 char * kwnames
[] = {
11469 (char *) "ts", NULL
11472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11474 if (!SWIG_IsOK(res1
)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11477 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 wxLog::SetTimestamp((wxChar
const *)arg1
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_Py_Void();
11491 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11492 PyObject
*resultobj
= 0;
11495 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 result
= (bool)wxLog::GetVerbose();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11511 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11512 PyObject
*resultobj
= 0;
11513 wxTraceMask result
;
11515 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (wxTraceMask
)wxLog::GetTraceMask();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11529 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
= 0;
11531 wxChar
*arg1
= (wxChar
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 char * kwnames
[] = {
11537 (char *) "mask", NULL
11540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11542 if (!SWIG_IsOK(res1
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11545 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11561 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11562 PyObject
*resultobj
= 0;
11565 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (wxLogLevel
)wxLog::GetLogLevel();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11579 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11580 PyObject
*resultobj
= 0;
11581 wxChar
*result
= 0 ;
11583 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (wxChar
*)wxLog::GetTimestamp();
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11597 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11598 PyObject
*resultobj
= 0;
11601 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= wxLog_TimeStamp();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11621 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11622 PyObject
*resultobj
= 0;
11623 wxLog
*arg1
= (wxLog
*) 0 ;
11626 PyObject
*swig_obj
[1] ;
11628 if (!args
) SWIG_fail
;
11629 swig_obj
[0] = args
;
11630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11631 if (!SWIG_IsOK(res1
)) {
11632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11634 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 wxLog_Destroy(arg1
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_Py_Void();
11648 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11651 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11652 return SWIG_Py_Void();
11655 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 return SWIG_Python_InitShadowInstance(args
);
11659 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11660 PyObject
*resultobj
= 0;
11661 wxLogStderr
*result
= 0 ;
11663 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (wxLogStderr
*)new wxLogStderr();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11677 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11680 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11681 return SWIG_Py_Void();
11684 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11685 return SWIG_Python_InitShadowInstance(args
);
11688 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
= 0;
11690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11691 wxLogTextCtrl
*result
= 0 ;
11694 PyObject
* obj0
= 0 ;
11695 char * kwnames
[] = {
11696 (char *) "pTextCtrl", NULL
11699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11701 if (!SWIG_IsOK(res1
)) {
11702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11704 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11718 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11721 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11722 return SWIG_Py_Void();
11725 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11726 return SWIG_Python_InitShadowInstance(args
);
11729 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11730 PyObject
*resultobj
= 0;
11731 wxLogGui
*result
= 0 ;
11733 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= (wxLogGui
*)new wxLogGui();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11747 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11750 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11751 return SWIG_Py_Void();
11754 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 return SWIG_Python_InitShadowInstance(args
);
11758 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
= 0;
11760 wxFrame
*arg1
= (wxFrame
*) 0 ;
11761 wxString
*arg2
= 0 ;
11762 bool arg3
= (bool) true ;
11763 bool arg4
= (bool) true ;
11764 wxLogWindow
*result
= 0 ;
11767 bool temp2
= false ;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 PyObject
* obj2
= 0 ;
11775 PyObject
* obj3
= 0 ;
11776 char * kwnames
[] = {
11777 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11782 if (!SWIG_IsOK(res1
)) {
11783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11785 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11787 arg2
= wxString_in_helper(obj1
);
11788 if (arg2
== NULL
) SWIG_fail
;
11792 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11793 if (!SWIG_IsOK(ecode3
)) {
11794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11796 arg3
= static_cast< bool >(val3
);
11799 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11800 if (!SWIG_IsOK(ecode4
)) {
11801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11803 arg4
= static_cast< bool >(val4
);
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11826 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
= 0;
11828 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11829 bool arg2
= (bool) true ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 char * kwnames
[] = {
11837 (char *) "self",(char *) "bShow", NULL
11840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11842 if (!SWIG_IsOK(res1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11845 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11847 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11848 if (!SWIG_IsOK(ecode2
)) {
11849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11851 arg2
= static_cast< bool >(val2
);
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 (arg1
)->Show(arg2
);
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_Py_Void();
11866 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 PyObject
*resultobj
= 0;
11868 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11869 wxFrame
*result
= 0 ;
11872 PyObject
*swig_obj
[1] ;
11874 if (!args
) SWIG_fail
;
11875 swig_obj
[0] = args
;
11876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11877 if (!SWIG_IsOK(res1
)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11880 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11896 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11897 PyObject
*resultobj
= 0;
11898 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11899 wxLog
*result
= 0 ;
11902 PyObject
*swig_obj
[1] ;
11904 if (!args
) SWIG_fail
;
11905 swig_obj
[0] = args
;
11906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11907 if (!SWIG_IsOK(res1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11910 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11924 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11925 PyObject
*resultobj
= 0;
11926 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11930 PyObject
*swig_obj
[1] ;
11932 if (!args
) SWIG_fail
;
11933 swig_obj
[0] = args
;
11934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11938 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11954 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
= 0;
11956 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 PyObject
* obj1
= 0 ;
11964 char * kwnames
[] = {
11965 (char *) "self",(char *) "bDoPass", NULL
11968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11973 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11974 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11975 if (!SWIG_IsOK(ecode2
)) {
11976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11978 arg2
= static_cast< bool >(val2
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 (arg1
)->PassMessages(arg2
);
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_Py_Void();
11992 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11995 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11996 return SWIG_Py_Void();
11999 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12000 return SWIG_Python_InitShadowInstance(args
);
12003 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
= 0;
12005 wxLog
*arg1
= (wxLog
*) 0 ;
12006 wxLogChain
*result
= 0 ;
12009 PyObject
* obj0
= 0 ;
12010 char * kwnames
[] = {
12011 (char *) "logger", NULL
12014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
12015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12019 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (wxLogChain
*)new wxLogChain(arg1
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12033 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
= 0;
12035 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12036 wxLog
*arg2
= (wxLog
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 char * kwnames
[] = {
12044 (char *) "self",(char *) "logger", NULL
12047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12049 if (!SWIG_IsOK(res1
)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12052 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12053 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12054 if (!SWIG_IsOK(res2
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12057 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 (arg1
)->SetLog(arg2
);
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= SWIG_Py_Void();
12071 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
= 0;
12073 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 PyObject
* obj1
= 0 ;
12081 char * kwnames
[] = {
12082 (char *) "self",(char *) "bDoPass", NULL
12085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12087 if (!SWIG_IsOK(res1
)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12090 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12091 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12092 if (!SWIG_IsOK(ecode2
)) {
12093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12095 arg2
= static_cast< bool >(val2
);
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 (arg1
)->PassMessages(arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= SWIG_Py_Void();
12109 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12110 PyObject
*resultobj
= 0;
12111 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12115 PyObject
*swig_obj
[1] ;
12117 if (!args
) SWIG_fail
;
12118 swig_obj
[0] = args
;
12119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12120 if (!SWIG_IsOK(res1
)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12123 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (bool)(arg1
)->IsPassingMessages();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12139 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12140 PyObject
*resultobj
= 0;
12141 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12142 wxLog
*result
= 0 ;
12145 PyObject
*swig_obj
[1] ;
12147 if (!args
) SWIG_fail
;
12148 swig_obj
[0] = args
;
12149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12153 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (wxLog
*)(arg1
)->GetOldLog();
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12167 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12170 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12171 return SWIG_Py_Void();
12174 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 return SWIG_Python_InitShadowInstance(args
);
12178 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 PyObject
*resultobj
= 0;
12180 wxLogBuffer
*result
= 0 ;
12182 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (wxLogBuffer
*)new wxLogBuffer();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12196 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12197 PyObject
*resultobj
= 0;
12198 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12199 wxString
*result
= 0 ;
12202 PyObject
*swig_obj
[1] ;
12204 if (!args
) SWIG_fail
;
12205 swig_obj
[0] = args
;
12206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12207 if (!SWIG_IsOK(res1
)) {
12208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12210 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12215 result
= (wxString
*) &_result_ref
;
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12224 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12233 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12236 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12237 return SWIG_Py_Void();
12240 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12241 return SWIG_Python_InitShadowInstance(args
);
12244 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12245 PyObject
*resultobj
= 0;
12246 unsigned long result
;
12248 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (unsigned long)wxSysErrorCode();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12262 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 unsigned long arg1
= (unsigned long) 0 ;
12266 unsigned long val1
;
12268 PyObject
* obj0
= 0 ;
12269 char * kwnames
[] = {
12270 (char *) "nErrCode", NULL
12273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12275 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12276 if (!SWIG_IsOK(ecode1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12279 arg1
= static_cast< unsigned long >(val1
);
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= wxSysErrorMsg(arg1
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12300 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
= 0;
12302 wxString
*arg1
= 0 ;
12303 bool temp1
= false ;
12304 PyObject
* obj0
= 0 ;
12305 char * kwnames
[] = {
12306 (char *) "msg", NULL
12309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12311 arg1
= wxString_in_helper(obj0
);
12312 if (arg1
== NULL
) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 wxPyLogFatalError((wxString
const &)*arg1
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= SWIG_Py_Void();
12336 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
= 0;
12338 wxString
*arg1
= 0 ;
12339 bool temp1
= false ;
12340 PyObject
* obj0
= 0 ;
12341 char * kwnames
[] = {
12342 (char *) "msg", NULL
12345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12347 arg1
= wxString_in_helper(obj0
);
12348 if (arg1
== NULL
) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 wxPyLogError((wxString
const &)*arg1
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_Py_Void();
12372 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
= 0;
12374 wxString
*arg1
= 0 ;
12375 bool temp1
= false ;
12376 PyObject
* obj0
= 0 ;
12377 char * kwnames
[] = {
12378 (char *) "msg", NULL
12381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12383 arg1
= wxString_in_helper(obj0
);
12384 if (arg1
== NULL
) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 wxPyLogWarning((wxString
const &)*arg1
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_Py_Void();
12408 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
= 0;
12410 wxString
*arg1
= 0 ;
12411 bool temp1
= false ;
12412 PyObject
* obj0
= 0 ;
12413 char * kwnames
[] = {
12414 (char *) "msg", NULL
12417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12419 arg1
= wxString_in_helper(obj0
);
12420 if (arg1
== NULL
) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 wxPyLogMessage((wxString
const &)*arg1
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12444 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 wxString
*arg1
= 0 ;
12447 bool temp1
= false ;
12448 PyObject
* obj0
= 0 ;
12449 char * kwnames
[] = {
12450 (char *) "msg", NULL
12453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12455 arg1
= wxString_in_helper(obj0
);
12456 if (arg1
== NULL
) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 wxPyLogInfo((wxString
const &)*arg1
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_Py_Void();
12480 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
= 0;
12482 wxString
*arg1
= 0 ;
12483 bool temp1
= false ;
12484 PyObject
* obj0
= 0 ;
12485 char * kwnames
[] = {
12486 (char *) "msg", NULL
12489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12491 arg1
= wxString_in_helper(obj0
);
12492 if (arg1
== NULL
) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 wxPyLogDebug((wxString
const &)*arg1
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_Py_Void();
12516 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
= 0;
12518 wxString
*arg1
= 0 ;
12519 bool temp1
= false ;
12520 PyObject
* obj0
= 0 ;
12521 char * kwnames
[] = {
12522 (char *) "msg", NULL
12525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12527 arg1
= wxString_in_helper(obj0
);
12528 if (arg1
== NULL
) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 wxPyLogVerbose((wxString
const &)*arg1
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_Py_Void();
12552 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
= 0;
12554 wxString
*arg1
= 0 ;
12555 bool temp1
= false ;
12556 PyObject
* obj0
= 0 ;
12557 char * kwnames
[] = {
12558 (char *) "msg", NULL
12561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12563 arg1
= wxString_in_helper(obj0
);
12564 if (arg1
== NULL
) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 wxPyLogStatus((wxString
const &)*arg1
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= SWIG_Py_Void();
12588 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
= 0;
12590 wxFrame
*arg1
= (wxFrame
*) 0 ;
12591 wxString
*arg2
= 0 ;
12594 bool temp2
= false ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char * kwnames
[] = {
12598 (char *) "pFrame",(char *) "msg", NULL
12601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12603 if (!SWIG_IsOK(res1
)) {
12604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12606 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12608 arg2
= wxString_in_helper(obj1
);
12609 if (arg2
== NULL
) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_Py_Void();
12633 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
= 0;
12635 wxString
*arg1
= 0 ;
12636 bool temp1
= false ;
12637 PyObject
* obj0
= 0 ;
12638 char * kwnames
[] = {
12639 (char *) "msg", NULL
12642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12644 arg1
= wxString_in_helper(obj0
);
12645 if (arg1
== NULL
) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 wxPyLogSysError((wxString
const &)*arg1
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_Py_Void();
12669 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 unsigned long arg1
;
12672 wxString
*arg2
= 0 ;
12673 unsigned long val1
;
12675 bool temp2
= false ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char * kwnames
[] = {
12679 (char *) "level",(char *) "msg", NULL
12682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12683 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12684 if (!SWIG_IsOK(ecode1
)) {
12685 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12687 arg1
= static_cast< unsigned long >(val1
);
12689 arg2
= wxString_in_helper(obj1
);
12690 if (arg2
== NULL
) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12715 PyObject
*resultobj
= 0;
12716 unsigned long arg1
;
12717 wxString
*arg2
= 0 ;
12718 unsigned long val1
;
12720 bool temp2
= false ;
12722 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12723 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12724 if (!SWIG_IsOK(ecode1
)) {
12725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12727 arg1
= static_cast< unsigned long >(val1
);
12729 arg2
= wxString_in_helper(swig_obj
[1]);
12730 if (arg2
== NULL
) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_Py_Void();
12754 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12755 PyObject
*resultobj
= 0;
12756 wxString
*arg1
= 0 ;
12757 wxString
*arg2
= 0 ;
12758 bool temp1
= false ;
12759 bool temp2
= false ;
12761 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12763 arg1
= wxString_in_helper(swig_obj
[0]);
12764 if (arg1
== NULL
) SWIG_fail
;
12768 arg2
= wxString_in_helper(swig_obj
[1]);
12769 if (arg2
== NULL
) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_Py_Void();
12801 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12805 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12811 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12814 if (!_v
) goto check_1
;
12815 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12820 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12824 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12829 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
= 0;
12831 wxString
*arg1
= 0 ;
12832 wxString
*arg2
= 0 ;
12833 bool temp1
= false ;
12834 bool temp2
= false ;
12835 PyObject
* obj0
= 0 ;
12836 PyObject
* obj1
= 0 ;
12837 char * kwnames
[] = {
12838 (char *) "title",(char *) "text", NULL
12841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12843 arg1
= wxString_in_helper(obj0
);
12844 if (arg1
== NULL
) SWIG_fail
;
12848 arg2
= wxString_in_helper(obj1
);
12849 if (arg2
== NULL
) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= SWIG_Py_Void();
12881 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12882 PyObject
*resultobj
= 0;
12883 wxLogNull
*result
= 0 ;
12885 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= (wxLogNull
*)new wxLogNull();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12899 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12900 PyObject
*resultobj
= 0;
12901 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12904 PyObject
*swig_obj
[1] ;
12906 if (!args
) SWIG_fail
;
12907 swig_obj
[0] = args
;
12908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12909 if (!SWIG_IsOK(res1
)) {
12910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12912 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= SWIG_Py_Void();
12927 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12930 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12931 return SWIG_Py_Void();
12934 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12935 return SWIG_Python_InitShadowInstance(args
);
12938 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12939 PyObject
*resultobj
= 0;
12940 wxPyLog
*result
= 0 ;
12942 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (wxPyLog
*)new wxPyLog();
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12956 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
= 0;
12958 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12959 PyObject
*arg2
= (PyObject
*) 0 ;
12960 PyObject
*arg3
= (PyObject
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 char * kwnames
[] = {
12967 (char *) "self",(char *) "self",(char *) "_class", NULL
12970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12972 if (!SWIG_IsOK(res1
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12975 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_Py_Void();
12991 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12994 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12995 return SWIG_Py_Void();
12998 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12999 return SWIG_Python_InitShadowInstance(args
);
13002 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
= 0;
13005 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13006 int arg3
= (int) wxKILL_NOCHILDREN
;
13007 wxKillError result
;
13014 PyObject
* obj0
= 0 ;
13015 PyObject
* obj1
= 0 ;
13016 PyObject
* obj2
= 0 ;
13017 char * kwnames
[] = {
13018 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13022 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13023 if (!SWIG_IsOK(ecode1
)) {
13024 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13026 arg1
= static_cast< int >(val1
);
13028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13029 if (!SWIG_IsOK(ecode2
)) {
13030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13032 arg2
= static_cast< wxSignal
>(val2
);
13035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13036 if (!SWIG_IsOK(ecode3
)) {
13037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13039 arg3
= static_cast< int >(val3
);
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= SWIG_From_int(static_cast< int >(result
));
13054 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
= 0;
13060 PyObject
* obj0
= 0 ;
13061 char * kwnames
[] = {
13062 (char *) "pid", NULL
13065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13067 if (!SWIG_IsOK(ecode1
)) {
13068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13070 arg1
= static_cast< int >(val1
);
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (bool)wxPyProcess::Exists(arg1
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13086 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= 0;
13088 wxString
*arg1
= 0 ;
13089 int arg2
= (int) wxEXEC_ASYNC
;
13090 wxPyProcess
*result
= 0 ;
13091 bool temp1
= false ;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 char * kwnames
[] = {
13097 (char *) "cmd",(char *) "flags", NULL
13100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13102 arg1
= wxString_in_helper(obj0
);
13103 if (arg1
== NULL
) SWIG_fail
;
13107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13108 if (!SWIG_IsOK(ecode2
)) {
13109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13111 arg2
= static_cast< int >(val2
);
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13134 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
= 0;
13136 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13137 int arg2
= (int) -1 ;
13138 wxPyProcess
*result
= 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char * kwnames
[] = {
13146 (char *) "parent",(char *) "id", NULL
13149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13152 if (!SWIG_IsOK(res1
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13155 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13159 if (!SWIG_IsOK(ecode2
)) {
13160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13162 arg2
= static_cast< int >(val2
);
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13177 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
= 0;
13179 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13180 PyObject
*arg2
= (PyObject
*) 0 ;
13181 PyObject
*arg3
= (PyObject
*) 0 ;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 PyObject
* obj2
= 0 ;
13187 char * kwnames
[] = {
13188 (char *) "self",(char *) "self",(char *) "_class", NULL
13191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13193 if (!SWIG_IsOK(res1
)) {
13194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13196 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= SWIG_Py_Void();
13212 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
= 0;
13214 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 PyObject
* obj1
= 0 ;
13225 PyObject
* obj2
= 0 ;
13226 char * kwnames
[] = {
13227 (char *) "self",(char *) "pid",(char *) "status", NULL
13230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13232 if (!SWIG_IsOK(res1
)) {
13233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13235 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13237 if (!SWIG_IsOK(ecode2
)) {
13238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13240 arg2
= static_cast< int >(val2
);
13241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13242 if (!SWIG_IsOK(ecode3
)) {
13243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13245 arg3
= static_cast< int >(val3
);
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->OnTerminate(arg2
,arg3
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 resultobj
= SWIG_Py_Void();
13259 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13260 PyObject
*resultobj
= 0;
13261 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13264 PyObject
*swig_obj
[1] ;
13266 if (!args
) SWIG_fail
;
13267 swig_obj
[0] = args
;
13268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13269 if (!SWIG_IsOK(res1
)) {
13270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13272 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 (arg1
)->Redirect();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_Py_Void();
13286 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13287 PyObject
*resultobj
= 0;
13288 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13292 PyObject
*swig_obj
[1] ;
13294 if (!args
) SWIG_fail
;
13295 swig_obj
[0] = args
;
13296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13297 if (!SWIG_IsOK(res1
)) {
13298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13300 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (bool)(arg1
)->IsRedirected();
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13316 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13317 PyObject
*resultobj
= 0;
13318 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13321 PyObject
*swig_obj
[1] ;
13323 if (!args
) SWIG_fail
;
13324 swig_obj
[0] = args
;
13325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13326 if (!SWIG_IsOK(res1
)) {
13327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13329 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_Py_Void();
13343 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 PyObject
*resultobj
= 0;
13345 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13346 wxInputStream
*result
= 0 ;
13349 PyObject
*swig_obj
[1] ;
13351 if (!args
) SWIG_fail
;
13352 swig_obj
[0] = args
;
13353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13357 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13365 wxPyInputStream
* _ptr
= NULL
;
13368 _ptr
= new wxPyInputStream(result
);
13370 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13378 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13379 PyObject
*resultobj
= 0;
13380 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13381 wxInputStream
*result
= 0 ;
13384 PyObject
*swig_obj
[1] ;
13386 if (!args
) SWIG_fail
;
13387 swig_obj
[0] = args
;
13388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13389 if (!SWIG_IsOK(res1
)) {
13390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13392 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13400 wxPyInputStream
* _ptr
= NULL
;
13403 _ptr
= new wxPyInputStream(result
);
13405 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13413 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 PyObject
*resultobj
= 0;
13415 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13416 wxOutputStream
*result
= 0 ;
13419 PyObject
*swig_obj
[1] ;
13421 if (!args
) SWIG_fail
;
13422 swig_obj
[0] = args
;
13423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13424 if (!SWIG_IsOK(res1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13427 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13441 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13442 PyObject
*resultobj
= 0;
13443 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13446 PyObject
*swig_obj
[1] ;
13448 if (!args
) SWIG_fail
;
13449 swig_obj
[0] = args
;
13450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13451 if (!SWIG_IsOK(res1
)) {
13452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13454 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 (arg1
)->CloseOutput();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_Py_Void();
13468 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 PyObject
*resultobj
= 0;
13470 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13474 PyObject
*swig_obj
[1] ;
13476 if (!args
) SWIG_fail
;
13477 swig_obj
[0] = args
;
13478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13479 if (!SWIG_IsOK(res1
)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13482 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13499 PyObject
*resultobj
= 0;
13500 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13504 PyObject
*swig_obj
[1] ;
13506 if (!args
) SWIG_fail
;
13507 swig_obj
[0] = args
;
13508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13509 if (!SWIG_IsOK(res1
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13512 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13528 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13529 PyObject
*resultobj
= 0;
13530 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13534 PyObject
*swig_obj
[1] ;
13536 if (!args
) SWIG_fail
;
13537 swig_obj
[0] = args
;
13538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13539 if (!SWIG_IsOK(res1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13542 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13558 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13561 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13562 return SWIG_Py_Void();
13565 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 return SWIG_Python_InitShadowInstance(args
);
13569 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
= 0;
13571 int arg1
= (int) 0 ;
13572 int arg2
= (int) 0 ;
13573 int arg3
= (int) 0 ;
13574 wxProcessEvent
*result
= 0 ;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 PyObject
* obj2
= 0 ;
13584 char * kwnames
[] = {
13585 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13591 if (!SWIG_IsOK(ecode1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13594 arg1
= static_cast< int >(val1
);
13597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13598 if (!SWIG_IsOK(ecode2
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13601 arg2
= static_cast< int >(val2
);
13604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13605 if (!SWIG_IsOK(ecode3
)) {
13606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13608 arg3
= static_cast< int >(val3
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13623 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13624 PyObject
*resultobj
= 0;
13625 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13629 PyObject
*swig_obj
[1] ;
13631 if (!args
) SWIG_fail
;
13632 swig_obj
[0] = args
;
13633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13634 if (!SWIG_IsOK(res1
)) {
13635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13637 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (int)(arg1
)->GetPid();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= SWIG_From_int(static_cast< int >(result
));
13651 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13652 PyObject
*resultobj
= 0;
13653 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13657 PyObject
*swig_obj
[1] ;
13659 if (!args
) SWIG_fail
;
13660 swig_obj
[0] = args
;
13661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13662 if (!SWIG_IsOK(res1
)) {
13663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13665 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (int)(arg1
)->GetExitCode();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_From_int(static_cast< int >(result
));
13679 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13680 PyObject
*resultobj
= 0;
13681 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13687 PyObject
*swig_obj
[2] ;
13689 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13691 if (!SWIG_IsOK(res1
)) {
13692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13694 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13695 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13696 if (!SWIG_IsOK(ecode2
)) {
13697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13699 arg2
= static_cast< int >(val2
);
13700 if (arg1
) (arg1
)->m_pid
= arg2
;
13702 resultobj
= SWIG_Py_Void();
13709 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13710 PyObject
*resultobj
= 0;
13711 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13715 PyObject
*swig_obj
[1] ;
13717 if (!args
) SWIG_fail
;
13718 swig_obj
[0] = args
;
13719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13723 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13724 result
= (int) ((arg1
)->m_pid
);
13725 resultobj
= SWIG_From_int(static_cast< int >(result
));
13732 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13733 PyObject
*resultobj
= 0;
13734 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13740 PyObject
*swig_obj
[2] ;
13742 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13744 if (!SWIG_IsOK(res1
)) {
13745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13747 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13748 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13749 if (!SWIG_IsOK(ecode2
)) {
13750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13752 arg2
= static_cast< int >(val2
);
13753 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13755 resultobj
= SWIG_Py_Void();
13762 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13763 PyObject
*resultobj
= 0;
13764 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13768 PyObject
*swig_obj
[1] ;
13770 if (!args
) SWIG_fail
;
13771 swig_obj
[0] = args
;
13772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13773 if (!SWIG_IsOK(res1
)) {
13774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13776 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13777 result
= (int) ((arg1
)->m_exitcode
);
13778 resultobj
= SWIG_From_int(static_cast< int >(result
));
13785 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13788 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13789 return SWIG_Py_Void();
13792 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13793 return SWIG_Python_InitShadowInstance(args
);
13796 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
= 0;
13798 wxString
*arg1
= 0 ;
13799 int arg2
= (int) wxEXEC_ASYNC
;
13800 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13802 bool temp1
= false ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 PyObject
* obj2
= 0 ;
13810 char * kwnames
[] = {
13811 (char *) "command",(char *) "flags",(char *) "process", NULL
13814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13816 arg1
= wxString_in_helper(obj0
);
13817 if (arg1
== NULL
) SWIG_fail
;
13821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13822 if (!SWIG_IsOK(ecode2
)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13825 arg2
= static_cast< int >(val2
);
13828 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13829 if (!SWIG_IsOK(res3
)) {
13830 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13832 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13835 if (!wxPyCheckForApp()) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_From_long(static_cast< long >(result
));
13856 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
= 0;
13859 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13860 wxKillError
*arg3
= (wxKillError
*) 0 ;
13861 int arg4
= (int) wxKILL_NOCHILDREN
;
13867 wxKillError temp3
;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 PyObject
* obj2
= 0 ;
13873 char * kwnames
[] = {
13874 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13881 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13882 if (!SWIG_IsOK(ecode1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13885 arg1
= static_cast< long >(val1
);
13887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13888 if (!SWIG_IsOK(ecode2
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13891 arg2
= static_cast< wxSignal
>(val2
);
13894 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13895 if (!SWIG_IsOK(ecode4
)) {
13896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13898 arg4
= static_cast< int >(val4
);
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_From_int(static_cast< int >(result
));
13909 o
= PyInt_FromLong((long) (*arg3
));
13913 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13922 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
= 0;
13924 int arg1
= (int) wxJOYSTICK1
;
13925 wxJoystick
*result
= 0 ;
13928 PyObject
* obj0
= 0 ;
13929 char * kwnames
[] = {
13930 (char *) "joystick", NULL
13933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13935 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13936 if (!SWIG_IsOK(ecode1
)) {
13937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13939 arg1
= static_cast< int >(val1
);
13942 if (!wxPyCheckForApp()) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 result
= (wxJoystick
*)new wxJoystick(arg1
);
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13955 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13956 PyObject
*resultobj
= 0;
13957 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13960 PyObject
*swig_obj
[1] ;
13962 if (!args
) SWIG_fail
;
13963 swig_obj
[0] = args
;
13964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13965 if (!SWIG_IsOK(res1
)) {
13966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13968 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13976 resultobj
= SWIG_Py_Void();
13983 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13984 PyObject
*resultobj
= 0;
13985 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13989 PyObject
*swig_obj
[1] ;
13991 if (!args
) SWIG_fail
;
13992 swig_obj
[0] = args
;
13993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13994 if (!SWIG_IsOK(res1
)) {
13995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13997 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (arg1
)->GetPosition();
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14011 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14012 PyObject
*resultobj
= 0;
14013 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14017 PyObject
*swig_obj
[1] ;
14019 if (!args
) SWIG_fail
;
14020 swig_obj
[0] = args
;
14021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14022 if (!SWIG_IsOK(res1
)) {
14023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14025 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (int)(arg1
)->GetZPosition();
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= SWIG_From_int(static_cast< int >(result
));
14039 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14040 PyObject
*resultobj
= 0;
14041 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14045 PyObject
*swig_obj
[1] ;
14047 if (!args
) SWIG_fail
;
14048 swig_obj
[0] = args
;
14049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14050 if (!SWIG_IsOK(res1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14053 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 result
= (int)(arg1
)->GetButtonState();
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= SWIG_From_int(static_cast< int >(result
));
14067 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14068 PyObject
*resultobj
= 0;
14069 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14073 PyObject
*swig_obj
[1] ;
14075 if (!args
) SWIG_fail
;
14076 swig_obj
[0] = args
;
14077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14078 if (!SWIG_IsOK(res1
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14081 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (int)(arg1
)->GetPOVPosition();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_From_int(static_cast< int >(result
));
14095 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14096 PyObject
*resultobj
= 0;
14097 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14101 PyObject
*swig_obj
[1] ;
14103 if (!args
) SWIG_fail
;
14104 swig_obj
[0] = args
;
14105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14106 if (!SWIG_IsOK(res1
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14109 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (int)(arg1
)->GetPOVCTSPosition();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_From_int(static_cast< int >(result
));
14123 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14124 PyObject
*resultobj
= 0;
14125 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14129 PyObject
*swig_obj
[1] ;
14131 if (!args
) SWIG_fail
;
14132 swig_obj
[0] = args
;
14133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14134 if (!SWIG_IsOK(res1
)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14137 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (int)(arg1
)->GetRudderPosition();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= SWIG_From_int(static_cast< int >(result
));
14151 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14152 PyObject
*resultobj
= 0;
14153 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14157 PyObject
*swig_obj
[1] ;
14159 if (!args
) SWIG_fail
;
14160 swig_obj
[0] = args
;
14161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14162 if (!SWIG_IsOK(res1
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14165 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (int)(arg1
)->GetUPosition();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_From_int(static_cast< int >(result
));
14179 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14180 PyObject
*resultobj
= 0;
14181 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14185 PyObject
*swig_obj
[1] ;
14187 if (!args
) SWIG_fail
;
14188 swig_obj
[0] = args
;
14189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14190 if (!SWIG_IsOK(res1
)) {
14191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14193 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (int)(arg1
)->GetVPosition();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_From_int(static_cast< int >(result
));
14207 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14208 PyObject
*resultobj
= 0;
14209 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14213 PyObject
*swig_obj
[1] ;
14215 if (!args
) SWIG_fail
;
14216 swig_obj
[0] = args
;
14217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14218 if (!SWIG_IsOK(res1
)) {
14219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14221 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (int)(arg1
)->GetMovementThreshold();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_From_int(static_cast< int >(result
));
14235 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
= 0;
14237 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 PyObject
* obj1
= 0 ;
14245 char * kwnames
[] = {
14246 (char *) "self",(char *) "threshold", NULL
14249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14251 if (!SWIG_IsOK(res1
)) {
14252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14254 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14256 if (!SWIG_IsOK(ecode2
)) {
14257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14259 arg2
= static_cast< int >(val2
);
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 (arg1
)->SetMovementThreshold(arg2
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_Py_Void();
14273 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14274 PyObject
*resultobj
= 0;
14275 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14279 PyObject
*swig_obj
[1] ;
14281 if (!args
) SWIG_fail
;
14282 swig_obj
[0] = args
;
14283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14284 if (!SWIG_IsOK(res1
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14287 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (bool)(arg1
)->IsOk();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14304 PyObject
*resultobj
= 0;
14305 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14309 PyObject
*swig_obj
[1] ;
14311 if (!args
) SWIG_fail
;
14312 swig_obj
[0] = args
;
14313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14314 if (!SWIG_IsOK(res1
)) {
14315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14317 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (int)(arg1
)->GetNumberJoysticks();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_From_int(static_cast< int >(result
));
14331 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14332 PyObject
*resultobj
= 0;
14333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14337 PyObject
*swig_obj
[1] ;
14339 if (!args
) SWIG_fail
;
14340 swig_obj
[0] = args
;
14341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14342 if (!SWIG_IsOK(res1
)) {
14343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14345 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (int)(arg1
)->GetManufacturerId();
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= SWIG_From_int(static_cast< int >(result
));
14359 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14360 PyObject
*resultobj
= 0;
14361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14365 PyObject
*swig_obj
[1] ;
14367 if (!args
) SWIG_fail
;
14368 swig_obj
[0] = args
;
14369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14370 if (!SWIG_IsOK(res1
)) {
14371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14373 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (int)(arg1
)->GetProductId();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_From_int(static_cast< int >(result
));
14387 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14388 PyObject
*resultobj
= 0;
14389 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14393 PyObject
*swig_obj
[1] ;
14395 if (!args
) SWIG_fail
;
14396 swig_obj
[0] = args
;
14397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14398 if (!SWIG_IsOK(res1
)) {
14399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14401 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (arg1
)->GetProductName();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14421 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14422 PyObject
*resultobj
= 0;
14423 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14427 PyObject
*swig_obj
[1] ;
14429 if (!args
) SWIG_fail
;
14430 swig_obj
[0] = args
;
14431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14432 if (!SWIG_IsOK(res1
)) {
14433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14435 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (int)(arg1
)->GetXMin();
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_From_int(static_cast< int >(result
));
14449 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14450 PyObject
*resultobj
= 0;
14451 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14455 PyObject
*swig_obj
[1] ;
14457 if (!args
) SWIG_fail
;
14458 swig_obj
[0] = args
;
14459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14460 if (!SWIG_IsOK(res1
)) {
14461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14463 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (int)(arg1
)->GetYMin();
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= SWIG_From_int(static_cast< int >(result
));
14477 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14478 PyObject
*resultobj
= 0;
14479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14483 PyObject
*swig_obj
[1] ;
14485 if (!args
) SWIG_fail
;
14486 swig_obj
[0] = args
;
14487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14488 if (!SWIG_IsOK(res1
)) {
14489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14491 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (int)(arg1
)->GetZMin();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= SWIG_From_int(static_cast< int >(result
));
14505 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14506 PyObject
*resultobj
= 0;
14507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14511 PyObject
*swig_obj
[1] ;
14513 if (!args
) SWIG_fail
;
14514 swig_obj
[0] = args
;
14515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14516 if (!SWIG_IsOK(res1
)) {
14517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14519 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= (int)(arg1
)->GetXMax();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= SWIG_From_int(static_cast< int >(result
));
14533 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14534 PyObject
*resultobj
= 0;
14535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14539 PyObject
*swig_obj
[1] ;
14541 if (!args
) SWIG_fail
;
14542 swig_obj
[0] = args
;
14543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14544 if (!SWIG_IsOK(res1
)) {
14545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14547 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (int)(arg1
)->GetYMax();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_From_int(static_cast< int >(result
));
14561 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14562 PyObject
*resultobj
= 0;
14563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14567 PyObject
*swig_obj
[1] ;
14569 if (!args
) SWIG_fail
;
14570 swig_obj
[0] = args
;
14571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14572 if (!SWIG_IsOK(res1
)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14575 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (int)(arg1
)->GetZMax();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_From_int(static_cast< int >(result
));
14589 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14590 PyObject
*resultobj
= 0;
14591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14595 PyObject
*swig_obj
[1] ;
14597 if (!args
) SWIG_fail
;
14598 swig_obj
[0] = args
;
14599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14603 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (int)(arg1
)->GetNumberButtons();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_From_int(static_cast< int >(result
));
14617 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14618 PyObject
*resultobj
= 0;
14619 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14623 PyObject
*swig_obj
[1] ;
14625 if (!args
) SWIG_fail
;
14626 swig_obj
[0] = args
;
14627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14628 if (!SWIG_IsOK(res1
)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14631 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (int)(arg1
)->GetNumberAxes();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_From_int(static_cast< int >(result
));
14645 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14646 PyObject
*resultobj
= 0;
14647 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14651 PyObject
*swig_obj
[1] ;
14653 if (!args
) SWIG_fail
;
14654 swig_obj
[0] = args
;
14655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14656 if (!SWIG_IsOK(res1
)) {
14657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14659 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (int)(arg1
)->GetMaxButtons();
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= SWIG_From_int(static_cast< int >(result
));
14673 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14674 PyObject
*resultobj
= 0;
14675 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14679 PyObject
*swig_obj
[1] ;
14681 if (!args
) SWIG_fail
;
14682 swig_obj
[0] = args
;
14683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14684 if (!SWIG_IsOK(res1
)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14687 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= (int)(arg1
)->GetMaxAxes();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= SWIG_From_int(static_cast< int >(result
));
14701 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14702 PyObject
*resultobj
= 0;
14703 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14707 PyObject
*swig_obj
[1] ;
14709 if (!args
) SWIG_fail
;
14710 swig_obj
[0] = args
;
14711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14712 if (!SWIG_IsOK(res1
)) {
14713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14715 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= (int)(arg1
)->GetPollingMin();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_From_int(static_cast< int >(result
));
14729 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14730 PyObject
*resultobj
= 0;
14731 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14735 PyObject
*swig_obj
[1] ;
14737 if (!args
) SWIG_fail
;
14738 swig_obj
[0] = args
;
14739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14743 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (int)(arg1
)->GetPollingMax();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_From_int(static_cast< int >(result
));
14757 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14758 PyObject
*resultobj
= 0;
14759 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14763 PyObject
*swig_obj
[1] ;
14765 if (!args
) SWIG_fail
;
14766 swig_obj
[0] = args
;
14767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14771 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (int)(arg1
)->GetRudderMin();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_From_int(static_cast< int >(result
));
14785 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14786 PyObject
*resultobj
= 0;
14787 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14791 PyObject
*swig_obj
[1] ;
14793 if (!args
) SWIG_fail
;
14794 swig_obj
[0] = args
;
14795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14796 if (!SWIG_IsOK(res1
)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14799 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (int)(arg1
)->GetRudderMax();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_From_int(static_cast< int >(result
));
14813 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14819 PyObject
*swig_obj
[1] ;
14821 if (!args
) SWIG_fail
;
14822 swig_obj
[0] = args
;
14823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14827 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (int)(arg1
)->GetUMin();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_From_int(static_cast< int >(result
));
14841 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14842 PyObject
*resultobj
= 0;
14843 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14847 PyObject
*swig_obj
[1] ;
14849 if (!args
) SWIG_fail
;
14850 swig_obj
[0] = args
;
14851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14852 if (!SWIG_IsOK(res1
)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14855 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (int)(arg1
)->GetUMax();
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_From_int(static_cast< int >(result
));
14869 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14870 PyObject
*resultobj
= 0;
14871 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14875 PyObject
*swig_obj
[1] ;
14877 if (!args
) SWIG_fail
;
14878 swig_obj
[0] = args
;
14879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14880 if (!SWIG_IsOK(res1
)) {
14881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14883 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (int)(arg1
)->GetVMin();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_From_int(static_cast< int >(result
));
14897 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14898 PyObject
*resultobj
= 0;
14899 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14903 PyObject
*swig_obj
[1] ;
14905 if (!args
) SWIG_fail
;
14906 swig_obj
[0] = args
;
14907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14908 if (!SWIG_IsOK(res1
)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14911 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (int)(arg1
)->GetVMax();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_From_int(static_cast< int >(result
));
14925 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14926 PyObject
*resultobj
= 0;
14927 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14931 PyObject
*swig_obj
[1] ;
14933 if (!args
) SWIG_fail
;
14934 swig_obj
[0] = args
;
14935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14936 if (!SWIG_IsOK(res1
)) {
14937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14939 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (bool)(arg1
)->HasRudder();
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14955 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14956 PyObject
*resultobj
= 0;
14957 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14961 PyObject
*swig_obj
[1] ;
14963 if (!args
) SWIG_fail
;
14964 swig_obj
[0] = args
;
14965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14966 if (!SWIG_IsOK(res1
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14969 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (bool)(arg1
)->HasZ();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14985 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14986 PyObject
*resultobj
= 0;
14987 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14991 PyObject
*swig_obj
[1] ;
14993 if (!args
) SWIG_fail
;
14994 swig_obj
[0] = args
;
14995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14999 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (bool)(arg1
)->HasU();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15015 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15016 PyObject
*resultobj
= 0;
15017 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15021 PyObject
*swig_obj
[1] ;
15023 if (!args
) SWIG_fail
;
15024 swig_obj
[0] = args
;
15025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15026 if (!SWIG_IsOK(res1
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15029 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (bool)(arg1
)->HasV();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15046 PyObject
*resultobj
= 0;
15047 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15051 PyObject
*swig_obj
[1] ;
15053 if (!args
) SWIG_fail
;
15054 swig_obj
[0] = args
;
15055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15059 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (bool)(arg1
)->HasPOV();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15076 PyObject
*resultobj
= 0;
15077 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15081 PyObject
*swig_obj
[1] ;
15083 if (!args
) SWIG_fail
;
15084 swig_obj
[0] = args
;
15085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15089 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (bool)(arg1
)->HasPOV4Dir();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15105 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15106 PyObject
*resultobj
= 0;
15107 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15111 PyObject
*swig_obj
[1] ;
15113 if (!args
) SWIG_fail
;
15114 swig_obj
[0] = args
;
15115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15116 if (!SWIG_IsOK(res1
)) {
15117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15119 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (bool)(arg1
)->HasPOVCTS();
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15135 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15138 wxWindow
*arg2
= (wxWindow
*) 0 ;
15139 int arg3
= (int) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 PyObject
* obj2
= 0 ;
15150 char * kwnames
[] = {
15151 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15159 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15161 if (!SWIG_IsOK(res2
)) {
15162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15167 if (!SWIG_IsOK(ecode3
)) {
15168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15170 arg3
= static_cast< int >(val3
);
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15187 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15188 PyObject
*resultobj
= 0;
15189 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15193 PyObject
*swig_obj
[1] ;
15195 if (!args
) SWIG_fail
;
15196 swig_obj
[0] = args
;
15197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15198 if (!SWIG_IsOK(res1
)) {
15199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15201 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 result
= (bool)(arg1
)->ReleaseCapture();
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15217 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15220 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15221 return SWIG_Py_Void();
15224 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15225 return SWIG_Python_InitShadowInstance(args
);
15228 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
= 0;
15230 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15231 int arg2
= (int) 0 ;
15232 int arg3
= (int) wxJOYSTICK1
;
15233 int arg4
= (int) 0 ;
15234 wxJoystickEvent
*result
= 0 ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 PyObject
* obj2
= 0 ;
15246 PyObject
* obj3
= 0 ;
15247 char * kwnames
[] = {
15248 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15254 if (!SWIG_IsOK(ecode1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15257 arg1
= static_cast< wxEventType
>(val1
);
15260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15261 if (!SWIG_IsOK(ecode2
)) {
15262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15264 arg2
= static_cast< int >(val2
);
15267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15268 if (!SWIG_IsOK(ecode3
)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15271 arg3
= static_cast< int >(val3
);
15274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15275 if (!SWIG_IsOK(ecode4
)) {
15276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15278 arg4
= static_cast< int >(val4
);
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15293 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15294 PyObject
*resultobj
= 0;
15295 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15299 PyObject
*swig_obj
[1] ;
15301 if (!args
) SWIG_fail
;
15302 swig_obj
[0] = args
;
15303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15304 if (!SWIG_IsOK(res1
)) {
15305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15307 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15321 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15322 PyObject
*resultobj
= 0;
15323 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15327 PyObject
*swig_obj
[1] ;
15329 if (!args
) SWIG_fail
;
15330 swig_obj
[0] = args
;
15331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15332 if (!SWIG_IsOK(res1
)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15335 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_From_int(static_cast< int >(result
));
15349 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15350 PyObject
*resultobj
= 0;
15351 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15355 PyObject
*swig_obj
[1] ;
15357 if (!args
) SWIG_fail
;
15358 swig_obj
[0] = args
;
15359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15363 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= SWIG_From_int(static_cast< int >(result
));
15377 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15378 PyObject
*resultobj
= 0;
15379 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15383 PyObject
*swig_obj
[1] ;
15385 if (!args
) SWIG_fail
;
15386 swig_obj
[0] = args
;
15387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15388 if (!SWIG_IsOK(res1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15391 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= SWIG_From_int(static_cast< int >(result
));
15405 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15406 PyObject
*resultobj
= 0;
15407 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15411 PyObject
*swig_obj
[1] ;
15413 if (!args
) SWIG_fail
;
15414 swig_obj
[0] = args
;
15415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15416 if (!SWIG_IsOK(res1
)) {
15417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15419 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_From_int(static_cast< int >(result
));
15433 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
= 0;
15435 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 char * kwnames
[] = {
15444 (char *) "self",(char *) "stick", NULL
15447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15449 if (!SWIG_IsOK(res1
)) {
15450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15452 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15454 if (!SWIG_IsOK(ecode2
)) {
15455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15457 arg2
= static_cast< int >(val2
);
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 (arg1
)->SetJoystick(arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= SWIG_Py_Void();
15471 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
= 0;
15473 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 char * kwnames
[] = {
15482 (char *) "self",(char *) "state", NULL
15485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15487 if (!SWIG_IsOK(res1
)) {
15488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15490 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15492 if (!SWIG_IsOK(ecode2
)) {
15493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15495 arg2
= static_cast< int >(val2
);
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 (arg1
)->SetButtonState(arg2
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= SWIG_Py_Void();
15509 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
= 0;
15511 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 char * kwnames
[] = {
15520 (char *) "self",(char *) "change", NULL
15523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15525 if (!SWIG_IsOK(res1
)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15528 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15530 if (!SWIG_IsOK(ecode2
)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15533 arg2
= static_cast< int >(val2
);
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 (arg1
)->SetButtonChange(arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= SWIG_Py_Void();
15547 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
= 0;
15549 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15550 wxPoint
*arg2
= 0 ;
15554 PyObject
* obj0
= 0 ;
15555 PyObject
* obj1
= 0 ;
15556 char * kwnames
[] = {
15557 (char *) "self",(char *) "pos", NULL
15560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15562 if (!SWIG_IsOK(res1
)) {
15563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15565 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_Py_Void();
15583 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
= 0;
15585 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15591 PyObject
* obj0
= 0 ;
15592 PyObject
* obj1
= 0 ;
15593 char * kwnames
[] = {
15594 (char *) "self",(char *) "zPos", NULL
15597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15602 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15604 if (!SWIG_IsOK(ecode2
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15607 arg2
= static_cast< int >(val2
);
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 (arg1
)->SetZPosition(arg2
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= SWIG_Py_Void();
15621 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15622 PyObject
*resultobj
= 0;
15623 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15627 PyObject
*swig_obj
[1] ;
15629 if (!args
) SWIG_fail
;
15630 swig_obj
[0] = args
;
15631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15632 if (!SWIG_IsOK(res1
)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15635 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15651 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15652 PyObject
*resultobj
= 0;
15653 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15657 PyObject
*swig_obj
[1] ;
15659 if (!args
) SWIG_fail
;
15660 swig_obj
[0] = args
;
15661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15662 if (!SWIG_IsOK(res1
)) {
15663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15665 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15681 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15682 PyObject
*resultobj
= 0;
15683 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15687 PyObject
*swig_obj
[1] ;
15689 if (!args
) SWIG_fail
;
15690 swig_obj
[0] = args
;
15691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15692 if (!SWIG_IsOK(res1
)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15695 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15711 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
= 0;
15713 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15714 int arg2
= (int) wxJOY_BUTTON_ANY
;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 char * kwnames
[] = {
15723 (char *) "self",(char *) "but", NULL
15726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15731 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15734 if (!SWIG_IsOK(ecode2
)) {
15735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15737 arg2
= static_cast< int >(val2
);
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15754 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
= 0;
15756 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15757 int arg2
= (int) wxJOY_BUTTON_ANY
;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 char * kwnames
[] = {
15766 (char *) "self",(char *) "but", NULL
15769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15774 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15777 if (!SWIG_IsOK(ecode2
)) {
15778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15780 arg2
= static_cast< int >(val2
);
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15797 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
= 0;
15799 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15800 int arg2
= (int) wxJOY_BUTTON_ANY
;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 char * kwnames
[] = {
15809 (char *) "self",(char *) "but", NULL
15812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15814 if (!SWIG_IsOK(res1
)) {
15815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15817 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15820 if (!SWIG_IsOK(ecode2
)) {
15821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15823 arg2
= static_cast< int >(val2
);
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15840 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15843 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15844 return SWIG_Py_Void();
15847 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15848 return SWIG_Python_InitShadowInstance(args
);
15851 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
= 0;
15853 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15854 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15855 wxSound
*result
= 0 ;
15856 bool temp1
= false ;
15857 PyObject
* obj0
= 0 ;
15858 char * kwnames
[] = {
15859 (char *) "fileName", NULL
15862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15865 arg1
= wxString_in_helper(obj0
);
15866 if (arg1
== NULL
) SWIG_fail
;
15871 if (!wxPyCheckForApp()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15892 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
= 0;
15894 PyObject
*arg1
= (PyObject
*) 0 ;
15895 wxSound
*result
= 0 ;
15896 PyObject
* obj0
= 0 ;
15897 char * kwnames
[] = {
15898 (char *) "data", NULL
15901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15904 if (!wxPyCheckForApp()) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (wxSound
*)new_wxSound(arg1
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15917 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15918 PyObject
*resultobj
= 0;
15919 wxSound
*arg1
= (wxSound
*) 0 ;
15922 PyObject
*swig_obj
[1] ;
15924 if (!args
) SWIG_fail
;
15925 swig_obj
[0] = args
;
15926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15930 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= SWIG_Py_Void();
15945 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
= 0;
15947 wxSound
*arg1
= (wxSound
*) 0 ;
15948 wxString
*arg2
= 0 ;
15952 bool temp2
= false ;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 char * kwnames
[] = {
15956 (char *) "self",(char *) "fileName", NULL
15959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15961 if (!SWIG_IsOK(res1
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15964 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15966 arg2
= wxString_in_helper(obj1
);
15967 if (arg2
== NULL
) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15993 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
= 0;
15995 wxSound
*arg1
= (wxSound
*) 0 ;
15996 PyObject
*arg2
= (PyObject
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 PyObject
* obj1
= 0 ;
16002 char * kwnames
[] = {
16003 (char *) "self",(char *) "data", NULL
16006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16008 if (!SWIG_IsOK(res1
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
16011 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16028 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16029 PyObject
*resultobj
= 0;
16030 wxSound
*arg1
= (wxSound
*) 0 ;
16034 PyObject
*swig_obj
[1] ;
16036 if (!args
) SWIG_fail
;
16037 swig_obj
[0] = args
;
16038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16039 if (!SWIG_IsOK(res1
)) {
16040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16042 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)(arg1
)->IsOk();
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16058 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
= 0;
16060 wxSound
*arg1
= (wxSound
*) 0 ;
16061 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16065 unsigned int val2
;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 char * kwnames
[] = {
16070 (char *) "self",(char *) "flags", NULL
16073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16075 if (!SWIG_IsOK(res1
)) {
16076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16078 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16080 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16081 if (!SWIG_IsOK(ecode2
)) {
16082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16084 arg2
= static_cast< unsigned int >(val2
);
16087 if (!wxPyCheckForApp()) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16102 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
= 0;
16104 wxString
*arg1
= 0 ;
16105 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16107 bool temp1
= false ;
16108 unsigned int val2
;
16110 PyObject
* obj0
= 0 ;
16111 PyObject
* obj1
= 0 ;
16112 char * kwnames
[] = {
16113 (char *) "filename",(char *) "flags", NULL
16116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16118 arg1
= wxString_in_helper(obj0
);
16119 if (arg1
== NULL
) SWIG_fail
;
16123 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16124 if (!SWIG_IsOK(ecode2
)) {
16125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16127 arg2
= static_cast< unsigned int >(val2
);
16130 if (!wxPyCheckForApp()) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16153 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16154 PyObject
*resultobj
= 0;
16156 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16158 if (!wxPyCheckForApp()) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= SWIG_Py_Void();
16171 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16174 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16175 return SWIG_Py_Void();
16178 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16179 return SWIG_Python_InitShadowInstance(args
);
16182 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
= 0;
16184 wxString
*arg1
= 0 ;
16185 wxString
*arg2
= 0 ;
16186 wxString
*arg3
= 0 ;
16187 wxString
*arg4
= 0 ;
16188 wxFileTypeInfo
*result
= 0 ;
16189 bool temp1
= false ;
16190 bool temp2
= false ;
16191 bool temp3
= false ;
16192 bool temp4
= false ;
16193 PyObject
* obj0
= 0 ;
16194 PyObject
* obj1
= 0 ;
16195 PyObject
* obj2
= 0 ;
16196 PyObject
* obj3
= 0 ;
16197 char * kwnames
[] = {
16198 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16203 arg1
= wxString_in_helper(obj0
);
16204 if (arg1
== NULL
) SWIG_fail
;
16208 arg2
= wxString_in_helper(obj1
);
16209 if (arg2
== NULL
) SWIG_fail
;
16213 arg3
= wxString_in_helper(obj2
);
16214 if (arg3
== NULL
) SWIG_fail
;
16218 arg4
= wxString_in_helper(obj3
);
16219 if (arg4
== NULL
) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16267 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
= 0;
16269 wxArrayString
*arg1
= 0 ;
16270 wxFileTypeInfo
*result
= 0 ;
16271 bool temp1
= false ;
16272 PyObject
* obj0
= 0 ;
16273 char * kwnames
[] = {
16274 (char *) "sArray", NULL
16277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16279 if (! PySequence_Check(obj0
)) {
16280 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16283 arg1
= new wxArrayString
;
16285 int i
, len
=PySequence_Length(obj0
);
16286 for (i
=0; i
<len
; i
++) {
16287 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16288 wxString
* s
= wxString_in_helper(item
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16303 if (temp1
) delete arg1
;
16308 if (temp1
) delete arg1
;
16314 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16315 PyObject
*resultobj
= 0;
16316 wxFileTypeInfo
*result
= 0 ;
16318 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16332 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16333 PyObject
*resultobj
= 0;
16334 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16338 PyObject
*swig_obj
[1] ;
16340 if (!args
) SWIG_fail
;
16341 swig_obj
[0] = args
;
16342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16346 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16362 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
= 0;
16364 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16365 wxString
*arg2
= 0 ;
16366 int arg3
= (int) 0 ;
16369 bool temp2
= false ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 PyObject
* obj2
= 0 ;
16375 char * kwnames
[] = {
16376 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16381 if (!SWIG_IsOK(res1
)) {
16382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16384 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16386 arg2
= wxString_in_helper(obj1
);
16387 if (arg2
== NULL
) SWIG_fail
;
16391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16392 if (!SWIG_IsOK(ecode3
)) {
16393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16395 arg3
= static_cast< int >(val3
);
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= SWIG_Py_Void();
16418 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
= 0;
16420 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16421 wxString
*arg2
= 0 ;
16424 bool temp2
= false ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char * kwnames
[] = {
16428 (char *) "self",(char *) "shortDesc", NULL
16431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16436 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16438 arg2
= wxString_in_helper(obj1
);
16439 if (arg2
== NULL
) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_Py_Void();
16463 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16464 PyObject
*resultobj
= 0;
16465 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16466 wxString
*result
= 0 ;
16469 PyObject
*swig_obj
[1] ;
16471 if (!args
) SWIG_fail
;
16472 swig_obj
[0] = args
;
16473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16474 if (!SWIG_IsOK(res1
)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16477 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16482 result
= (wxString
*) &_result_ref
;
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16491 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16500 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16501 PyObject
*resultobj
= 0;
16502 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16503 wxString
*result
= 0 ;
16506 PyObject
*swig_obj
[1] ;
16508 if (!args
) SWIG_fail
;
16509 swig_obj
[0] = args
;
16510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16511 if (!SWIG_IsOK(res1
)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16514 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16519 result
= (wxString
*) &_result_ref
;
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16528 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16537 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16538 PyObject
*resultobj
= 0;
16539 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16540 wxString
*result
= 0 ;
16543 PyObject
*swig_obj
[1] ;
16545 if (!args
) SWIG_fail
;
16546 swig_obj
[0] = args
;
16547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16551 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16556 result
= (wxString
*) &_result_ref
;
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16565 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16574 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16575 PyObject
*resultobj
= 0;
16576 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16577 wxString
*result
= 0 ;
16580 PyObject
*swig_obj
[1] ;
16582 if (!args
) SWIG_fail
;
16583 swig_obj
[0] = args
;
16584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16585 if (!SWIG_IsOK(res1
)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16588 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16593 result
= (wxString
*) &_result_ref
;
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16602 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16611 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16612 PyObject
*resultobj
= 0;
16613 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16614 wxString
*result
= 0 ;
16617 PyObject
*swig_obj
[1] ;
16619 if (!args
) SWIG_fail
;
16620 swig_obj
[0] = args
;
16621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16625 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16630 result
= (wxString
*) &_result_ref
;
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16639 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16648 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16649 PyObject
*resultobj
= 0;
16650 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16651 wxArrayString
*result
= 0 ;
16654 PyObject
*swig_obj
[1] ;
16656 if (!args
) SWIG_fail
;
16657 swig_obj
[0] = args
;
16658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16659 if (!SWIG_IsOK(res1
)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16662 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16667 result
= (wxArrayString
*) &_result_ref
;
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= wxArrayString2PyList_helper(*result
);
16681 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16682 PyObject
*resultobj
= 0;
16683 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16687 PyObject
*swig_obj
[1] ;
16689 if (!args
) SWIG_fail
;
16690 swig_obj
[0] = args
;
16691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16692 if (!SWIG_IsOK(res1
)) {
16693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16695 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16709 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16710 PyObject
*resultobj
= 0;
16711 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16712 wxString
*result
= 0 ;
16715 PyObject
*swig_obj
[1] ;
16717 if (!args
) SWIG_fail
;
16718 swig_obj
[0] = args
;
16719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16720 if (!SWIG_IsOK(res1
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16723 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16728 result
= (wxString
*) &_result_ref
;
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16737 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16746 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16747 PyObject
*resultobj
= 0;
16748 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16752 PyObject
*swig_obj
[1] ;
16754 if (!args
) SWIG_fail
;
16755 swig_obj
[0] = args
;
16756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16757 if (!SWIG_IsOK(res1
)) {
16758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16760 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_From_int(static_cast< int >(result
));
16774 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16777 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16778 return SWIG_Py_Void();
16781 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16782 return SWIG_Python_InitShadowInstance(args
);
16785 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
= 0;
16787 wxFileTypeInfo
*arg1
= 0 ;
16788 wxFileType
*result
= 0 ;
16791 PyObject
* obj0
= 0 ;
16792 char * kwnames
[] = {
16793 (char *) "ftInfo", NULL
16796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16797 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16798 if (!SWIG_IsOK(res1
)) {
16799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16804 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16818 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16819 PyObject
*resultobj
= 0;
16820 wxFileType
*arg1
= (wxFileType
*) 0 ;
16823 PyObject
*swig_obj
[1] ;
16825 if (!args
) SWIG_fail
;
16826 swig_obj
[0] = args
;
16827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16828 if (!SWIG_IsOK(res1
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16831 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= SWIG_Py_Void();
16846 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16847 PyObject
*resultobj
= 0;
16848 wxFileType
*arg1
= (wxFileType
*) 0 ;
16849 PyObject
*result
= 0 ;
16852 PyObject
*swig_obj
[1] ;
16854 if (!args
) SWIG_fail
;
16855 swig_obj
[0] = args
;
16856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16857 if (!SWIG_IsOK(res1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16860 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= result
;
16874 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16875 PyObject
*resultobj
= 0;
16876 wxFileType
*arg1
= (wxFileType
*) 0 ;
16877 PyObject
*result
= 0 ;
16880 PyObject
*swig_obj
[1] ;
16882 if (!args
) SWIG_fail
;
16883 swig_obj
[0] = args
;
16884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16885 if (!SWIG_IsOK(res1
)) {
16886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16888 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= result
;
16902 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16903 PyObject
*resultobj
= 0;
16904 wxFileType
*arg1
= (wxFileType
*) 0 ;
16905 PyObject
*result
= 0 ;
16908 PyObject
*swig_obj
[1] ;
16910 if (!args
) SWIG_fail
;
16911 swig_obj
[0] = args
;
16912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16913 if (!SWIG_IsOK(res1
)) {
16914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16916 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= result
;
16930 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16931 PyObject
*resultobj
= 0;
16932 wxFileType
*arg1
= (wxFileType
*) 0 ;
16933 wxIcon
*result
= 0 ;
16936 PyObject
*swig_obj
[1] ;
16938 if (!args
) SWIG_fail
;
16939 swig_obj
[0] = args
;
16940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16941 if (!SWIG_IsOK(res1
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16944 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16958 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16959 PyObject
*resultobj
= 0;
16960 wxFileType
*arg1
= (wxFileType
*) 0 ;
16961 PyObject
*result
= 0 ;
16964 PyObject
*swig_obj
[1] ;
16966 if (!args
) SWIG_fail
;
16967 swig_obj
[0] = args
;
16968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16969 if (!SWIG_IsOK(res1
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16972 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= result
;
16986 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16987 PyObject
*resultobj
= 0;
16988 wxFileType
*arg1
= (wxFileType
*) 0 ;
16989 PyObject
*result
= 0 ;
16992 PyObject
*swig_obj
[1] ;
16994 if (!args
) SWIG_fail
;
16995 swig_obj
[0] = args
;
16996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16997 if (!SWIG_IsOK(res1
)) {
16998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
17000 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= result
;
17014 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
= 0;
17016 wxFileType
*arg1
= (wxFileType
*) 0 ;
17017 wxString
*arg2
= 0 ;
17018 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17019 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17020 PyObject
*result
= 0 ;
17023 bool temp2
= false ;
17024 bool temp3
= false ;
17025 PyObject
* obj0
= 0 ;
17026 PyObject
* obj1
= 0 ;
17027 PyObject
* obj2
= 0 ;
17028 char * kwnames
[] = {
17029 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17034 if (!SWIG_IsOK(res1
)) {
17035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17037 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17039 arg2
= wxString_in_helper(obj1
);
17040 if (arg2
== NULL
) SWIG_fail
;
17045 arg3
= wxString_in_helper(obj2
);
17046 if (arg3
== NULL
) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= result
;
17079 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
= 0;
17081 wxFileType
*arg1
= (wxFileType
*) 0 ;
17082 wxString
*arg2
= 0 ;
17083 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17084 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17085 PyObject
*result
= 0 ;
17088 bool temp2
= false ;
17089 bool temp3
= false ;
17090 PyObject
* obj0
= 0 ;
17091 PyObject
* obj1
= 0 ;
17092 PyObject
* obj2
= 0 ;
17093 char * kwnames
[] = {
17094 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17099 if (!SWIG_IsOK(res1
)) {
17100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17102 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17104 arg2
= wxString_in_helper(obj1
);
17105 if (arg2
== NULL
) SWIG_fail
;
17110 arg3
= wxString_in_helper(obj2
);
17111 if (arg3
== NULL
) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 resultobj
= result
;
17144 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
= 0;
17146 wxFileType
*arg1
= (wxFileType
*) 0 ;
17147 wxString
*arg2
= 0 ;
17148 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17149 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17150 PyObject
*result
= 0 ;
17153 bool temp2
= false ;
17154 bool temp3
= false ;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 PyObject
* obj2
= 0 ;
17158 char * kwnames
[] = {
17159 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17164 if (!SWIG_IsOK(res1
)) {
17165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17167 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17169 arg2
= wxString_in_helper(obj1
);
17170 if (arg2
== NULL
) SWIG_fail
;
17175 arg3
= wxString_in_helper(obj2
);
17176 if (arg3
== NULL
) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
;
17209 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
= 0;
17211 wxFileType
*arg1
= (wxFileType
*) 0 ;
17212 wxString
*arg2
= 0 ;
17213 wxString
*arg3
= 0 ;
17214 bool arg4
= (bool) true ;
17218 bool temp2
= false ;
17219 bool temp3
= false ;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 PyObject
* obj2
= 0 ;
17225 PyObject
* obj3
= 0 ;
17226 char * kwnames
[] = {
17227 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17232 if (!SWIG_IsOK(res1
)) {
17233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17235 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17237 arg2
= wxString_in_helper(obj1
);
17238 if (arg2
== NULL
) SWIG_fail
;
17242 arg3
= wxString_in_helper(obj2
);
17243 if (arg3
== NULL
) SWIG_fail
;
17247 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17248 if (!SWIG_IsOK(ecode4
)) {
17249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17251 arg4
= static_cast< bool >(val4
);
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17284 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
= 0;
17286 wxFileType
*arg1
= (wxFileType
*) 0 ;
17287 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17288 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17289 int arg3
= (int) 0 ;
17293 bool temp2
= false ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 PyObject
* obj2
= 0 ;
17299 char * kwnames
[] = {
17300 (char *) "self",(char *) "cmd",(char *) "index", NULL
17303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17305 if (!SWIG_IsOK(res1
)) {
17306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17308 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17311 arg2
= wxString_in_helper(obj1
);
17312 if (arg2
== NULL
) SWIG_fail
;
17317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17318 if (!SWIG_IsOK(ecode3
)) {
17319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17321 arg3
= static_cast< int >(val3
);
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17346 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17347 PyObject
*resultobj
= 0;
17348 wxFileType
*arg1
= (wxFileType
*) 0 ;
17352 PyObject
*swig_obj
[1] ;
17354 if (!args
) SWIG_fail
;
17355 swig_obj
[0] = args
;
17356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17357 if (!SWIG_IsOK(res1
)) {
17358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17360 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (bool)(arg1
)->Unassociate();
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17376 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
= 0;
17378 wxString
*arg1
= 0 ;
17379 wxString
*arg2
= 0 ;
17380 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17383 bool temp1
= false ;
17384 bool temp2
= false ;
17385 bool temp3
= false ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 PyObject
* obj2
= 0 ;
17389 char * kwnames
[] = {
17390 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17395 arg1
= wxString_in_helper(obj0
);
17396 if (arg1
== NULL
) SWIG_fail
;
17400 arg2
= wxString_in_helper(obj1
);
17401 if (arg2
== NULL
) SWIG_fail
;
17406 arg3
= wxString_in_helper(obj2
);
17407 if (arg3
== NULL
) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17454 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17457 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17458 return SWIG_Py_Void();
17461 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17462 return SWIG_Python_InitShadowInstance(args
);
17465 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17466 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17471 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17472 PyObject
*pyobj
= 0;
17474 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17479 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
= 0;
17481 wxString
*arg1
= 0 ;
17482 wxString
*arg2
= 0 ;
17484 bool temp1
= false ;
17485 bool temp2
= false ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char * kwnames
[] = {
17489 (char *) "mimeType",(char *) "wildcard", NULL
17492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17494 arg1
= wxString_in_helper(obj0
);
17495 if (arg1
== NULL
) SWIG_fail
;
17499 arg2
= wxString_in_helper(obj1
);
17500 if (arg2
== NULL
) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17534 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17535 PyObject
*resultobj
= 0;
17536 wxMimeTypesManager
*result
= 0 ;
17538 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17552 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
= 0;
17554 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17555 int arg2
= (int) wxMAILCAP_ALL
;
17556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17562 bool temp3
= false ;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 PyObject
* obj2
= 0 ;
17566 char * kwnames
[] = {
17567 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17572 if (!SWIG_IsOK(res1
)) {
17573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17575 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17578 if (!SWIG_IsOK(ecode2
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17581 arg2
= static_cast< int >(val2
);
17585 arg3
= wxString_in_helper(obj2
);
17586 if (arg3
== NULL
) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= SWIG_Py_Void();
17611 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17612 PyObject
*resultobj
= 0;
17613 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17616 PyObject
*swig_obj
[1] ;
17618 if (!args
) SWIG_fail
;
17619 swig_obj
[0] = args
;
17620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17621 if (!SWIG_IsOK(res1
)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17624 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 (arg1
)->ClearData();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_Py_Void();
17638 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
= 0;
17640 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17641 wxString
*arg2
= 0 ;
17642 wxFileType
*result
= 0 ;
17645 bool temp2
= false ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char * kwnames
[] = {
17649 (char *) "self",(char *) "ext", NULL
17652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17654 if (!SWIG_IsOK(res1
)) {
17655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17657 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17659 arg2
= wxString_in_helper(obj1
);
17660 if (arg2
== NULL
) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17684 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
= 0;
17686 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17687 wxString
*arg2
= 0 ;
17688 wxFileType
*result
= 0 ;
17691 bool temp2
= false ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char * kwnames
[] = {
17695 (char *) "self",(char *) "mimeType", NULL
17698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17700 if (!SWIG_IsOK(res1
)) {
17701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17703 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17705 arg2
= wxString_in_helper(obj1
);
17706 if (arg2
== NULL
) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17730 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
= 0;
17732 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17733 wxString
*arg2
= 0 ;
17734 bool arg3
= (bool) false ;
17738 bool temp2
= false ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 PyObject
* obj2
= 0 ;
17744 char * kwnames
[] = {
17745 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17750 if (!SWIG_IsOK(res1
)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17753 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17755 arg2
= wxString_in_helper(obj1
);
17756 if (arg2
== NULL
) SWIG_fail
;
17760 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17761 if (!SWIG_IsOK(ecode3
)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17764 arg3
= static_cast< bool >(val3
);
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17789 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
= 0;
17791 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17792 wxString
*arg2
= 0 ;
17796 bool temp2
= false ;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 char * kwnames
[] = {
17800 (char *) "self",(char *) "filename", NULL
17803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17805 if (!SWIG_IsOK(res1
)) {
17806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17808 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17810 arg2
= wxString_in_helper(obj1
);
17811 if (arg2
== NULL
) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17837 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17838 PyObject
*resultobj
= 0;
17839 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17840 PyObject
*result
= 0 ;
17843 PyObject
*swig_obj
[1] ;
17845 if (!args
) SWIG_fail
;
17846 swig_obj
[0] = args
;
17847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17848 if (!SWIG_IsOK(res1
)) {
17849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17851 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= result
;
17865 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
= 0;
17867 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17868 wxFileTypeInfo
*arg2
= 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char * kwnames
[] = {
17876 (char *) "self",(char *) "ft", NULL
17879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17881 if (!SWIG_IsOK(res1
)) {
17882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17884 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17886 if (!SWIG_IsOK(res2
)) {
17887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17892 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_Py_Void();
17906 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
= 0;
17908 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17909 wxFileTypeInfo
*arg2
= 0 ;
17910 wxFileType
*result
= 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char * kwnames
[] = {
17918 (char *) "self",(char *) "ftInfo", NULL
17921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17923 if (!SWIG_IsOK(res1
)) {
17924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17926 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17928 if (!SWIG_IsOK(res2
)) {
17929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17934 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17948 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
= 0;
17950 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17951 wxFileType
*arg2
= (wxFileType
*) 0 ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char * kwnames
[] = {
17960 (char *) "self",(char *) "ft", NULL
17963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17965 if (!SWIG_IsOK(res1
)) {
17966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17968 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17970 if (!SWIG_IsOK(res2
)) {
17971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17973 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (bool)(arg1
)->Unassociate(arg2
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17989 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17990 PyObject
*resultobj
= 0;
17991 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17994 PyObject
*swig_obj
[1] ;
17996 if (!args
) SWIG_fail
;
17997 swig_obj
[0] = args
;
17998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17999 if (!SWIG_IsOK(res1
)) {
18000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18002 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_Py_Void();
18017 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18020 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18021 return SWIG_Py_Void();
18024 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18025 return SWIG_Python_InitShadowInstance(args
);
18028 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18029 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18034 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18035 PyObject
*pyobj
= 0;
18039 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18041 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18048 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18049 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18054 SWIGINTERN PyObject
*ART_MENU_get(void) {
18055 PyObject
*pyobj
= 0;
18059 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18061 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18068 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18069 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18074 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18075 PyObject
*pyobj
= 0;
18079 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18081 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18088 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18089 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18094 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18095 PyObject
*pyobj
= 0;
18099 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18101 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18108 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18109 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18114 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18115 PyObject
*pyobj
= 0;
18119 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18121 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18128 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18129 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18134 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18135 PyObject
*pyobj
= 0;
18139 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18141 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18148 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18149 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18154 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18155 PyObject
*pyobj
= 0;
18159 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18161 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18168 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18169 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18174 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18175 PyObject
*pyobj
= 0;
18179 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18181 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18188 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18189 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18194 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18195 PyObject
*pyobj
= 0;
18199 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18201 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18208 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18209 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18214 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18215 PyObject
*pyobj
= 0;
18219 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18221 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18228 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18229 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18234 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18235 PyObject
*pyobj
= 0;
18239 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18241 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18248 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18249 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18254 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18255 PyObject
*pyobj
= 0;
18259 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18261 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18268 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18269 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18274 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18275 PyObject
*pyobj
= 0;
18279 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18281 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18288 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18289 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18294 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18295 PyObject
*pyobj
= 0;
18299 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18301 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18308 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18309 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18314 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18315 PyObject
*pyobj
= 0;
18319 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18321 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18328 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18329 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18334 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18335 PyObject
*pyobj
= 0;
18339 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18341 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18348 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18349 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18354 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18355 PyObject
*pyobj
= 0;
18359 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18361 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18368 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18369 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18374 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18375 PyObject
*pyobj
= 0;
18379 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18381 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18388 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18389 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18394 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18395 PyObject
*pyobj
= 0;
18399 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18401 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18408 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18409 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18414 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18415 PyObject
*pyobj
= 0;
18419 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18421 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18428 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18429 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18434 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18435 PyObject
*pyobj
= 0;
18439 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18441 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18448 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18449 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18454 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18455 PyObject
*pyobj
= 0;
18459 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18461 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18468 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18469 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18474 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18475 PyObject
*pyobj
= 0;
18479 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18481 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18488 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18489 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18494 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18495 PyObject
*pyobj
= 0;
18499 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18501 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18508 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18509 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18514 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18515 PyObject
*pyobj
= 0;
18519 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18521 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18528 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18529 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18534 SWIGINTERN PyObject
*ART_HELP_get(void) {
18535 PyObject
*pyobj
= 0;
18539 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18541 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18548 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18549 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18554 SWIGINTERN PyObject
*ART_TIP_get(void) {
18555 PyObject
*pyobj
= 0;
18559 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18561 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18568 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18569 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18574 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18575 PyObject
*pyobj
= 0;
18579 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18581 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18588 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18589 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18594 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18595 PyObject
*pyobj
= 0;
18599 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18601 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18608 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18609 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18614 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18615 PyObject
*pyobj
= 0;
18619 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18621 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18628 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18629 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18634 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18635 PyObject
*pyobj
= 0;
18639 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18641 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18648 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18649 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18654 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18655 PyObject
*pyobj
= 0;
18659 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18661 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18668 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18669 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18674 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18675 PyObject
*pyobj
= 0;
18679 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18681 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18688 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18689 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18694 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18695 PyObject
*pyobj
= 0;
18699 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18701 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18708 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18709 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18714 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18715 PyObject
*pyobj
= 0;
18719 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18721 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18728 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18729 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18734 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18735 PyObject
*pyobj
= 0;
18739 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18741 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18748 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18749 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18754 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18755 PyObject
*pyobj
= 0;
18759 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18761 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18768 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18769 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18774 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18775 PyObject
*pyobj
= 0;
18779 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18781 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18788 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18789 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18794 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18795 PyObject
*pyobj
= 0;
18799 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18801 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18808 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18809 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18814 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18815 PyObject
*pyobj
= 0;
18819 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18821 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18828 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18829 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18834 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18835 PyObject
*pyobj
= 0;
18839 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18841 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18848 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18849 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18854 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18855 PyObject
*pyobj
= 0;
18859 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18861 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18868 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18869 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18874 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18875 PyObject
*pyobj
= 0;
18879 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18881 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18888 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18889 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18894 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18895 PyObject
*pyobj
= 0;
18899 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18901 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18908 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18909 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18914 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18915 PyObject
*pyobj
= 0;
18919 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18921 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18928 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18929 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18934 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18935 PyObject
*pyobj
= 0;
18939 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18941 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18948 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18949 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18954 SWIGINTERN PyObject
*ART_COPY_get(void) {
18955 PyObject
*pyobj
= 0;
18959 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18961 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18968 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18969 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18974 SWIGINTERN PyObject
*ART_CUT_get(void) {
18975 PyObject
*pyobj
= 0;
18979 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18981 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18988 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18989 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18994 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18995 PyObject
*pyobj
= 0;
18999 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19001 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19008 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
19009 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
19014 SWIGINTERN PyObject
*ART_DELETE_get(void) {
19015 PyObject
*pyobj
= 0;
19019 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19021 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19028 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19029 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19034 SWIGINTERN PyObject
*ART_NEW_get(void) {
19035 PyObject
*pyobj
= 0;
19039 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19041 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19048 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19049 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19054 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19055 PyObject
*pyobj
= 0;
19059 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19061 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19068 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19069 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19074 SWIGINTERN PyObject
*ART_REDO_get(void) {
19075 PyObject
*pyobj
= 0;
19079 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19081 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19088 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19089 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19094 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19095 PyObject
*pyobj
= 0;
19099 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19101 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19108 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19109 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19114 SWIGINTERN PyObject
*ART_FIND_get(void) {
19115 PyObject
*pyobj
= 0;
19119 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19121 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19128 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19129 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19134 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19135 PyObject
*pyobj
= 0;
19139 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19141 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19148 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19149 PyObject
*resultobj
= 0;
19150 wxPyArtProvider
*result
= 0 ;
19152 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19154 if (!wxPyCheckForApp()) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19167 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19168 PyObject
*resultobj
= 0;
19169 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19172 PyObject
*swig_obj
[1] ;
19174 if (!args
) SWIG_fail
;
19175 swig_obj
[0] = args
;
19176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19177 if (!SWIG_IsOK(res1
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19180 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 resultobj
= SWIG_Py_Void();
19195 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
= 0;
19197 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19198 PyObject
*arg2
= (PyObject
*) 0 ;
19199 PyObject
*arg3
= (PyObject
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 PyObject
* obj2
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "self",(char *) "_class", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19214 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= SWIG_Py_Void();
19230 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
= 0;
19232 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 char * kwnames
[] = {
19236 (char *) "provider", NULL
19239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19240 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19241 if (!SWIG_IsOK(res1
)) {
19242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 wxPyArtProvider::PushProvider(arg1
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_Py_Void();
19257 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19258 PyObject
*resultobj
= 0;
19261 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (bool)wxPyArtProvider::PopProvider();
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19277 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
= 0;
19279 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19283 PyObject
* obj0
= 0 ;
19284 char * kwnames
[] = {
19285 (char *) "provider", NULL
19288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19290 if (!SWIG_IsOK(res1
)) {
19291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19293 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19309 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
= 0;
19311 wxString
*arg1
= 0 ;
19312 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19313 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19314 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19315 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19317 bool temp1
= false ;
19318 bool temp2
= false ;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 PyObject
* obj2
= 0 ;
19323 char * kwnames
[] = {
19324 (char *) "id",(char *) "client",(char *) "size", NULL
19327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19329 arg1
= wxString_in_helper(obj0
);
19330 if (arg1
== NULL
) SWIG_fail
;
19335 arg2
= wxString_in_helper(obj1
);
19336 if (arg2
== NULL
) SWIG_fail
;
19343 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19347 if (!wxPyCheckForApp()) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19376 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
= 0;
19378 wxString
*arg1
= 0 ;
19379 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19380 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19381 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19382 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19384 bool temp1
= false ;
19385 bool temp2
= false ;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 PyObject
* obj2
= 0 ;
19390 char * kwnames
[] = {
19391 (char *) "id",(char *) "client",(char *) "size", NULL
19394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19396 arg1
= wxString_in_helper(obj0
);
19397 if (arg1
== NULL
) SWIG_fail
;
19402 arg2
= wxString_in_helper(obj1
);
19403 if (arg2
== NULL
) SWIG_fail
;
19410 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19414 if (!wxPyCheckForApp()) SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19443 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
= 0;
19445 wxString
*arg1
= 0 ;
19446 bool arg2
= (bool) false ;
19448 bool temp1
= false ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char * kwnames
[] = {
19454 (char *) "client",(char *) "platform_dependent", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19459 arg1
= wxString_in_helper(obj0
);
19460 if (arg1
== NULL
) SWIG_fail
;
19464 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19465 if (!SWIG_IsOK(ecode2
)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19468 arg2
= static_cast< bool >(val2
);
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19491 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19492 PyObject
*resultobj
= 0;
19493 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19496 PyObject
*swig_obj
[1] ;
19498 if (!args
) SWIG_fail
;
19499 swig_obj
[0] = args
;
19500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19501 if (!SWIG_IsOK(res1
)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19504 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 wxPyArtProvider_Destroy(arg1
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= SWIG_Py_Void();
19518 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19521 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19522 return SWIG_Py_Void();
19525 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19526 return SWIG_Python_InitShadowInstance(args
);
19529 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19530 PyObject
*resultobj
= 0;
19531 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19534 PyObject
*swig_obj
[1] ;
19536 if (!args
) SWIG_fail
;
19537 swig_obj
[0] = args
;
19538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19539 if (!SWIG_IsOK(res1
)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19542 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_Py_Void();
19557 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
= 0;
19559 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19560 wxConfigBase
*result
= 0 ;
19562 PyObject
* obj0
= 0 ;
19563 char * kwnames
[] = {
19564 (char *) "config", NULL
19567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19568 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19569 if (!SWIG_IsOK(res1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19585 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
= 0;
19587 bool arg1
= (bool) true ;
19588 wxConfigBase
*result
= 0 ;
19591 PyObject
* obj0
= 0 ;
19592 char * kwnames
[] = {
19593 (char *) "createOnDemand", NULL
19596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19598 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19599 if (!SWIG_IsOK(ecode1
)) {
19600 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19602 arg1
= static_cast< bool >(val1
);
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19617 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19618 PyObject
*resultobj
= 0;
19619 wxConfigBase
*result
= 0 ;
19621 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (wxConfigBase
*)wxConfigBase::Create();
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19635 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19636 PyObject
*resultobj
= 0;
19638 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 wxConfigBase::DontCreateOnDemand();
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= SWIG_Py_Void();
19652 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
= 0;
19654 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19655 wxString
*arg2
= 0 ;
19658 bool temp2
= false ;
19659 PyObject
* obj0
= 0 ;
19660 PyObject
* obj1
= 0 ;
19661 char * kwnames
[] = {
19662 (char *) "self",(char *) "path", NULL
19665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19667 if (!SWIG_IsOK(res1
)) {
19668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19670 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19672 arg2
= wxString_in_helper(obj1
);
19673 if (arg2
== NULL
) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 (arg1
)->SetPath((wxString
const &)*arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_Py_Void();
19697 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19698 PyObject
*resultobj
= 0;
19699 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19700 wxString
*result
= 0 ;
19703 PyObject
*swig_obj
[1] ;
19705 if (!args
) SWIG_fail
;
19706 swig_obj
[0] = args
;
19707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19708 if (!SWIG_IsOK(res1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19711 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19716 result
= (wxString
*) &_result_ref
;
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19734 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19735 PyObject
*resultobj
= 0;
19736 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19737 PyObject
*result
= 0 ;
19740 PyObject
*swig_obj
[1] ;
19742 if (!args
) SWIG_fail
;
19743 swig_obj
[0] = args
;
19744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19748 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= result
;
19762 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
= 0;
19764 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19766 PyObject
*result
= 0 ;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 char * kwnames
[] = {
19774 (char *) "self",(char *) "index", NULL
19777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19779 if (!SWIG_IsOK(res1
)) {
19780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19782 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19783 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19784 if (!SWIG_IsOK(ecode2
)) {
19785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19787 arg2
= static_cast< long >(val2
);
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= result
;
19801 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19802 PyObject
*resultobj
= 0;
19803 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19804 PyObject
*result
= 0 ;
19807 PyObject
*swig_obj
[1] ;
19809 if (!args
) SWIG_fail
;
19810 swig_obj
[0] = args
;
19811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19812 if (!SWIG_IsOK(res1
)) {
19813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19815 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= result
;
19829 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
= 0;
19831 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19833 PyObject
*result
= 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char * kwnames
[] = {
19841 (char *) "self",(char *) "index", NULL
19844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19846 if (!SWIG_IsOK(res1
)) {
19847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19849 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19850 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19851 if (!SWIG_IsOK(ecode2
)) {
19852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19854 arg2
= static_cast< long >(val2
);
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
;
19868 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
= 0;
19870 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19871 bool arg2
= (bool) false ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 char * kwnames
[] = {
19880 (char *) "self",(char *) "recursive", NULL
19883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19885 if (!SWIG_IsOK(res1
)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19888 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19890 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19891 if (!SWIG_IsOK(ecode2
)) {
19892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19894 arg2
= static_cast< bool >(val2
);
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19909 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
= 0;
19911 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19912 bool arg2
= (bool) false ;
19918 PyObject
* obj0
= 0 ;
19919 PyObject
* obj1
= 0 ;
19920 char * kwnames
[] = {
19921 (char *) "self",(char *) "recursive", NULL
19924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19926 if (!SWIG_IsOK(res1
)) {
19927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19929 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19932 if (!SWIG_IsOK(ecode2
)) {
19933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19935 arg2
= static_cast< bool >(val2
);
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19950 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
= 0;
19952 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19953 wxString
*arg2
= 0 ;
19957 bool temp2
= false ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 char * kwnames
[] = {
19961 (char *) "self",(char *) "name", NULL
19964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19966 if (!SWIG_IsOK(res1
)) {
19967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19969 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19971 arg2
= wxString_in_helper(obj1
);
19972 if (arg2
== NULL
) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19998 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
= 0;
20000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20001 wxString
*arg2
= 0 ;
20005 bool temp2
= false ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char * kwnames
[] = {
20009 (char *) "self",(char *) "name", NULL
20012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20017 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20019 arg2
= wxString_in_helper(obj1
);
20020 if (arg2
== NULL
) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20046 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
= 0;
20048 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20049 wxString
*arg2
= 0 ;
20053 bool temp2
= false ;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20056 char * kwnames
[] = {
20057 (char *) "self",(char *) "name", NULL
20060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20062 if (!SWIG_IsOK(res1
)) {
20063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20065 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20067 arg2
= wxString_in_helper(obj1
);
20068 if (arg2
== NULL
) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20094 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20097 wxString
*arg2
= 0 ;
20098 wxConfigBase::EntryType result
;
20101 bool temp2
= false ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "name", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20113 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20115 arg2
= wxString_in_helper(obj1
);
20116 if (arg2
== NULL
) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_From_int(static_cast< int >(result
));
20140 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
= 0;
20142 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20143 wxString
*arg2
= 0 ;
20144 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20145 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20149 bool temp2
= false ;
20150 bool temp3
= false ;
20151 PyObject
* obj0
= 0 ;
20152 PyObject
* obj1
= 0 ;
20153 PyObject
* obj2
= 0 ;
20154 char * kwnames
[] = {
20155 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20160 if (!SWIG_IsOK(res1
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20163 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20165 arg2
= wxString_in_helper(obj1
);
20166 if (arg2
== NULL
) SWIG_fail
;
20171 arg3
= wxString_in_helper(obj2
);
20172 if (arg3
== NULL
) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20211 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
= 0;
20213 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20214 wxString
*arg2
= 0 ;
20215 long arg3
= (long) 0 ;
20219 bool temp2
= false ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 PyObject
* obj2
= 0 ;
20225 char * kwnames
[] = {
20226 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20231 if (!SWIG_IsOK(res1
)) {
20232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20234 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20236 arg2
= wxString_in_helper(obj1
);
20237 if (arg2
== NULL
) SWIG_fail
;
20241 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20242 if (!SWIG_IsOK(ecode3
)) {
20243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20245 arg3
= static_cast< long >(val3
);
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_From_long(static_cast< long >(result
));
20268 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
= 0;
20270 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20271 wxString
*arg2
= 0 ;
20272 double arg3
= (double) 0.0 ;
20276 bool temp2
= false ;
20279 PyObject
* obj0
= 0 ;
20280 PyObject
* obj1
= 0 ;
20281 PyObject
* obj2
= 0 ;
20282 char * kwnames
[] = {
20283 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20288 if (!SWIG_IsOK(res1
)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20291 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20293 arg2
= wxString_in_helper(obj1
);
20294 if (arg2
== NULL
) SWIG_fail
;
20298 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20299 if (!SWIG_IsOK(ecode3
)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20302 arg3
= static_cast< double >(val3
);
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_From_double(static_cast< double >(result
));
20325 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
= 0;
20327 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20328 wxString
*arg2
= 0 ;
20329 bool arg3
= (bool) false ;
20333 bool temp2
= false ;
20336 PyObject
* obj0
= 0 ;
20337 PyObject
* obj1
= 0 ;
20338 PyObject
* obj2
= 0 ;
20339 char * kwnames
[] = {
20340 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20345 if (!SWIG_IsOK(res1
)) {
20346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20348 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20350 arg2
= wxString_in_helper(obj1
);
20351 if (arg2
== NULL
) SWIG_fail
;
20355 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20356 if (!SWIG_IsOK(ecode3
)) {
20357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20359 arg3
= static_cast< bool >(val3
);
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20384 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
= 0;
20386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20387 wxString
*arg2
= 0 ;
20388 wxString
*arg3
= 0 ;
20392 bool temp2
= false ;
20393 bool temp3
= false ;
20394 PyObject
* obj0
= 0 ;
20395 PyObject
* obj1
= 0 ;
20396 PyObject
* obj2
= 0 ;
20397 char * kwnames
[] = {
20398 (char *) "self",(char *) "key",(char *) "value", NULL
20401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20403 if (!SWIG_IsOK(res1
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20406 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20408 arg2
= wxString_in_helper(obj1
);
20409 if (arg2
== NULL
) SWIG_fail
;
20413 arg3
= wxString_in_helper(obj2
);
20414 if (arg3
== NULL
) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20448 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
= 0;
20450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20451 wxString
*arg2
= 0 ;
20456 bool temp2
= false ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 PyObject
* obj2
= 0 ;
20462 char * kwnames
[] = {
20463 (char *) "self",(char *) "key",(char *) "value", NULL
20466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20468 if (!SWIG_IsOK(res1
)) {
20469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20471 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20473 arg2
= wxString_in_helper(obj1
);
20474 if (arg2
== NULL
) SWIG_fail
;
20477 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20478 if (!SWIG_IsOK(ecode3
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20481 arg3
= static_cast< long >(val3
);
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20505 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
= 0;
20507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20508 wxString
*arg2
= 0 ;
20513 bool temp2
= false ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 PyObject
* obj2
= 0 ;
20519 char * kwnames
[] = {
20520 (char *) "self",(char *) "key",(char *) "value", NULL
20523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20525 if (!SWIG_IsOK(res1
)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20528 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20530 arg2
= wxString_in_helper(obj1
);
20531 if (arg2
== NULL
) SWIG_fail
;
20534 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20535 if (!SWIG_IsOK(ecode3
)) {
20536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20538 arg3
= static_cast< double >(val3
);
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20562 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
= 0;
20564 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20565 wxString
*arg2
= 0 ;
20570 bool temp2
= false ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 PyObject
* obj2
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "self",(char *) "key",(char *) "value", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20585 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20587 arg2
= wxString_in_helper(obj1
);
20588 if (arg2
== NULL
) SWIG_fail
;
20591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20592 if (!SWIG_IsOK(ecode3
)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20595 arg3
= static_cast< bool >(val3
);
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20619 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
= 0;
20621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20622 bool arg2
= (bool) false ;
20628 PyObject
* obj0
= 0 ;
20629 PyObject
* obj1
= 0 ;
20630 char * kwnames
[] = {
20631 (char *) "self",(char *) "currentOnly", NULL
20634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20639 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20641 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20642 if (!SWIG_IsOK(ecode2
)) {
20643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20645 arg2
= static_cast< bool >(val2
);
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 result
= (bool)(arg1
)->Flush(arg2
);
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20662 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
= 0;
20664 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20665 wxString
*arg2
= 0 ;
20666 wxString
*arg3
= 0 ;
20670 bool temp2
= false ;
20671 bool temp3
= false ;
20672 PyObject
* obj0
= 0 ;
20673 PyObject
* obj1
= 0 ;
20674 PyObject
* obj2
= 0 ;
20675 char * kwnames
[] = {
20676 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20681 if (!SWIG_IsOK(res1
)) {
20682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20684 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20686 arg2
= wxString_in_helper(obj1
);
20687 if (arg2
== NULL
) SWIG_fail
;
20691 arg3
= wxString_in_helper(obj2
);
20692 if (arg3
== NULL
) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20726 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
= 0;
20728 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20729 wxString
*arg2
= 0 ;
20730 wxString
*arg3
= 0 ;
20734 bool temp2
= false ;
20735 bool temp3
= false ;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20738 PyObject
* obj2
= 0 ;
20739 char * kwnames
[] = {
20740 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20745 if (!SWIG_IsOK(res1
)) {
20746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20748 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20750 arg2
= wxString_in_helper(obj1
);
20751 if (arg2
== NULL
) SWIG_fail
;
20755 arg3
= wxString_in_helper(obj2
);
20756 if (arg3
== NULL
) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20790 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
= 0;
20792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20793 wxString
*arg2
= 0 ;
20794 bool arg3
= (bool) true ;
20798 bool temp2
= false ;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 PyObject
* obj2
= 0 ;
20804 char * kwnames
[] = {
20805 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20810 if (!SWIG_IsOK(res1
)) {
20811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20813 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20815 arg2
= wxString_in_helper(obj1
);
20816 if (arg2
== NULL
) SWIG_fail
;
20820 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20821 if (!SWIG_IsOK(ecode3
)) {
20822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20824 arg3
= static_cast< bool >(val3
);
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20849 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
= 0;
20851 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20852 wxString
*arg2
= 0 ;
20856 bool temp2
= false ;
20857 PyObject
* obj0
= 0 ;
20858 PyObject
* obj1
= 0 ;
20859 char * kwnames
[] = {
20860 (char *) "self",(char *) "key", NULL
20863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20868 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20870 arg2
= wxString_in_helper(obj1
);
20871 if (arg2
== NULL
) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20897 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20898 PyObject
*resultobj
= 0;
20899 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20903 PyObject
*swig_obj
[1] ;
20905 if (!args
) SWIG_fail
;
20906 swig_obj
[0] = args
;
20907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20911 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (bool)(arg1
)->DeleteAll();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20927 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
= 0;
20929 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20930 bool arg2
= (bool) true ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 char * kwnames
[] = {
20938 (char *) "self",(char *) "doIt", NULL
20941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20943 if (!SWIG_IsOK(res1
)) {
20944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20946 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20949 if (!SWIG_IsOK(ecode2
)) {
20950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20952 arg2
= static_cast< bool >(val2
);
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 (arg1
)->SetExpandEnvVars(arg2
);
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20960 resultobj
= SWIG_Py_Void();
20967 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20968 PyObject
*resultobj
= 0;
20969 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20973 PyObject
*swig_obj
[1] ;
20975 if (!args
) SWIG_fail
;
20976 swig_obj
[0] = args
;
20977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20981 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20997 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
= 0;
20999 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21000 bool arg2
= (bool) true ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char * kwnames
[] = {
21008 (char *) "self",(char *) "doIt", NULL
21011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21016 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21018 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21019 if (!SWIG_IsOK(ecode2
)) {
21020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21022 arg2
= static_cast< bool >(val2
);
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 (arg1
)->SetRecordDefaults(arg2
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= SWIG_Py_Void();
21037 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21038 PyObject
*resultobj
= 0;
21039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21043 PyObject
*swig_obj
[1] ;
21045 if (!args
) SWIG_fail
;
21046 swig_obj
[0] = args
;
21047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21051 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21067 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
= 0;
21069 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21070 wxString
*arg2
= 0 ;
21074 bool temp2
= false ;
21075 PyObject
* obj0
= 0 ;
21076 PyObject
* obj1
= 0 ;
21077 char * kwnames
[] = {
21078 (char *) "self",(char *) "str", NULL
21081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21083 if (!SWIG_IsOK(res1
)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21086 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21088 arg2
= wxString_in_helper(obj1
);
21089 if (arg2
== NULL
) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21119 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21120 PyObject
*resultobj
= 0;
21121 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21125 PyObject
*swig_obj
[1] ;
21127 if (!args
) SWIG_fail
;
21128 swig_obj
[0] = args
;
21129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21130 if (!SWIG_IsOK(res1
)) {
21131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21133 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21153 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21154 PyObject
*resultobj
= 0;
21155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21159 PyObject
*swig_obj
[1] ;
21161 if (!args
) SWIG_fail
;
21162 swig_obj
[0] = args
;
21163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21164 if (!SWIG_IsOK(res1
)) {
21165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21167 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21187 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21190 wxString
*arg2
= 0 ;
21193 bool temp2
= false ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char * kwnames
[] = {
21197 (char *) "self",(char *) "appName", NULL
21200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21202 if (!SWIG_IsOK(res1
)) {
21203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21205 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21207 arg2
= wxString_in_helper(obj1
);
21208 if (arg2
== NULL
) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 (arg1
)->SetAppName((wxString
const &)*arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_Py_Void();
21232 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
= 0;
21234 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21235 wxString
*arg2
= 0 ;
21238 bool temp2
= false ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char * kwnames
[] = {
21242 (char *) "self",(char *) "vendorName", NULL
21245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21247 if (!SWIG_IsOK(res1
)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21250 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21252 arg2
= wxString_in_helper(obj1
);
21253 if (arg2
== NULL
) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_Py_Void();
21277 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
= 0;
21279 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char * kwnames
[] = {
21288 (char *) "self",(char *) "style", NULL
21291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21293 if (!SWIG_IsOK(res1
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21296 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21297 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21298 if (!SWIG_IsOK(ecode2
)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21301 arg2
= static_cast< long >(val2
);
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 (arg1
)->SetStyle(arg2
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_Py_Void();
21315 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21316 PyObject
*resultobj
= 0;
21317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21321 PyObject
*swig_obj
[1] ;
21323 if (!args
) SWIG_fail
;
21324 swig_obj
[0] = args
;
21325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21326 if (!SWIG_IsOK(res1
)) {
21327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21329 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 resultobj
= SWIG_From_long(static_cast< long >(result
));
21343 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21346 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21347 return SWIG_Py_Void();
21350 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
= 0;
21352 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21353 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21354 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21355 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21356 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21357 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21358 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21359 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21360 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21361 wxConfig
*result
= 0 ;
21362 bool temp1
= false ;
21363 bool temp2
= false ;
21364 bool temp3
= false ;
21365 bool temp4
= false ;
21368 PyObject
* obj0
= 0 ;
21369 PyObject
* obj1
= 0 ;
21370 PyObject
* obj2
= 0 ;
21371 PyObject
* obj3
= 0 ;
21372 PyObject
* obj4
= 0 ;
21373 char * kwnames
[] = {
21374 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21380 arg1
= wxString_in_helper(obj0
);
21381 if (arg1
== NULL
) SWIG_fail
;
21387 arg2
= wxString_in_helper(obj1
);
21388 if (arg2
== NULL
) SWIG_fail
;
21394 arg3
= wxString_in_helper(obj2
);
21395 if (arg3
== NULL
) SWIG_fail
;
21401 arg4
= wxString_in_helper(obj3
);
21402 if (arg4
== NULL
) SWIG_fail
;
21407 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21408 if (!SWIG_IsOK(ecode5
)) {
21409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21411 arg5
= static_cast< long >(val5
);
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21458 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21459 PyObject
*resultobj
= 0;
21460 wxConfig
*arg1
= (wxConfig
*) 0 ;
21463 PyObject
*swig_obj
[1] ;
21465 if (!args
) SWIG_fail
;
21466 swig_obj
[0] = args
;
21467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21468 if (!SWIG_IsOK(res1
)) {
21469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21471 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_Py_Void();
21486 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21489 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21490 return SWIG_Py_Void();
21493 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21494 return SWIG_Python_InitShadowInstance(args
);
21497 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
= 0;
21499 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21500 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21501 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21502 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21503 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21504 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21505 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21506 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21507 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21508 wxFileConfig
*result
= 0 ;
21509 bool temp1
= false ;
21510 bool temp2
= false ;
21511 bool temp3
= false ;
21512 bool temp4
= false ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 PyObject
* obj3
= 0 ;
21519 PyObject
* obj4
= 0 ;
21520 char * kwnames
[] = {
21521 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21527 arg1
= wxString_in_helper(obj0
);
21528 if (arg1
== NULL
) SWIG_fail
;
21534 arg2
= wxString_in_helper(obj1
);
21535 if (arg2
== NULL
) SWIG_fail
;
21541 arg3
= wxString_in_helper(obj2
);
21542 if (arg3
== NULL
) SWIG_fail
;
21548 arg4
= wxString_in_helper(obj3
);
21549 if (arg4
== NULL
) SWIG_fail
;
21554 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21555 if (!SWIG_IsOK(ecode5
)) {
21556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21558 arg5
= static_cast< long >(val5
);
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21605 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21606 PyObject
*resultobj
= 0;
21607 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21610 PyObject
*swig_obj
[1] ;
21612 if (!args
) SWIG_fail
;
21613 swig_obj
[0] = args
;
21614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21615 if (!SWIG_IsOK(res1
)) {
21616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21618 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= SWIG_Py_Void();
21633 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21636 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21637 return SWIG_Py_Void();
21640 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21641 return SWIG_Python_InitShadowInstance(args
);
21644 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
= 0;
21646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21647 wxString
*arg2
= 0 ;
21648 wxConfigPathChanger
*result
= 0 ;
21651 bool temp2
= false ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 char * kwnames
[] = {
21655 (char *) "config",(char *) "entry", NULL
21658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21660 if (!SWIG_IsOK(res1
)) {
21661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21663 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21665 arg2
= wxString_in_helper(obj1
);
21666 if (arg2
== NULL
) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21690 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21691 PyObject
*resultobj
= 0;
21692 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21695 PyObject
*swig_obj
[1] ;
21697 if (!args
) SWIG_fail
;
21698 swig_obj
[0] = args
;
21699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21700 if (!SWIG_IsOK(res1
)) {
21701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21703 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= SWIG_Py_Void();
21718 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21719 PyObject
*resultobj
= 0;
21720 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21721 wxString
*result
= 0 ;
21724 PyObject
*swig_obj
[1] ;
21726 if (!args
) SWIG_fail
;
21727 swig_obj
[0] = args
;
21728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21729 if (!SWIG_IsOK(res1
)) {
21730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21732 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21737 result
= (wxString
*) &_result_ref
;
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21746 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21755 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21758 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21759 return SWIG_Py_Void();
21762 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21763 return SWIG_Python_InitShadowInstance(args
);
21766 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21768 wxString
*arg1
= 0 ;
21770 bool temp1
= false ;
21771 PyObject
* obj0
= 0 ;
21772 char * kwnames
[] = {
21773 (char *) "sz", NULL
21776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21778 arg1
= wxString_in_helper(obj0
);
21779 if (arg1
== NULL
) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21809 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21810 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21815 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21816 PyObject
*pyobj
= 0;
21820 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21822 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21829 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21830 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21835 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21836 PyObject
*pyobj
= 0;
21840 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21842 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21849 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
= 0;
21851 wxDateTime::Country arg1
;
21854 PyObject
* obj0
= 0 ;
21855 char * kwnames
[] = {
21856 (char *) "country", NULL
21859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21860 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21861 if (!SWIG_IsOK(ecode1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21864 arg1
= static_cast< wxDateTime::Country
>(val1
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 wxDateTime::SetCountry(arg1
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_Py_Void();
21878 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21879 PyObject
*resultobj
= 0;
21880 wxDateTime::Country result
;
21882 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= SWIG_From_int(static_cast< int >(result
));
21896 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
= 0;
21898 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21902 PyObject
* obj0
= 0 ;
21903 char * kwnames
[] = {
21904 (char *) "country", NULL
21907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21909 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21910 if (!SWIG_IsOK(ecode1
)) {
21911 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21913 arg1
= static_cast< wxDateTime::Country
>(val1
);
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21930 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
= 0;
21932 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21936 PyObject
* obj0
= 0 ;
21937 char * kwnames
[] = {
21938 (char *) "cal", NULL
21941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21944 if (!SWIG_IsOK(ecode1
)) {
21945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21947 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_From_int(static_cast< int >(result
));
21962 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
= 0;
21968 PyObject
* obj0
= 0 ;
21969 char * kwnames
[] = {
21970 (char *) "year", NULL
21973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21974 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21975 if (!SWIG_IsOK(ecode1
)) {
21976 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21978 arg1
= static_cast< int >(val1
);
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= SWIG_From_int(static_cast< int >(result
));
21992 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
= 0;
21994 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21995 wxDateTime::Month result
;
21998 PyObject
* obj0
= 0 ;
21999 char * kwnames
[] = {
22000 (char *) "cal", NULL
22003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
22005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22006 if (!SWIG_IsOK(ecode1
)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22009 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= SWIG_From_int(static_cast< int >(result
));
22024 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
= 0;
22026 int arg1
= (int) wxDateTime::Inv_Year
;
22027 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char * kwnames
[] = {
22036 (char *) "year",(char *) "cal", NULL
22039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22042 if (!SWIG_IsOK(ecode1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22045 arg1
= static_cast< int >(val1
);
22048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22049 if (!SWIG_IsOK(ecode2
)) {
22050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22052 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
= 0;
22071 int arg1
= (int) wxDateTime::Inv_Year
;
22075 PyObject
* obj0
= 0 ;
22076 char * kwnames
[] = {
22077 (char *) "year", NULL
22080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22083 if (!SWIG_IsOK(ecode1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22086 arg1
= static_cast< int >(val1
);
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (int)wxDateTime::GetCentury(arg1
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 resultobj
= SWIG_From_int(static_cast< int >(result
));
22101 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
= 0;
22104 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 char * kwnames
[] = {
22113 (char *) "year",(char *) "cal", NULL
22116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22118 if (!SWIG_IsOK(ecode1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22121 arg1
= static_cast< int >(val1
);
22123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22124 if (!SWIG_IsOK(ecode2
)) {
22125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22127 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 resultobj
= SWIG_From_int(static_cast< int >(result
));
22142 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
= 0;
22144 wxDateTime::Month arg1
;
22145 int arg2
= (int) wxDateTime::Inv_Year
;
22146 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 char * kwnames
[] = {
22158 (char *) "month",(char *) "year",(char *) "cal", NULL
22161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22163 if (!SWIG_IsOK(ecode1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22166 arg1
= static_cast< wxDateTime::Month
>(val1
);
22168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22169 if (!SWIG_IsOK(ecode2
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22172 arg2
= static_cast< int >(val2
);
22175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22176 if (!SWIG_IsOK(ecode3
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22179 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= SWIG_From_int(static_cast< int >(result
));
22194 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
= 0;
22196 wxDateTime::Month arg1
;
22197 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char * kwnames
[] = {
22206 (char *) "month",(char *) "flags", NULL
22209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22210 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22211 if (!SWIG_IsOK(ecode1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22214 arg1
= static_cast< wxDateTime::Month
>(val1
);
22216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22217 if (!SWIG_IsOK(ecode2
)) {
22218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22220 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22241 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
= 0;
22243 wxDateTime::WeekDay arg1
;
22244 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22252 char * kwnames
[] = {
22253 (char *) "weekday",(char *) "flags", NULL
22256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22258 if (!SWIG_IsOK(ecode1
)) {
22259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22261 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22264 if (!SWIG_IsOK(ecode2
)) {
22265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22267 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22288 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22289 PyObject
*resultobj
= 0;
22290 PyObject
*result
= 0 ;
22292 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= result
;
22306 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
= 0;
22308 int arg1
= (int) wxDateTime::Inv_Year
;
22309 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 char * kwnames
[] = {
22318 (char *) "year",(char *) "country", NULL
22321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22324 if (!SWIG_IsOK(ecode1
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22327 arg1
= static_cast< int >(val1
);
22330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22331 if (!SWIG_IsOK(ecode2
)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22334 arg2
= static_cast< wxDateTime::Country
>(val2
);
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22351 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
= 0;
22353 int arg1
= (int) wxDateTime::Inv_Year
;
22354 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 char * kwnames
[] = {
22363 (char *) "year",(char *) "country", NULL
22366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22369 if (!SWIG_IsOK(ecode1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22372 arg1
= static_cast< int >(val1
);
22375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22376 if (!SWIG_IsOK(ecode2
)) {
22377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22379 arg2
= static_cast< wxDateTime::Country
>(val2
);
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22394 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
= 0;
22396 int arg1
= (int) wxDateTime::Inv_Year
;
22397 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 char * kwnames
[] = {
22406 (char *) "year",(char *) "country", NULL
22409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22412 if (!SWIG_IsOK(ecode1
)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22415 arg1
= static_cast< int >(val1
);
22418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22419 if (!SWIG_IsOK(ecode2
)) {
22420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22422 arg2
= static_cast< wxDateTime::Country
>(val2
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22437 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 PyObject
*resultobj
= 0;
22441 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= wxDateTime::Now();
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22455 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22456 PyObject
*resultobj
= 0;
22459 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= wxDateTime::UNow();
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22473 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22474 PyObject
*resultobj
= 0;
22477 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= wxDateTime::Today();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22491 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22492 PyObject
*resultobj
= 0;
22493 wxDateTime
*result
= 0 ;
22495 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (wxDateTime
*)new wxDateTime();
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22509 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
= 0;
22512 wxDateTime
*result
= 0 ;
22513 unsigned int val1
;
22515 PyObject
* obj0
= 0 ;
22516 char * kwnames
[] = {
22517 (char *) "timet", NULL
22520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22521 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22522 if (!SWIG_IsOK(ecode1
)) {
22523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22525 arg1
= static_cast< time_t >(val1
);
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= (wxDateTime
*)new wxDateTime(arg1
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22539 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
= 0;
22542 wxDateTime
*result
= 0 ;
22545 PyObject
* obj0
= 0 ;
22546 char * kwnames
[] = {
22547 (char *) "jdn", NULL
22550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22551 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22552 if (!SWIG_IsOK(ecode1
)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22555 arg1
= static_cast< double >(val1
);
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 result
= (wxDateTime
*)new wxDateTime(arg1
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22569 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
= 0;
22572 int arg2
= (int) 0 ;
22573 int arg3
= (int) 0 ;
22574 int arg4
= (int) 0 ;
22575 wxDateTime
*result
= 0 ;
22584 PyObject
* obj0
= 0 ;
22585 PyObject
* obj1
= 0 ;
22586 PyObject
* obj2
= 0 ;
22587 PyObject
* obj3
= 0 ;
22588 char * kwnames
[] = {
22589 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22594 if (!SWIG_IsOK(ecode1
)) {
22595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22597 arg1
= static_cast< int >(val1
);
22599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22600 if (!SWIG_IsOK(ecode2
)) {
22601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22603 arg2
= static_cast< int >(val2
);
22606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22607 if (!SWIG_IsOK(ecode3
)) {
22608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22610 arg3
= static_cast< int >(val3
);
22613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22614 if (!SWIG_IsOK(ecode4
)) {
22615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22617 arg4
= static_cast< int >(val4
);
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22632 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
= 0;
22635 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22636 int arg3
= (int) wxDateTime::Inv_Year
;
22637 int arg4
= (int) 0 ;
22638 int arg5
= (int) 0 ;
22639 int arg6
= (int) 0 ;
22640 int arg7
= (int) 0 ;
22641 wxDateTime
*result
= 0 ;
22656 PyObject
* obj0
= 0 ;
22657 PyObject
* obj1
= 0 ;
22658 PyObject
* obj2
= 0 ;
22659 PyObject
* obj3
= 0 ;
22660 PyObject
* obj4
= 0 ;
22661 PyObject
* obj5
= 0 ;
22662 PyObject
* obj6
= 0 ;
22663 char * kwnames
[] = {
22664 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22668 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22669 if (!SWIG_IsOK(ecode1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22672 arg1
= static_cast< int >(val1
);
22674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22675 if (!SWIG_IsOK(ecode2
)) {
22676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22678 arg2
= static_cast< wxDateTime::Month
>(val2
);
22681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22682 if (!SWIG_IsOK(ecode3
)) {
22683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22685 arg3
= static_cast< int >(val3
);
22688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22689 if (!SWIG_IsOK(ecode4
)) {
22690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22692 arg4
= static_cast< int >(val4
);
22695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22696 if (!SWIG_IsOK(ecode5
)) {
22697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22699 arg5
= static_cast< int >(val5
);
22702 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22703 if (!SWIG_IsOK(ecode6
)) {
22704 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22706 arg6
= static_cast< int >(val6
);
22709 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22710 if (!SWIG_IsOK(ecode7
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22713 arg7
= static_cast< int >(val7
);
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22728 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
= 0;
22730 wxDateTime
*arg1
= 0 ;
22731 wxDateTime
*result
= 0 ;
22734 PyObject
* obj0
= 0 ;
22735 char * kwnames
[] = {
22736 (char *) "date", NULL
22739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22740 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22741 if (!SWIG_IsOK(res1
)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22747 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22761 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22762 PyObject
*resultobj
= 0;
22763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22766 PyObject
*swig_obj
[1] ;
22768 if (!args
) SWIG_fail
;
22769 swig_obj
[0] = args
;
22770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22771 if (!SWIG_IsOK(res1
)) {
22772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22774 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_Py_Void();
22789 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22790 PyObject
*resultobj
= 0;
22791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22792 wxDateTime
*result
= 0 ;
22795 PyObject
*swig_obj
[1] ;
22797 if (!args
) SWIG_fail
;
22798 swig_obj
[0] = args
;
22799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22800 if (!SWIG_IsOK(res1
)) {
22801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22803 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22808 result
= (wxDateTime
*) &_result_ref
;
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22820 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
= 0;
22822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22824 wxDateTime
*result
= 0 ;
22827 unsigned int val2
;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 char * kwnames
[] = {
22832 (char *) "self",(char *) "timet", NULL
22835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22837 if (!SWIG_IsOK(res1
)) {
22838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22840 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22841 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22842 if (!SWIG_IsOK(ecode2
)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22845 arg2
= static_cast< time_t >(val2
);
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22850 result
= (wxDateTime
*) &_result_ref
;
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22862 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
= 0;
22864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22866 wxDateTime
*result
= 0 ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 char * kwnames
[] = {
22874 (char *) "self",(char *) "jdn", NULL
22877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22879 if (!SWIG_IsOK(res1
)) {
22880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22882 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22883 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22884 if (!SWIG_IsOK(ecode2
)) {
22885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22887 arg2
= static_cast< double >(val2
);
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22892 result
= (wxDateTime
*) &_result_ref
;
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22904 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
= 0;
22906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22908 int arg3
= (int) 0 ;
22909 int arg4
= (int) 0 ;
22910 int arg5
= (int) 0 ;
22911 wxDateTime
*result
= 0 ;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22924 PyObject
* obj2
= 0 ;
22925 PyObject
* obj3
= 0 ;
22926 PyObject
* obj4
= 0 ;
22927 char * kwnames
[] = {
22928 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22933 if (!SWIG_IsOK(res1
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22936 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22938 if (!SWIG_IsOK(ecode2
)) {
22939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22941 arg2
= static_cast< int >(val2
);
22943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22944 if (!SWIG_IsOK(ecode3
)) {
22945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22947 arg3
= static_cast< int >(val3
);
22950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22951 if (!SWIG_IsOK(ecode4
)) {
22952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22954 arg4
= static_cast< int >(val4
);
22957 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22958 if (!SWIG_IsOK(ecode5
)) {
22959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22961 arg5
= static_cast< int >(val5
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22967 result
= (wxDateTime
*) &_result_ref
;
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22979 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
= 0;
22981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22983 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22984 int arg4
= (int) wxDateTime::Inv_Year
;
22985 int arg5
= (int) 0 ;
22986 int arg6
= (int) 0 ;
22987 int arg7
= (int) 0 ;
22988 int arg8
= (int) 0 ;
22989 wxDateTime
*result
= 0 ;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 PyObject
* obj2
= 0 ;
23009 PyObject
* obj3
= 0 ;
23010 PyObject
* obj4
= 0 ;
23011 PyObject
* obj5
= 0 ;
23012 PyObject
* obj6
= 0 ;
23013 PyObject
* obj7
= 0 ;
23014 char * kwnames
[] = {
23015 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23020 if (!SWIG_IsOK(res1
)) {
23021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23023 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23025 if (!SWIG_IsOK(ecode2
)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23028 arg2
= static_cast< int >(val2
);
23030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23031 if (!SWIG_IsOK(ecode3
)) {
23032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23034 arg3
= static_cast< wxDateTime::Month
>(val3
);
23037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23038 if (!SWIG_IsOK(ecode4
)) {
23039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23041 arg4
= static_cast< int >(val4
);
23044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23045 if (!SWIG_IsOK(ecode5
)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23048 arg5
= static_cast< int >(val5
);
23051 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23052 if (!SWIG_IsOK(ecode6
)) {
23053 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23055 arg6
= static_cast< int >(val6
);
23058 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23059 if (!SWIG_IsOK(ecode7
)) {
23060 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23062 arg7
= static_cast< int >(val7
);
23065 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23066 if (!SWIG_IsOK(ecode8
)) {
23067 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23069 arg8
= static_cast< int >(val8
);
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23075 result
= (wxDateTime
*) &_result_ref
;
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23087 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23090 wxDateTime
*result
= 0 ;
23093 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23101 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23106 result
= (wxDateTime
*) &_result_ref
;
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23118 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
= 0;
23120 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23122 wxDateTime
*result
= 0 ;
23127 PyObject
* obj0
= 0 ;
23128 PyObject
* obj1
= 0 ;
23129 char * kwnames
[] = {
23130 (char *) "self",(char *) "year", NULL
23133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23138 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23140 if (!SWIG_IsOK(ecode2
)) {
23141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23143 arg2
= static_cast< int >(val2
);
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23148 result
= (wxDateTime
*) &_result_ref
;
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23160 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
= 0;
23162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23163 wxDateTime::Month arg2
;
23164 wxDateTime
*result
= 0 ;
23169 PyObject
* obj0
= 0 ;
23170 PyObject
* obj1
= 0 ;
23171 char * kwnames
[] = {
23172 (char *) "self",(char *) "month", NULL
23175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23177 if (!SWIG_IsOK(res1
)) {
23178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23180 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23182 if (!SWIG_IsOK(ecode2
)) {
23183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23185 arg2
= static_cast< wxDateTime::Month
>(val2
);
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23190 result
= (wxDateTime
*) &_result_ref
;
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23202 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
= 0;
23204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23206 wxDateTime
*result
= 0 ;
23211 PyObject
* obj0
= 0 ;
23212 PyObject
* obj1
= 0 ;
23213 char * kwnames
[] = {
23214 (char *) "self",(char *) "day", NULL
23217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23219 if (!SWIG_IsOK(res1
)) {
23220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23222 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23224 if (!SWIG_IsOK(ecode2
)) {
23225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23227 arg2
= static_cast< int >(val2
);
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23232 result
= (wxDateTime
*) &_result_ref
;
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23244 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
= 0;
23246 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23248 wxDateTime
*result
= 0 ;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 char * kwnames
[] = {
23256 (char *) "self",(char *) "hour", NULL
23259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23261 if (!SWIG_IsOK(res1
)) {
23262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23264 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23266 if (!SWIG_IsOK(ecode2
)) {
23267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23269 arg2
= static_cast< int >(val2
);
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23274 result
= (wxDateTime
*) &_result_ref
;
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23286 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
= 0;
23288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23290 wxDateTime
*result
= 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char * kwnames
[] = {
23298 (char *) "self",(char *) "minute", NULL
23301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23303 if (!SWIG_IsOK(res1
)) {
23304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23306 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23308 if (!SWIG_IsOK(ecode2
)) {
23309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23311 arg2
= static_cast< int >(val2
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23316 result
= (wxDateTime
*) &_result_ref
;
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23328 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
= 0;
23330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23332 wxDateTime
*result
= 0 ;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 char * kwnames
[] = {
23340 (char *) "self",(char *) "second", NULL
23343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23345 if (!SWIG_IsOK(res1
)) {
23346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23348 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23350 if (!SWIG_IsOK(ecode2
)) {
23351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23353 arg2
= static_cast< int >(val2
);
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23358 result
= (wxDateTime
*) &_result_ref
;
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23370 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
= 0;
23372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23374 wxDateTime
*result
= 0 ;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char * kwnames
[] = {
23382 (char *) "self",(char *) "millisecond", NULL
23385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23387 if (!SWIG_IsOK(res1
)) {
23388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23390 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23392 if (!SWIG_IsOK(ecode2
)) {
23393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23395 arg2
= static_cast< int >(val2
);
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23400 result
= (wxDateTime
*) &_result_ref
;
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23412 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
= 0;
23414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23415 wxDateTime::WeekDay arg2
;
23416 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23417 wxDateTime
*result
= 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 PyObject
* obj2
= 0 ;
23427 char * kwnames
[] = {
23428 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23433 if (!SWIG_IsOK(res1
)) {
23434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23436 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23438 if (!SWIG_IsOK(ecode2
)) {
23439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23441 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23444 if (!SWIG_IsOK(ecode3
)) {
23445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23447 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23453 result
= (wxDateTime
*) &_result_ref
;
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23465 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
= 0;
23467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23468 wxDateTime::WeekDay arg2
;
23469 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23477 PyObject
* obj0
= 0 ;
23478 PyObject
* obj1
= 0 ;
23479 PyObject
* obj2
= 0 ;
23480 char * kwnames
[] = {
23481 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23489 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23491 if (!SWIG_IsOK(ecode2
)) {
23492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23494 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23497 if (!SWIG_IsOK(ecode3
)) {
23498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23500 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23515 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
= 0;
23517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23518 wxDateTime::WeekDay arg2
;
23519 wxDateTime
*result
= 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 char * kwnames
[] = {
23527 (char *) "self",(char *) "weekday", NULL
23530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23532 if (!SWIG_IsOK(res1
)) {
23533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23535 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23537 if (!SWIG_IsOK(ecode2
)) {
23538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23540 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23545 result
= (wxDateTime
*) &_result_ref
;
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23557 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
= 0;
23559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23560 wxDateTime::WeekDay arg2
;
23566 PyObject
* obj0
= 0 ;
23567 PyObject
* obj1
= 0 ;
23568 char * kwnames
[] = {
23569 (char *) "self",(char *) "weekday", NULL
23572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23574 if (!SWIG_IsOK(res1
)) {
23575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23577 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23579 if (!SWIG_IsOK(ecode2
)) {
23580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23582 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= (arg1
)->GetNextWeekDay(arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23596 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
= 0;
23598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23599 wxDateTime::WeekDay arg2
;
23600 wxDateTime
*result
= 0 ;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 char * kwnames
[] = {
23608 (char *) "self",(char *) "weekday", NULL
23611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23613 if (!SWIG_IsOK(res1
)) {
23614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23616 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23618 if (!SWIG_IsOK(ecode2
)) {
23619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23621 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23626 result
= (wxDateTime
*) &_result_ref
;
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23638 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
= 0;
23640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23641 wxDateTime::WeekDay arg2
;
23647 PyObject
* obj0
= 0 ;
23648 PyObject
* obj1
= 0 ;
23649 char * kwnames
[] = {
23650 (char *) "self",(char *) "weekday", NULL
23653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23658 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23660 if (!SWIG_IsOK(ecode2
)) {
23661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23663 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (arg1
)->GetPrevWeekDay(arg2
);
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23677 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
= 0;
23679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23680 wxDateTime::WeekDay arg2
;
23681 int arg3
= (int) 1 ;
23682 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23683 int arg5
= (int) wxDateTime::Inv_Year
;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 PyObject
* obj2
= 0 ;
23698 PyObject
* obj3
= 0 ;
23699 PyObject
* obj4
= 0 ;
23700 char * kwnames
[] = {
23701 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23706 if (!SWIG_IsOK(res1
)) {
23707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23709 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23711 if (!SWIG_IsOK(ecode2
)) {
23712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23714 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23717 if (!SWIG_IsOK(ecode3
)) {
23718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23720 arg3
= static_cast< int >(val3
);
23723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23724 if (!SWIG_IsOK(ecode4
)) {
23725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23727 arg4
= static_cast< wxDateTime::Month
>(val4
);
23730 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23731 if (!SWIG_IsOK(ecode5
)) {
23732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23734 arg5
= static_cast< int >(val5
);
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23751 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
= 0;
23753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23754 wxDateTime::WeekDay arg2
;
23755 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23756 int arg4
= (int) wxDateTime::Inv_Year
;
23766 PyObject
* obj0
= 0 ;
23767 PyObject
* obj1
= 0 ;
23768 PyObject
* obj2
= 0 ;
23769 PyObject
* obj3
= 0 ;
23770 char * kwnames
[] = {
23771 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23776 if (!SWIG_IsOK(res1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23779 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23781 if (!SWIG_IsOK(ecode2
)) {
23782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23784 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23787 if (!SWIG_IsOK(ecode3
)) {
23788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23790 arg3
= static_cast< wxDateTime::Month
>(val3
);
23793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23794 if (!SWIG_IsOK(ecode4
)) {
23795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23797 arg4
= static_cast< int >(val4
);
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23814 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
= 0;
23816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23817 wxDateTime::WeekDay arg2
;
23818 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23819 int arg4
= (int) wxDateTime::Inv_Year
;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 PyObject
* obj2
= 0 ;
23832 PyObject
* obj3
= 0 ;
23833 char * kwnames
[] = {
23834 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23839 if (!SWIG_IsOK(res1
)) {
23840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23842 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23844 if (!SWIG_IsOK(ecode2
)) {
23845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23847 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23850 if (!SWIG_IsOK(ecode3
)) {
23851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23853 arg3
= static_cast< wxDateTime::Month
>(val3
);
23856 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23857 if (!SWIG_IsOK(ecode4
)) {
23858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23860 arg4
= static_cast< int >(val4
);
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23875 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
= 0;
23877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23879 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23880 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 PyObject
* obj2
= 0 ;
23893 PyObject
* obj3
= 0 ;
23894 char * kwnames
[] = {
23895 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23900 if (!SWIG_IsOK(res1
)) {
23901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23903 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23905 if (!SWIG_IsOK(ecode2
)) {
23906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23908 arg2
= static_cast< int >(val2
);
23910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23911 if (!SWIG_IsOK(ecode3
)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23914 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23918 if (!SWIG_IsOK(ecode4
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23921 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23938 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
= 0;
23940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23942 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23943 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23953 PyObject
* obj0
= 0 ;
23954 PyObject
* obj1
= 0 ;
23955 PyObject
* obj2
= 0 ;
23956 PyObject
* obj3
= 0 ;
23957 char * kwnames
[] = {
23958 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23963 if (!SWIG_IsOK(res1
)) {
23964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23966 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23968 if (!SWIG_IsOK(ecode2
)) {
23969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23971 arg2
= static_cast< int >(val2
);
23973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23974 if (!SWIG_IsOK(ecode3
)) {
23975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23977 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23980 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23981 if (!SWIG_IsOK(ecode4
)) {
23982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23984 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23999 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
= 0;
24003 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 PyObject
* obj2
= 0 ;
24014 char * kwnames
[] = {
24015 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24020 if (!SWIG_IsOK(ecode1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24023 arg1
= static_cast< int >(val1
);
24024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24025 if (!SWIG_IsOK(ecode2
)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24028 arg2
= static_cast< int >(val2
);
24030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24031 if (!SWIG_IsOK(ecode3
)) {
24032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24034 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24049 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
= 0;
24051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24052 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24053 int arg3
= (int) wxDateTime::Inv_Year
;
24054 wxDateTime
*result
= 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 PyObject
* obj2
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "self",(char *) "month",(char *) "year", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24073 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24076 if (!SWIG_IsOK(ecode2
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24079 arg2
= static_cast< wxDateTime::Month
>(val2
);
24082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24083 if (!SWIG_IsOK(ecode3
)) {
24084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24086 arg3
= static_cast< int >(val3
);
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24092 result
= (wxDateTime
*) &_result_ref
;
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24104 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
= 0;
24106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24107 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24108 int arg3
= (int) wxDateTime::Inv_Year
;
24116 PyObject
* obj0
= 0 ;
24117 PyObject
* obj1
= 0 ;
24118 PyObject
* obj2
= 0 ;
24119 char * kwnames
[] = {
24120 (char *) "self",(char *) "month",(char *) "year", NULL
24123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24125 if (!SWIG_IsOK(res1
)) {
24126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24128 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24131 if (!SWIG_IsOK(ecode2
)) {
24132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24134 arg2
= static_cast< wxDateTime::Month
>(val2
);
24137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24138 if (!SWIG_IsOK(ecode3
)) {
24139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24141 arg3
= static_cast< int >(val3
);
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24156 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
= 0;
24158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24160 wxDateTime
*result
= 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 char * kwnames
[] = {
24168 (char *) "self",(char *) "yday", NULL
24171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24173 if (!SWIG_IsOK(res1
)) {
24174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24176 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24178 if (!SWIG_IsOK(ecode2
)) {
24179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24181 arg2
= static_cast< int >(val2
);
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24186 result
= (wxDateTime
*) &_result_ref
;
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24198 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
= 0;
24200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 char * kwnames
[] = {
24210 (char *) "self",(char *) "yday", NULL
24213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24215 if (!SWIG_IsOK(res1
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24218 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24220 if (!SWIG_IsOK(ecode2
)) {
24221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24223 arg2
= static_cast< int >(val2
);
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (arg1
)->GetYearDay(arg2
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24237 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24238 PyObject
*resultobj
= 0;
24239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24243 PyObject
*swig_obj
[1] ;
24245 if (!args
) SWIG_fail
;
24246 swig_obj
[0] = args
;
24247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24248 if (!SWIG_IsOK(res1
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24251 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 result
= (double)(arg1
)->GetJulianDayNumber();
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= SWIG_From_double(static_cast< double >(result
));
24265 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24266 PyObject
*resultobj
= 0;
24267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24271 PyObject
*swig_obj
[1] ;
24273 if (!args
) SWIG_fail
;
24274 swig_obj
[0] = args
;
24275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24279 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (double)(arg1
)->GetJDN();
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_From_double(static_cast< double >(result
));
24293 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24294 PyObject
*resultobj
= 0;
24295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24299 PyObject
*swig_obj
[1] ;
24301 if (!args
) SWIG_fail
;
24302 swig_obj
[0] = args
;
24303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24304 if (!SWIG_IsOK(res1
)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24307 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_From_double(static_cast< double >(result
));
24321 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24322 PyObject
*resultobj
= 0;
24323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24327 PyObject
*swig_obj
[1] ;
24329 if (!args
) SWIG_fail
;
24330 swig_obj
[0] = args
;
24331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24332 if (!SWIG_IsOK(res1
)) {
24333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24335 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (double)(arg1
)->GetMJD();
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= SWIG_From_double(static_cast< double >(result
));
24349 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24350 PyObject
*resultobj
= 0;
24351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24355 PyObject
*swig_obj
[1] ;
24357 if (!args
) SWIG_fail
;
24358 swig_obj
[0] = args
;
24359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24360 if (!SWIG_IsOK(res1
)) {
24361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24363 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (double)(arg1
)->GetRataDie();
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_From_double(static_cast< double >(result
));
24377 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
= 0;
24379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24380 wxDateTime::TimeZone
*arg2
= 0 ;
24381 bool arg3
= (bool) false ;
24385 bool temp2
= false ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 PyObject
* obj2
= 0 ;
24391 char * kwnames
[] = {
24392 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24397 if (!SWIG_IsOK(res1
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24400 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24402 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24406 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24407 if (!SWIG_IsOK(ecode3
)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24410 arg3
= static_cast< bool >(val3
);
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24420 if (temp2
) delete arg2
;
24425 if (temp2
) delete arg2
;
24431 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
= 0;
24433 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24434 wxDateTime::TimeZone
*arg2
= 0 ;
24435 bool arg3
= (bool) false ;
24436 wxDateTime
*result
= 0 ;
24439 bool temp2
= false ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 PyObject
* obj2
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24454 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24456 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24460 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24461 if (!SWIG_IsOK(ecode3
)) {
24462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24464 arg3
= static_cast< bool >(val3
);
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24470 result
= (wxDateTime
*) &_result_ref
;
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24477 if (temp2
) delete arg2
;
24482 if (temp2
) delete arg2
;
24488 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
= 0;
24490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24491 wxDateTime::TimeZone
*arg2
= 0 ;
24492 bool arg3
= (bool) false ;
24496 bool temp2
= false ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 PyObject
* obj2
= 0 ;
24502 char * kwnames
[] = {
24503 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24511 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24513 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24517 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24518 if (!SWIG_IsOK(ecode3
)) {
24519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24521 arg3
= static_cast< bool >(val3
);
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24531 if (temp2
) delete arg2
;
24536 if (temp2
) delete arg2
;
24542 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
= 0;
24544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24545 wxDateTime::TimeZone
*arg2
= 0 ;
24546 bool arg3
= (bool) false ;
24547 wxDateTime
*result
= 0 ;
24550 bool temp2
= false ;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 PyObject
* obj2
= 0 ;
24556 char * kwnames
[] = {
24557 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24562 if (!SWIG_IsOK(res1
)) {
24563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24565 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24567 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24571 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24572 if (!SWIG_IsOK(ecode3
)) {
24573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24575 arg3
= static_cast< bool >(val3
);
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24581 result
= (wxDateTime
*) &_result_ref
;
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24588 if (temp2
) delete arg2
;
24593 if (temp2
) delete arg2
;
24599 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
= 0;
24601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24602 bool arg2
= (bool) false ;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 char * kwnames
[] = {
24611 (char *) "self",(char *) "noDST", NULL
24614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24616 if (!SWIG_IsOK(res1
)) {
24617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24619 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24621 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24622 if (!SWIG_IsOK(ecode2
)) {
24623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24625 arg2
= static_cast< bool >(val2
);
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24640 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
= 0;
24642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24643 bool arg2
= (bool) false ;
24644 wxDateTime
*result
= 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "self",(char *) "noDST", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24660 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24663 if (!SWIG_IsOK(ecode2
)) {
24664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24666 arg2
= static_cast< bool >(val2
);
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24672 result
= (wxDateTime
*) &_result_ref
;
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24684 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
= 0;
24686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24687 bool arg2
= (bool) false ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 char * kwnames
[] = {
24696 (char *) "self",(char *) "noDST", NULL
24699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24701 if (!SWIG_IsOK(res1
)) {
24702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24704 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24707 if (!SWIG_IsOK(ecode2
)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24710 arg2
= static_cast< bool >(val2
);
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24725 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
= 0;
24727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24728 bool arg2
= (bool) false ;
24729 wxDateTime
*result
= 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 char * kwnames
[] = {
24737 (char *) "self",(char *) "noDST", NULL
24740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24742 if (!SWIG_IsOK(res1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24745 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24747 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24748 if (!SWIG_IsOK(ecode2
)) {
24749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24751 arg2
= static_cast< bool >(val2
);
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24757 result
= (wxDateTime
*) &_result_ref
;
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24769 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
= 0;
24771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24772 bool arg2
= (bool) false ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 char * kwnames
[] = {
24781 (char *) "self",(char *) "noDST", NULL
24784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24786 if (!SWIG_IsOK(res1
)) {
24787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24789 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24791 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24792 if (!SWIG_IsOK(ecode2
)) {
24793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24795 arg2
= static_cast< bool >(val2
);
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24803 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24810 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
= 0;
24812 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24813 bool arg2
= (bool) false ;
24814 wxDateTime
*result
= 0 ;
24819 PyObject
* obj0
= 0 ;
24820 PyObject
* obj1
= 0 ;
24821 char * kwnames
[] = {
24822 (char *) "self",(char *) "noDST", NULL
24825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24827 if (!SWIG_IsOK(res1
)) {
24828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24830 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24832 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24833 if (!SWIG_IsOK(ecode2
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24836 arg2
= static_cast< bool >(val2
);
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24842 result
= (wxDateTime
*) &_result_ref
;
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24854 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
= 0;
24856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24857 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char * kwnames
[] = {
24866 (char *) "self",(char *) "country", NULL
24869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24871 if (!SWIG_IsOK(res1
)) {
24872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24874 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24877 if (!SWIG_IsOK(ecode2
)) {
24878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24880 arg2
= static_cast< wxDateTime::Country
>(val2
);
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 result
= (int)(arg1
)->IsDST(arg2
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 resultobj
= SWIG_From_int(static_cast< int >(result
));
24895 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24896 PyObject
*resultobj
= 0;
24897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24901 PyObject
*swig_obj
[1] ;
24903 if (!args
) SWIG_fail
;
24904 swig_obj
[0] = args
;
24905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24906 if (!SWIG_IsOK(res1
)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24909 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24925 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24926 PyObject
*resultobj
= 0;
24927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24931 PyObject
*swig_obj
[1] ;
24933 if (!args
) SWIG_fail
;
24934 swig_obj
[0] = args
;
24935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24939 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24953 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
= 0;
24955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24956 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24957 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24961 bool temp2
= false ;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 char * kwnames
[] = {
24965 (char *) "self",(char *) "tz", NULL
24968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24970 if (!SWIG_IsOK(res1
)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24973 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24976 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_From_int(static_cast< int >(result
));
24988 if (temp2
) delete arg2
;
24993 if (temp2
) delete arg2
;
24999 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
= 0;
25001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25002 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25003 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25004 wxDateTime::Month result
;
25007 bool temp2
= false ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 char * kwnames
[] = {
25011 (char *) "self",(char *) "tz", NULL
25014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25016 if (!SWIG_IsOK(res1
)) {
25017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25019 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25022 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= SWIG_From_int(static_cast< int >(result
));
25034 if (temp2
) delete arg2
;
25039 if (temp2
) delete arg2
;
25045 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
= 0;
25047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25048 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25049 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25053 bool temp2
= false ;
25054 PyObject
* obj0
= 0 ;
25055 PyObject
* obj1
= 0 ;
25056 char * kwnames
[] = {
25057 (char *) "self",(char *) "tz", NULL
25060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25062 if (!SWIG_IsOK(res1
)) {
25063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25065 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25068 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_From_int(static_cast< int >(result
));
25080 if (temp2
) delete arg2
;
25085 if (temp2
) delete arg2
;
25091 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
= 0;
25093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25094 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25095 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25096 wxDateTime::WeekDay result
;
25099 bool temp2
= false ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 char * kwnames
[] = {
25103 (char *) "self",(char *) "tz", NULL
25106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25108 if (!SWIG_IsOK(res1
)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25111 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25114 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_From_int(static_cast< int >(result
));
25126 if (temp2
) delete arg2
;
25131 if (temp2
) delete arg2
;
25137 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
= 0;
25139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25140 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25141 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25145 bool temp2
= false ;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 char * kwnames
[] = {
25149 (char *) "self",(char *) "tz", NULL
25152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25157 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25160 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= SWIG_From_int(static_cast< int >(result
));
25172 if (temp2
) delete arg2
;
25177 if (temp2
) delete arg2
;
25183 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25184 PyObject
*resultobj
= 0;
25185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25186 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25187 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25191 bool temp2
= false ;
25192 PyObject
* obj0
= 0 ;
25193 PyObject
* obj1
= 0 ;
25194 char * kwnames
[] = {
25195 (char *) "self",(char *) "tz", NULL
25198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25200 if (!SWIG_IsOK(res1
)) {
25201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25203 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25206 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_From_int(static_cast< int >(result
));
25218 if (temp2
) delete arg2
;
25223 if (temp2
) delete arg2
;
25229 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25232 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25233 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25237 bool temp2
= false ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char * kwnames
[] = {
25241 (char *) "self",(char *) "tz", NULL
25244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25246 if (!SWIG_IsOK(res1
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25249 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25252 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_From_int(static_cast< int >(result
));
25264 if (temp2
) delete arg2
;
25269 if (temp2
) delete arg2
;
25275 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
= 0;
25277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25278 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25279 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25283 bool temp2
= false ;
25284 PyObject
* obj0
= 0 ;
25285 PyObject
* obj1
= 0 ;
25286 char * kwnames
[] = {
25287 (char *) "self",(char *) "tz", NULL
25290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25292 if (!SWIG_IsOK(res1
)) {
25293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25295 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25298 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= SWIG_From_int(static_cast< int >(result
));
25310 if (temp2
) delete arg2
;
25315 if (temp2
) delete arg2
;
25321 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
= 0;
25323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25324 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25325 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25329 bool temp2
= false ;
25330 PyObject
* obj0
= 0 ;
25331 PyObject
* obj1
= 0 ;
25332 char * kwnames
[] = {
25333 (char *) "self",(char *) "tz", NULL
25336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25338 if (!SWIG_IsOK(res1
)) {
25339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25341 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25344 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= SWIG_From_int(static_cast< int >(result
));
25356 if (temp2
) delete arg2
;
25361 if (temp2
) delete arg2
;
25367 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
= 0;
25369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25370 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25371 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25372 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25378 bool temp3
= false ;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 PyObject
* obj2
= 0 ;
25382 char * kwnames
[] = {
25383 (char *) "self",(char *) "flags",(char *) "tz", NULL
25386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25388 if (!SWIG_IsOK(res1
)) {
25389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25391 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25394 if (!SWIG_IsOK(ecode2
)) {
25395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25397 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25401 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 resultobj
= SWIG_From_int(static_cast< int >(result
));
25413 if (temp3
) delete arg3
;
25418 if (temp3
) delete arg3
;
25424 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
= 0;
25426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25427 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25428 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25429 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25435 bool temp3
= false ;
25436 PyObject
* obj0
= 0 ;
25437 PyObject
* obj1
= 0 ;
25438 PyObject
* obj2
= 0 ;
25439 char * kwnames
[] = {
25440 (char *) "self",(char *) "flags",(char *) "tz", NULL
25443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25448 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25451 if (!SWIG_IsOK(ecode2
)) {
25452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25454 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25458 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_From_int(static_cast< int >(result
));
25470 if (temp3
) delete arg3
;
25475 if (temp3
) delete arg3
;
25481 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
= 0;
25483 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25484 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25490 PyObject
* obj0
= 0 ;
25491 PyObject
* obj1
= 0 ;
25492 char * kwnames
[] = {
25493 (char *) "self",(char *) "country", NULL
25496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25501 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25504 if (!SWIG_IsOK(ecode2
)) {
25505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25507 arg2
= static_cast< wxDateTime::Country
>(val2
);
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25524 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
= 0;
25526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25527 wxDateTime
*arg2
= 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char * kwnames
[] = {
25536 (char *) "self",(char *) "datetime", NULL
25539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25544 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25546 if (!SWIG_IsOK(res2
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25552 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25568 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
= 0;
25570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25571 wxDateTime
*arg2
= 0 ;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 char * kwnames
[] = {
25580 (char *) "self",(char *) "datetime", NULL
25583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25585 if (!SWIG_IsOK(res1
)) {
25586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25588 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25590 if (!SWIG_IsOK(res2
)) {
25591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25596 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25612 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
= 0;
25614 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25615 wxDateTime
*arg2
= 0 ;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 char * kwnames
[] = {
25624 (char *) "self",(char *) "datetime", NULL
25627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25629 if (!SWIG_IsOK(res1
)) {
25630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25632 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25634 if (!SWIG_IsOK(res2
)) {
25635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25640 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25656 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
= 0;
25658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25659 wxDateTime
*arg2
= 0 ;
25660 wxDateTime
*arg3
= 0 ;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 PyObject
* obj2
= 0 ;
25671 char * kwnames
[] = {
25672 (char *) "self",(char *) "t1",(char *) "t2", NULL
25675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25677 if (!SWIG_IsOK(res1
)) {
25678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25680 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25682 if (!SWIG_IsOK(res2
)) {
25683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25688 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25689 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25690 if (!SWIG_IsOK(res3
)) {
25691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25696 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25712 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
= 0;
25714 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25715 wxDateTime
*arg2
= 0 ;
25716 wxDateTime
*arg3
= 0 ;
25724 PyObject
* obj0
= 0 ;
25725 PyObject
* obj1
= 0 ;
25726 PyObject
* obj2
= 0 ;
25727 char * kwnames
[] = {
25728 (char *) "self",(char *) "t1",(char *) "t2", NULL
25731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25733 if (!SWIG_IsOK(res1
)) {
25734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25736 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25737 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25738 if (!SWIG_IsOK(res2
)) {
25739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25744 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25745 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25746 if (!SWIG_IsOK(res3
)) {
25747 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25752 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25768 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
= 0;
25770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25771 wxDateTime
*arg2
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char * kwnames
[] = {
25780 (char *) "self",(char *) "dt", NULL
25783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25785 if (!SWIG_IsOK(res1
)) {
25786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25788 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25789 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25790 if (!SWIG_IsOK(res2
)) {
25791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25796 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25812 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
= 0;
25814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25815 wxDateTime
*arg2
= 0 ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 char * kwnames
[] = {
25824 (char *) "self",(char *) "dt", NULL
25827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25832 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25834 if (!SWIG_IsOK(res2
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25840 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25856 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
= 0;
25858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25859 wxDateTime
*arg2
= 0 ;
25860 wxTimeSpan
*arg3
= 0 ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 PyObject
* obj2
= 0 ;
25871 char * kwnames
[] = {
25872 (char *) "self",(char *) "dt",(char *) "ts", NULL
25875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25877 if (!SWIG_IsOK(res1
)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25880 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25882 if (!SWIG_IsOK(res2
)) {
25883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25888 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25889 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25890 if (!SWIG_IsOK(res3
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25896 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25912 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
= 0;
25914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25915 wxTimeSpan
*arg2
= 0 ;
25916 wxDateTime
*result
= 0 ;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char * kwnames
[] = {
25924 (char *) "self",(char *) "diff", NULL
25927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25929 if (!SWIG_IsOK(res1
)) {
25930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25932 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25934 if (!SWIG_IsOK(res2
)) {
25935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25940 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25945 result
= (wxDateTime
*) &_result_ref
;
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25957 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
= 0;
25959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25960 wxDateSpan
*arg2
= 0 ;
25961 wxDateTime
*result
= 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char * kwnames
[] = {
25969 (char *) "self",(char *) "diff", NULL
25972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25974 if (!SWIG_IsOK(res1
)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25977 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25979 if (!SWIG_IsOK(res2
)) {
25980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25985 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25990 result
= (wxDateTime
*) &_result_ref
;
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26002 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
= 0;
26004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26005 wxTimeSpan
*arg2
= 0 ;
26006 wxDateTime
*result
= 0 ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 char * kwnames
[] = {
26014 (char *) "self",(char *) "diff", NULL
26017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26022 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26024 if (!SWIG_IsOK(res2
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26030 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26035 result
= (wxDateTime
*) &_result_ref
;
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26047 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
= 0;
26049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26050 wxDateSpan
*arg2
= 0 ;
26051 wxDateTime
*result
= 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 char * kwnames
[] = {
26059 (char *) "self",(char *) "diff", NULL
26062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26064 if (!SWIG_IsOK(res1
)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26067 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26069 if (!SWIG_IsOK(res2
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26075 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26080 result
= (wxDateTime
*) &_result_ref
;
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26092 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
= 0;
26094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26095 wxDateTime
*arg2
= 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char * kwnames
[] = {
26104 (char *) "self",(char *) "dt", NULL
26107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26109 if (!SWIG_IsOK(res1
)) {
26110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26112 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26114 if (!SWIG_IsOK(res2
)) {
26115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26120 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26134 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26135 PyObject
*resultobj
= 0;
26136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26137 wxTimeSpan
*arg2
= 0 ;
26138 wxDateTime
*result
= 0 ;
26144 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26146 if (!SWIG_IsOK(res1
)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26149 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26150 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26151 if (!SWIG_IsOK(res2
)) {
26152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26157 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26162 result
= (wxDateTime
*) &_result_ref
;
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26174 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26175 PyObject
*resultobj
= 0;
26176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26177 wxDateSpan
*arg2
= 0 ;
26178 wxDateTime
*result
= 0 ;
26184 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26186 if (!SWIG_IsOK(res1
)) {
26187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26189 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26190 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26191 if (!SWIG_IsOK(res2
)) {
26192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26197 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26202 result
= (wxDateTime
*) &_result_ref
;
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26214 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26218 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26223 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26224 _v
= SWIG_CheckState(res
);
26226 if (!_v
) goto check_1
;
26227 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26232 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26236 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26241 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26242 PyObject
*resultobj
= 0;
26243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26244 wxTimeSpan
*arg2
= 0 ;
26245 wxDateTime
*result
= 0 ;
26251 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26256 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26257 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26258 if (!SWIG_IsOK(res2
)) {
26259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26264 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26269 result
= (wxDateTime
*) &_result_ref
;
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26281 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26282 PyObject
*resultobj
= 0;
26283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26284 wxDateSpan
*arg2
= 0 ;
26285 wxDateTime
*result
= 0 ;
26291 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26293 if (!SWIG_IsOK(res1
)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26296 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26297 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26298 if (!SWIG_IsOK(res2
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26304 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26309 result
= (wxDateTime
*) &_result_ref
;
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26321 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26325 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26330 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26331 _v
= SWIG_CheckState(res
);
26333 if (!_v
) goto check_1
;
26334 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26339 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26343 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26348 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26349 PyObject
*resultobj
= 0;
26350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26351 wxTimeSpan
*arg2
= 0 ;
26358 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26360 if (!SWIG_IsOK(res1
)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26363 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26364 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26365 if (!SWIG_IsOK(res2
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26371 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26385 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26386 PyObject
*resultobj
= 0;
26387 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26388 wxDateSpan
*arg2
= 0 ;
26395 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26397 if (!SWIG_IsOK(res1
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26400 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26401 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26402 if (!SWIG_IsOK(res2
)) {
26403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26408 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26422 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26426 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26431 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26432 _v
= SWIG_CheckState(res
);
26434 if (!_v
) goto check_1
;
26435 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26440 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26444 Py_INCREF(Py_NotImplemented
);
26445 return Py_NotImplemented
;
26449 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26450 PyObject
*resultobj
= 0;
26451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26452 wxDateTime
*arg2
= 0 ;
26459 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26464 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26465 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26466 if (!SWIG_IsOK(res2
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26472 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26486 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26487 PyObject
*resultobj
= 0;
26488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26489 wxTimeSpan
*arg2
= 0 ;
26496 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26498 if (!SWIG_IsOK(res1
)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26501 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26502 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26503 if (!SWIG_IsOK(res2
)) {
26504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26509 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26523 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26524 PyObject
*resultobj
= 0;
26525 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26526 wxDateSpan
*arg2
= 0 ;
26533 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26535 if (!SWIG_IsOK(res1
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26538 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26539 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26540 if (!SWIG_IsOK(res2
)) {
26541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26546 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26560 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26564 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26569 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26570 _v
= SWIG_CheckState(res
);
26572 if (!_v
) goto check_1
;
26573 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26580 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26581 _v
= SWIG_CheckState(res
);
26583 if (!_v
) goto check_2
;
26584 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26589 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26593 Py_INCREF(Py_NotImplemented
);
26594 return Py_NotImplemented
;
26598 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
= 0;
26600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26601 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26607 PyObject
* obj0
= 0 ;
26608 PyObject
* obj1
= 0 ;
26609 char * kwnames
[] = {
26610 (char *) "self",(char *) "other", NULL
26613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26615 if (!SWIG_IsOK(res1
)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26618 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26620 if (!SWIG_IsOK(res2
)) {
26621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26623 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26639 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
= 0;
26641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26642 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "other", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26659 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26661 if (!SWIG_IsOK(res2
)) {
26662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26664 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26680 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
= 0;
26682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26683 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 char * kwnames
[] = {
26692 (char *) "self",(char *) "other", NULL
26695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26700 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26702 if (!SWIG_IsOK(res2
)) {
26703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26705 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26721 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
= 0;
26723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26724 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26730 PyObject
* obj0
= 0 ;
26731 PyObject
* obj1
= 0 ;
26732 char * kwnames
[] = {
26733 (char *) "self",(char *) "other", NULL
26736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26741 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26743 if (!SWIG_IsOK(res2
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26746 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26762 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
= 0;
26764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26765 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char * kwnames
[] = {
26774 (char *) "self",(char *) "other", NULL
26777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26779 if (!SWIG_IsOK(res1
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26782 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26784 if (!SWIG_IsOK(res2
)) {
26785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26787 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26803 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= 0;
26805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26806 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 char * kwnames
[] = {
26815 (char *) "self",(char *) "other", NULL
26818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26820 if (!SWIG_IsOK(res1
)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26823 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26825 if (!SWIG_IsOK(res2
)) {
26826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26828 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26844 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
= 0;
26846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26847 wxString
*arg2
= 0 ;
26851 bool temp2
= false ;
26852 PyObject
* obj0
= 0 ;
26853 PyObject
* obj1
= 0 ;
26854 char * kwnames
[] = {
26855 (char *) "self",(char *) "date", NULL
26858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26860 if (!SWIG_IsOK(res1
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26863 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26865 arg2
= wxString_in_helper(obj1
);
26866 if (arg2
== NULL
) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= SWIG_From_int(static_cast< int >(result
));
26890 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
= 0;
26892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26893 wxString
*arg2
= 0 ;
26894 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26896 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26897 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26901 bool temp2
= false ;
26902 bool temp3
= false ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 PyObject
* obj2
= 0 ;
26908 PyObject
* obj3
= 0 ;
26909 char * kwnames
[] = {
26910 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26915 if (!SWIG_IsOK(res1
)) {
26916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26918 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26920 arg2
= wxString_in_helper(obj1
);
26921 if (arg2
== NULL
) SWIG_fail
;
26926 arg3
= wxString_in_helper(obj2
);
26927 if (arg3
== NULL
) SWIG_fail
;
26932 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26933 if (!SWIG_IsOK(res4
)) {
26934 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26939 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_From_int(static_cast< int >(result
));
26970 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
= 0;
26972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26973 wxString
*arg2
= 0 ;
26977 bool temp2
= false ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 char * kwnames
[] = {
26981 (char *) "self",(char *) "datetime", NULL
26984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26986 if (!SWIG_IsOK(res1
)) {
26987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26989 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26991 arg2
= wxString_in_helper(obj1
);
26992 if (arg2
== NULL
) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= SWIG_From_int(static_cast< int >(result
));
27016 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
= 0;
27018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27019 wxString
*arg2
= 0 ;
27023 bool temp2
= false ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char * kwnames
[] = {
27027 (char *) "self",(char *) "date", NULL
27030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27032 if (!SWIG_IsOK(res1
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27035 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27037 arg2
= wxString_in_helper(obj1
);
27038 if (arg2
== NULL
) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_From_int(static_cast< int >(result
));
27062 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
= 0;
27064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27065 wxString
*arg2
= 0 ;
27069 bool temp2
= false ;
27070 PyObject
* obj0
= 0 ;
27071 PyObject
* obj1
= 0 ;
27072 char * kwnames
[] = {
27073 (char *) "self",(char *) "time", NULL
27076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27078 if (!SWIG_IsOK(res1
)) {
27079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27081 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27083 arg2
= wxString_in_helper(obj1
);
27084 if (arg2
== NULL
) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= SWIG_From_int(static_cast< int >(result
));
27108 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
= 0;
27110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27111 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27112 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27113 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27114 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27118 bool temp2
= false ;
27119 bool temp3
= false ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 PyObject
* obj2
= 0 ;
27123 char * kwnames
[] = {
27124 (char *) "self",(char *) "format",(char *) "tz", NULL
27127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27129 if (!SWIG_IsOK(res1
)) {
27130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27132 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27135 arg2
= wxString_in_helper(obj1
);
27136 if (arg2
== NULL
) SWIG_fail
;
27142 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27164 if (temp3
) delete arg3
;
27173 if (temp3
) delete arg3
;
27179 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 PyObject
*resultobj
= 0;
27181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27185 PyObject
*swig_obj
[1] ;
27187 if (!args
) SWIG_fail
;
27188 swig_obj
[0] = args
;
27189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27190 if (!SWIG_IsOK(res1
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27193 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27213 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27214 PyObject
*resultobj
= 0;
27215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27219 PyObject
*swig_obj
[1] ;
27221 if (!args
) SWIG_fail
;
27222 swig_obj
[0] = args
;
27223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27224 if (!SWIG_IsOK(res1
)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27227 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27247 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27248 PyObject
*resultobj
= 0;
27249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27253 PyObject
*swig_obj
[1] ;
27255 if (!args
) SWIG_fail
;
27256 swig_obj
[0] = args
;
27257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27261 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27281 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27282 PyObject
*resultobj
= 0;
27283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27287 PyObject
*swig_obj
[1] ;
27289 if (!args
) SWIG_fail
;
27290 swig_obj
[0] = args
;
27291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27292 if (!SWIG_IsOK(res1
)) {
27293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27295 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27315 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27318 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27319 return SWIG_Py_Void();
27322 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27323 return SWIG_Python_InitShadowInstance(args
);
27326 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
= 0;
27332 PyObject
* obj0
= 0 ;
27333 char * kwnames
[] = {
27334 (char *) "ms", NULL
27337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27338 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27339 if (!SWIG_IsOK(ecode1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27342 arg1
= static_cast< long >(val1
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= wxTimeSpan::Milliseconds(arg1
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27356 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27357 PyObject
*resultobj
= 0;
27360 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= wxTimeSpan::Millisecond();
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27374 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
= 0;
27380 PyObject
* obj0
= 0 ;
27381 char * kwnames
[] = {
27382 (char *) "sec", NULL
27385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27386 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27387 if (!SWIG_IsOK(ecode1
)) {
27388 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27390 arg1
= static_cast< long >(val1
);
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 result
= wxTimeSpan::Seconds(arg1
);
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27404 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 PyObject
*resultobj
= 0;
27408 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= wxTimeSpan::Second();
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27422 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
= 0;
27428 PyObject
* obj0
= 0 ;
27429 char * kwnames
[] = {
27430 (char *) "min", NULL
27433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27434 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27435 if (!SWIG_IsOK(ecode1
)) {
27436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27438 arg1
= static_cast< long >(val1
);
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= wxTimeSpan::Minutes(arg1
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27452 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27453 PyObject
*resultobj
= 0;
27456 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= wxTimeSpan::Minute();
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27470 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
= 0;
27476 PyObject
* obj0
= 0 ;
27477 char * kwnames
[] = {
27478 (char *) "hours", NULL
27481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27482 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27483 if (!SWIG_IsOK(ecode1
)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27486 arg1
= static_cast< long >(val1
);
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 result
= wxTimeSpan::Hours(arg1
);
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27500 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27504 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 result
= wxTimeSpan::Hour();
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27518 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
= 0;
27524 PyObject
* obj0
= 0 ;
27525 char * kwnames
[] = {
27526 (char *) "days", NULL
27529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27530 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27531 if (!SWIG_IsOK(ecode1
)) {
27532 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27534 arg1
= static_cast< long >(val1
);
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 result
= wxTimeSpan::Days(arg1
);
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27541 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27548 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27549 PyObject
*resultobj
= 0;
27552 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= wxTimeSpan::Day();
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27566 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27567 PyObject
*resultobj
= 0;
27572 PyObject
* obj0
= 0 ;
27573 char * kwnames
[] = {
27574 (char *) "days", NULL
27577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27578 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27579 if (!SWIG_IsOK(ecode1
)) {
27580 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27582 arg1
= static_cast< long >(val1
);
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 result
= wxTimeSpan::Weeks(arg1
);
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27596 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27597 PyObject
*resultobj
= 0;
27600 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= wxTimeSpan::Week();
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27614 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
= 0;
27616 long arg1
= (long) 0 ;
27617 long arg2
= (long) 0 ;
27618 long arg3
= (long) 0 ;
27619 long arg4
= (long) 0 ;
27620 wxTimeSpan
*result
= 0 ;
27629 PyObject
* obj0
= 0 ;
27630 PyObject
* obj1
= 0 ;
27631 PyObject
* obj2
= 0 ;
27632 PyObject
* obj3
= 0 ;
27633 char * kwnames
[] = {
27634 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27639 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27640 if (!SWIG_IsOK(ecode1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27643 arg1
= static_cast< long >(val1
);
27646 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27647 if (!SWIG_IsOK(ecode2
)) {
27648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27650 arg2
= static_cast< long >(val2
);
27653 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27654 if (!SWIG_IsOK(ecode3
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27657 arg3
= static_cast< long >(val3
);
27660 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27661 if (!SWIG_IsOK(ecode4
)) {
27662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27664 arg4
= static_cast< long >(val4
);
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27679 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27680 PyObject
*resultobj
= 0;
27681 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27684 PyObject
*swig_obj
[1] ;
27686 if (!args
) SWIG_fail
;
27687 swig_obj
[0] = args
;
27688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27689 if (!SWIG_IsOK(res1
)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27692 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_Py_Void();
27707 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
= 0;
27709 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27710 wxTimeSpan
*arg2
= 0 ;
27711 wxTimeSpan
*result
= 0 ;
27716 PyObject
* obj0
= 0 ;
27717 PyObject
* obj1
= 0 ;
27718 char * kwnames
[] = {
27719 (char *) "self",(char *) "diff", NULL
27722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27724 if (!SWIG_IsOK(res1
)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27727 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27729 if (!SWIG_IsOK(res2
)) {
27730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27735 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27740 result
= (wxTimeSpan
*) &_result_ref
;
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27752 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
= 0;
27754 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27755 wxTimeSpan
*arg2
= 0 ;
27756 wxTimeSpan
*result
= 0 ;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 char * kwnames
[] = {
27764 (char *) "self",(char *) "diff", NULL
27767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27772 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27774 if (!SWIG_IsOK(res2
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27780 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27785 result
= (wxTimeSpan
*) &_result_ref
;
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27797 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
= 0;
27799 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27801 wxTimeSpan
*result
= 0 ;
27806 PyObject
* obj0
= 0 ;
27807 PyObject
* obj1
= 0 ;
27808 char * kwnames
[] = {
27809 (char *) "self",(char *) "n", NULL
27812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27817 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27819 if (!SWIG_IsOK(ecode2
)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27822 arg2
= static_cast< int >(val2
);
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27827 result
= (wxTimeSpan
*) &_result_ref
;
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27839 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27840 PyObject
*resultobj
= 0;
27841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27842 wxTimeSpan
*result
= 0 ;
27845 PyObject
*swig_obj
[1] ;
27847 if (!args
) SWIG_fail
;
27848 swig_obj
[0] = args
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27853 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27858 result
= (wxTimeSpan
*) &_result_ref
;
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27870 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27871 PyObject
*resultobj
= 0;
27872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27876 PyObject
*swig_obj
[1] ;
27878 if (!args
) SWIG_fail
;
27879 swig_obj
[0] = args
;
27880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27881 if (!SWIG_IsOK(res1
)) {
27882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27884 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27898 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27899 PyObject
*resultobj
= 0;
27900 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27901 wxTimeSpan
*arg2
= 0 ;
27902 wxTimeSpan
*result
= 0 ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 char * kwnames
[] = {
27910 (char *) "self",(char *) "diff", NULL
27913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27918 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27920 if (!SWIG_IsOK(res2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27926 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27931 result
= (wxTimeSpan
*) &_result_ref
;
27933 wxPyEndAllowThreads(__tstate
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27943 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27944 PyObject
*resultobj
= 0;
27945 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27946 wxTimeSpan
*arg2
= 0 ;
27947 wxTimeSpan
*result
= 0 ;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 char * kwnames
[] = {
27955 (char *) "self",(char *) "diff", NULL
27958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27960 if (!SWIG_IsOK(res1
)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27963 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27965 if (!SWIG_IsOK(res2
)) {
27966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27971 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27976 result
= (wxTimeSpan
*) &_result_ref
;
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27988 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
= 0;
27990 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27992 wxTimeSpan
*result
= 0 ;
27997 PyObject
* obj0
= 0 ;
27998 PyObject
* obj1
= 0 ;
27999 char * kwnames
[] = {
28000 (char *) "self",(char *) "n", NULL
28003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28005 if (!SWIG_IsOK(res1
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28008 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28010 if (!SWIG_IsOK(ecode2
)) {
28011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
28013 arg2
= static_cast< int >(val2
);
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
28018 result
= (wxTimeSpan
*) &_result_ref
;
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28030 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28031 PyObject
*resultobj
= 0;
28032 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28033 wxTimeSpan
*result
= 0 ;
28036 PyObject
*swig_obj
[1] ;
28038 if (!args
) SWIG_fail
;
28039 swig_obj
[0] = args
;
28040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28041 if (!SWIG_IsOK(res1
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28044 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28049 result
= (wxTimeSpan
*) &_result_ref
;
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28061 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
= 0;
28063 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28064 wxTimeSpan
*arg2
= 0 ;
28070 PyObject
* obj0
= 0 ;
28071 PyObject
* obj1
= 0 ;
28072 char * kwnames
[] = {
28073 (char *) "self",(char *) "other", NULL
28076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28078 if (!SWIG_IsOK(res1
)) {
28079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28081 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28083 if (!SWIG_IsOK(res2
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28089 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28103 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
= 0;
28105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28106 wxTimeSpan
*arg2
= 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char * kwnames
[] = {
28115 (char *) "self",(char *) "other", NULL
28118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28123 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28125 if (!SWIG_IsOK(res2
)) {
28126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28131 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28145 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
= 0;
28147 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28154 PyObject
* obj0
= 0 ;
28155 PyObject
* obj1
= 0 ;
28156 char * kwnames
[] = {
28157 (char *) "self",(char *) "n", NULL
28160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28162 if (!SWIG_IsOK(res1
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28165 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28167 if (!SWIG_IsOK(ecode2
)) {
28168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28170 arg2
= static_cast< int >(val2
);
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= wxTimeSpan___mul__(arg1
,arg2
);
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28184 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
= 0;
28186 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28193 PyObject
* obj0
= 0 ;
28194 PyObject
* obj1
= 0 ;
28195 char * kwnames
[] = {
28196 (char *) "self",(char *) "n", NULL
28199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28201 if (!SWIG_IsOK(res1
)) {
28202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28204 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28206 if (!SWIG_IsOK(ecode2
)) {
28207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28209 arg2
= static_cast< int >(val2
);
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28223 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28224 PyObject
*resultobj
= 0;
28225 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28226 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 char * kwnames
[] = {
28235 (char *) "self",(char *) "other", NULL
28238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28243 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28245 if (!SWIG_IsOK(res2
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28248 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28264 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
= 0;
28266 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28267 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28273 PyObject
* obj0
= 0 ;
28274 PyObject
* obj1
= 0 ;
28275 char * kwnames
[] = {
28276 (char *) "self",(char *) "other", NULL
28279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28284 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28286 if (!SWIG_IsOK(res2
)) {
28287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28289 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28292 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28305 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
= 0;
28307 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28308 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char * kwnames
[] = {
28317 (char *) "self",(char *) "other", NULL
28320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28325 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28327 if (!SWIG_IsOK(res2
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28330 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28346 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
= 0;
28348 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28349 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28355 PyObject
* obj0
= 0 ;
28356 PyObject
* obj1
= 0 ;
28357 char * kwnames
[] = {
28358 (char *) "self",(char *) "other", NULL
28361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28363 if (!SWIG_IsOK(res1
)) {
28364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28366 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28368 if (!SWIG_IsOK(res2
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28371 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28375 wxPyEndAllowThreads(__tstate
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28387 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
= 0;
28389 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28390 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 char * kwnames
[] = {
28399 (char *) "self",(char *) "other", NULL
28402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28407 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28409 if (!SWIG_IsOK(res2
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28412 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28428 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28429 PyObject
*resultobj
= 0;
28430 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28431 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 char * kwnames
[] = {
28440 (char *) "self",(char *) "other", NULL
28443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28445 if (!SWIG_IsOK(res1
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28448 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28450 if (!SWIG_IsOK(res2
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28453 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28469 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28475 PyObject
*swig_obj
[1] ;
28477 if (!args
) SWIG_fail
;
28478 swig_obj
[0] = args
;
28479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28483 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28499 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28500 PyObject
*resultobj
= 0;
28501 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28505 PyObject
*swig_obj
[1] ;
28507 if (!args
) SWIG_fail
;
28508 swig_obj
[0] = args
;
28509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28513 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28529 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28530 PyObject
*resultobj
= 0;
28531 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28535 PyObject
*swig_obj
[1] ;
28537 if (!args
) SWIG_fail
;
28538 swig_obj
[0] = args
;
28539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28543 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28559 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
= 0;
28561 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28562 wxTimeSpan
*arg2
= 0 ;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 char * kwnames
[] = {
28571 (char *) "self",(char *) "ts", NULL
28574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28579 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28581 if (!SWIG_IsOK(res2
)) {
28582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28587 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28603 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28604 PyObject
*resultobj
= 0;
28605 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28606 wxTimeSpan
*arg2
= 0 ;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char * kwnames
[] = {
28615 (char *) "self",(char *) "ts", NULL
28618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28620 if (!SWIG_IsOK(res1
)) {
28621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28623 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28625 if (!SWIG_IsOK(res2
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28631 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28647 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
= 0;
28649 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28650 wxTimeSpan
*arg2
= 0 ;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 char * kwnames
[] = {
28659 (char *) "self",(char *) "t", NULL
28662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28667 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28669 if (!SWIG_IsOK(res2
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28675 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28691 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28692 PyObject
*resultobj
= 0;
28693 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28697 PyObject
*swig_obj
[1] ;
28699 if (!args
) SWIG_fail
;
28700 swig_obj
[0] = args
;
28701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28702 if (!SWIG_IsOK(res1
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28705 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28708 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_From_int(static_cast< int >(result
));
28719 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28720 PyObject
*resultobj
= 0;
28721 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28725 PyObject
*swig_obj
[1] ;
28727 if (!args
) SWIG_fail
;
28728 swig_obj
[0] = args
;
28729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28730 if (!SWIG_IsOK(res1
)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28733 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_From_int(static_cast< int >(result
));
28747 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28748 PyObject
*resultobj
= 0;
28749 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28753 PyObject
*swig_obj
[1] ;
28755 if (!args
) SWIG_fail
;
28756 swig_obj
[0] = args
;
28757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28761 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_From_int(static_cast< int >(result
));
28775 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28776 PyObject
*resultobj
= 0;
28777 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28781 PyObject
*swig_obj
[1] ;
28783 if (!args
) SWIG_fail
;
28784 swig_obj
[0] = args
;
28785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28786 if (!SWIG_IsOK(res1
)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28789 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28796 resultobj
= SWIG_From_int(static_cast< int >(result
));
28803 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28804 PyObject
*resultobj
= 0;
28805 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28809 PyObject
*swig_obj
[1] ;
28811 if (!args
) SWIG_fail
;
28812 swig_obj
[0] = args
;
28813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28814 if (!SWIG_IsOK(res1
)) {
28815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28817 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28825 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28826 hi
= PyLong_FromLong( (&result
)->GetHi() );
28827 lo
= PyLong_FromLong( (&result
)->GetLo() );
28828 shifter
= PyLong_FromLong(32);
28829 shifted
= PyNumber_Lshift(hi
, shifter
);
28830 resultobj
= PyNumber_Or(shifted
, lo
);
28833 Py_DECREF(shifter
);
28834 Py_DECREF(shifted
);
28842 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28843 PyObject
*resultobj
= 0;
28844 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28848 PyObject
*swig_obj
[1] ;
28850 if (!args
) SWIG_fail
;
28851 swig_obj
[0] = args
;
28852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28853 if (!SWIG_IsOK(res1
)) {
28854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28856 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28864 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28865 hi
= PyLong_FromLong( (&result
)->GetHi() );
28866 lo
= PyLong_FromLong( (&result
)->GetLo() );
28867 shifter
= PyLong_FromLong(32);
28868 shifted
= PyNumber_Lshift(hi
, shifter
);
28869 resultobj
= PyNumber_Or(shifted
, lo
);
28872 Py_DECREF(shifter
);
28873 Py_DECREF(shifted
);
28881 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
= 0;
28883 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28884 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28885 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28889 bool temp2
= false ;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 char * kwnames
[] = {
28893 (char *) "self",(char *) "format", NULL
28896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28901 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28904 arg2
= wxString_in_helper(obj1
);
28905 if (arg2
== NULL
) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28936 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28938 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28939 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28940 return SWIG_Py_Void();
28943 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28944 return SWIG_Python_InitShadowInstance(args
);
28947 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
= 0;
28949 int arg1
= (int) 0 ;
28950 int arg2
= (int) 0 ;
28951 int arg3
= (int) 0 ;
28952 int arg4
= (int) 0 ;
28953 wxDateSpan
*result
= 0 ;
28962 PyObject
* obj0
= 0 ;
28963 PyObject
* obj1
= 0 ;
28964 PyObject
* obj2
= 0 ;
28965 PyObject
* obj3
= 0 ;
28966 char * kwnames
[] = {
28967 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28973 if (!SWIG_IsOK(ecode1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28976 arg1
= static_cast< int >(val1
);
28979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28980 if (!SWIG_IsOK(ecode2
)) {
28981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28983 arg2
= static_cast< int >(val2
);
28986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28987 if (!SWIG_IsOK(ecode3
)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28990 arg3
= static_cast< int >(val3
);
28993 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28994 if (!SWIG_IsOK(ecode4
)) {
28995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28997 arg4
= static_cast< int >(val4
);
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
29002 wxPyEndAllowThreads(__tstate
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
29012 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29013 PyObject
*resultobj
= 0;
29014 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29017 PyObject
*swig_obj
[1] ;
29019 if (!args
) SWIG_fail
;
29020 swig_obj
[0] = args
;
29021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29022 if (!SWIG_IsOK(res1
)) {
29023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29025 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= SWIG_Py_Void();
29040 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
= 0;
29046 PyObject
* obj0
= 0 ;
29047 char * kwnames
[] = {
29048 (char *) "days", NULL
29051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29053 if (!SWIG_IsOK(ecode1
)) {
29054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29056 arg1
= static_cast< int >(val1
);
29058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29059 result
= wxDateSpan::Days(arg1
);
29060 wxPyEndAllowThreads(__tstate
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29070 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29071 PyObject
*resultobj
= 0;
29074 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= wxDateSpan::Day();
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29088 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
= 0;
29094 PyObject
* obj0
= 0 ;
29095 char * kwnames
[] = {
29096 (char *) "weeks", NULL
29099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29101 if (!SWIG_IsOK(ecode1
)) {
29102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29104 arg1
= static_cast< int >(val1
);
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29107 result
= wxDateSpan::Weeks(arg1
);
29108 wxPyEndAllowThreads(__tstate
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29111 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29118 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29119 PyObject
*resultobj
= 0;
29122 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 result
= wxDateSpan::Week();
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29136 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
= 0;
29142 PyObject
* obj0
= 0 ;
29143 char * kwnames
[] = {
29144 (char *) "mon", NULL
29147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29149 if (!SWIG_IsOK(ecode1
)) {
29150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29152 arg1
= static_cast< int >(val1
);
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 result
= wxDateSpan::Months(arg1
);
29156 wxPyEndAllowThreads(__tstate
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29159 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29166 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29167 PyObject
*resultobj
= 0;
29170 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 result
= wxDateSpan::Month();
29174 wxPyEndAllowThreads(__tstate
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29184 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29185 PyObject
*resultobj
= 0;
29190 PyObject
* obj0
= 0 ;
29191 char * kwnames
[] = {
29192 (char *) "years", NULL
29195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29196 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29197 if (!SWIG_IsOK(ecode1
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29200 arg1
= static_cast< int >(val1
);
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 result
= wxDateSpan::Years(arg1
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29214 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29215 PyObject
*resultobj
= 0;
29218 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= wxDateSpan::Year();
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29232 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
= 0;
29234 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29236 wxDateSpan
*result
= 0 ;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 char * kwnames
[] = {
29244 (char *) "self",(char *) "n", NULL
29247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29249 if (!SWIG_IsOK(res1
)) {
29250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29252 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29254 if (!SWIG_IsOK(ecode2
)) {
29255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29257 arg2
= static_cast< int >(val2
);
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29262 result
= (wxDateSpan
*) &_result_ref
;
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29274 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
= 0;
29276 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29278 wxDateSpan
*result
= 0 ;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 char * kwnames
[] = {
29286 (char *) "self",(char *) "n", NULL
29289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29291 if (!SWIG_IsOK(res1
)) {
29292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29294 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29296 if (!SWIG_IsOK(ecode2
)) {
29297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29299 arg2
= static_cast< int >(val2
);
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29304 result
= (wxDateSpan
*) &_result_ref
;
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29316 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
= 0;
29318 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29320 wxDateSpan
*result
= 0 ;
29325 PyObject
* obj0
= 0 ;
29326 PyObject
* obj1
= 0 ;
29327 char * kwnames
[] = {
29328 (char *) "self",(char *) "n", NULL
29331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29333 if (!SWIG_IsOK(res1
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29336 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29338 if (!SWIG_IsOK(ecode2
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29341 arg2
= static_cast< int >(val2
);
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29346 result
= (wxDateSpan
*) &_result_ref
;
29348 wxPyEndAllowThreads(__tstate
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29358 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
= 0;
29360 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29362 wxDateSpan
*result
= 0 ;
29367 PyObject
* obj0
= 0 ;
29368 PyObject
* obj1
= 0 ;
29369 char * kwnames
[] = {
29370 (char *) "self",(char *) "n", NULL
29373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29375 if (!SWIG_IsOK(res1
)) {
29376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29378 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29380 if (!SWIG_IsOK(ecode2
)) {
29381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29383 arg2
= static_cast< int >(val2
);
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29388 result
= (wxDateSpan
*) &_result_ref
;
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29400 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29401 PyObject
*resultobj
= 0;
29402 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29406 PyObject
*swig_obj
[1] ;
29408 if (!args
) SWIG_fail
;
29409 swig_obj
[0] = args
;
29410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29411 if (!SWIG_IsOK(res1
)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29414 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_From_int(static_cast< int >(result
));
29428 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29429 PyObject
*resultobj
= 0;
29430 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29434 PyObject
*swig_obj
[1] ;
29436 if (!args
) SWIG_fail
;
29437 swig_obj
[0] = args
;
29438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29439 if (!SWIG_IsOK(res1
)) {
29440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29442 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= SWIG_From_int(static_cast< int >(result
));
29456 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29457 PyObject
*resultobj
= 0;
29458 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29462 PyObject
*swig_obj
[1] ;
29464 if (!args
) SWIG_fail
;
29465 swig_obj
[0] = args
;
29466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29467 if (!SWIG_IsOK(res1
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29470 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= SWIG_From_int(static_cast< int >(result
));
29484 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29485 PyObject
*resultobj
= 0;
29486 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29490 PyObject
*swig_obj
[1] ;
29492 if (!args
) SWIG_fail
;
29493 swig_obj
[0] = args
;
29494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29495 if (!SWIG_IsOK(res1
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29498 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= SWIG_From_int(static_cast< int >(result
));
29512 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29513 PyObject
*resultobj
= 0;
29514 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29518 PyObject
*swig_obj
[1] ;
29520 if (!args
) SWIG_fail
;
29521 swig_obj
[0] = args
;
29522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29523 if (!SWIG_IsOK(res1
)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29526 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29530 wxPyEndAllowThreads(__tstate
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= SWIG_From_int(static_cast< int >(result
));
29540 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
= 0;
29542 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29543 wxDateSpan
*arg2
= 0 ;
29544 wxDateSpan
*result
= 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 char * kwnames
[] = {
29552 (char *) "self",(char *) "other", NULL
29555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29557 if (!SWIG_IsOK(res1
)) {
29558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29560 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29562 if (!SWIG_IsOK(res2
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29568 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29573 result
= (wxDateSpan
*) &_result_ref
;
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29585 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29586 PyObject
*resultobj
= 0;
29587 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29588 wxDateSpan
*arg2
= 0 ;
29589 wxDateSpan
*result
= 0 ;
29594 PyObject
* obj0
= 0 ;
29595 PyObject
* obj1
= 0 ;
29596 char * kwnames
[] = {
29597 (char *) "self",(char *) "other", NULL
29600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29602 if (!SWIG_IsOK(res1
)) {
29603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29605 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29607 if (!SWIG_IsOK(res2
)) {
29608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29613 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29618 result
= (wxDateSpan
*) &_result_ref
;
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29630 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29631 PyObject
*resultobj
= 0;
29632 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29633 wxDateSpan
*result
= 0 ;
29636 PyObject
*swig_obj
[1] ;
29638 if (!args
) SWIG_fail
;
29639 swig_obj
[0] = args
;
29640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29641 if (!SWIG_IsOK(res1
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29644 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29649 result
= (wxDateSpan
*) &_result_ref
;
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29661 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29662 PyObject
*resultobj
= 0;
29663 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29665 wxDateSpan
*result
= 0 ;
29670 PyObject
* obj0
= 0 ;
29671 PyObject
* obj1
= 0 ;
29672 char * kwnames
[] = {
29673 (char *) "self",(char *) "factor", NULL
29676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29678 if (!SWIG_IsOK(res1
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29681 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29683 if (!SWIG_IsOK(ecode2
)) {
29684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29686 arg2
= static_cast< int >(val2
);
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29690 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29691 result
= (wxDateSpan
*) &_result_ref
;
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29703 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
= 0;
29705 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29706 wxDateSpan
*arg2
= 0 ;
29707 wxDateSpan
*result
= 0 ;
29712 PyObject
* obj0
= 0 ;
29713 PyObject
* obj1
= 0 ;
29714 char * kwnames
[] = {
29715 (char *) "self",(char *) "other", NULL
29718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29720 if (!SWIG_IsOK(res1
)) {
29721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29723 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29725 if (!SWIG_IsOK(res2
)) {
29726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29731 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29736 result
= (wxDateSpan
*) &_result_ref
;
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29748 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
= 0;
29750 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29751 wxDateSpan
*arg2
= 0 ;
29752 wxDateSpan
*result
= 0 ;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 char * kwnames
[] = {
29760 (char *) "self",(char *) "other", NULL
29763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29765 if (!SWIG_IsOK(res1
)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29768 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29770 if (!SWIG_IsOK(res2
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29776 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29781 result
= (wxDateSpan
*) &_result_ref
;
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29793 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29794 PyObject
*resultobj
= 0;
29795 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29796 wxDateSpan
*result
= 0 ;
29799 PyObject
*swig_obj
[1] ;
29801 if (!args
) SWIG_fail
;
29802 swig_obj
[0] = args
;
29803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29804 if (!SWIG_IsOK(res1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29807 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29812 result
= (wxDateSpan
*) &_result_ref
;
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29824 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29825 PyObject
*resultobj
= 0;
29826 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29828 wxDateSpan
*result
= 0 ;
29833 PyObject
* obj0
= 0 ;
29834 PyObject
* obj1
= 0 ;
29835 char * kwnames
[] = {
29836 (char *) "self",(char *) "factor", NULL
29839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29841 if (!SWIG_IsOK(res1
)) {
29842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29844 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29846 if (!SWIG_IsOK(ecode2
)) {
29847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29849 arg2
= static_cast< int >(val2
);
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29854 result
= (wxDateSpan
*) &_result_ref
;
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29866 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
= 0;
29868 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29869 wxDateSpan
*arg2
= 0 ;
29875 PyObject
* obj0
= 0 ;
29876 PyObject
* obj1
= 0 ;
29877 char * kwnames
[] = {
29878 (char *) "self",(char *) "other", NULL
29881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29883 if (!SWIG_IsOK(res1
)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29886 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29888 if (!SWIG_IsOK(res2
)) {
29889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29894 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29908 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
= 0;
29910 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29911 wxDateSpan
*arg2
= 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "other", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29928 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29930 if (!SWIG_IsOK(res2
)) {
29931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29936 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29950 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
= 0;
29952 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29959 PyObject
* obj0
= 0 ;
29960 PyObject
* obj1
= 0 ;
29961 char * kwnames
[] = {
29962 (char *) "self",(char *) "n", NULL
29965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29967 if (!SWIG_IsOK(res1
)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29970 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29972 if (!SWIG_IsOK(ecode2
)) {
29973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29975 arg2
= static_cast< int >(val2
);
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= wxDateSpan___mul__(arg1
,arg2
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29989 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
= 0;
29991 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29998 PyObject
* obj0
= 0 ;
29999 PyObject
* obj1
= 0 ;
30000 char * kwnames
[] = {
30001 (char *) "self",(char *) "n", NULL
30004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30006 if (!SWIG_IsOK(res1
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30009 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30011 if (!SWIG_IsOK(ecode2
)) {
30012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
30014 arg2
= static_cast< int >(val2
);
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= wxDateSpan___rmul__(arg1
,arg2
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30028 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
= 0;
30030 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30031 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 char * kwnames
[] = {
30040 (char *) "self",(char *) "other", NULL
30043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30045 if (!SWIG_IsOK(res1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30048 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30050 if (!SWIG_IsOK(res2
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30053 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30057 wxPyEndAllowThreads(__tstate
);
30058 if (PyErr_Occurred()) SWIG_fail
;
30061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30069 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
= 0;
30071 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30072 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30078 PyObject
* obj0
= 0 ;
30079 PyObject
* obj1
= 0 ;
30080 char * kwnames
[] = {
30081 (char *) "self",(char *) "other", NULL
30084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30086 if (!SWIG_IsOK(res1
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30089 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30091 if (!SWIG_IsOK(res2
)) {
30092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30094 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30110 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30113 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30114 return SWIG_Py_Void();
30117 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30118 return SWIG_Python_InitShadowInstance(args
);
30121 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30122 PyObject
*resultobj
= 0;
30125 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (long)wxGetLocalTime();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_From_long(static_cast< long >(result
));
30139 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30140 PyObject
*resultobj
= 0;
30143 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 result
= (long)wxGetUTCTime();
30147 wxPyEndAllowThreads(__tstate
);
30148 if (PyErr_Occurred()) SWIG_fail
;
30150 resultobj
= SWIG_From_long(static_cast< long >(result
));
30157 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30158 PyObject
*resultobj
= 0;
30161 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 result
= (long)wxGetCurrentTime();
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= SWIG_From_long(static_cast< long >(result
));
30175 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30176 PyObject
*resultobj
= 0;
30179 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= wxGetLocalTimeMillis();
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30187 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30188 hi
= PyLong_FromLong( (&result
)->GetHi() );
30189 lo
= PyLong_FromLong( (&result
)->GetLo() );
30190 shifter
= PyLong_FromLong(32);
30191 shifted
= PyNumber_Lshift(hi
, shifter
);
30192 resultobj
= PyNumber_Or(shifted
, lo
);
30195 Py_DECREF(shifter
);
30196 Py_DECREF(shifted
);
30204 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30205 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30210 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30211 PyObject
*pyobj
= 0;
30213 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30218 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
= 0;
30220 wxDataFormatId arg1
;
30221 wxDataFormat
*result
= 0 ;
30224 PyObject
* obj0
= 0 ;
30225 char * kwnames
[] = {
30226 (char *) "type", NULL
30229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30231 if (!SWIG_IsOK(ecode1
)) {
30232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30234 arg1
= static_cast< wxDataFormatId
>(val1
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30248 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= 0;
30250 wxString
*arg1
= 0 ;
30251 wxDataFormat
*result
= 0 ;
30252 bool temp1
= false ;
30253 PyObject
* obj0
= 0 ;
30254 char * kwnames
[] = {
30255 (char *) "format", NULL
30258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30260 arg1
= wxString_in_helper(obj0
);
30261 if (arg1
== NULL
) SWIG_fail
;
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30285 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30286 PyObject
*resultobj
= 0;
30287 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30290 PyObject
*swig_obj
[1] ;
30292 if (!args
) SWIG_fail
;
30293 swig_obj
[0] = args
;
30294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30298 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 resultobj
= SWIG_Py_Void();
30313 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30314 PyObject
*resultobj
= 0;
30315 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30316 wxDataFormatId arg2
;
30323 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30325 if (!SWIG_IsOK(res1
)) {
30326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30328 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30329 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30330 if (!SWIG_IsOK(ecode2
)) {
30331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30333 arg2
= static_cast< wxDataFormatId
>(val2
);
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30349 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30350 PyObject
*resultobj
= 0;
30351 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30352 wxDataFormatId arg2
;
30359 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30361 if (!SWIG_IsOK(res1
)) {
30362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30364 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30365 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30366 if (!SWIG_IsOK(ecode2
)) {
30367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30369 arg2
= static_cast< wxDataFormatId
>(val2
);
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30385 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30386 PyObject
*resultobj
= 0;
30387 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30388 wxDataFormat
*arg2
= 0 ;
30395 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30400 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30401 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30402 if (!SWIG_IsOK(res2
)) {
30403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30408 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30424 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30428 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30433 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30434 _v
= SWIG_CheckState(res
);
30436 if (!_v
) goto check_1
;
30437 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30442 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30446 Py_INCREF(Py_NotImplemented
);
30447 return Py_NotImplemented
;
30451 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30452 PyObject
*resultobj
= 0;
30453 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30454 wxDataFormat
*arg2
= 0 ;
30461 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30463 if (!SWIG_IsOK(res1
)) {
30464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30466 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30467 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30468 if (!SWIG_IsOK(res2
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30474 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30490 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30494 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30499 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30500 _v
= SWIG_CheckState(res
);
30502 if (!_v
) goto check_1
;
30503 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30508 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30512 Py_INCREF(Py_NotImplemented
);
30513 return Py_NotImplemented
;
30517 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
= 0;
30519 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30520 wxDataFormatId arg2
;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 char * kwnames
[] = {
30528 (char *) "self",(char *) "format", NULL
30531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30533 if (!SWIG_IsOK(res1
)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30536 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30538 if (!SWIG_IsOK(ecode2
)) {
30539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30541 arg2
= static_cast< wxDataFormatId
>(val2
);
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->SetType(arg2
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30558 wxDataFormatId result
;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30569 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= SWIG_From_int(static_cast< int >(result
));
30583 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30584 PyObject
*resultobj
= 0;
30585 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30589 PyObject
*swig_obj
[1] ;
30591 if (!args
) SWIG_fail
;
30592 swig_obj
[0] = args
;
30593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30597 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= ((wxDataFormat
const *)arg1
)->GetId();
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30617 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
= 0;
30619 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30620 wxString
*arg2
= 0 ;
30623 bool temp2
= false ;
30624 PyObject
* obj0
= 0 ;
30625 PyObject
* obj1
= 0 ;
30626 char * kwnames
[] = {
30627 (char *) "self",(char *) "format", NULL
30630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30632 if (!SWIG_IsOK(res1
)) {
30633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30635 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30637 arg2
= wxString_in_helper(obj1
);
30638 if (arg2
== NULL
) SWIG_fail
;
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30643 (arg1
)->SetId((wxString
const &)*arg2
);
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30647 resultobj
= SWIG_Py_Void();
30662 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30665 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30666 return SWIG_Py_Void();
30669 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30670 return SWIG_Python_InitShadowInstance(args
);
30673 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30674 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30679 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30680 PyObject
*pyobj
= 0;
30682 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30687 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30688 PyObject
*resultobj
= 0;
30689 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30692 PyObject
*swig_obj
[1] ;
30694 if (!args
) SWIG_fail
;
30695 swig_obj
[0] = args
;
30696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30697 if (!SWIG_IsOK(res1
)) {
30698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30700 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= SWIG_Py_Void();
30715 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30716 PyObject
*resultobj
= 0;
30717 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30718 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30719 SwigValueWrapper
<wxDataFormat
> result
;
30724 PyObject
* obj0
= 0 ;
30725 PyObject
* obj1
= 0 ;
30726 char * kwnames
[] = {
30727 (char *) "self",(char *) "dir", NULL
30730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30732 if (!SWIG_IsOK(res1
)) {
30733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30735 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30738 if (!SWIG_IsOK(ecode2
)) {
30739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30741 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30756 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30757 PyObject
*resultobj
= 0;
30758 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30759 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30765 PyObject
* obj0
= 0 ;
30766 PyObject
* obj1
= 0 ;
30767 char * kwnames
[] = {
30768 (char *) "self",(char *) "dir", NULL
30771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30773 if (!SWIG_IsOK(res1
)) {
30774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30776 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30779 if (!SWIG_IsOK(ecode2
)) {
30780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30782 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30787 wxPyEndAllowThreads(__tstate
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30790 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30797 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
= 0;
30799 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30800 wxDataFormat
*arg2
= 0 ;
30801 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 PyObject
* obj2
= 0 ;
30812 char * kwnames
[] = {
30813 (char *) "self",(char *) "format",(char *) "dir", NULL
30816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30818 if (!SWIG_IsOK(res1
)) {
30819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30821 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30823 if (!SWIG_IsOK(res2
)) {
30824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30829 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30832 if (!SWIG_IsOK(ecode3
)) {
30833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30835 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30839 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30840 wxPyEndAllowThreads(__tstate
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30852 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30853 PyObject
*resultobj
= 0;
30854 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30855 wxDataFormat
*arg2
= 0 ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 char * kwnames
[] = {
30864 (char *) "self",(char *) "format", NULL
30867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30869 if (!SWIG_IsOK(res1
)) {
30870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30872 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30874 if (!SWIG_IsOK(res2
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30880 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30894 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30895 PyObject
*resultobj
= 0;
30896 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30897 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30898 PyObject
*result
= 0 ;
30903 PyObject
* obj0
= 0 ;
30904 PyObject
* obj1
= 0 ;
30905 char * kwnames
[] = {
30906 (char *) "self",(char *) "dir", NULL
30909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30911 if (!SWIG_IsOK(res1
)) {
30912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30914 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30917 if (!SWIG_IsOK(ecode2
)) {
30918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30920 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= result
;
30935 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
= 0;
30937 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30938 wxDataFormat
*arg2
= 0 ;
30939 PyObject
*result
= 0 ;
30944 PyObject
* obj0
= 0 ;
30945 PyObject
* obj1
= 0 ;
30946 char * kwnames
[] = {
30947 (char *) "self",(char *) "format", NULL
30950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30952 if (!SWIG_IsOK(res1
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30955 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30957 if (!SWIG_IsOK(res2
)) {
30958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30963 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= result
;
30977 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30978 PyObject
*resultobj
= 0;
30979 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30980 wxDataFormat
*arg2
= 0 ;
30981 PyObject
*arg3
= (PyObject
*) 0 ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 PyObject
* obj2
= 0 ;
30990 char * kwnames
[] = {
30991 (char *) "self",(char *) "format",(char *) "data", NULL
30994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30996 if (!SWIG_IsOK(res1
)) {
30997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30999 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31001 if (!SWIG_IsOK(res2
)) {
31002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31007 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31024 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31027 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31028 return SWIG_Py_Void();
31031 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
= 0;
31033 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31034 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31035 wxDataObjectSimple
*result
= 0 ;
31038 PyObject
* obj0
= 0 ;
31039 char * kwnames
[] = {
31040 (char *) "format", NULL
31043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31045 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31046 if (!SWIG_IsOK(res1
)) {
31047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31052 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31067 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31068 PyObject
*resultobj
= 0;
31069 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31070 wxDataFormat
*result
= 0 ;
31073 PyObject
*swig_obj
[1] ;
31075 if (!args
) SWIG_fail
;
31076 swig_obj
[0] = args
;
31077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31078 if (!SWIG_IsOK(res1
)) {
31079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31081 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31086 result
= (wxDataFormat
*) &_result_ref
;
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31098 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31099 PyObject
*resultobj
= 0;
31100 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31101 wxDataFormat
*arg2
= 0 ;
31106 PyObject
* obj0
= 0 ;
31107 PyObject
* obj1
= 0 ;
31108 char * kwnames
[] = {
31109 (char *) "self",(char *) "format", NULL
31112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31114 if (!SWIG_IsOK(res1
)) {
31115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31117 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31119 if (!SWIG_IsOK(res2
)) {
31120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31125 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31132 resultobj
= SWIG_Py_Void();
31139 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31140 PyObject
*resultobj
= 0;
31141 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31145 PyObject
*swig_obj
[1] ;
31147 if (!args
) SWIG_fail
;
31148 swig_obj
[0] = args
;
31149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31150 if (!SWIG_IsOK(res1
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31153 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31167 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31168 PyObject
*resultobj
= 0;
31169 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31170 PyObject
*result
= 0 ;
31173 PyObject
*swig_obj
[1] ;
31175 if (!args
) SWIG_fail
;
31176 swig_obj
[0] = args
;
31177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31178 if (!SWIG_IsOK(res1
)) {
31179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31181 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31184 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= result
;
31195 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31196 PyObject
*resultobj
= 0;
31197 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31198 PyObject
*arg2
= (PyObject
*) 0 ;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char * kwnames
[] = {
31205 (char *) "self",(char *) "data", NULL
31208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31210 if (!SWIG_IsOK(res1
)) {
31211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31213 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31230 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31233 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31234 return SWIG_Py_Void();
31237 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31238 return SWIG_Python_InitShadowInstance(args
);
31241 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31242 PyObject
*resultobj
= 0;
31243 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31244 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31245 wxPyDataObjectSimple
*result
= 0 ;
31248 PyObject
* obj0
= 0 ;
31249 char * kwnames
[] = {
31250 (char *) "format", NULL
31253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31255 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31256 if (!SWIG_IsOK(res1
)) {
31257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31262 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31267 wxPyEndAllowThreads(__tstate
);
31268 if (PyErr_Occurred()) SWIG_fail
;
31270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31277 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
= 0;
31279 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31280 PyObject
*arg2
= (PyObject
*) 0 ;
31281 PyObject
*arg3
= (PyObject
*) 0 ;
31284 PyObject
* obj0
= 0 ;
31285 PyObject
* obj1
= 0 ;
31286 PyObject
* obj2
= 0 ;
31287 char * kwnames
[] = {
31288 (char *) "self",(char *) "self",(char *) "_class", NULL
31291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31293 if (!SWIG_IsOK(res1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31296 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= SWIG_Py_Void();
31312 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31316 return SWIG_Py_Void();
31319 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31320 return SWIG_Python_InitShadowInstance(args
);
31323 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31324 PyObject
*resultobj
= 0;
31325 wxDataObjectComposite
*result
= 0 ;
31327 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31331 wxPyEndAllowThreads(__tstate
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31341 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
= 0;
31343 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31344 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31345 bool arg3
= (bool) false ;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 PyObject
* obj2
= 0 ;
31354 char * kwnames
[] = {
31355 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31360 if (!SWIG_IsOK(res1
)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31363 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31364 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31365 if (!SWIG_IsOK(res2
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31369 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31370 if (!SWIG_IsOK(ecode3
)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31373 arg3
= static_cast< bool >(val3
);
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 (arg1
)->Add(arg2
,arg3
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31381 resultobj
= SWIG_Py_Void();
31388 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31389 PyObject
*resultobj
= 0;
31390 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31391 SwigValueWrapper
<wxDataFormat
> result
;
31394 PyObject
*swig_obj
[1] ;
31396 if (!args
) SWIG_fail
;
31397 swig_obj
[0] = args
;
31398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31399 if (!SWIG_IsOK(res1
)) {
31400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31402 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31405 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31416 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31419 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31420 return SWIG_Py_Void();
31423 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31424 return SWIG_Python_InitShadowInstance(args
);
31427 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
= 0;
31429 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31430 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31431 wxTextDataObject
*result
= 0 ;
31432 bool temp1
= false ;
31433 PyObject
* obj0
= 0 ;
31434 char * kwnames
[] = {
31435 (char *) "text", NULL
31438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31441 arg1
= wxString_in_helper(obj0
);
31442 if (arg1
== NULL
) SWIG_fail
;
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31449 wxPyEndAllowThreads(__tstate
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31467 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31468 PyObject
*resultobj
= 0;
31469 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31473 PyObject
*swig_obj
[1] ;
31475 if (!args
) SWIG_fail
;
31476 swig_obj
[0] = args
;
31477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31478 if (!SWIG_IsOK(res1
)) {
31479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31481 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31484 result
= (size_t)(arg1
)->GetTextLength();
31485 wxPyEndAllowThreads(__tstate
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31495 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31496 PyObject
*resultobj
= 0;
31497 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31501 PyObject
*swig_obj
[1] ;
31503 if (!args
) SWIG_fail
;
31504 swig_obj
[0] = args
;
31505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31506 if (!SWIG_IsOK(res1
)) {
31507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31509 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= (arg1
)->GetText();
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31529 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31530 PyObject
*resultobj
= 0;
31531 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31532 wxString
*arg2
= 0 ;
31535 bool temp2
= false ;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 char * kwnames
[] = {
31539 (char *) "self",(char *) "text", NULL
31542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31544 if (!SWIG_IsOK(res1
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31547 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31549 arg2
= wxString_in_helper(obj1
);
31550 if (arg2
== NULL
) SWIG_fail
;
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 (arg1
)->SetText((wxString
const &)*arg2
);
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31559 resultobj
= SWIG_Py_Void();
31574 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31577 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31578 return SWIG_Py_Void();
31581 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31582 return SWIG_Python_InitShadowInstance(args
);
31585 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
= 0;
31587 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31588 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31589 wxPyTextDataObject
*result
= 0 ;
31590 bool temp1
= false ;
31591 PyObject
* obj0
= 0 ;
31592 char * kwnames
[] = {
31593 (char *) "text", NULL
31596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31599 arg1
= wxString_in_helper(obj0
);
31600 if (arg1
== NULL
) SWIG_fail
;
31605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31606 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31625 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31626 PyObject
*resultobj
= 0;
31627 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31628 PyObject
*arg2
= (PyObject
*) 0 ;
31629 PyObject
*arg3
= (PyObject
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 PyObject
* obj2
= 0 ;
31635 char * kwnames
[] = {
31636 (char *) "self",(char *) "self",(char *) "_class", NULL
31639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31641 if (!SWIG_IsOK(res1
)) {
31642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31644 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31653 resultobj
= SWIG_Py_Void();
31660 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31663 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31664 return SWIG_Py_Void();
31667 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31668 return SWIG_Python_InitShadowInstance(args
);
31671 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31672 PyObject
*resultobj
= 0;
31673 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31674 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31675 wxBitmapDataObject
*result
= 0 ;
31678 PyObject
* obj0
= 0 ;
31679 char * kwnames
[] = {
31680 (char *) "bitmap", NULL
31683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31685 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31686 if (!SWIG_IsOK(res1
)) {
31687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31707 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31708 PyObject
*resultobj
= 0;
31709 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31713 PyObject
*swig_obj
[1] ;
31715 if (!args
) SWIG_fail
;
31716 swig_obj
[0] = args
;
31717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31718 if (!SWIG_IsOK(res1
)) {
31719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31721 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31724 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31725 wxPyEndAllowThreads(__tstate
);
31726 if (PyErr_Occurred()) SWIG_fail
;
31728 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31735 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
= 0;
31737 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31738 wxBitmap
*arg2
= 0 ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 char * kwnames
[] = {
31746 (char *) "self",(char *) "bitmap", NULL
31749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31751 if (!SWIG_IsOK(res1
)) {
31752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31754 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31756 if (!SWIG_IsOK(res2
)) {
31757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31762 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= SWIG_Py_Void();
31776 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31779 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31780 return SWIG_Py_Void();
31783 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31784 return SWIG_Python_InitShadowInstance(args
);
31787 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
= 0;
31789 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31790 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31791 wxPyBitmapDataObject
*result
= 0 ;
31794 PyObject
* obj0
= 0 ;
31795 char * kwnames
[] = {
31796 (char *) "bitmap", NULL
31799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31801 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31802 if (!SWIG_IsOK(res1
)) {
31803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31808 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31823 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
= 0;
31825 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31826 PyObject
*arg2
= (PyObject
*) 0 ;
31827 PyObject
*arg3
= (PyObject
*) 0 ;
31830 PyObject
* obj0
= 0 ;
31831 PyObject
* obj1
= 0 ;
31832 PyObject
* obj2
= 0 ;
31833 char * kwnames
[] = {
31834 (char *) "self",(char *) "self",(char *) "_class", NULL
31837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31839 if (!SWIG_IsOK(res1
)) {
31840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31842 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31847 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= SWIG_Py_Void();
31858 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31861 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31862 return SWIG_Py_Void();
31865 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31866 return SWIG_Python_InitShadowInstance(args
);
31869 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31870 PyObject
*resultobj
= 0;
31871 wxFileDataObject
*result
= 0 ;
31873 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 result
= (wxFileDataObject
*)new wxFileDataObject();
31877 wxPyEndAllowThreads(__tstate
);
31878 if (PyErr_Occurred()) SWIG_fail
;
31880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31887 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31888 PyObject
*resultobj
= 0;
31889 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31890 wxArrayString
*result
= 0 ;
31893 PyObject
*swig_obj
[1] ;
31895 if (!args
) SWIG_fail
;
31896 swig_obj
[0] = args
;
31897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31898 if (!SWIG_IsOK(res1
)) {
31899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31901 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31906 result
= (wxArrayString
*) &_result_ref
;
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= wxArrayString2PyList_helper(*result
);
31920 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
= 0;
31922 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31923 wxString
*arg2
= 0 ;
31926 bool temp2
= false ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 char * kwnames
[] = {
31930 (char *) "self",(char *) "filename", NULL
31933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31935 if (!SWIG_IsOK(res1
)) {
31936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31938 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31940 arg2
= wxString_in_helper(obj1
);
31941 if (arg2
== NULL
) SWIG_fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 (arg1
)->AddFile((wxString
const &)*arg2
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 resultobj
= SWIG_Py_Void();
31965 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31968 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31969 return SWIG_Py_Void();
31972 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31973 return SWIG_Python_InitShadowInstance(args
);
31976 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31977 PyObject
*resultobj
= 0;
31978 wxDataFormat
*arg1
= 0 ;
31979 wxCustomDataObject
*result
= 0 ;
31983 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31985 if (!SWIG_IsOK(res1
)) {
31986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31991 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32005 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32006 PyObject
*resultobj
= 0;
32007 wxString
*arg1
= 0 ;
32008 wxCustomDataObject
*result
= 0 ;
32009 bool temp1
= false ;
32011 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32013 arg1
= wxString_in_helper(swig_obj
[0]);
32014 if (arg1
== NULL
) SWIG_fail
;
32018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32019 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
32020 wxPyEndAllowThreads(__tstate
);
32021 if (PyErr_Occurred()) SWIG_fail
;
32023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32038 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32039 PyObject
*resultobj
= 0;
32040 wxCustomDataObject
*result
= 0 ;
32042 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32045 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32056 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32060 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32063 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32069 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32072 if (!_v
) goto check_2
;
32073 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32078 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32082 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32087 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
= 0;
32089 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32090 PyObject
*arg2
= (PyObject
*) 0 ;
32094 PyObject
* obj0
= 0 ;
32095 PyObject
* obj1
= 0 ;
32096 char * kwnames
[] = {
32097 (char *) "self",(char *) "data", NULL
32100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32102 if (!SWIG_IsOK(res1
)) {
32103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32105 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32122 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32123 PyObject
*resultobj
= 0;
32124 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32128 PyObject
*swig_obj
[1] ;
32130 if (!args
) SWIG_fail
;
32131 swig_obj
[0] = args
;
32132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32133 if (!SWIG_IsOK(res1
)) {
32134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32136 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (size_t)(arg1
)->GetSize();
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32150 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32151 PyObject
*resultobj
= 0;
32152 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32153 PyObject
*result
= 0 ;
32156 PyObject
*swig_obj
[1] ;
32158 if (!args
) SWIG_fail
;
32159 swig_obj
[0] = args
;
32160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32161 if (!SWIG_IsOK(res1
)) {
32162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32164 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32167 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32171 resultobj
= result
;
32178 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32181 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32182 return SWIG_Py_Void();
32185 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32186 return SWIG_Python_InitShadowInstance(args
);
32189 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32190 PyObject
*resultobj
= 0;
32191 wxURLDataObject
*result
= 0 ;
32193 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 result
= (wxURLDataObject
*)new wxURLDataObject();
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32207 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32208 PyObject
*resultobj
= 0;
32209 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32213 PyObject
*swig_obj
[1] ;
32215 if (!args
) SWIG_fail
;
32216 swig_obj
[0] = args
;
32217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32218 if (!SWIG_IsOK(res1
)) {
32219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32221 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 result
= (arg1
)->GetURL();
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32241 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
= 0;
32243 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32244 wxString
*arg2
= 0 ;
32247 bool temp2
= false ;
32248 PyObject
* obj0
= 0 ;
32249 PyObject
* obj1
= 0 ;
32250 char * kwnames
[] = {
32251 (char *) "self",(char *) "url", NULL
32254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32256 if (!SWIG_IsOK(res1
)) {
32257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32259 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32261 arg2
= wxString_in_helper(obj1
);
32262 if (arg2
== NULL
) SWIG_fail
;
32266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 (arg1
)->SetURL((wxString
const &)*arg2
);
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32271 resultobj
= SWIG_Py_Void();
32286 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32289 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32290 return SWIG_Py_Void();
32293 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32294 return SWIG_Python_InitShadowInstance(args
);
32297 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32298 PyObject
*resultobj
= 0;
32299 wxMetafileDataObject
*result
= 0 ;
32301 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32315 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
= 0;
32317 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32318 wxMetafile
*arg2
= 0 ;
32323 PyObject
* obj0
= 0 ;
32324 PyObject
* obj1
= 0 ;
32325 char * kwnames
[] = {
32326 (char *) "self",(char *) "metafile", NULL
32329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32331 if (!SWIG_IsOK(res1
)) {
32332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32334 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32336 if (!SWIG_IsOK(res2
)) {
32337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32342 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= SWIG_Py_Void();
32356 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32357 PyObject
*resultobj
= 0;
32358 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32362 PyObject
*swig_obj
[1] ;
32364 if (!args
) SWIG_fail
;
32365 swig_obj
[0] = args
;
32366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32367 if (!SWIG_IsOK(res1
)) {
32368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32370 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32373 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32384 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32387 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32388 return SWIG_Py_Void();
32391 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32392 return SWIG_Python_InitShadowInstance(args
);
32395 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
= 0;
32397 wxDragResult arg1
;
32401 PyObject
* obj0
= 0 ;
32402 char * kwnames
[] = {
32403 (char *) "res", NULL
32406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32407 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32408 if (!SWIG_IsOK(ecode1
)) {
32409 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32411 arg1
= static_cast< wxDragResult
>(val1
);
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 result
= (bool)wxIsDragResultOk(arg1
);
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32427 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32428 PyObject
*resultobj
= 0;
32429 wxWindow
*arg1
= (wxWindow
*) 0 ;
32430 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32431 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32432 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32433 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32434 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32435 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32436 wxPyDropSource
*result
= 0 ;
32445 PyObject
* obj0
= 0 ;
32446 PyObject
* obj1
= 0 ;
32447 PyObject
* obj2
= 0 ;
32448 PyObject
* obj3
= 0 ;
32449 char * kwnames
[] = {
32450 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32455 if (!SWIG_IsOK(res1
)) {
32456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32461 if (!SWIG_IsOK(res2
)) {
32462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32467 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32470 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32471 if (!SWIG_IsOK(res3
)) {
32472 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32477 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32480 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32481 if (!SWIG_IsOK(res4
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32487 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32502 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
= 0;
32504 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32505 PyObject
*arg2
= (PyObject
*) 0 ;
32506 PyObject
*arg3
= (PyObject
*) 0 ;
32512 PyObject
* obj0
= 0 ;
32513 PyObject
* obj1
= 0 ;
32514 PyObject
* obj2
= 0 ;
32515 PyObject
* obj3
= 0 ;
32516 char * kwnames
[] = {
32517 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32522 if (!SWIG_IsOK(res1
)) {
32523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32525 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32528 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32529 if (!SWIG_IsOK(ecode4
)) {
32530 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32532 arg4
= static_cast< int >(val4
);
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32539 resultobj
= SWIG_Py_Void();
32546 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32547 PyObject
*resultobj
= 0;
32548 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32551 PyObject
*swig_obj
[1] ;
32553 if (!args
) SWIG_fail
;
32554 swig_obj
[0] = args
;
32555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32556 if (!SWIG_IsOK(res1
)) {
32557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32559 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32567 resultobj
= SWIG_Py_Void();
32574 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
= 0;
32576 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32577 wxDataObject
*arg2
= 0 ;
32582 PyObject
* obj0
= 0 ;
32583 PyObject
* obj1
= 0 ;
32584 char * kwnames
[] = {
32585 (char *) "self",(char *) "data", NULL
32588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",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_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32593 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32595 if (!SWIG_IsOK(res2
)) {
32596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32601 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32604 (arg1
)->SetData(*arg2
);
32605 wxPyEndAllowThreads(__tstate
);
32606 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= SWIG_Py_Void();
32615 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32616 PyObject
*resultobj
= 0;
32617 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32618 wxDataObject
*result
= 0 ;
32621 PyObject
*swig_obj
[1] ;
32623 if (!args
) SWIG_fail
;
32624 swig_obj
[0] = args
;
32625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32626 if (!SWIG_IsOK(res1
)) {
32627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32629 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32643 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
= 0;
32645 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32646 wxDragResult arg2
;
32647 wxCursor
*arg3
= 0 ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 PyObject
* obj2
= 0 ;
32657 char * kwnames
[] = {
32658 (char *) "self",(char *) "res",(char *) "cursor", NULL
32661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32663 if (!SWIG_IsOK(res1
)) {
32664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32666 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32668 if (!SWIG_IsOK(ecode2
)) {
32669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32671 arg2
= static_cast< wxDragResult
>(val2
);
32672 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32673 if (!SWIG_IsOK(res3
)) {
32674 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32679 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32682 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32686 resultobj
= SWIG_Py_Void();
32693 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32694 PyObject
*resultobj
= 0;
32695 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32696 int arg2
= (int) wxDrag_CopyOnly
;
32697 wxDragResult result
;
32702 PyObject
* obj0
= 0 ;
32703 PyObject
* obj1
= 0 ;
32704 char * kwnames
[] = {
32705 (char *) "self",(char *) "flags", NULL
32708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32710 if (!SWIG_IsOK(res1
)) {
32711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32713 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32716 if (!SWIG_IsOK(ecode2
)) {
32717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32719 arg2
= static_cast< int >(val2
);
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= SWIG_From_int(static_cast< int >(result
));
32734 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32735 PyObject
*resultobj
= 0;
32736 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32737 wxDragResult arg2
;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 char * kwnames
[] = {
32746 (char *) "self",(char *) "effect", NULL
32749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32751 if (!SWIG_IsOK(res1
)) {
32752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32754 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32756 if (!SWIG_IsOK(ecode2
)) {
32757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32759 arg2
= static_cast< wxDragResult
>(val2
);
32761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32762 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32763 wxPyEndAllowThreads(__tstate
);
32764 if (PyErr_Occurred()) SWIG_fail
;
32767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32775 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32778 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32779 return SWIG_Py_Void();
32782 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32783 return SWIG_Python_InitShadowInstance(args
);
32786 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
= 0;
32788 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32789 wxPyDropTarget
*result
= 0 ;
32791 PyObject
* obj0
= 0 ;
32792 char * kwnames
[] = {
32793 (char *) "dataObject", NULL
32796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32798 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32799 if (!SWIG_IsOK(res1
)) {
32800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32816 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
= 0;
32818 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32819 PyObject
*arg2
= (PyObject
*) 0 ;
32820 PyObject
*arg3
= (PyObject
*) 0 ;
32823 PyObject
* obj0
= 0 ;
32824 PyObject
* obj1
= 0 ;
32825 PyObject
* obj2
= 0 ;
32826 char * kwnames
[] = {
32827 (char *) "self",(char *) "self",(char *) "_class", NULL
32830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32832 if (!SWIG_IsOK(res1
)) {
32833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32835 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_Py_Void();
32851 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32852 PyObject
*resultobj
= 0;
32853 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32856 PyObject
*swig_obj
[1] ;
32858 if (!args
) SWIG_fail
;
32859 swig_obj
[0] = args
;
32860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32861 if (!SWIG_IsOK(res1
)) {
32862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32864 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32869 wxPyEndAllowThreads(__tstate
);
32870 if (PyErr_Occurred()) SWIG_fail
;
32872 resultobj
= SWIG_Py_Void();
32879 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32880 PyObject
*resultobj
= 0;
32881 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32882 wxDataObject
*result
= 0 ;
32885 PyObject
*swig_obj
[1] ;
32887 if (!args
) SWIG_fail
;
32888 swig_obj
[0] = args
;
32889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32890 if (!SWIG_IsOK(res1
)) {
32891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32893 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32897 wxPyEndAllowThreads(__tstate
);
32898 if (PyErr_Occurred()) SWIG_fail
;
32900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32907 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
= 0;
32909 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32910 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32914 PyObject
* obj0
= 0 ;
32915 PyObject
* obj1
= 0 ;
32916 char * kwnames
[] = {
32917 (char *) "self",(char *) "dataObject", NULL
32920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32922 if (!SWIG_IsOK(res1
)) {
32923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32925 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32926 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32927 if (!SWIG_IsOK(res2
)) {
32928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32932 (arg1
)->SetDataObject(arg2
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 resultobj
= SWIG_Py_Void();
32943 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
= 0;
32945 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32948 wxDragResult arg4
;
32949 wxDragResult result
;
32958 PyObject
* obj0
= 0 ;
32959 PyObject
* obj1
= 0 ;
32960 PyObject
* obj2
= 0 ;
32961 PyObject
* obj3
= 0 ;
32962 char * kwnames
[] = {
32963 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32968 if (!SWIG_IsOK(res1
)) {
32969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32971 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32973 if (!SWIG_IsOK(ecode2
)) {
32974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32976 arg2
= static_cast< int >(val2
);
32977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32978 if (!SWIG_IsOK(ecode3
)) {
32979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32981 arg3
= static_cast< int >(val3
);
32982 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32983 if (!SWIG_IsOK(ecode4
)) {
32984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32986 arg4
= static_cast< wxDragResult
>(val4
);
32988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32989 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32990 wxPyEndAllowThreads(__tstate
);
32991 if (PyErr_Occurred()) SWIG_fail
;
32993 resultobj
= SWIG_From_int(static_cast< int >(result
));
33000 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33001 PyObject
*resultobj
= 0;
33002 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33005 wxDragResult arg4
;
33006 wxDragResult result
;
33015 PyObject
* obj0
= 0 ;
33016 PyObject
* obj1
= 0 ;
33017 PyObject
* obj2
= 0 ;
33018 PyObject
* obj3
= 0 ;
33019 char * kwnames
[] = {
33020 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33025 if (!SWIG_IsOK(res1
)) {
33026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33028 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33030 if (!SWIG_IsOK(ecode2
)) {
33031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33033 arg2
= static_cast< int >(val2
);
33034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33035 if (!SWIG_IsOK(ecode3
)) {
33036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33038 arg3
= static_cast< int >(val3
);
33039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33040 if (!SWIG_IsOK(ecode4
)) {
33041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33043 arg4
= static_cast< wxDragResult
>(val4
);
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= SWIG_From_int(static_cast< int >(result
));
33057 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33058 PyObject
*resultobj
= 0;
33059 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33062 PyObject
*swig_obj
[1] ;
33064 if (!args
) SWIG_fail
;
33065 swig_obj
[0] = args
;
33066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33067 if (!SWIG_IsOK(res1
)) {
33068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33070 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 wxPyEndAllowThreads(__tstate
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33077 resultobj
= SWIG_Py_Void();
33084 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33085 PyObject
*resultobj
= 0;
33086 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33096 PyObject
* obj0
= 0 ;
33097 PyObject
* obj1
= 0 ;
33098 PyObject
* obj2
= 0 ;
33099 char * kwnames
[] = {
33100 (char *) "self",(char *) "x",(char *) "y", NULL
33103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33105 if (!SWIG_IsOK(res1
)) {
33106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33108 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33110 if (!SWIG_IsOK(ecode2
)) {
33111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33113 arg2
= static_cast< int >(val2
);
33114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33115 if (!SWIG_IsOK(ecode3
)) {
33116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33118 arg3
= static_cast< int >(val3
);
33120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33121 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33134 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33135 PyObject
*resultobj
= 0;
33136 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33140 PyObject
*swig_obj
[1] ;
33142 if (!args
) SWIG_fail
;
33143 swig_obj
[0] = args
;
33144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33148 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33151 result
= (bool)(arg1
)->GetData();
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33164 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33165 PyObject
*resultobj
= 0;
33166 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33167 wxDragResult arg2
;
33172 PyObject
* obj0
= 0 ;
33173 PyObject
* obj1
= 0 ;
33174 char * kwnames
[] = {
33175 (char *) "self",(char *) "action", NULL
33178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33180 if (!SWIG_IsOK(res1
)) {
33181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33183 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33185 if (!SWIG_IsOK(ecode2
)) {
33186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33188 arg2
= static_cast< wxDragResult
>(val2
);
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 (arg1
)->SetDefaultAction(arg2
);
33192 wxPyEndAllowThreads(__tstate
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33195 resultobj
= SWIG_Py_Void();
33202 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33203 PyObject
*resultobj
= 0;
33204 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33205 wxDragResult result
;
33208 PyObject
*swig_obj
[1] ;
33210 if (!args
) SWIG_fail
;
33211 swig_obj
[0] = args
;
33212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33213 if (!SWIG_IsOK(res1
)) {
33214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33216 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33219 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33220 wxPyEndAllowThreads(__tstate
);
33221 if (PyErr_Occurred()) SWIG_fail
;
33223 resultobj
= SWIG_From_int(static_cast< int >(result
));
33230 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33233 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33234 return SWIG_Py_Void();
33237 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33238 return SWIG_Python_InitShadowInstance(args
);
33241 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 PyObject
*resultobj
= 0;
33243 wxPyTextDropTarget
*result
= 0 ;
33245 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33248 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33259 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33260 PyObject
*resultobj
= 0;
33261 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33262 PyObject
*arg2
= (PyObject
*) 0 ;
33263 PyObject
*arg3
= (PyObject
*) 0 ;
33266 PyObject
* obj0
= 0 ;
33267 PyObject
* obj1
= 0 ;
33268 PyObject
* obj2
= 0 ;
33269 char * kwnames
[] = {
33270 (char *) "self",(char *) "self",(char *) "_class", NULL
33273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33275 if (!SWIG_IsOK(res1
)) {
33276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33278 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33283 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33284 wxPyEndAllowThreads(__tstate
);
33285 if (PyErr_Occurred()) SWIG_fail
;
33287 resultobj
= SWIG_Py_Void();
33294 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33295 PyObject
*resultobj
= 0;
33296 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33299 wxString
*arg4
= 0 ;
33307 bool temp4
= false ;
33308 PyObject
* obj0
= 0 ;
33309 PyObject
* obj1
= 0 ;
33310 PyObject
* obj2
= 0 ;
33311 PyObject
* obj3
= 0 ;
33312 char * kwnames
[] = {
33313 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33318 if (!SWIG_IsOK(res1
)) {
33319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33321 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33323 if (!SWIG_IsOK(ecode2
)) {
33324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33326 arg2
= static_cast< int >(val2
);
33327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33328 if (!SWIG_IsOK(ecode3
)) {
33329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33331 arg3
= static_cast< int >(val3
);
33333 arg4
= wxString_in_helper(obj3
);
33334 if (arg4
== NULL
) SWIG_fail
;
33338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33339 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33340 wxPyEndAllowThreads(__tstate
);
33341 if (PyErr_Occurred()) SWIG_fail
;
33344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33360 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33361 PyObject
*resultobj
= 0;
33362 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33365 wxDragResult arg4
;
33366 wxDragResult result
;
33375 PyObject
* obj0
= 0 ;
33376 PyObject
* obj1
= 0 ;
33377 PyObject
* obj2
= 0 ;
33378 PyObject
* obj3
= 0 ;
33379 char * kwnames
[] = {
33380 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33385 if (!SWIG_IsOK(res1
)) {
33386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33388 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33390 if (!SWIG_IsOK(ecode2
)) {
33391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33393 arg2
= static_cast< int >(val2
);
33394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33395 if (!SWIG_IsOK(ecode3
)) {
33396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33398 arg3
= static_cast< int >(val3
);
33399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33400 if (!SWIG_IsOK(ecode4
)) {
33401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33403 arg4
= static_cast< wxDragResult
>(val4
);
33405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33406 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33407 wxPyEndAllowThreads(__tstate
);
33408 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= SWIG_From_int(static_cast< int >(result
));
33417 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33418 PyObject
*resultobj
= 0;
33419 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33422 wxDragResult arg4
;
33423 wxDragResult result
;
33432 PyObject
* obj0
= 0 ;
33433 PyObject
* obj1
= 0 ;
33434 PyObject
* obj2
= 0 ;
33435 PyObject
* obj3
= 0 ;
33436 char * kwnames
[] = {
33437 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33442 if (!SWIG_IsOK(res1
)) {
33443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33445 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33447 if (!SWIG_IsOK(ecode2
)) {
33448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33450 arg2
= static_cast< int >(val2
);
33451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33452 if (!SWIG_IsOK(ecode3
)) {
33453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33455 arg3
= static_cast< int >(val3
);
33456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33457 if (!SWIG_IsOK(ecode4
)) {
33458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33460 arg4
= static_cast< wxDragResult
>(val4
);
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 resultobj
= SWIG_From_int(static_cast< int >(result
));
33474 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33475 PyObject
*resultobj
= 0;
33476 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33479 PyObject
*swig_obj
[1] ;
33481 if (!args
) SWIG_fail
;
33482 swig_obj
[0] = args
;
33483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33484 if (!SWIG_IsOK(res1
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33487 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= SWIG_Py_Void();
33501 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33502 PyObject
*resultobj
= 0;
33503 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33513 PyObject
* obj0
= 0 ;
33514 PyObject
* obj1
= 0 ;
33515 PyObject
* obj2
= 0 ;
33516 char * kwnames
[] = {
33517 (char *) "self",(char *) "x",(char *) "y", NULL
33520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33522 if (!SWIG_IsOK(res1
)) {
33523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33525 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33527 if (!SWIG_IsOK(ecode2
)) {
33528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33530 arg2
= static_cast< int >(val2
);
33531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33532 if (!SWIG_IsOK(ecode3
)) {
33533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33535 arg3
= static_cast< int >(val3
);
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33539 wxPyEndAllowThreads(__tstate
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33551 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33552 PyObject
*resultobj
= 0;
33553 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33556 wxDragResult arg4
;
33557 wxDragResult result
;
33566 PyObject
* obj0
= 0 ;
33567 PyObject
* obj1
= 0 ;
33568 PyObject
* obj2
= 0 ;
33569 PyObject
* obj3
= 0 ;
33570 char * kwnames
[] = {
33571 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33576 if (!SWIG_IsOK(res1
)) {
33577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33579 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33581 if (!SWIG_IsOK(ecode2
)) {
33582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33584 arg2
= static_cast< int >(val2
);
33585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33586 if (!SWIG_IsOK(ecode3
)) {
33587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33589 arg3
= static_cast< int >(val3
);
33590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33591 if (!SWIG_IsOK(ecode4
)) {
33592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33594 arg4
= static_cast< wxDragResult
>(val4
);
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33598 wxPyEndAllowThreads(__tstate
);
33599 if (PyErr_Occurred()) SWIG_fail
;
33601 resultobj
= SWIG_From_int(static_cast< int >(result
));
33608 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33611 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33612 return SWIG_Py_Void();
33615 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33616 return SWIG_Python_InitShadowInstance(args
);
33619 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33620 PyObject
*resultobj
= 0;
33621 wxPyFileDropTarget
*result
= 0 ;
33623 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33626 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33627 wxPyEndAllowThreads(__tstate
);
33628 if (PyErr_Occurred()) SWIG_fail
;
33630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33637 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33638 PyObject
*resultobj
= 0;
33639 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33640 PyObject
*arg2
= (PyObject
*) 0 ;
33641 PyObject
*arg3
= (PyObject
*) 0 ;
33644 PyObject
* obj0
= 0 ;
33645 PyObject
* obj1
= 0 ;
33646 PyObject
* obj2
= 0 ;
33647 char * kwnames
[] = {
33648 (char *) "self",(char *) "self",(char *) "_class", NULL
33651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33653 if (!SWIG_IsOK(res1
)) {
33654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33656 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33665 resultobj
= SWIG_Py_Void();
33672 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33673 PyObject
*resultobj
= 0;
33674 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33677 wxArrayString
*arg4
= 0 ;
33685 bool temp4
= false ;
33686 PyObject
* obj0
= 0 ;
33687 PyObject
* obj1
= 0 ;
33688 PyObject
* obj2
= 0 ;
33689 PyObject
* obj3
= 0 ;
33690 char * kwnames
[] = {
33691 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33696 if (!SWIG_IsOK(res1
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33699 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33701 if (!SWIG_IsOK(ecode2
)) {
33702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33704 arg2
= static_cast< int >(val2
);
33705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33706 if (!SWIG_IsOK(ecode3
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33709 arg3
= static_cast< int >(val3
);
33711 if (! PySequence_Check(obj3
)) {
33712 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33715 arg4
= new wxArrayString
;
33717 int i
, len
=PySequence_Length(obj3
);
33718 for (i
=0; i
<len
; i
++) {
33719 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33720 wxString
* s
= wxString_in_helper(item
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33729 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33737 if (temp4
) delete arg4
;
33742 if (temp4
) delete arg4
;
33748 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33749 PyObject
*resultobj
= 0;
33750 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33753 wxDragResult arg4
;
33754 wxDragResult result
;
33763 PyObject
* obj0
= 0 ;
33764 PyObject
* obj1
= 0 ;
33765 PyObject
* obj2
= 0 ;
33766 PyObject
* obj3
= 0 ;
33767 char * kwnames
[] = {
33768 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33773 if (!SWIG_IsOK(res1
)) {
33774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33776 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33778 if (!SWIG_IsOK(ecode2
)) {
33779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33781 arg2
= static_cast< int >(val2
);
33782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33783 if (!SWIG_IsOK(ecode3
)) {
33784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33786 arg3
= static_cast< int >(val3
);
33787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33788 if (!SWIG_IsOK(ecode4
)) {
33789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33791 arg4
= static_cast< wxDragResult
>(val4
);
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33795 wxPyEndAllowThreads(__tstate
);
33796 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= SWIG_From_int(static_cast< int >(result
));
33805 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33806 PyObject
*resultobj
= 0;
33807 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33810 wxDragResult arg4
;
33811 wxDragResult result
;
33820 PyObject
* obj0
= 0 ;
33821 PyObject
* obj1
= 0 ;
33822 PyObject
* obj2
= 0 ;
33823 PyObject
* obj3
= 0 ;
33824 char * kwnames
[] = {
33825 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33830 if (!SWIG_IsOK(res1
)) {
33831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33833 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33835 if (!SWIG_IsOK(ecode2
)) {
33836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33838 arg2
= static_cast< int >(val2
);
33839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33840 if (!SWIG_IsOK(ecode3
)) {
33841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33843 arg3
= static_cast< int >(val3
);
33844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33845 if (!SWIG_IsOK(ecode4
)) {
33846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33848 arg4
= static_cast< wxDragResult
>(val4
);
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33855 resultobj
= SWIG_From_int(static_cast< int >(result
));
33862 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33863 PyObject
*resultobj
= 0;
33864 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33867 PyObject
*swig_obj
[1] ;
33869 if (!args
) SWIG_fail
;
33870 swig_obj
[0] = args
;
33871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33875 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33879 wxPyEndAllowThreads(__tstate
);
33880 if (PyErr_Occurred()) SWIG_fail
;
33882 resultobj
= SWIG_Py_Void();
33889 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33890 PyObject
*resultobj
= 0;
33891 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33901 PyObject
* obj0
= 0 ;
33902 PyObject
* obj1
= 0 ;
33903 PyObject
* obj2
= 0 ;
33904 char * kwnames
[] = {
33905 (char *) "self",(char *) "x",(char *) "y", NULL
33908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33910 if (!SWIG_IsOK(res1
)) {
33911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33913 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33915 if (!SWIG_IsOK(ecode2
)) {
33916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33918 arg2
= static_cast< int >(val2
);
33919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33920 if (!SWIG_IsOK(ecode3
)) {
33921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33923 arg3
= static_cast< int >(val3
);
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33927 wxPyEndAllowThreads(__tstate
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33939 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33940 PyObject
*resultobj
= 0;
33941 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33944 wxDragResult arg4
;
33945 wxDragResult result
;
33954 PyObject
* obj0
= 0 ;
33955 PyObject
* obj1
= 0 ;
33956 PyObject
* obj2
= 0 ;
33957 PyObject
* obj3
= 0 ;
33958 char * kwnames
[] = {
33959 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33964 if (!SWIG_IsOK(res1
)) {
33965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33967 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33969 if (!SWIG_IsOK(ecode2
)) {
33970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33972 arg2
= static_cast< int >(val2
);
33973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33974 if (!SWIG_IsOK(ecode3
)) {
33975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33977 arg3
= static_cast< int >(val3
);
33978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33979 if (!SWIG_IsOK(ecode4
)) {
33980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33982 arg4
= static_cast< wxDragResult
>(val4
);
33984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33985 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33986 wxPyEndAllowThreads(__tstate
);
33987 if (PyErr_Occurred()) SWIG_fail
;
33989 resultobj
= SWIG_From_int(static_cast< int >(result
));
33996 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33999 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
34000 return SWIG_Py_Void();
34003 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34004 return SWIG_Python_InitShadowInstance(args
);
34007 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34008 PyObject
*resultobj
= 0;
34009 wxClipboard
*result
= 0 ;
34011 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
34013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34014 result
= (wxClipboard
*)new wxClipboard();
34015 wxPyEndAllowThreads(__tstate
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
34025 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34026 PyObject
*resultobj
= 0;
34027 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34030 PyObject
*swig_obj
[1] ;
34032 if (!args
) SWIG_fail
;
34033 swig_obj
[0] = args
;
34034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34035 if (!SWIG_IsOK(res1
)) {
34036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34038 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= SWIG_Py_Void();
34053 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34054 PyObject
*resultobj
= 0;
34055 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34059 PyObject
*swig_obj
[1] ;
34061 if (!args
) SWIG_fail
;
34062 swig_obj
[0] = args
;
34063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34064 if (!SWIG_IsOK(res1
)) {
34065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34067 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 result
= (bool)(arg1
)->Open();
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34083 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34084 PyObject
*resultobj
= 0;
34085 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34088 PyObject
*swig_obj
[1] ;
34090 if (!args
) SWIG_fail
;
34091 swig_obj
[0] = args
;
34092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34093 if (!SWIG_IsOK(res1
)) {
34094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34096 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34100 wxPyEndAllowThreads(__tstate
);
34101 if (PyErr_Occurred()) SWIG_fail
;
34103 resultobj
= SWIG_Py_Void();
34110 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34111 PyObject
*resultobj
= 0;
34112 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34116 PyObject
*swig_obj
[1] ;
34118 if (!args
) SWIG_fail
;
34119 swig_obj
[0] = args
;
34120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34121 if (!SWIG_IsOK(res1
)) {
34122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34124 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34140 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
= 0;
34142 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34143 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34148 PyObject
* obj0
= 0 ;
34149 PyObject
* obj1
= 0 ;
34150 char * kwnames
[] = {
34151 (char *) "self",(char *) "data", NULL
34154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34156 if (!SWIG_IsOK(res1
)) {
34157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34159 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34160 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34161 if (!SWIG_IsOK(res2
)) {
34162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34166 result
= (bool)(arg1
)->AddData(arg2
);
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34179 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34180 PyObject
*resultobj
= 0;
34181 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34182 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34187 PyObject
* obj0
= 0 ;
34188 PyObject
* obj1
= 0 ;
34189 char * kwnames
[] = {
34190 (char *) "self",(char *) "data", NULL
34193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34195 if (!SWIG_IsOK(res1
)) {
34196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34198 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34199 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34200 if (!SWIG_IsOK(res2
)) {
34201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34205 result
= (bool)(arg1
)->SetData(arg2
);
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34218 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34219 PyObject
*resultobj
= 0;
34220 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34221 wxDataFormat
*arg2
= 0 ;
34227 PyObject
* obj0
= 0 ;
34228 PyObject
* obj1
= 0 ;
34229 char * kwnames
[] = {
34230 (char *) "self",(char *) "format", NULL
34233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34235 if (!SWIG_IsOK(res1
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34238 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34240 if (!SWIG_IsOK(res2
)) {
34241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34246 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34262 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34263 PyObject
*resultobj
= 0;
34264 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34265 wxDataObject
*arg2
= 0 ;
34271 PyObject
* obj0
= 0 ;
34272 PyObject
* obj1
= 0 ;
34273 char * kwnames
[] = {
34274 (char *) "self",(char *) "data", NULL
34277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34279 if (!SWIG_IsOK(res1
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34282 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34284 if (!SWIG_IsOK(res2
)) {
34285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34290 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34293 result
= (bool)(arg1
)->GetData(*arg2
);
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34306 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34307 PyObject
*resultobj
= 0;
34308 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34311 PyObject
*swig_obj
[1] ;
34313 if (!args
) SWIG_fail
;
34314 swig_obj
[0] = args
;
34315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34316 if (!SWIG_IsOK(res1
)) {
34317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34319 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 wxPyEndAllowThreads(__tstate
);
34324 if (PyErr_Occurred()) SWIG_fail
;
34326 resultobj
= SWIG_Py_Void();
34333 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34334 PyObject
*resultobj
= 0;
34335 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34339 PyObject
*swig_obj
[1] ;
34341 if (!args
) SWIG_fail
;
34342 swig_obj
[0] = args
;
34343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34344 if (!SWIG_IsOK(res1
)) {
34345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34347 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 result
= (bool)(arg1
)->Flush();
34351 wxPyEndAllowThreads(__tstate
);
34352 if (PyErr_Occurred()) SWIG_fail
;
34355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34363 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34364 PyObject
*resultobj
= 0;
34365 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34366 bool arg2
= (bool) true ;
34371 PyObject
* obj0
= 0 ;
34372 PyObject
* obj1
= 0 ;
34373 char * kwnames
[] = {
34374 (char *) "self",(char *) "primary", NULL
34377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34379 if (!SWIG_IsOK(res1
)) {
34380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34382 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34385 if (!SWIG_IsOK(ecode2
)) {
34386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34388 arg2
= static_cast< bool >(val2
);
34391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34392 (arg1
)->UsePrimarySelection(arg2
);
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 resultobj
= SWIG_Py_Void();
34403 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34404 PyObject
*resultobj
= 0;
34405 wxClipboard
*result
= 0 ;
34407 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 result
= (wxClipboard
*)wxClipboard::Get();
34411 wxPyEndAllowThreads(__tstate
);
34412 if (PyErr_Occurred()) SWIG_fail
;
34414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34421 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34424 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34425 return SWIG_Py_Void();
34428 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34429 return SWIG_Python_InitShadowInstance(args
);
34432 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34433 PyObject
*resultobj
= 0;
34434 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34435 wxClipboardLocker
*result
= 0 ;
34438 PyObject
* obj0
= 0 ;
34439 char * kwnames
[] = {
34440 (char *) "clipboard", NULL
34443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34446 if (!SWIG_IsOK(res1
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34449 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34454 wxPyEndAllowThreads(__tstate
);
34455 if (PyErr_Occurred()) SWIG_fail
;
34457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34464 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34465 PyObject
*resultobj
= 0;
34466 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34469 PyObject
*swig_obj
[1] ;
34471 if (!args
) SWIG_fail
;
34472 swig_obj
[0] = args
;
34473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34474 if (!SWIG_IsOK(res1
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34477 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34482 wxPyEndAllowThreads(__tstate
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34485 resultobj
= SWIG_Py_Void();
34492 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34493 PyObject
*resultobj
= 0;
34494 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34498 PyObject
*swig_obj
[1] ;
34500 if (!args
) SWIG_fail
;
34501 swig_obj
[0] = args
;
34502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34503 if (!SWIG_IsOK(res1
)) {
34504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34506 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34509 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34522 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34525 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34526 return SWIG_Py_Void();
34529 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34530 return SWIG_Python_InitShadowInstance(args
);
34533 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34534 PyObject
*resultobj
= 0;
34535 int arg1
= (int) 0 ;
34536 int arg2
= (int) 0 ;
34537 int arg3
= (int) 0 ;
34538 int arg4
= (int) 0 ;
34539 wxVideoMode
*result
= 0 ;
34548 PyObject
* obj0
= 0 ;
34549 PyObject
* obj1
= 0 ;
34550 PyObject
* obj2
= 0 ;
34551 PyObject
* obj3
= 0 ;
34552 char * kwnames
[] = {
34553 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34558 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34559 if (!SWIG_IsOK(ecode1
)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34562 arg1
= static_cast< int >(val1
);
34565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34566 if (!SWIG_IsOK(ecode2
)) {
34567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34569 arg2
= static_cast< int >(val2
);
34572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34573 if (!SWIG_IsOK(ecode3
)) {
34574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34576 arg3
= static_cast< int >(val3
);
34579 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34580 if (!SWIG_IsOK(ecode4
)) {
34581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34583 arg4
= static_cast< int >(val4
);
34586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34587 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34588 wxPyEndAllowThreads(__tstate
);
34589 if (PyErr_Occurred()) SWIG_fail
;
34591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34598 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34599 PyObject
*resultobj
= 0;
34600 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34603 PyObject
*swig_obj
[1] ;
34605 if (!args
) SWIG_fail
;
34606 swig_obj
[0] = args
;
34607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34608 if (!SWIG_IsOK(res1
)) {
34609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34611 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34619 resultobj
= SWIG_Py_Void();
34626 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
= 0;
34628 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34629 wxVideoMode
*arg2
= 0 ;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 char * kwnames
[] = {
34638 (char *) "self",(char *) "other", NULL
34641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34643 if (!SWIG_IsOK(res1
)) {
34644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34646 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34648 if (!SWIG_IsOK(res2
)) {
34649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34654 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34658 wxPyEndAllowThreads(__tstate
);
34659 if (PyErr_Occurred()) SWIG_fail
;
34662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34670 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34671 PyObject
*resultobj
= 0;
34672 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34676 PyObject
*swig_obj
[1] ;
34678 if (!args
) SWIG_fail
;
34679 swig_obj
[0] = args
;
34680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34681 if (!SWIG_IsOK(res1
)) {
34682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34684 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= SWIG_From_int(static_cast< int >(result
));
34698 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34699 PyObject
*resultobj
= 0;
34700 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34704 PyObject
*swig_obj
[1] ;
34706 if (!args
) SWIG_fail
;
34707 swig_obj
[0] = args
;
34708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34709 if (!SWIG_IsOK(res1
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34712 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34715 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34716 wxPyEndAllowThreads(__tstate
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34719 resultobj
= SWIG_From_int(static_cast< int >(result
));
34726 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34727 PyObject
*resultobj
= 0;
34728 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34732 PyObject
*swig_obj
[1] ;
34734 if (!args
) SWIG_fail
;
34735 swig_obj
[0] = args
;
34736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34737 if (!SWIG_IsOK(res1
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34740 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34743 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 resultobj
= SWIG_From_int(static_cast< int >(result
));
34754 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34755 PyObject
*resultobj
= 0;
34756 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34760 PyObject
*swig_obj
[1] ;
34762 if (!args
) SWIG_fail
;
34763 swig_obj
[0] = args
;
34764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34765 if (!SWIG_IsOK(res1
)) {
34766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34768 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34784 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
= 0;
34786 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34787 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34793 PyObject
* obj0
= 0 ;
34794 PyObject
* obj1
= 0 ;
34795 char * kwnames
[] = {
34796 (char *) "self",(char *) "other", NULL
34799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34801 if (!SWIG_IsOK(res1
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34804 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34806 if (!SWIG_IsOK(res2
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34809 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34812 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34813 wxPyEndAllowThreads(__tstate
);
34814 if (PyErr_Occurred()) SWIG_fail
;
34817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34825 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34826 PyObject
*resultobj
= 0;
34827 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34828 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34834 PyObject
* obj0
= 0 ;
34835 PyObject
* obj1
= 0 ;
34836 char * kwnames
[] = {
34837 (char *) "self",(char *) "other", NULL
34840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34842 if (!SWIG_IsOK(res1
)) {
34843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34845 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34847 if (!SWIG_IsOK(res2
)) {
34848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34850 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34853 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34866 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34867 PyObject
*resultobj
= 0;
34868 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34874 PyObject
*swig_obj
[2] ;
34876 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34878 if (!SWIG_IsOK(res1
)) {
34879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34881 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34882 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34883 if (!SWIG_IsOK(ecode2
)) {
34884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34886 arg2
= static_cast< int >(val2
);
34887 if (arg1
) (arg1
)->w
= arg2
;
34889 resultobj
= SWIG_Py_Void();
34896 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34897 PyObject
*resultobj
= 0;
34898 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34902 PyObject
*swig_obj
[1] ;
34904 if (!args
) SWIG_fail
;
34905 swig_obj
[0] = args
;
34906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34910 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34911 result
= (int) ((arg1
)->w
);
34912 resultobj
= SWIG_From_int(static_cast< int >(result
));
34919 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34920 PyObject
*resultobj
= 0;
34921 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34927 PyObject
*swig_obj
[2] ;
34929 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34931 if (!SWIG_IsOK(res1
)) {
34932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34934 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34935 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34936 if (!SWIG_IsOK(ecode2
)) {
34937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34939 arg2
= static_cast< int >(val2
);
34940 if (arg1
) (arg1
)->h
= arg2
;
34942 resultobj
= SWIG_Py_Void();
34949 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34950 PyObject
*resultobj
= 0;
34951 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34955 PyObject
*swig_obj
[1] ;
34957 if (!args
) SWIG_fail
;
34958 swig_obj
[0] = args
;
34959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34960 if (!SWIG_IsOK(res1
)) {
34961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34963 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34964 result
= (int) ((arg1
)->h
);
34965 resultobj
= SWIG_From_int(static_cast< int >(result
));
34972 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34973 PyObject
*resultobj
= 0;
34974 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34980 PyObject
*swig_obj
[2] ;
34982 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34984 if (!SWIG_IsOK(res1
)) {
34985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34987 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34988 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34989 if (!SWIG_IsOK(ecode2
)) {
34990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34992 arg2
= static_cast< int >(val2
);
34993 if (arg1
) (arg1
)->bpp
= arg2
;
34995 resultobj
= SWIG_Py_Void();
35002 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35003 PyObject
*resultobj
= 0;
35004 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35008 PyObject
*swig_obj
[1] ;
35010 if (!args
) SWIG_fail
;
35011 swig_obj
[0] = args
;
35012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35013 if (!SWIG_IsOK(res1
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35016 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35017 result
= (int) ((arg1
)->bpp
);
35018 resultobj
= SWIG_From_int(static_cast< int >(result
));
35025 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35026 PyObject
*resultobj
= 0;
35027 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35033 PyObject
*swig_obj
[2] ;
35035 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35037 if (!SWIG_IsOK(res1
)) {
35038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35040 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35041 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35042 if (!SWIG_IsOK(ecode2
)) {
35043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35045 arg2
= static_cast< int >(val2
);
35046 if (arg1
) (arg1
)->refresh
= arg2
;
35048 resultobj
= SWIG_Py_Void();
35055 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35056 PyObject
*resultobj
= 0;
35057 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35061 PyObject
*swig_obj
[1] ;
35063 if (!args
) SWIG_fail
;
35064 swig_obj
[0] = args
;
35065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35066 if (!SWIG_IsOK(res1
)) {
35067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35069 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35070 result
= (int) ((arg1
)->refresh
);
35071 resultobj
= SWIG_From_int(static_cast< int >(result
));
35078 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35081 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35082 return SWIG_Py_Void();
35085 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35086 return SWIG_Python_InitShadowInstance(args
);
35089 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35090 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35095 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35096 PyObject
*pyobj
= 0;
35098 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35103 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35104 PyObject
*resultobj
= 0;
35105 size_t arg1
= (size_t) 0 ;
35106 wxDisplay
*result
= 0 ;
35109 PyObject
* obj0
= 0 ;
35110 char * kwnames
[] = {
35111 (char *) "index", NULL
35114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35116 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35117 if (!SWIG_IsOK(ecode1
)) {
35118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35120 arg1
= static_cast< size_t >(val1
);
35123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35124 result
= (wxDisplay
*)new wxDisplay(arg1
);
35125 wxPyEndAllowThreads(__tstate
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35135 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35136 PyObject
*resultobj
= 0;
35137 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35140 PyObject
*swig_obj
[1] ;
35142 if (!args
) SWIG_fail
;
35143 swig_obj
[0] = args
;
35144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35145 if (!SWIG_IsOK(res1
)) {
35146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35148 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 wxPyEndAllowThreads(__tstate
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35156 resultobj
= SWIG_Py_Void();
35163 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35164 PyObject
*resultobj
= 0;
35167 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 result
= (size_t)wxDisplay::GetCount();
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35174 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35181 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35182 PyObject
*resultobj
= 0;
35183 wxPoint
*arg1
= 0 ;
35186 PyObject
* obj0
= 0 ;
35187 char * kwnames
[] = {
35188 (char *) "pt", NULL
35191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35194 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35198 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35199 wxPyEndAllowThreads(__tstate
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35202 resultobj
= SWIG_From_int(static_cast< int >(result
));
35209 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35210 PyObject
*resultobj
= 0;
35211 wxWindow
*arg1
= (wxWindow
*) 0 ;
35215 PyObject
* obj0
= 0 ;
35216 char * kwnames
[] = {
35217 (char *) "window", NULL
35220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35222 if (!SWIG_IsOK(res1
)) {
35223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35228 result
= (int)wxDisplay::GetFromWindow(arg1
);
35229 wxPyEndAllowThreads(__tstate
);
35230 if (PyErr_Occurred()) SWIG_fail
;
35232 resultobj
= SWIG_From_int(static_cast< int >(result
));
35239 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35240 PyObject
*resultobj
= 0;
35241 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35245 PyObject
*swig_obj
[1] ;
35247 if (!args
) SWIG_fail
;
35248 swig_obj
[0] = args
;
35249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35250 if (!SWIG_IsOK(res1
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35253 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35256 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35269 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35270 PyObject
*resultobj
= 0;
35271 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35275 PyObject
*swig_obj
[1] ;
35277 if (!args
) SWIG_fail
;
35278 swig_obj
[0] = args
;
35279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35280 if (!SWIG_IsOK(res1
)) {
35281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35283 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35297 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35298 PyObject
*resultobj
= 0;
35299 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35303 PyObject
*swig_obj
[1] ;
35305 if (!args
) SWIG_fail
;
35306 swig_obj
[0] = args
;
35307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35308 if (!SWIG_IsOK(res1
)) {
35309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35311 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35315 wxPyEndAllowThreads(__tstate
);
35316 if (PyErr_Occurred()) SWIG_fail
;
35318 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35325 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35326 PyObject
*resultobj
= 0;
35327 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35331 PyObject
*swig_obj
[1] ;
35333 if (!args
) SWIG_fail
;
35334 swig_obj
[0] = args
;
35335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35336 if (!SWIG_IsOK(res1
)) {
35337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35339 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35342 result
= ((wxDisplay
const *)arg1
)->GetName();
35343 wxPyEndAllowThreads(__tstate
);
35344 if (PyErr_Occurred()) SWIG_fail
;
35348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35359 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35360 PyObject
*resultobj
= 0;
35361 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35365 PyObject
*swig_obj
[1] ;
35367 if (!args
) SWIG_fail
;
35368 swig_obj
[0] = args
;
35369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35370 if (!SWIG_IsOK(res1
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35373 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35377 wxPyEndAllowThreads(__tstate
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35389 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35390 PyObject
*resultobj
= 0;
35391 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35392 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35393 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35394 PyObject
*result
= 0 ;
35399 PyObject
* obj0
= 0 ;
35400 PyObject
* obj1
= 0 ;
35401 char * kwnames
[] = {
35402 (char *) "self",(char *) "mode", NULL
35405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35407 if (!SWIG_IsOK(res1
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35410 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35413 if (!SWIG_IsOK(res2
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35419 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35423 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35424 wxPyEndAllowThreads(__tstate
);
35425 if (PyErr_Occurred()) SWIG_fail
;
35427 resultobj
= result
;
35434 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35435 PyObject
*resultobj
= 0;
35436 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35437 wxVideoMode result
;
35440 PyObject
*swig_obj
[1] ;
35442 if (!args
) SWIG_fail
;
35443 swig_obj
[0] = args
;
35444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35445 if (!SWIG_IsOK(res1
)) {
35446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35448 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35451 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35462 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
= 0;
35464 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35465 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35466 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35472 PyObject
* obj0
= 0 ;
35473 PyObject
* obj1
= 0 ;
35474 char * kwnames
[] = {
35475 (char *) "self",(char *) "mode", NULL
35478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35480 if (!SWIG_IsOK(res1
)) {
35481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35483 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35486 if (!SWIG_IsOK(res2
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35492 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35496 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35509 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35510 PyObject
*resultobj
= 0;
35511 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35514 PyObject
*swig_obj
[1] ;
35516 if (!args
) SWIG_fail
;
35517 swig_obj
[0] = args
;
35518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35519 if (!SWIG_IsOK(res1
)) {
35520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35522 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 wxDisplay_ResetMode(arg1
);
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35529 resultobj
= SWIG_Py_Void();
35536 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35539 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35540 return SWIG_Py_Void();
35543 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35544 return SWIG_Python_InitShadowInstance(args
);
35547 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35548 PyObject
*resultobj
= 0;
35549 wxStandardPaths
*result
= 0 ;
35551 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35554 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35565 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35566 PyObject
*resultobj
= 0;
35567 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35571 PyObject
*swig_obj
[1] ;
35573 if (!args
) SWIG_fail
;
35574 swig_obj
[0] = args
;
35575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35576 if (!SWIG_IsOK(res1
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35579 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35599 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35600 PyObject
*resultobj
= 0;
35601 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35605 PyObject
*swig_obj
[1] ;
35607 if (!args
) SWIG_fail
;
35608 swig_obj
[0] = args
;
35609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35610 if (!SWIG_IsOK(res1
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35613 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35616 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35633 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35634 PyObject
*resultobj
= 0;
35635 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35639 PyObject
*swig_obj
[1] ;
35641 if (!args
) SWIG_fail
;
35642 swig_obj
[0] = args
;
35643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35644 if (!SWIG_IsOK(res1
)) {
35645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35647 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35667 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35668 PyObject
*resultobj
= 0;
35669 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35673 PyObject
*swig_obj
[1] ;
35675 if (!args
) SWIG_fail
;
35676 swig_obj
[0] = args
;
35677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35678 if (!SWIG_IsOK(res1
)) {
35679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35681 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35684 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35685 wxPyEndAllowThreads(__tstate
);
35686 if (PyErr_Occurred()) SWIG_fail
;
35690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35701 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35702 PyObject
*resultobj
= 0;
35703 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35707 PyObject
*swig_obj
[1] ;
35709 if (!args
) SWIG_fail
;
35710 swig_obj
[0] = args
;
35711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35712 if (!SWIG_IsOK(res1
)) {
35713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35715 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35735 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35736 PyObject
*resultobj
= 0;
35737 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35741 PyObject
*swig_obj
[1] ;
35743 if (!args
) SWIG_fail
;
35744 swig_obj
[0] = args
;
35745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35746 if (!SWIG_IsOK(res1
)) {
35747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35749 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35752 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35769 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35770 PyObject
*resultobj
= 0;
35771 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35775 PyObject
*swig_obj
[1] ;
35777 if (!args
) SWIG_fail
;
35778 swig_obj
[0] = args
;
35779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35780 if (!SWIG_IsOK(res1
)) {
35781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35783 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35786 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35787 wxPyEndAllowThreads(__tstate
);
35788 if (PyErr_Occurred()) SWIG_fail
;
35792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35803 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35804 PyObject
*resultobj
= 0;
35805 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35809 PyObject
*swig_obj
[1] ;
35811 if (!args
) SWIG_fail
;
35812 swig_obj
[0] = args
;
35813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35814 if (!SWIG_IsOK(res1
)) {
35815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35817 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35820 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35821 wxPyEndAllowThreads(__tstate
);
35822 if (PyErr_Occurred()) SWIG_fail
;
35826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35837 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35838 PyObject
*resultobj
= 0;
35839 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35840 wxString
*arg2
= 0 ;
35841 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35845 bool temp2
= false ;
35848 PyObject
* obj0
= 0 ;
35849 PyObject
* obj1
= 0 ;
35850 PyObject
* obj2
= 0 ;
35851 char * kwnames
[] = {
35852 (char *) "self",(char *) "lang",(char *) "category", NULL
35855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35857 if (!SWIG_IsOK(res1
)) {
35858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35860 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35862 arg2
= wxString_in_helper(obj1
);
35863 if (arg2
== NULL
) SWIG_fail
;
35867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35868 if (!SWIG_IsOK(ecode3
)) {
35869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35871 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35900 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35901 PyObject
*resultobj
= 0;
35902 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35906 PyObject
*swig_obj
[1] ;
35908 if (!args
) SWIG_fail
;
35909 swig_obj
[0] = args
;
35910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35911 if (!SWIG_IsOK(res1
)) {
35912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35914 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35917 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
35918 wxPyEndAllowThreads(__tstate
);
35919 if (PyErr_Occurred()) SWIG_fail
;
35923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35934 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
= 0;
35936 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35937 wxString
*arg2
= 0 ;
35940 bool temp2
= false ;
35941 PyObject
* obj0
= 0 ;
35942 PyObject
* obj1
= 0 ;
35943 char * kwnames
[] = {
35944 (char *) "self",(char *) "prefix", NULL
35947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35949 if (!SWIG_IsOK(res1
)) {
35950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35952 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35954 arg2
= wxString_in_helper(obj1
);
35955 if (arg2
== NULL
) SWIG_fail
;
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
35961 wxPyEndAllowThreads(__tstate
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35964 resultobj
= SWIG_Py_Void();
35979 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35980 PyObject
*resultobj
= 0;
35981 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35985 PyObject
*swig_obj
[1] ;
35987 if (!args
) SWIG_fail
;
35988 swig_obj
[0] = args
;
35989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35990 if (!SWIG_IsOK(res1
)) {
35991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35993 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 result
= wxStandardPaths_GetInstallPrefix(arg1
);
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36013 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36016 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
36017 return SWIG_Py_Void();
36020 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36021 PyObject
*resultobj
= 0;
36023 wxPowerEvent
*result
= 0 ;
36026 PyObject
* obj0
= 0 ;
36027 char * kwnames
[] = {
36028 (char *) "evtType", NULL
36031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
36032 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36033 if (!SWIG_IsOK(ecode1
)) {
36034 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
36036 arg1
= static_cast< wxEventType
>(val1
);
36038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36039 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
36040 wxPyEndAllowThreads(__tstate
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
36050 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36051 PyObject
*resultobj
= 0;
36052 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36055 PyObject
*swig_obj
[1] ;
36057 if (!args
) SWIG_fail
;
36058 swig_obj
[0] = args
;
36059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36060 if (!SWIG_IsOK(res1
)) {
36061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
36063 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36067 wxPyEndAllowThreads(__tstate
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36070 resultobj
= SWIG_Py_Void();
36077 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36078 PyObject
*resultobj
= 0;
36079 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36083 PyObject
*swig_obj
[1] ;
36085 if (!args
) SWIG_fail
;
36086 swig_obj
[0] = args
;
36087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36088 if (!SWIG_IsOK(res1
)) {
36089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
36091 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36107 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
36111 return SWIG_Py_Void();
36114 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36115 return SWIG_Python_InitShadowInstance(args
);
36118 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36119 PyObject
*resultobj
= 0;
36120 wxPowerType result
;
36122 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
36124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36125 result
= (wxPowerType
)wxGetPowerType();
36126 wxPyEndAllowThreads(__tstate
);
36127 if (PyErr_Occurred()) SWIG_fail
;
36129 resultobj
= SWIG_From_int(static_cast< int >(result
));
36136 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36137 PyObject
*resultobj
= 0;
36138 wxBatteryState result
;
36140 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
36142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36143 result
= (wxBatteryState
)wxGetBatteryState();
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= SWIG_From_int(static_cast< int >(result
));
36154 static PyMethodDef SwigMethods
[] = {
36155 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36156 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36159 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
36160 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36161 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
36162 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
36163 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36164 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36165 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36167 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36168 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36170 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36171 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36172 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36174 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36177 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36178 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36179 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36181 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36182 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36184 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36185 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36186 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36187 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36188 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36189 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36190 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36191 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36192 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36193 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36194 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36195 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36196 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36197 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36198 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36199 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36200 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36201 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36202 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36203 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36212 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36213 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36214 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36215 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36216 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36217 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36218 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36219 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36220 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36222 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36224 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36225 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36226 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36230 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36231 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36232 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36233 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36234 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36235 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36236 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36237 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36238 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36239 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36240 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36241 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36242 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36243 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36244 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36245 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36246 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36247 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36248 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36249 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36250 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36253 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36254 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36255 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36256 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36257 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36258 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36259 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36260 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36261 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36262 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36263 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36265 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36267 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36268 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36270 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36271 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36272 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36273 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36274 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36275 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36276 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36277 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36278 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36279 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36280 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36281 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36282 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36288 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36289 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36290 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36291 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36292 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36293 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36294 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36295 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36296 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36297 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36298 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36299 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36300 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36302 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36303 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36304 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36305 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36307 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36308 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36309 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36310 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36311 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36313 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36316 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36317 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36321 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36324 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36325 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36326 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36328 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36329 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36331 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36332 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36333 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36334 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36335 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36336 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36337 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36339 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36341 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36342 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36343 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36345 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36347 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36349 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36350 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36351 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36352 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36353 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36354 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36355 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36356 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36357 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36358 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36359 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36361 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36362 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36363 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36364 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36365 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36367 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36368 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36369 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36370 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36371 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36374 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36375 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36376 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36378 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36379 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36382 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36386 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36387 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36388 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36389 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36390 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36392 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36393 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36394 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36395 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36396 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36397 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36398 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36399 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36400 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36402 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36403 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36404 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36405 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36406 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36409 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36410 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36411 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36412 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36413 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36414 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36418 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36419 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36420 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36421 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36422 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36423 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36424 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36425 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36426 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36432 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36434 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36437 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36439 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36441 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36442 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36443 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36444 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36445 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36447 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36448 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36449 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36450 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36453 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36455 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36456 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36457 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36458 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36459 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36460 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36461 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36462 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36463 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36464 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36465 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36466 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36468 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36469 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36470 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36471 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36472 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36473 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36474 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36475 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36479 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36480 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36481 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36482 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36483 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36484 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36485 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36486 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36487 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36488 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36490 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36491 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36492 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36493 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36494 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36495 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36496 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36497 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36498 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36499 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36500 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36501 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36502 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36503 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36504 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36505 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36506 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36507 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36508 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36509 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36510 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36511 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36512 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36513 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36514 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36515 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36516 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36517 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36518 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36519 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36521 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36522 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36523 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36525 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36526 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36527 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36528 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36529 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36535 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36536 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36537 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36541 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36542 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36545 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36548 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36551 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36552 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36553 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36556 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36557 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36560 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36561 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36562 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36563 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36564 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36565 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36566 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36567 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36568 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36569 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36570 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36572 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36573 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36574 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36575 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36576 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36577 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36578 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36584 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36586 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36587 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36589 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36591 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36596 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36600 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36601 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36602 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36603 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36604 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36606 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36607 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36608 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36609 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36612 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36613 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36614 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36615 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36618 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36619 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36621 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36622 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36623 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36624 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36645 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36647 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36649 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36651 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36652 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36656 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36657 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36659 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36660 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36661 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36663 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36664 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36665 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36667 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36668 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36669 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36670 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36673 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36677 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36684 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36688 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36689 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36690 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36691 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36697 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36698 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36703 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36727 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36728 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36729 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36730 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36731 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36743 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36744 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36770 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36771 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36772 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36773 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36786 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36787 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36788 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36789 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36790 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36791 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36793 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36795 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36797 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36799 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36801 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36803 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36805 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36809 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36810 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36814 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36825 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36826 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36827 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36831 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36832 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36833 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36834 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36835 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36836 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36838 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36839 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36841 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36843 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36845 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36847 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36849 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36854 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36855 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36856 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36857 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36858 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36861 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36865 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36873 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36874 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36875 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36876 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36877 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36878 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36881 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36882 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36883 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36885 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36886 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36888 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36889 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36890 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36898 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36900 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36902 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36903 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36904 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36905 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36906 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36909 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36910 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36911 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
36913 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36914 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36915 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36917 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36918 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36920 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36921 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36924 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36925 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36927 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36929 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36930 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36933 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36934 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36935 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36936 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36938 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36939 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36940 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36942 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36943 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36944 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36945 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36946 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36947 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36949 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36950 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36951 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
36953 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36954 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36955 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36959 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36961 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36965 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36966 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36969 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36970 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36974 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36976 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36978 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36979 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36980 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36981 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36986 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36989 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36990 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36991 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36994 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36996 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36999 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
37000 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
37001 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
37002 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
37003 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
37004 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
37005 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37006 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37007 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
37010 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
37011 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
37013 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
37014 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
37015 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
37017 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
37018 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
37019 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
37020 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
37022 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37023 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
37024 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
37025 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
37026 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
37027 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
37030 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
37031 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
37032 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
37033 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
37034 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
37035 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
37036 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
37037 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
37038 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
37039 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
37041 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
37042 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
37045 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
37046 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
37047 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
37048 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
37049 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
37051 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37052 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
37053 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
37054 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
37055 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
37056 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
37057 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
37058 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
37059 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
37060 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
37061 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
37062 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
37063 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
37064 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37065 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
37066 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37067 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
37068 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
37069 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37070 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
37071 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
37072 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
37073 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
37074 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
37075 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
37076 { NULL
, NULL
, 0, NULL
}
37080 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37082 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37083 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37085 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37086 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37088 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37089 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37091 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37092 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37094 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37095 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37097 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37098 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37100 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
37101 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
37103 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
37104 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
37106 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37107 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37109 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37110 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37112 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37113 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37115 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37116 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37118 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
37119 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
37121 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37122 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37124 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37125 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37127 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37128 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37130 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37131 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37133 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37134 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37136 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37137 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37139 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37140 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37142 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37143 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37145 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37146 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37148 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
37149 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37151 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37152 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37154 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37155 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37157 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37160 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37161 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37163 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37164 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37166 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37167 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37169 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37170 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37172 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37173 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37175 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37176 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37178 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37179 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37181 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37182 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37184 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37185 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37187 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37188 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37190 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37193 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37196 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37197 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37199 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37200 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37202 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37203 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37205 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37206 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37208 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37209 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37211 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37212 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37214 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37215 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37217 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37218 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37220 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37221 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37223 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37224 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37226 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37227 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37229 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37230 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37232 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37233 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37235 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37236 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37238 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37239 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37241 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37242 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37244 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37245 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37247 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37248 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37250 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37251 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37253 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37254 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37256 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37257 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37259 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37260 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37262 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37263 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37265 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37266 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37268 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37269 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37271 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37272 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37274 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37275 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37277 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37278 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37280 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37283 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37284 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37286 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37287 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37289 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37290 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37292 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37293 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37295 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37296 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37298 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37299 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37301 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37302 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37304 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37305 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37307 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37308 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37310 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37311 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37313 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37314 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37316 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37319 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37320 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37322 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37323 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37325 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37326 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37328 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37329 return (void *)((wxObject
*) ((wxSizer
*) x
));
37331 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37332 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37334 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37335 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37337 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37338 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37340 static void *_p_wxEventTo_p_wxObject(void *x
) {
37341 return (void *)((wxObject
*) ((wxEvent
*) x
));
37343 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37344 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37346 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37347 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37349 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37350 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37352 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37355 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37356 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37358 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37359 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37361 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37362 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37364 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37365 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37367 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37368 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37370 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37371 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37373 static void *_p_wxControlTo_p_wxObject(void *x
) {
37374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37376 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37377 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37379 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37380 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37382 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
37383 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
37385 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37386 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37388 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37389 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37391 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37392 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37394 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37395 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37397 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37400 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37401 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37403 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37404 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37406 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37407 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37409 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37412 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37413 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37415 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37418 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37419 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37421 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37422 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37424 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37425 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37427 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37428 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37430 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37431 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37433 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37434 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37436 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37439 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37442 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37445 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37448 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37451 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37452 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37454 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37455 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37457 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37458 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37460 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37463 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37466 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37467 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37469 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37472 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37475 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37476 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37478 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37479 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37481 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37482 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37484 static void *_p_wxImageTo_p_wxObject(void *x
) {
37485 return (void *)((wxObject
*) ((wxImage
*) x
));
37487 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37488 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37490 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37491 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37493 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37494 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37496 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37499 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37500 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37502 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37503 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37505 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37506 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37508 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37509 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37511 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37514 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37515 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37517 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37518 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37520 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37523 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37524 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37526 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37527 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37529 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37530 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37532 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37533 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37535 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37536 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37538 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37539 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37541 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37544 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37545 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37547 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37548 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37550 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37551 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37553 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37556 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37557 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37559 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37562 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37565 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37566 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37568 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37571 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37572 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37574 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37575 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37577 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37578 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37580 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37581 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37583 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37584 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37586 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37587 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37589 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37590 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37592 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37593 return (void *)((wxWindow
*) ((wxControl
*) x
));
37595 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37596 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37598 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37599 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37601 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37602 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37604 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37605 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37607 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37608 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};
37609 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37610 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37611 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37612 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37613 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37614 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37615 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37616 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37617 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37618 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37619 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37620 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37621 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37622 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37623 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37624 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37625 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37626 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37627 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37628 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37629 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37630 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37631 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37632 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37633 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37634 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37635 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37636 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37637 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37638 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37639 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37640 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37641 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37642 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37643 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37644 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37645 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37646 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37647 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37648 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37649 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37650 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37651 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37652 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37653 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37654 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37655 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37656 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37657 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37658 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37659 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37660 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37661 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37662 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37663 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37664 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37665 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37666 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37667 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37668 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37669 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37670 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37671 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37672 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37673 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37674 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37675 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37676 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37677 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37678 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37679 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37680 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37681 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37682 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37683 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37684 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37685 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37686 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37687 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37688 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37689 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37690 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37691 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37692 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37693 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37694 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37695 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37696 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37697 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37698 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37699 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37700 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37701 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37702 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37703 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37704 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37705 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37706 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37707 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37708 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37709 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37710 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37711 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37712 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37713 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37714 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37715 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37716 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37717 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37718 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37719 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37720 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37721 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37722 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37723 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37724 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37725 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37726 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37727 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37728 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37729 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37730 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37731 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37732 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37733 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37734 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37735 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37736 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37737 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37738 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37739 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37740 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37741 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37742 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37743 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37744 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
37745 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37746 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37747 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37748 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37749 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37750 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37751 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37752 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37753 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37754 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37755 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37756 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37757 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37758 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37759 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37760 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37761 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37762 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37763 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37764 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37765 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37766 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37767 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37768 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37769 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37770 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37771 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37772 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37773 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37774 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37775 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37776 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37777 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37778 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37780 static swig_type_info
*swig_type_initial
[] = {
37782 &_swigt__p_form_ops_t
,
37784 &_swigt__p_unsigned_char
,
37785 &_swigt__p_unsigned_int
,
37786 &_swigt__p_unsigned_long
,
37788 &_swigt__p_wxANIHandler
,
37789 &_swigt__p_wxAcceleratorTable
,
37790 &_swigt__p_wxActivateEvent
,
37791 &_swigt__p_wxArrayString
,
37792 &_swigt__p_wxBMPHandler
,
37793 &_swigt__p_wxBitmap
,
37794 &_swigt__p_wxBitmapDataObject
,
37795 &_swigt__p_wxBoxSizer
,
37796 &_swigt__p_wxBusyCursor
,
37797 &_swigt__p_wxBusyInfo
,
37798 &_swigt__p_wxCURHandler
,
37799 &_swigt__p_wxCaret
,
37801 &_swigt__p_wxChildFocusEvent
,
37802 &_swigt__p_wxClipboard
,
37803 &_swigt__p_wxClipboardLocker
,
37804 &_swigt__p_wxClipboardTextEvent
,
37805 &_swigt__p_wxCloseEvent
,
37806 &_swigt__p_wxColour
,
37807 &_swigt__p_wxCommandEvent
,
37808 &_swigt__p_wxConfig
,
37809 &_swigt__p_wxConfigBase
,
37810 &_swigt__p_wxConfigPathChanger
,
37811 &_swigt__p_wxContextMenuEvent
,
37812 &_swigt__p_wxControl
,
37813 &_swigt__p_wxControlWithItems
,
37814 &_swigt__p_wxCursor
,
37815 &_swigt__p_wxCustomDataObject
,
37817 &_swigt__p_wxDataFormat
,
37818 &_swigt__p_wxDataObject
,
37819 &_swigt__p_wxDataObjectComposite
,
37820 &_swigt__p_wxDataObjectSimple
,
37821 &_swigt__p_wxDateEvent
,
37822 &_swigt__p_wxDateSpan
,
37823 &_swigt__p_wxDateTime
,
37824 &_swigt__p_wxDateTime__TimeZone
,
37825 &_swigt__p_wxDisplay
,
37826 &_swigt__p_wxDisplayChangedEvent
,
37827 &_swigt__p_wxDropFilesEvent
,
37828 &_swigt__p_wxDuplexMode
,
37829 &_swigt__p_wxEraseEvent
,
37830 &_swigt__p_wxEvent
,
37831 &_swigt__p_wxEvtHandler
,
37832 &_swigt__p_wxFSFile
,
37833 &_swigt__p_wxFileConfig
,
37834 &_swigt__p_wxFileDataObject
,
37835 &_swigt__p_wxFileHistory
,
37836 &_swigt__p_wxFileSystem
,
37837 &_swigt__p_wxFileType
,
37838 &_swigt__p_wxFileTypeInfo
,
37839 &_swigt__p_wxFlexGridSizer
,
37840 &_swigt__p_wxFocusEvent
,
37842 &_swigt__p_wxFrame
,
37843 &_swigt__p_wxGBSizerItem
,
37844 &_swigt__p_wxGIFHandler
,
37845 &_swigt__p_wxGridBagSizer
,
37846 &_swigt__p_wxGridSizer
,
37847 &_swigt__p_wxICOHandler
,
37849 &_swigt__p_wxIconizeEvent
,
37850 &_swigt__p_wxIdleEvent
,
37851 &_swigt__p_wxImage
,
37852 &_swigt__p_wxImageHandler
,
37853 &_swigt__p_wxIndividualLayoutConstraint
,
37854 &_swigt__p_wxInitDialogEvent
,
37855 &_swigt__p_wxJPEGHandler
,
37856 &_swigt__p_wxJoystick
,
37857 &_swigt__p_wxJoystickEvent
,
37858 &_swigt__p_wxKeyEvent
,
37859 &_swigt__p_wxKillError
,
37860 &_swigt__p_wxLayoutConstraints
,
37862 &_swigt__p_wxLogBuffer
,
37863 &_swigt__p_wxLogChain
,
37864 &_swigt__p_wxLogGui
,
37865 &_swigt__p_wxLogNull
,
37866 &_swigt__p_wxLogStderr
,
37867 &_swigt__p_wxLogTextCtrl
,
37868 &_swigt__p_wxLogWindow
,
37869 &_swigt__p_wxMaximizeEvent
,
37870 &_swigt__p_wxMemorySize
,
37872 &_swigt__p_wxMenuBar
,
37873 &_swigt__p_wxMenuEvent
,
37874 &_swigt__p_wxMenuItem
,
37875 &_swigt__p_wxMetafile
,
37876 &_swigt__p_wxMetafileDataObject
,
37877 &_swigt__p_wxMimeTypesManager
,
37878 &_swigt__p_wxMouseCaptureChangedEvent
,
37879 &_swigt__p_wxMouseEvent
,
37880 &_swigt__p_wxMouseState
,
37881 &_swigt__p_wxMoveEvent
,
37882 &_swigt__p_wxMutexGuiLocker
,
37883 &_swigt__p_wxNavigationKeyEvent
,
37884 &_swigt__p_wxNcPaintEvent
,
37885 &_swigt__p_wxNotifyEvent
,
37886 &_swigt__p_wxObject
,
37887 &_swigt__p_wxOutputStream
,
37888 &_swigt__p_wxPCXHandler
,
37889 &_swigt__p_wxPNGHandler
,
37890 &_swigt__p_wxPNMHandler
,
37891 &_swigt__p_wxPaintEvent
,
37892 &_swigt__p_wxPaletteChangedEvent
,
37893 &_swigt__p_wxPaperSize
,
37894 &_swigt__p_wxPoint
,
37895 &_swigt__p_wxPowerEvent
,
37896 &_swigt__p_wxProcessEvent
,
37897 &_swigt__p_wxPyApp
,
37898 &_swigt__p_wxPyArtProvider
,
37899 &_swigt__p_wxPyBitmapDataObject
,
37900 &_swigt__p_wxPyCommandEvent
,
37901 &_swigt__p_wxPyDataObjectSimple
,
37902 &_swigt__p_wxPyDropSource
,
37903 &_swigt__p_wxPyDropTarget
,
37904 &_swigt__p_wxPyEvent
,
37905 &_swigt__p_wxPyFileDropTarget
,
37906 &_swigt__p_wxPyImageHandler
,
37907 &_swigt__p_wxPyLog
,
37908 &_swigt__p_wxPyProcess
,
37909 &_swigt__p_wxPySizer
,
37910 &_swigt__p_wxPyTextDataObject
,
37911 &_swigt__p_wxPyTextDropTarget
,
37912 &_swigt__p_wxPyTimer
,
37913 &_swigt__p_wxPyTipProvider
,
37914 &_swigt__p_wxPyValidator
,
37915 &_swigt__p_wxQueryNewPaletteEvent
,
37917 &_swigt__p_wxScrollEvent
,
37918 &_swigt__p_wxScrollWinEvent
,
37919 &_swigt__p_wxSetCursorEvent
,
37920 &_swigt__p_wxShowEvent
,
37921 &_swigt__p_wxSingleInstanceChecker
,
37923 &_swigt__p_wxSizeEvent
,
37924 &_swigt__p_wxSizer
,
37925 &_swigt__p_wxSizerItem
,
37926 &_swigt__p_wxSound
,
37927 &_swigt__p_wxStandardPaths
,
37928 &_swigt__p_wxStaticBoxSizer
,
37929 &_swigt__p_wxStdDialogButtonSizer
,
37930 &_swigt__p_wxStopWatch
,
37931 &_swigt__p_wxString
,
37932 &_swigt__p_wxSysColourChangedEvent
,
37933 &_swigt__p_wxSystemOptions
,
37934 &_swigt__p_wxSystemSettings
,
37935 &_swigt__p_wxTIFFHandler
,
37936 &_swigt__p_wxTextCtrl
,
37937 &_swigt__p_wxTextDataObject
,
37938 &_swigt__p_wxTimeSpan
,
37939 &_swigt__p_wxTimer
,
37940 &_swigt__p_wxTimerEvent
,
37941 &_swigt__p_wxTimerRunner
,
37942 &_swigt__p_wxTipProvider
,
37943 &_swigt__p_wxToolTip
,
37944 &_swigt__p_wxURLDataObject
,
37945 &_swigt__p_wxUpdateUIEvent
,
37946 &_swigt__p_wxValidator
,
37947 &_swigt__p_wxVideoMode
,
37948 &_swigt__p_wxWindow
,
37949 &_swigt__p_wxWindowCreateEvent
,
37950 &_swigt__p_wxWindowDestroyEvent
,
37951 &_swigt__p_wxWindowDisabler
,
37952 &_swigt__p_wxXPMHandler
,
37955 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37956 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37957 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37958 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37959 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37960 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37961 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37962 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37963 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37964 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}};
37965 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37966 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37967 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37968 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37969 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37970 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37971 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37972 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37973 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}};
37974 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37975 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37976 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37977 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37978 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37979 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}};
37980 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37981 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}};
37982 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37983 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37984 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37985 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37986 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37987 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37988 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37989 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37990 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37991 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37992 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37993 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37994 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37995 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37996 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37997 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37998 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37999 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38000 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38001 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38002 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38003 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38004 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38005 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38006 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
38007 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38008 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38009 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38010 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38011 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38012 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38013 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38014 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38015 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38016 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38017 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38018 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38019 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38020 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38021 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38022 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38023 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38024 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
38025 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
38026 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
38027 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38028 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38029 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
38030 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38031 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}};
38032 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
38033 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38034 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
38035 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
38036 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
38037 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38038 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
38039 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38040 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
38041 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
38042 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
38043 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}};
38044 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
38045 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
38046 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
38047 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
38048 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
38049 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38050 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
38051 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
38052 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38053 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
38054 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38055 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
38056 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
38057 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
38058 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38059 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38060 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38061 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38062 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38063 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38064 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38065 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38066 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38067 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38068 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38069 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38070 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38071 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38072 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38073 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38074 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38075 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38076 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38077 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38078 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38079 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38080 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38081 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38082 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38083 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38084 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38085 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38086 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38087 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38088 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
38089 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
38090 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38091 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38092 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38093 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
38094 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
38095 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38096 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
38097 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
38098 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}};
38099 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38100 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
38101 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
38102 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38103 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38104 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
38105 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
38106 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38107 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
38108 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38109 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
38110 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
38111 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
38112 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38113 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
38114 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
38115 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38116 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}};
38117 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
38118 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
38119 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38120 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
38121 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}};
38122 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
38123 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38124 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
38125 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}};
38126 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
38128 static swig_cast_info
*swig_cast_initial
[] = {
38130 _swigc__p_form_ops_t
,
38132 _swigc__p_unsigned_char
,
38133 _swigc__p_unsigned_int
,
38134 _swigc__p_unsigned_long
,
38136 _swigc__p_wxANIHandler
,
38137 _swigc__p_wxAcceleratorTable
,
38138 _swigc__p_wxActivateEvent
,
38139 _swigc__p_wxArrayString
,
38140 _swigc__p_wxBMPHandler
,
38141 _swigc__p_wxBitmap
,
38142 _swigc__p_wxBitmapDataObject
,
38143 _swigc__p_wxBoxSizer
,
38144 _swigc__p_wxBusyCursor
,
38145 _swigc__p_wxBusyInfo
,
38146 _swigc__p_wxCURHandler
,
38149 _swigc__p_wxChildFocusEvent
,
38150 _swigc__p_wxClipboard
,
38151 _swigc__p_wxClipboardLocker
,
38152 _swigc__p_wxClipboardTextEvent
,
38153 _swigc__p_wxCloseEvent
,
38154 _swigc__p_wxColour
,
38155 _swigc__p_wxCommandEvent
,
38156 _swigc__p_wxConfig
,
38157 _swigc__p_wxConfigBase
,
38158 _swigc__p_wxConfigPathChanger
,
38159 _swigc__p_wxContextMenuEvent
,
38160 _swigc__p_wxControl
,
38161 _swigc__p_wxControlWithItems
,
38162 _swigc__p_wxCursor
,
38163 _swigc__p_wxCustomDataObject
,
38165 _swigc__p_wxDataFormat
,
38166 _swigc__p_wxDataObject
,
38167 _swigc__p_wxDataObjectComposite
,
38168 _swigc__p_wxDataObjectSimple
,
38169 _swigc__p_wxDateEvent
,
38170 _swigc__p_wxDateSpan
,
38171 _swigc__p_wxDateTime
,
38172 _swigc__p_wxDateTime__TimeZone
,
38173 _swigc__p_wxDisplay
,
38174 _swigc__p_wxDisplayChangedEvent
,
38175 _swigc__p_wxDropFilesEvent
,
38176 _swigc__p_wxDuplexMode
,
38177 _swigc__p_wxEraseEvent
,
38179 _swigc__p_wxEvtHandler
,
38180 _swigc__p_wxFSFile
,
38181 _swigc__p_wxFileConfig
,
38182 _swigc__p_wxFileDataObject
,
38183 _swigc__p_wxFileHistory
,
38184 _swigc__p_wxFileSystem
,
38185 _swigc__p_wxFileType
,
38186 _swigc__p_wxFileTypeInfo
,
38187 _swigc__p_wxFlexGridSizer
,
38188 _swigc__p_wxFocusEvent
,
38191 _swigc__p_wxGBSizerItem
,
38192 _swigc__p_wxGIFHandler
,
38193 _swigc__p_wxGridBagSizer
,
38194 _swigc__p_wxGridSizer
,
38195 _swigc__p_wxICOHandler
,
38197 _swigc__p_wxIconizeEvent
,
38198 _swigc__p_wxIdleEvent
,
38200 _swigc__p_wxImageHandler
,
38201 _swigc__p_wxIndividualLayoutConstraint
,
38202 _swigc__p_wxInitDialogEvent
,
38203 _swigc__p_wxJPEGHandler
,
38204 _swigc__p_wxJoystick
,
38205 _swigc__p_wxJoystickEvent
,
38206 _swigc__p_wxKeyEvent
,
38207 _swigc__p_wxKillError
,
38208 _swigc__p_wxLayoutConstraints
,
38210 _swigc__p_wxLogBuffer
,
38211 _swigc__p_wxLogChain
,
38212 _swigc__p_wxLogGui
,
38213 _swigc__p_wxLogNull
,
38214 _swigc__p_wxLogStderr
,
38215 _swigc__p_wxLogTextCtrl
,
38216 _swigc__p_wxLogWindow
,
38217 _swigc__p_wxMaximizeEvent
,
38218 _swigc__p_wxMemorySize
,
38220 _swigc__p_wxMenuBar
,
38221 _swigc__p_wxMenuEvent
,
38222 _swigc__p_wxMenuItem
,
38223 _swigc__p_wxMetafile
,
38224 _swigc__p_wxMetafileDataObject
,
38225 _swigc__p_wxMimeTypesManager
,
38226 _swigc__p_wxMouseCaptureChangedEvent
,
38227 _swigc__p_wxMouseEvent
,
38228 _swigc__p_wxMouseState
,
38229 _swigc__p_wxMoveEvent
,
38230 _swigc__p_wxMutexGuiLocker
,
38231 _swigc__p_wxNavigationKeyEvent
,
38232 _swigc__p_wxNcPaintEvent
,
38233 _swigc__p_wxNotifyEvent
,
38234 _swigc__p_wxObject
,
38235 _swigc__p_wxOutputStream
,
38236 _swigc__p_wxPCXHandler
,
38237 _swigc__p_wxPNGHandler
,
38238 _swigc__p_wxPNMHandler
,
38239 _swigc__p_wxPaintEvent
,
38240 _swigc__p_wxPaletteChangedEvent
,
38241 _swigc__p_wxPaperSize
,
38243 _swigc__p_wxPowerEvent
,
38244 _swigc__p_wxProcessEvent
,
38246 _swigc__p_wxPyArtProvider
,
38247 _swigc__p_wxPyBitmapDataObject
,
38248 _swigc__p_wxPyCommandEvent
,
38249 _swigc__p_wxPyDataObjectSimple
,
38250 _swigc__p_wxPyDropSource
,
38251 _swigc__p_wxPyDropTarget
,
38252 _swigc__p_wxPyEvent
,
38253 _swigc__p_wxPyFileDropTarget
,
38254 _swigc__p_wxPyImageHandler
,
38256 _swigc__p_wxPyProcess
,
38257 _swigc__p_wxPySizer
,
38258 _swigc__p_wxPyTextDataObject
,
38259 _swigc__p_wxPyTextDropTarget
,
38260 _swigc__p_wxPyTimer
,
38261 _swigc__p_wxPyTipProvider
,
38262 _swigc__p_wxPyValidator
,
38263 _swigc__p_wxQueryNewPaletteEvent
,
38265 _swigc__p_wxScrollEvent
,
38266 _swigc__p_wxScrollWinEvent
,
38267 _swigc__p_wxSetCursorEvent
,
38268 _swigc__p_wxShowEvent
,
38269 _swigc__p_wxSingleInstanceChecker
,
38271 _swigc__p_wxSizeEvent
,
38273 _swigc__p_wxSizerItem
,
38275 _swigc__p_wxStandardPaths
,
38276 _swigc__p_wxStaticBoxSizer
,
38277 _swigc__p_wxStdDialogButtonSizer
,
38278 _swigc__p_wxStopWatch
,
38279 _swigc__p_wxString
,
38280 _swigc__p_wxSysColourChangedEvent
,
38281 _swigc__p_wxSystemOptions
,
38282 _swigc__p_wxSystemSettings
,
38283 _swigc__p_wxTIFFHandler
,
38284 _swigc__p_wxTextCtrl
,
38285 _swigc__p_wxTextDataObject
,
38286 _swigc__p_wxTimeSpan
,
38288 _swigc__p_wxTimerEvent
,
38289 _swigc__p_wxTimerRunner
,
38290 _swigc__p_wxTipProvider
,
38291 _swigc__p_wxToolTip
,
38292 _swigc__p_wxURLDataObject
,
38293 _swigc__p_wxUpdateUIEvent
,
38294 _swigc__p_wxValidator
,
38295 _swigc__p_wxVideoMode
,
38296 _swigc__p_wxWindow
,
38297 _swigc__p_wxWindowCreateEvent
,
38298 _swigc__p_wxWindowDestroyEvent
,
38299 _swigc__p_wxWindowDisabler
,
38300 _swigc__p_wxXPMHandler
,
38304 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38306 static swig_const_info swig_const_table
[] = {
38307 {0, 0, 0, 0.0, 0, 0}};
38312 /* -----------------------------------------------------------------------------
38313 * Type initialization:
38314 * This problem is tough by the requirement that no dynamic
38315 * memory is used. Also, since swig_type_info structures store pointers to
38316 * swig_cast_info structures and swig_cast_info structures store pointers back
38317 * to swig_type_info structures, we need some lookup code at initialization.
38318 * The idea is that swig generates all the structures that are needed.
38319 * The runtime then collects these partially filled structures.
38320 * The SWIG_InitializeModule function takes these initial arrays out of
38321 * swig_module, and does all the lookup, filling in the swig_module.types
38322 * array with the correct data and linking the correct swig_cast_info
38323 * structures together.
38325 * The generated swig_type_info structures are assigned staticly to an initial
38326 * array. We just loop though that array, and handle each type individually.
38327 * First we lookup if this type has been already loaded, and if so, use the
38328 * loaded structure instead of the generated one. Then we have to fill in the
38329 * cast linked list. The cast data is initially stored in something like a
38330 * two-dimensional array. Each row corresponds to a type (there are the same
38331 * number of rows as there are in the swig_type_initial array). Each entry in
38332 * a column is one of the swig_cast_info structures for that type.
38333 * The cast_initial array is actually an array of arrays, because each row has
38334 * a variable number of columns. So to actually build the cast linked list,
38335 * we find the array of casts associated with the type, and loop through it
38336 * adding the casts to the list. The one last trick we need to do is making
38337 * sure the type pointer in the swig_cast_info struct is correct.
38339 * First off, we lookup the cast->type name to see if it is already loaded.
38340 * There are three cases to handle:
38341 * 1) If the cast->type has already been loaded AND the type we are adding
38342 * casting info to has not been loaded (it is in this module), THEN we
38343 * replace the cast->type pointer with the type pointer that has already
38345 * 2) If BOTH types (the one we are adding casting info to, and the
38346 * cast->type) are loaded, THEN the cast info has already been loaded by
38347 * the previous module so we just ignore it.
38348 * 3) Finally, if cast->type has not already been loaded, then we add that
38349 * swig_cast_info to the linked list (because the cast->type) pointer will
38351 * ----------------------------------------------------------------------------- */
38361 #define SWIGRUNTIME_DEBUG
38365 SWIG_InitializeModule(void *clientdata
) {
38367 swig_module_info
*module_head
;
38368 static int init_run
= 0;
38370 clientdata
= clientdata
;
38372 if (init_run
) return;
38375 /* Initialize the swig_module */
38376 swig_module
.type_initial
= swig_type_initial
;
38377 swig_module
.cast_initial
= swig_cast_initial
;
38379 /* Try and load any already created modules */
38380 module_head
= SWIG_GetModule(clientdata
);
38382 swig_module
.next
= module_head
->next
;
38383 module_head
->next
= &swig_module
;
38385 /* This is the first module loaded */
38386 swig_module
.next
= &swig_module
;
38387 SWIG_SetModule(clientdata
, &swig_module
);
38390 /* Now work on filling in swig_module.types */
38391 #ifdef SWIGRUNTIME_DEBUG
38392 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38394 for (i
= 0; i
< swig_module
.size
; ++i
) {
38395 swig_type_info
*type
= 0;
38396 swig_type_info
*ret
;
38397 swig_cast_info
*cast
;
38399 #ifdef SWIGRUNTIME_DEBUG
38400 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38403 /* if there is another module already loaded */
38404 if (swig_module
.next
!= &swig_module
) {
38405 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38408 /* Overwrite clientdata field */
38409 #ifdef SWIGRUNTIME_DEBUG
38410 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38412 if (swig_module
.type_initial
[i
]->clientdata
) {
38413 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38414 #ifdef SWIGRUNTIME_DEBUG
38415 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38419 type
= swig_module
.type_initial
[i
];
38422 /* Insert casting types */
38423 cast
= swig_module
.cast_initial
[i
];
38424 while (cast
->type
) {
38425 /* Don't need to add information already in the list */
38427 #ifdef SWIGRUNTIME_DEBUG
38428 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38430 if (swig_module
.next
!= &swig_module
) {
38431 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38432 #ifdef SWIGRUNTIME_DEBUG
38433 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38437 if (type
== swig_module
.type_initial
[i
]) {
38438 #ifdef SWIGRUNTIME_DEBUG
38439 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38444 /* Check for casting already in the list */
38445 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38446 #ifdef SWIGRUNTIME_DEBUG
38447 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38449 if (!ocast
) ret
= 0;
38454 #ifdef SWIGRUNTIME_DEBUG
38455 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38458 type
->cast
->prev
= cast
;
38459 cast
->next
= type
->cast
;
38465 /* Set entry in modules->types array equal to the type */
38466 swig_module
.types
[i
] = type
;
38468 swig_module
.types
[i
] = 0;
38470 #ifdef SWIGRUNTIME_DEBUG
38471 printf("**** SWIG_InitializeModule: Cast List ******\n");
38472 for (i
= 0; i
< swig_module
.size
; ++i
) {
38474 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38475 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38476 while (cast
->type
) {
38477 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38481 printf("---- Total casts: %d\n",j
);
38483 printf("**** SWIG_InitializeModule: Cast List ******\n");
38487 /* This function will propagate the clientdata field of type to
38488 * any new swig_type_info structures that have been added into the list
38489 * of equivalent types. It is like calling
38490 * SWIG_TypeClientData(type, clientdata) a second time.
38493 SWIG_PropagateClientData(void) {
38495 swig_cast_info
*equiv
;
38496 static int init_run
= 0;
38498 if (init_run
) return;
38501 for (i
= 0; i
< swig_module
.size
; i
++) {
38502 if (swig_module
.types
[i
]->clientdata
) {
38503 equiv
= swig_module
.types
[i
]->cast
;
38505 if (!equiv
->converter
) {
38506 if (equiv
->type
&& !equiv
->type
->clientdata
)
38507 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38509 equiv
= equiv
->next
;
38529 /* Python-specific SWIG API */
38530 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38531 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38532 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38534 /* -----------------------------------------------------------------------------
38535 * global variable support code.
38536 * ----------------------------------------------------------------------------- */
38538 typedef struct swig_globalvar
{
38539 char *name
; /* Name of global variable */
38540 PyObject
*(*get_attr
)(void); /* Return the current value */
38541 int (*set_attr
)(PyObject
*); /* Set the value */
38542 struct swig_globalvar
*next
;
38545 typedef struct swig_varlinkobject
{
38547 swig_globalvar
*vars
;
38548 } swig_varlinkobject
;
38550 SWIGINTERN PyObject
*
38551 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38552 return PyString_FromString("<Swig global variables>");
38555 SWIGINTERN PyObject
*
38556 swig_varlink_str(swig_varlinkobject
*v
) {
38557 PyObject
*str
= PyString_FromString("(");
38558 swig_globalvar
*var
;
38559 for (var
= v
->vars
; var
; var
=var
->next
) {
38560 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38561 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38563 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38568 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38569 PyObject
*str
= swig_varlink_str(v
);
38570 fprintf(fp
,"Swig global variables ");
38571 fprintf(fp
,"%s\n", PyString_AsString(str
));
38577 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38578 swig_globalvar
*var
= v
->vars
;
38580 swig_globalvar
*n
= var
->next
;
38587 SWIGINTERN PyObject
*
38588 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38589 PyObject
*res
= NULL
;
38590 swig_globalvar
*var
= v
->vars
;
38592 if (strcmp(var
->name
,n
) == 0) {
38593 res
= (*var
->get_attr
)();
38598 if (res
== NULL
&& !PyErr_Occurred()) {
38599 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38605 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38607 swig_globalvar
*var
= v
->vars
;
38609 if (strcmp(var
->name
,n
) == 0) {
38610 res
= (*var
->set_attr
)(p
);
38615 if (res
== 1 && !PyErr_Occurred()) {
38616 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38621 SWIGINTERN PyTypeObject
*
38622 swig_varlink_type(void) {
38623 static char varlink__doc__
[] = "Swig var link object";
38624 static PyTypeObject varlink_type
;
38625 static int type_init
= 0;
38627 const PyTypeObject tmp
38629 PyObject_HEAD_INIT(NULL
)
38630 0, /* Number of items in variable part (ob_size) */
38631 (char *)"swigvarlink", /* Type name (tp_name) */
38632 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38633 0, /* Itemsize (tp_itemsize) */
38634 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38635 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38636 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38637 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38638 0, /* tp_compare */
38639 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38640 0, /* tp_as_number */
38641 0, /* tp_as_sequence */
38642 0, /* tp_as_mapping */
38645 (reprfunc
)swig_varlink_str
, /* tp_str */
38646 0, /* tp_getattro */
38647 0, /* tp_setattro */
38648 0, /* tp_as_buffer */
38650 varlink__doc__
, /* tp_doc */
38651 0, /* tp_traverse */
38653 0, /* tp_richcompare */
38654 0, /* tp_weaklistoffset */
38655 #if PY_VERSION_HEX >= 0x02020000
38656 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38658 #if PY_VERSION_HEX >= 0x02030000
38661 #ifdef COUNT_ALLOCS
38662 0,0,0,0 /* tp_alloc -> tp_next */
38665 varlink_type
= tmp
;
38666 varlink_type
.ob_type
= &PyType_Type
;
38669 return &varlink_type
;
38672 /* Create a variable linking object for use later */
38673 SWIGINTERN PyObject
*
38674 SWIG_Python_newvarlink(void) {
38675 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38679 return ((PyObject
*) result
);
38683 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38684 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38685 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38687 size_t size
= strlen(name
)+1;
38688 gv
->name
= (char *)malloc(size
);
38690 strncpy(gv
->name
,name
,size
);
38691 gv
->get_attr
= get_attr
;
38692 gv
->set_attr
= set_attr
;
38693 gv
->next
= v
->vars
;
38699 SWIGINTERN PyObject
*
38701 static PyObject
*_SWIG_globals
= 0;
38702 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38703 return _SWIG_globals
;
38706 /* -----------------------------------------------------------------------------
38707 * constants/methods manipulation
38708 * ----------------------------------------------------------------------------- */
38710 /* Install Constants */
38712 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38715 for (i
= 0; constants
[i
].type
; ++i
) {
38716 switch(constants
[i
].type
) {
38717 case SWIG_PY_POINTER
:
38718 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38720 case SWIG_PY_BINARY
:
38721 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38728 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38734 /* -----------------------------------------------------------------------------*/
38735 /* Fix SwigMethods to carry the callback ptrs when needed */
38736 /* -----------------------------------------------------------------------------*/
38739 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38740 swig_const_info
*const_table
,
38741 swig_type_info
**types
,
38742 swig_type_info
**types_initial
) {
38744 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38745 char *c
= methods
[i
].ml_doc
;
38746 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38748 swig_const_info
*ci
= 0;
38749 char *name
= c
+ 10;
38750 for (j
= 0; const_table
[j
].type
; ++j
) {
38751 if (strncmp(const_table
[j
].name
, name
,
38752 strlen(const_table
[j
].name
)) == 0) {
38753 ci
= &(const_table
[j
]);
38758 size_t shift
= (ci
->ptype
) - types
;
38759 swig_type_info
*ty
= types_initial
[shift
];
38760 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38761 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38762 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38765 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38767 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38769 strncpy(buff
, "swig_ptr: ", 10);
38771 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38772 methods
[i
].ml_doc
= ndoc
;
38784 /* -----------------------------------------------------------------------------*
38785 * Partial Init method
38786 * -----------------------------------------------------------------------------*/
38791 SWIGEXPORT
void SWIG_init(void) {
38794 /* Fix SwigMethods to carry the callback ptrs when needed */
38795 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38797 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38798 d
= PyModule_GetDict(m
);
38800 SWIG_InitializeModule(0);
38801 SWIG_InstallConstants(d
,swig_const_table
);
38804 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38805 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38806 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38807 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38808 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38809 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38810 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38811 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38812 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38813 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38814 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38815 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38816 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38817 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38818 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38819 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38820 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38821 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38822 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38823 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38824 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38825 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38826 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38827 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38828 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38829 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38830 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38831 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38832 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38833 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38834 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38835 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38836 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38837 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38838 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38839 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38840 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38841 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38842 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38843 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38844 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38845 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38846 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38847 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38848 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38849 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38850 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38851 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38852 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38853 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38854 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38855 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38856 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38857 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38858 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38859 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38860 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38861 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38862 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38863 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38864 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38865 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38866 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38867 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38868 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38869 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38870 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38871 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38872 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38873 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38874 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38875 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38876 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38877 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38878 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38879 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38880 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38881 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38882 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38883 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38884 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38885 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38886 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38887 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38888 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38889 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38890 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38891 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38892 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38893 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38894 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38895 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38896 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38897 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38898 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38899 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38900 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38901 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38902 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38903 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38904 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38905 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38907 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38909 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38910 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38911 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38912 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38913 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38914 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38915 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38916 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38917 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38918 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38919 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38920 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38921 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38922 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38923 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38924 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38925 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38926 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38927 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38928 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38929 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38930 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38931 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38932 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38933 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38934 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38935 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38936 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38937 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38938 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38939 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38940 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38941 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38942 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38943 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38944 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38945 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38946 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38947 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38948 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38949 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38950 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38951 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38952 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38953 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38954 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38955 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38956 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38957 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38958 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38959 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38960 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38961 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38963 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38965 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38966 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38967 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38968 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38969 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38970 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38971 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
38972 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
38973 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
38974 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
38975 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
38976 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
38977 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
38978 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
38979 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
38980 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
38981 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
38982 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
38983 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
38984 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
38985 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
38986 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
38987 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
38988 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
38989 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
38990 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
38991 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
38992 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
38993 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
38994 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
38995 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
38996 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
38997 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
38998 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
38999 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
39000 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
39001 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
39002 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
39003 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
39004 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
39005 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
39006 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
39007 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
39008 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
39009 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
39010 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
39011 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
39012 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
39013 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
39014 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
39015 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
39016 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
39017 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
39018 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
39019 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
39020 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
39021 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
39022 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
39023 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
39024 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
39025 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
39026 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
39027 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
39028 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
39029 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
39030 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
39031 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
39032 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
39033 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
39034 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
39035 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
39036 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
39037 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
39038 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
39039 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
39040 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
39042 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
39044 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
39045 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
39046 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
39047 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
39048 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
39049 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
39050 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
39051 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
39052 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
39053 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
39054 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
39055 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
39056 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
39057 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
39058 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
39059 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
39060 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
39061 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
39062 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
39063 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
39064 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
39065 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
39066 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
39067 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
39068 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
39069 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
39070 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
39071 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
39072 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
39073 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
39074 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
39075 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
39076 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
39077 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
39078 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
39079 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
39080 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
39081 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
39082 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
39083 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
39084 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
39085 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
39086 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
39087 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
39088 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
39089 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
39090 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
39091 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
39092 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
39093 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
39094 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
39095 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
39096 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
39097 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
39098 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
39099 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
39100 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
39101 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
39102 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
39103 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
39104 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
39105 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
39106 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
39107 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
39108 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
39109 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
39110 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
39111 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
39112 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
39113 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
39114 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
39115 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
39116 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
39117 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
39118 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
39119 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
39120 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
39121 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
39122 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
39123 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
39124 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
39125 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
39126 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
39127 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
39128 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
39129 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
39130 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
39131 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
39132 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
39133 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
39134 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
39135 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
39136 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
39137 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
39138 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
39139 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
39140 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
39141 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
39142 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
39143 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
39144 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
39145 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
39146 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
39147 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
39148 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
39149 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
39150 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
39151 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
39152 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
39153 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
39154 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
39155 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
39156 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
39157 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
39158 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
39159 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
39160 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
39161 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
39162 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
39163 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
39164 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
39165 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
39166 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
39167 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
39168 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
39169 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
39170 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
39171 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
39172 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
39173 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
39174 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
39175 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
39176 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
39177 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
39178 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
39179 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
39180 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39181 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39182 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39183 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39184 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39185 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39186 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39187 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39188 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39189 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39190 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39191 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39192 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39193 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39194 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39195 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39196 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39197 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39198 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39199 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39200 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39201 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39202 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39203 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39204 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39205 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39206 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39207 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39208 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39209 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39210 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39211 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39212 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39213 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39214 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39215 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39216 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39217 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39218 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39219 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39220 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39221 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39222 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39223 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39224 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39225 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39226 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39227 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39228 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39229 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39230 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39231 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39232 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39233 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39234 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39235 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39236 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39237 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39238 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39239 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39240 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39241 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39242 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39243 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39245 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39246 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39247 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39248 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39250 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39251 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39252 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39253 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
39254 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
39255 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
39256 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
39257 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
39258 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
39259 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
39260 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
39261 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
39262 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
39263 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
39264 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
39265 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));